]> git.bitcoin.ninja Git - rust-lightning/commit
Doc the on-upgrade `ChannelMonitor` startup persistence semantics 2024-06-mpp-claim-without-man
authorMatt Corallo <git@bluematt.me>
Sun, 15 Sep 2024 17:24:19 +0000 (17:24 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 24 Oct 2024 17:44:33 +0000 (17:44 +0000)
commitba264323f83495ae3cc862cb06c27311fe20f1bd
tree6691cd6e32f8edf6247b078d155b6e40361cea29
parent6c203d803e51ce5c5d1014646dc2d9372337c4fb
Doc the on-upgrade `ChannelMonitor` startup persistence semantics

Because the new startup `ChannelMonitor` persistence semantics rely
on new information stored in `ChannelMonitor` only for claims made
in the upgraded code, users upgrading from previous version of LDK
must apply the old `ChannelMonitor` persistence semantics at least
once (as the old code will be used to handle partial claims).
lightning/src/chain/channelmonitor.rs
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/monitor_tests.rs
lightning/src/ln/reload_tests.rs
lightning/src/ln/reorg_tests.rs
pending_changelog/matt-persist-preimage-on-upgrade.txt [new file with mode: 0644]