Remove BlockNotifier
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 29 Jul 2020 01:08:46 +0000 (18:08 -0700)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 1 Oct 2020 05:39:56 +0000 (22:39 -0700)
commit367834ca9039eb64d6f85b6bd4432c735e776b81
tree513d7cf8c9720128b871b1cae519fb8ce9bd952e
parent851283d9e54f6bdb56524c49486b03b7bae732b1
Remove BlockNotifier

BlockNotifier is a convenience for handing blocks to listeners. However,
it requires that each listener conforms to the ChainListener interface.
Additionally, there are only two listeners, ChannelManager and
ChainMonitor, the latter of which may not be used when monitoring
channels remotely. Remove BlockNotifier since it doesn't provide much
value and constrains each listener to a specific interface.
lightning/src/chain/chaininterface.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs