]> git.bitcoin.ninja Git - rust-lightning/commit
Update history bucket last_update time immediately on update
authorMatt Corallo <git@bluematt.me>
Wed, 29 Nov 2023 03:07:54 +0000 (03:07 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 13 Dec 2023 23:26:09 +0000 (23:26 +0000)
commit5ac68c1af3368e8b54e3742527d5753303e65ef7
treef3daac994d9487fe1c905e76a9619154aa029ccf
parent6f8838fe7033b8ab6733baface32bdb183abefc7
Update history bucket last_update time immediately on update

Now that we aren't decaying during scoring, when we set the
last_updated time in the history bucket logic doesn't matter, so
we should just update it when we've just updated the history
buckets.
lightning/src/routing/scoring.rs