Decay channel failure penalty upon success
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 1 Dec 2021 00:27:08 +0000 (18:27 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 3 Dec 2021 20:00:52 +0000 (14:00 -0600)
If a payment failed to route through a channel, a penalty is applied to
the channel in the future when finding a route. This penalty decays over
time. Immediately decay the penalty by one half life when a payment is
successfully routed through the channel.


No differences found