Watch outputs of revoked HTLC-transactions
authorAntoine Riard <ariard@student.42.fr>
Wed, 26 Feb 2020 23:18:27 +0000 (18:18 -0500)
committerMatt Corallo <git@bluematt.me>
Tue, 17 Mar 2020 18:09:21 +0000 (14:09 -0400)
commit3cba654e327c1fe7336d2515c7b07fb023fc52be
tree3e558d3de5e505729530982edb3cc598b48f4c1b
parent0d45ddc9e235eaf756d8e09118daa2e9ee88e639
Watch outputs of revoked HTLC-transactions

Bumping of justice txn on revoked HTLC-Success/HTLC-timeout is triggered
until our claim is confirmed onchain with at least
ANTI_REORG_DELAY_SAFE. Before this patch, we weren't tracking them in
check_spend_remote_htlc, leading us to infinite bumps.

Fix #411

Small fixes by Matt Corallo <git@bluematt.me>
lightning/src/ln/channelmonitor.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs