]> git.bitcoin.ninja Git - rust-lightning/commit
Avoid yielding ChannelClose bump events with sufficient feerate
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Tue, 11 Jul 2023 22:16:16 +0000 (15:16 -0700)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Fri, 14 Jul 2023 21:45:17 +0000 (14:45 -0700)
commit990c5000999d3497f13b802f7fd4dce014704a08
treedfd5d64a70a1cce185ddd3150cf448ff458e5122
parent19de4353d52bca8021ba3e1b8f4b036d5f5a8648
Avoid yielding ChannelClose bump events with sufficient feerate

There's no need to yield such an event when the commitment transaction
already meets the target feerate on its own, so we can simply broadcast
it without an anchor child transaction. This may be a common occurrence
until we are less aggressive about feerate updates.
lightning/src/chain/onchaintx.rs
lightning/src/chain/package.rs
lightning/src/events/bump_transaction.rs
lightning/src/ln/monitor_tests.rs