From: Matt Corallo Date: Tue, 11 Feb 2020 23:34:29 +0000 (-0500) Subject: Rm ChannelMonitor merge capabilities in favor of explicit add/update X-Git-Tag: v0.0.12~119^2~2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=3e26bd7a1dfb780d4534304f7e48f66a7ae1a9ea;hp=3e26bd7a1dfb780d4534304f7e48f66a7ae1a9ea;p=rust-lightning Rm ChannelMonitor merge capabilities in favor of explicit add/update This removes the ability to merge ChannelMonitors in favor of explicit ChannelMonitorUpdates. It further removes ChannelManager::test_restore_channel_monitor in favor of the new ChannelManager::channel_monitor_updated method, which explicitly confirms a set of updates instead of providing the latest copy of each ChannelMonitor to the user. This removes almost all need for Channels to have the latest channel_monitor, except for broadcasting the latest local state. ---