]> git.bitcoin.ninja Git - rust-lightning/commit
Use existing height timer to retry untractable packages
authorWilmer Paulino <wilmer@wilmerpaulino.com>
Sat, 15 Apr 2023 00:02:16 +0000 (17:02 -0700)
committerWilmer Paulino <wilmer@wilmerpaulino.com>
Wed, 19 Apr 2023 23:49:35 +0000 (16:49 -0700)
commit4828817f3f8425a0cf1874fc5000cae5ab95a9e8
tree143fbe2007feb8eeaecbcf0c67c1745371900744
parent2e15df730ff5668ee37678bf7c355b60cdc6cbe8
Use existing height timer to retry untractable packages

Untractable packages are those which cannot have their fees updated once
signed, hence why they weren't retried. There's no harm in retrying
these packages by simply re-broadcasting them though, as the fee market
could have spontaneously spiked when we first broadcast it, leading to
our transaction not propagating throughout node mempools unless
broadcast manually.
lightning/src/chain/onchaintx.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/monitor_tests.rs
lightning/src/ln/payment_tests.rs
lightning/src/ln/reorg_tests.rs
lightning/src/util/test_utils.rs