]> git.bitcoin.ninja Git - rust-lightning/commit
Extend OnchainTxHandler::generate_claim to optionally force feerate bump
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Thu, 20 Apr 2023 21:16:24 +0000 (14:16 -0700)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Fri, 21 Apr 2023 21:34:40 +0000 (14:34 -0700)
commite496d62b98b7d7cd1800fe0dbf70684866fed7e7
tree7cfe7c1ad9ecd40cd237b947d919147ceab4db37
parent9d5adfcd1003df37edf2fae42284ae6772a42237
Extend OnchainTxHandler::generate_claim to optionally force feerate bump

In the next commit, we plan to extend the `OnchainTxHandler` to retry
pending claims on a timer. This timer may fire with much more frequency
than incoming blocks, so we want to avoid manually bumping feerates
(currently by 25%) each time our fee estimator provides a lower feerate
than before.
lightning/src/chain/onchaintx.rs
lightning/src/chain/package.rs
lightning/src/ln/functional_tests.rs