]> git.bitcoin.ninja Git - rust-lightning/commit
Add the ability to fetch a probability from live liquidity bounds 2024-11-live-success-prob-125
authorMatt Corallo <git@bluematt.me>
Thu, 21 Nov 2024 22:24:16 +0000 (22:24 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 22 Nov 2024 14:11:03 +0000 (14:11 +0000)
commit4ac60cf38118804afa4f17a8d355a2c4ac040587
tree57cd49e162fa88954962cc3f302be1cce5f670a7
parente80d632eeb7d8f6dfb6704a386b5f5189ba563a9
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