]> git.bitcoin.ninja Git - rust-lightning/commit
Add the ability to fetch a probability from live liquidity bounds 2024-11-live-success-prob
authorMatt Corallo <git@bluematt.me>
Thu, 21 Nov 2024 22:24:16 +0000 (22:24 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 21 Nov 2024 22:39:44 +0000 (22:39 +0000)
commit534b4506503c1ab6955a3a8f4d46b83eee02a3a7
tree8a379d0ddcbfa516d383b690b4d58a17919089f9
parent8da30df223d50099c75ba8251615bd2026fcea75
Add the ability to fetch a probability from live liquidity bounds

We already expose the estimated success probability from the
historical liquidity bounds from
`historical_estimated_payment_success_probability`, but we don't
do that for the live liquidity bounds.

Here we add a `live_estimated_payment_success_probability` which
exposes the probability result from the live liquidity bounds as
well.
lightning/src/routing/scoring.rs