]> git.bitcoin.ninja Git - rust-lightning/commit
Hard-code scorer parameters to `ProbabilisticScoringFeeParameters`
authorMatt Corallo <git@bluematt.me>
Thu, 21 Sep 2023 22:15:09 +0000 (22:15 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 3 Oct 2023 23:23:15 +0000 (23:23 +0000)
commit4ca36c3d9d0b0f9cf079683ffa8a55b0ff77b605
treec316a5344d5e6557ef355fbd200d10d54b2dd9e0
parent2aacb2cecae4bc6ff2b95bd95a409f18b141e1f1
Hard-code scorer parameters to `ProbabilisticScoringFeeParameters`

The scorer currently relies on an associated type for the fee
parameters. This isn't supportable at all in bindings, and for
lack of a better option we simply hard-code the parameter for all
scorers  to `ProbabilisticScoringFeeParameters`.
lightning-background-processor/src/lib.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/peer_handler.rs
lightning/src/routing/router.rs
lightning/src/routing/scoring.rs
lightning/src/util/test_utils.rs