Use effective fee rates in mempool block visualizations & tooltips

This commit is contained in:
Mononaut
2023-03-14 15:39:55 +09:00
parent 50ab6ff8df
commit 2b4474a3c2
6 changed files with 16 additions and 2 deletions

View File

@@ -83,6 +83,7 @@ export class Common {
fee: tx.fee,
vsize: tx.weight / 4,
value: tx.vout.reduce((acc, vout) => acc + (vout.value ? vout.value : 0), 0),
rate: tx.effectiveFeePerVsize,
};
}