rust-lightning/lightning
Matt Corallo 75438900b2 Split out success probability calculation to allow for changes
Our "what is the success probability of paying over a channel with
the given liquidity bounds" calculation is reused in a few places,
and is a key assumption across our main score calculation and the
historical bucket score calculations.

Here we break it out into a function to make it easier to
experiment with different success probability calculations.

Note that this drops the numerator +1 in the liquidity scorer,
which was added to compensate for the divisor + 1 (which exists to
avoid divide-by-zero), making the new math slightly less correct
but not by any material amount.
2023-09-19 21:22:49 +00:00
..
src Split out success probability calculation to allow for changes 2023-09-19 21:22:49 +00:00
Cargo.toml Bump crate versions to 0.0.116 release 2023-07-21 20:42:13 +00:00