]> git.bitcoin.ninja Git - rust-lightning/commit
Add a test for the fee-bump rate of timeout HTLC claims on cp txn 2024-09-cleanup-package
authorMatt Corallo <git@bluematt.me>
Fri, 18 Oct 2024 15:57:25 +0000 (15:57 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 18 Oct 2024 16:23:27 +0000 (16:23 +0000)
commit20db790c53bd57d0fc4e07c92724d11fc7fb35a2
treecd41fe833acaf9a5eac45a2021a6de77d1b4955a
parent6ae33dc1e09e3305d2e3a12d81b398a2a9c23d23
Add a test for the fee-bump rate of timeout HTLC claims on cp txn

In a previous commit we updated the fee-bump-rate of claims against
HTLC timeouts on counterparty commitment transactions so that
instead of immediately attempting to bump every block we consider
the fact that we actually have at least `MIN_CLTV_EXPIRY_DELTA`
blocks to do so, and bumping at the appropriate rate given that.

Here we test that by adding an extra check to an existing test
that we do not bump in the very next block after the HTLC timeout
claim was initially broadcasted.
lightning/src/ln/functional_tests.rs