-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bitcoind: base the decision to CPFP on each tx individual feerate
This was incorrectly considering the set of unvaults (or spends) as "a package". It's misleading as a package is usually used to refer to linked transactions in Bitcoin (mempool) land. Maybe this confusion caused the error: it considered the entire set of transactions' feerate as if they somehow had an influence on each other wrt mining. Instead, filter transactions to be bumped individually. In addition we introduce a threshold below which we don't feebump (probably not worth paying for a CPFP if you are like 2sat/vb below the next block feerate!).
- Loading branch information
Showing
1 changed file
with
15 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters