]> git.bitcoin.ninja Git - rust-lightning/commit
Stop decaying historical liquidity information during scoring
authorMatt Corallo <git@bluematt.me>
Mon, 9 Oct 2023 02:14:21 +0000 (02:14 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 13 Dec 2023 23:26:09 +0000 (23:26 +0000)
commit35b49645c4eb0d61c162a502723cd4e44ef0ca1e
treef68636e09f130733542989f6f699c9dd037b169f
parent9659c0695557b5ae1e60da509cf7b2273a8ac987
Stop decaying historical liquidity information during scoring

Because scoring is an incredibly performance-sensitive operation,
doing liquidity information decay (and especially fetching the
current time!) during scoring isn't really a great idea. Now that
we decay liquidity information in the background, we don't have any
reason to decay during scoring, and we remove the historical bucket
liquidity decaying here.
lightning/src/routing/scoring.rs