Struct-ify reconnect_nodes test util args
authorValentine Wallace <vwallace@protonmail.com>
Thu, 27 Jul 2023 22:58:07 +0000 (15:58 -0700)
committerValentine Wallace <vwallace@protonmail.com>
Thu, 27 Jul 2023 23:00:28 +0000 (16:00 -0700)
commitece4db67fe6529fa599deb13971304090340232b
tree315d477ad584a5d10e86b60dd85f78abdc58ae11
parent5cddf5e06afeb9b6794308d8fa5e0d1eebb8e705
Struct-ify reconnect_nodes test util args

Makes it easier to add new arguments without a ton of resulting test changes.
Useful for route blinding testing because we need to check for malformed HTLCs,
which is not currently supported by reconnect_nodes. It also makes it easier to
tell what is being checked in relevant tests.
lightning/src/ln/chanmon_update_fail_tests.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/onion_route_tests.rs
lightning/src/ln/payment_tests.rs
lightning/src/ln/reload_tests.rs