rust-lightning
rust-lightning copied to clipboard
Don't modify `ChannelMonitor`s during `ChannelManager` load
We're almost here, and not doing so would allow us to avoid re-persisting ChannelMonitors on startup. The only one left is the preimage replay, which is tricky to remove but should be doable somehow by using ChannelMonitorUpdates in the background queue.