]> git.bitcoin.ninja Git - rust-lightning/commit
Pass the current time through `ScoreUpDate` methods
authorMatt Corallo <git@bluematt.me>
Mon, 2 Oct 2023 18:33:08 +0000 (18:33 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 13 Dec 2023 18:36:40 +0000 (18:36 +0000)
commit6c366cf35f659126134cc5ec17d3c23838d9d83f
tree108f27a4c700fbce82658f757f7f40a168304f04
parent6471eb050e5c2129953b09e58179d6c79b8d7455
Pass the current time through `ScoreUpDate` methods

In the coming commits, we'll stop relying on fetching the time
during routefetching, preferring to decay score data in the
background instead.

The first step towards this - passing the current time through into
the scorer when updating.
lightning-background-processor/src/lib.rs
lightning/src/routing/router.rs
lightning/src/routing/scoring.rs
lightning/src/util/test_utils.rs