Use `Duration` based time info in scoring rather than `Time`
authorMatt Corallo <git@bluematt.me>
Mon, 9 Oct 2023 01:44:33 +0000 (01:44 +0000)
committerMatt Corallo <git@bluematt.me>
Sat, 9 Dec 2023 00:53:48 +0000 (00:53 +0000)
commitc62f6285616a1411987229f4eb550b690dc25faa
treecd4a40ef29ec1c069431f3b50b91e6a663ca16a5
parent822752ec716e9939d623a90cc174765e5f1d3bb9
Use `Duration` based time info in scoring rather than `Time`

In the coming commits, the `T: Time` bound on `ProbabilisticScorer`
will be removed. In order to enable that, we need to switch over to
using the `ScoreUpdate`-provided current time (as a `Duration`
since the unix epoch), making the `T` bound entirely unused.
lightning/src/routing/scoring.rs