Update tests to test re-claiming of forwarded HTLCs on startup
authorMatt Corallo <git@bluematt.me>
Mon, 21 Aug 2023 18:44:22 +0000 (18:44 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 12 Sep 2023 19:03:17 +0000 (19:03 +0000)
commit0d8b0961a5e747c6bce4b866a9e1390a35b73d24
tree3f531e47fd6f5c25ce7fad3f9d90b41160bbecdb
parent46453bf07862ae91de3681846a165fc71b38f42e
Update tests to test re-claiming of forwarded HTLCs on startup

Because some of these tests require connecting blocks without
calling `get_and_clear_pending_msg_events`, we need to split up
the block connection utilities to only optionally call
sanity-checks.
lightning/src/chain/channelmonitor.rs
lightning/src/ln/chan_utils.rs
lightning/src/ln/chanmon_update_fail_tests.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs