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>
Tue, 4 Aug 2020 23:39:35 +0000 (16:39 -0700)
commitc61b9202b6a4f51dec4146a4babb18925e4debd9
tree56de0f29b77f98c4c5c1a19d80bfc5f0a8092669
parent51e26dd150da614b945fd97ec75aae134651ccb4
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