Use effective fee rate heuristics for block fee span

This commit is contained in:
Mononaut
2023-03-12 11:09:11 +09:00
committed by softsimon
parent d08a318a2c
commit 2baa10dcef
5 changed files with 124 additions and 14 deletions

View File

@@ -48,7 +48,7 @@ class CpfpRepository {
}
}
public async $batchSaveClusters(clusters: { root: string, height: number, txs: any, effectiveFeePerVsize: number}[]): Promise<boolean> {
public async $batchSaveClusters(clusters: { root: string, height: number, txs: Ancestor[], effectiveFeePerVsize: number }[]): Promise<boolean> {
try {
const clusterValues: any[] = [];
const txs: any[] = [];