Add ChannelManager methods to force close without broadcasting
authorMatt Corallo <git@bluematt.me>
Thu, 23 Jun 2022 20:25:58 +0000 (20:25 +0000)
committerMatt Corallo <git@bluematt.me>
Sat, 25 Jun 2022 02:25:32 +0000 (02:25 +0000)
commit5ed3f25b21a4dcd9075e550735dc688d820b9f41
treed444e21011d93ec192fb61873ee84f84a006bcdc
parent3676a056c85f54347e7e079e913317a79e26a2ae
Add ChannelManager methods to force close without broadcasting

If a user restores from a backup that they know is stale, they'd
like to force-close all of their channels (or at least the ones
they know are stale) *without* broadcasting the latest state,
asking their peers to do so instead. This simply adds methods to do
so, renaming the existing `force_close_channel` and
`force_close_all_channels` methods to disambiguate further.
fuzz/src/full_stack.rs
lightning-background-processor/src/lib.rs
lightning-persister/src/lib.rs
lightning/src/ln/chanmon_update_fail_tests.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/payment_tests.rs
lightning/src/ln/priv_short_conf_tests.rs
lightning/src/util/events.rs