From: Jeffrey Czyz Date: Thu, 31 Mar 2022 13:13:10 +0000 (-0500) Subject: Add an amount penalty to ProbabilisticScorer X-Git-Tag: v0.0.106~1^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=5425b2b77e690a08a604c6d26fbd0f8a1667f045;hp=5425b2b77e690a08a604c6d26fbd0f8a1667f045;p=rust-lightning Add an amount penalty to ProbabilisticScorer The cost of large payments tends to be dominated by the channel fees. To avoid this, add an amount penalty to ProbabilisticScorer with a user configurable multiplier. The multiplier is applied for every 2^20th of the amount weighted by the negative log10 of the channel's success probability for the payment. ---