Use effective fee rates in mempool block visualizations & tooltips

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

View File

@@ -20,6 +20,7 @@ export class BlockOverviewTooltipComponent implements OnChanges {
value = 0;
vsize = 1;
feeRate = 0;
effectiveRate;
tooltipPosition: Position = { x: 0, y: 0 };
@@ -51,6 +52,7 @@ export class BlockOverviewTooltipComponent implements OnChanges {
this.value = tx.value || 0;
this.vsize = tx.vsize || 1;
this.feeRate = this.fee / this.vsize;
this.effectiveRate = tx.rate;
}
}
}