]> git.bitcoin.ninja Git - rust-lightning/commit
Stop decaying liquidity information during bounds-based scoring
authorMatt Corallo <git@bluematt.me>
Mon, 9 Oct 2023 01:11:10 +0000 (01:11 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 13 Dec 2023 23:26:09 +0000 (23:26 +0000)
commit6f8838fe7033b8ab6733baface32bdb183abefc7
treef8a4bf478b5968812878f0d531823aa47dd05fc7
parent35b49645c4eb0d61c162a502723cd4e44ef0ca1e
Stop decaying liquidity information during bounds-based 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 ultimately remove it
entirely here.
lightning/src/routing/scoring.rs