]> git.bitcoin.ninja Git - rust-lightning/commit
Add a constructor and per-target override to `TestFeeEstimator`
authorMatt Corallo <git@bluematt.me>
Mon, 26 Aug 2024 21:31:27 +0000 (21:31 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 27 Aug 2024 19:57:34 +0000 (19:57 +0000)
commit3f23e3c2884c2d752cd35acc1b479c29a39f8836
tree1ce0a055d27dbd147a6579b72c19b98279254630
parent14720190b05c81283e22b32f9d95b11f08f393e5
Add a constructor and per-target override to `TestFeeEstimator`

This will allow us to test `ConfirmationTarget`s used in functional
tests by setting an override on just the target we expect to be
used.
lightning-background-processor/src/lib.rs
lightning/src/chain/channelmonitor.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/reload_tests.rs
lightning/src/util/test_utils.rs