Align ChannelMonitor interface with ChainListener
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 26 Jun 2020 17:43:24 +0000 (10:43 -0700)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 24 Sep 2020 17:22:06 +0000 (10:22 -0700)
commitf69d9d7f3098011120b87e2ec45f0c4b675fbe86
treed8d9c94aef2236d3182b3caa3eccafdba9a38b7e
parenta7b2eb6d98eafa84f0516c9ba8321a3f653a84bd
Align ChannelMonitor interface with ChainListener

ChannelMonitor has block_connected and block_disconnected methods called
by <SimpleManyChannelMonitor as ChainListener>. Use similar parameters
in ChannelMonitor such that transformations are not needed and the
interface is more closely aligned with ChainListener.
lightning/src/ln/channelmonitor.rs
lightning/src/ln/onchaintx.rs