multi: remove listeners field and method from ChainWatchInterface
authorValentine Wallace <vwallace@protonmail.com>
Sat, 9 Nov 2019 01:12:13 +0000 (20:12 -0500)
committerValentine Wallace <vwallace@protonmail.com>
Thu, 21 Nov 2019 23:06:35 +0000 (18:06 -0500)
commit1ec0c14fce2766c803bf6de04e71b7e0766e51c2
tree57ddf36bb9c1db6f55bc70d829464d107402e21a
parent8d2c4e7c966a6cf53491ee5a22d05e016bf60f12
multi: remove listeners field and method from ChainWatchInterface

This includes the purpose of this PR, which is to remove the circular reference created by ChainListeners self-adding themselves to their ChainWatchInterface's `listeners` field.
lightning/fuzz/fuzz_targets/chanmon_fail_consistency.rs
lightning/fuzz/fuzz_targets/full_stack_target.rs
lightning/src/chain/chaininterface.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/channelmonitor.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs