calculate & index ancestor-dependent effective rates

This commit is contained in:
Mononaut
2023-06-06 14:42:41 -04:00
parent f0c056d558
commit 38c97c6ca3
4 changed files with 69 additions and 21 deletions

View File

@@ -253,9 +253,16 @@ export interface WorkingEffectiveFeeStats extends EffectiveFeeStats {
maxFee: number;
}
export interface CpfpCluster {
root: string,
height: number,
txs: Ancestor[],
effectiveFeePerVsize: number,
}
export interface CpfpSummary {
transactions: TransactionExtended[];
clusters: { root: string, height: number, txs: Ancestor[], effectiveFeePerVsize: number }[];
clusters: CpfpCluster[];
}
export interface Statistic {