Add assertions for in-order block [dis]connection in ChannelManager 2021-03-connection-assertions
authorMatt Corallo <git@bluematt.me>
Fri, 5 Mar 2021 16:02:42 +0000 (11:02 -0500)
committerMatt Corallo <git@bluematt.me>
Sun, 7 Mar 2021 20:09:21 +0000 (15:09 -0500)
commit07d1e839349e940480a2d1744eb3acdeff05e9ab
treef7a2c264e318eebf841fa268a74114181f318bfe
parentb5d88a5422913a0a8950455c5f86764a042429d7
Add assertions for in-order block [dis]connection in ChannelManager

Sadly the connected-in-order tests have to be skipped in our normal
test suite as many tests violate it. Luckily we can still enforce
it in the tests which run in other crates.

Co-authored-by: Matt Corallo <git@bluematt.me>
Co-authored-by: Jeffrey Czyz <jkczyz@gmail.com>
fuzz/src/chanmon_consistency.rs
fuzz/src/full_stack.rs
lightning-persister/src/lib.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/reorg_tests.rs