]> 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>
Thu, 24 Sep 2020 18:04:35 +0000 (11:04 -0700)
commit1ab0a1acc1e3880b9cb9aece4cd4274bef9c7973
tree87f3902fcc6440547e644f17c90cf752e705b866
parent5381c23d729f3f7dfd08faa3a336805fb8bbd30e
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/onion_route_tests.rs
lightning/src/ln/reorg_tests.rs