Use effective fee rates in mempool block visualizations & tooltips
This commit is contained in:
1 parent
50ab6ff8df
commit
2b4474a3c2
6 files changed
+16
-2
No files matched your search
@@ -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,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -145,6 +145,7 @@ export interface TransactionStripped {
|
||||
fee: number;
|
||||
vsize: number;
|
||||
value: number;
|
||||
rate?: number; // effective fee rate
|
||||
}
|
||||
|
||||
export interface BlockExtension {
|
||||
|
||||
Reference in new issue
Block a user