rust-lightning/lightning/src/routing
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
..
gossip.rs Rename SocketAddress from NetAddress 2023-09-08 20:42:06 +08:00
mod.rs Move chain::Access to routing and rename it UtxoLookup 2023-02-08 23:54:00 +00:00
router.rs Improve Route::get_total_amount docs 2023-09-06 19:35:39 +02:00
scoring.rs Split out success probability calculation to allow for changes 2023-09-19 21:22:49 +00:00
test_utils.rs Use NodeAlias type in NodeAnnouncement 2023-04-13 13:09:03 -05:00
utxo.rs Add function for updating network graph with announcement with no UTXO resolver 2023-04-24 14:10:25 -05:00