]> git.bitcoin.ninja Git - rust-lightning/commit
Update `ChannelMonitorUpdateStatus` documentation with async support
authorMatt Corallo <git@bluematt.me>
Fri, 8 Sep 2023 00:05:56 +0000 (00:05 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 21 Sep 2023 19:04:41 +0000 (19:04 +0000)
commite5bd7920bddb4f312741673e37a07cd859fd24fb
tree604ebbd6b2c9e02672e498e9a5c4c9c82551a23b
parenta96e2fe144383ea6fd670153fb895ee07a3245ef
Update `ChannelMonitorUpdateStatus` documentation with async support

Since we now (almost) support async monitor update persistence, the
documentation on `ChannelMonitorUpdateStatus` can be updated to no
longer suggest users must keep a local copy that persists before
returning. However, because there are still a few remaining issues,
we note that async support is currently beta and explicily warn of
potential for funds-loss.

Fixes #1684
lightning/src/chain/chainmonitor.rs
lightning/src/chain/mod.rs
lightning/src/ln/channelmanager.rs