use accelerated rates for block templates & show in viz

This commit is contained in:
Mononaut committed 2023-07-26 15:08:33 +09:00
1 parent e489f713eb
commit aa24f6a84d
18 files changed
+75 -17

No files matched your search

@@ -21,6 +21,7 @@ export class BlockOverviewTooltipComponent implements OnChanges {
vsize = 1;
feeRate = 0;
effectiveRate;
acceleration;
tooltipPosition: Position = { x: 0, y: 0 };
@@ -53,6 +54,7 @@ export class BlockOverviewTooltipComponent implements OnChanges {
this.vsize = tx.vsize || 1;
this.feeRate = this.fee / this.vsize;
this.effectiveRate = tx.rate;
this.acceleration = tx.acc;
}
}
}