Add an amount penalty to ProbabilisticScorer
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 31 Mar 2022 13:13:10 +0000 (08:13 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 1 Apr 2022 20:52:10 +0000 (15:52 -0500)
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.


No differences found