rust-lightning/lightning
Matt Corallo fe39a89ab3 Add a per-amount base penalty in the ProbabilisticScorer
There's not much reason to not have a per-hop-per-amount penalty in
the `ProbabilisticScorer` to go along with the per-hop penalty to
let it scale up to larger amounts, so we add one here.

Notably, we use a divisor of 2^30 instead of 2^20 (like the
equivalent liquidity penalty) as it allows for more flexibility,
and there's not really any reason to worry about us not being able
to create high enough penalties.

Closes #1616
2022-07-25 19:22:24 +00:00
..
src Add a per-amount base penalty in the ProbabilisticScorer 2022-07-25 19:22:24 +00:00
Cargo.toml Bump crate versions to 0.0.109/invoice 0.17 2022-07-01 16:05:33 +00:00