]> git.bitcoin.ninja Git - rust-lightning/commit
Stop relying on the `*Features::known` method in `routing` tests
authorMatt Corallo <git@bluematt.me>
Thu, 8 Sep 2022 21:04:11 +0000 (21:04 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 14 Sep 2022 20:09:35 +0000 (20:09 +0000)
commit1a3273792b0b97fbdf0f5339f3d6fdbfb04e5e7d
treed0cd641d6008b12d4240f7e231d2c34bf1fb68f5
parent6b1f867eaaaf9b5fd4317aefa52ab183b7e5f980
Stop relying on the `*Features::known` method in `routing` tests

As we move towards specify supported/required feature bits in the
module(s) where they are supported, the global `known` feature set
constructors no longer make sense.

Here we stop relying on the `known` method in the `routing` module,
which was only used in tests.
lightning/src/routing/gossip.rs
lightning/src/routing/router.rs
lightning/src/routing/scoring.rs