Use minfee node to limit gbt input size

This commit is contained in:
Mononaut
2023-02-17 17:54:29 -06:00
parent 5c430e57a4
commit e2d3bb4cc5
6 changed files with 176 additions and 56 deletions

View File

@@ -143,6 +143,12 @@ export interface CompactThreadTransaction {
dirty?: boolean;
}
export interface GbtCandidates {
txs: { [txid: string ]: boolean },
added: MempoolTransactionExtended[];
removed: MempoolTransactionExtended[];
}
export interface ThreadTransaction {
txid: string;
fee: number;