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>
Sat, 9 Dec 2023 00:49:16 +0000 (00:49 +0000)
commit04425f9e14aa4870d196b55ef6313eb6ac6c0b72
treef4ed5e57515aaad2dc22f75da85c164f3f50b35f
parentde41ecd91cb97cc1458d69ce9cc01c4bdbd50eb6
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