]> git.bitcoin.ninja Git - rust-lightning/commit
Decay historical liquidity tracking when no new data is added 2022-07-history-tracking
authorMatt Corallo <git@bluematt.me>
Mon, 22 Aug 2022 22:41:31 +0000 (22:41 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 6 Oct 2022 21:10:23 +0000 (21:10 +0000)
commitc8fb859ad6889c67f675052140cf817052542872
tree131fc8570d009fe149b3ccd4d1be4a0743d5e8d6
parentec68f1326d9ad5a4f05ed21a986bc7410f5a06b6
Decay historical liquidity tracking when no new data is added

To avoid scoring based on incredibly old historical liquidity data,
we add a new half-life here which is used to (very slowly) decay
historical liquidity tracking buckets.
lightning/src/routing/scoring.rs