Remove unnecessary bounds in scoring
authorMatt Corallo <git@bluematt.me>
Thu, 21 Sep 2023 22:54:14 +0000 (22:54 +0000)
committerMatt Corallo <git@bluematt.me>
Sun, 1 Oct 2023 00:05:01 +0000 (00:05 +0000)
commit748bebadb43570fbe7e447492b5ed9544529adab
treec3354f2da4aeef5244d13a71a7cd6ddab34f50f6
parent26c1639ab69d6780c97a118f09e42cb42304088a
Remove unnecessary bounds in scoring

In our scoring logic we have a handful of unnecessary bounds,
leading to extra diff in the bindings branch when those bounds have
to be removed as well as a few cases where bindings generation
simply gets confused.

Here we remove a number of bounds across the scoring traits and
impls, cleaning things up and simplifying bindings changes.
lightning/src/routing/router.rs
lightning/src/routing/scoring.rs