]> git.bitcoin.ninja Git - rust-lightning/commit
Smooth out channel liquidity bounds decay
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 21 Oct 2022 05:12:42 +0000 (00:12 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Tue, 8 Aug 2023 17:58:25 +0000 (12:58 -0500)
commitbdbe9c8925644d7891fadf5d31480df1be9d58d7
tree2670d277630baa3397aef677073e633d3713985e
parentdba3e8f2d975620f2edb1f6dc67f491d6a3cec6a
Smooth out channel liquidity bounds decay

Decaying the channel liquidity bounds by a half life can result in a
large decrease, which may have an oscillating affect on whether a
channel is retried. Approximate an additional three-quarter life when
half of the next half life has passed to help smooth out the decay.
lightning/src/routing/scoring.rs