Move ScorerAccountingForInFlightHtlcs to router + make public
authorValentine Wallace <vwallace@protonmail.com>
Mon, 21 Nov 2022 20:51:28 +0000 (15:51 -0500)
committerValentine Wallace <vwallace@protonmail.com>
Wed, 30 Nov 2022 21:20:31 +0000 (16:20 -0500)
commit3f9868f2350db93e2f5256aee2112ccabf1b531a
treec7d98251fe897e9794f86c32362be9d943d58d37
parent5f49011c444fb80f2c68921d59c7cf5cb349e153
Move ScorerAccountingForInFlightHtlcs to router + make public

We move it to router instead of scoring because it pairs with the InFlightHtlcs
struct in router and is useful for custom Router trait implementations
lightning-invoice/src/payment.rs
lightning-invoice/src/utils.rs
lightning/src/routing/router.rs