]> git.bitcoin.ninja Git - rust-lightning/commit
Hard-code scorer parameters to `ProbabilisticScoringFeeParameters`
authorMatt Corallo <git@bluematt.me>
Sat, 21 Oct 2023 02:28:53 +0000 (02:28 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 24 Oct 2023 04:16:34 +0000 (04:16 +0000)
commitaf6c559cc98912e1cd3af10f660575ce2b4739f1
tree286ecac1afc9da5edfafa5b88bbb8fe162629a05
parent934378ea00931ddbbca3663cb222a266a8349538
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/routing/router.rs
lightning/src/routing/scoring.rs
lightning/src/util/test_utils.rs