]> git.bitcoin.ninja Git - rust-lightning/commit
Add test utilities for {dis}connecting a block
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 14 Jul 2020 17:29:11 +0000 (10:29 -0700)
committerJeffrey Czyz <jkczyz@gmail.com>
Tue, 4 Aug 2020 23:39:35 +0000 (16:39 -0700)
commitccbc5968e4948555c5fe23bfe4e2386d9e87e928
tree4ef4d80b4f1df9996a158adadb7f04873e8331e9
parentbcfe5f5db08d99bbf1fc2c1fb5317b5c696a5682
Add test utilities for {dis}connecting a block

Replace direct uses of BlockNotifier in functional tests with utility
functions. This is in preparation for signaling watch events back via a
refactoring of ManyChannelMonitor and ChainWatchInterface. Those events
will be processed by connect_block.
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/reorg_tests.rs