Move events into ChannelMonitor from ManyChannelMonitor
authorMatt Corallo <git@bluematt.me>
Wed, 12 Feb 2020 21:55:04 +0000 (16:55 -0500)
committerMatt Corallo <git@bluematt.me>
Fri, 28 Feb 2020 19:36:02 +0000 (14:36 -0500)
commit26008bbc0bc662dc233a24af8cfa748324029dfb
treea8d555d1f48b8d167b46ccd8eff125e56224262f
parentbfd4ac49950d54c13894b30f82cb01e458596452
Move events into ChannelMonitor from ManyChannelMonitor

This is the next step after "Move pending-HTLC-updated ChannelMonitor
from ManyChannelMonitor", moving our events into ChannelMonitor as
well and leaving only new-outputs-to-watch in the return value for
ChannelMonitor::block_connected (which is fine as those are
duplicatively tracked in the ChannelMonitor directly, so
losing/replaying them is acceptable).
lightning/src/ln/channelmonitor.rs