]> git.bitcoin.ninja Git - rust-lightning/commit
Drop now-unused `T: Time` bound on `ProbabilisticScorer`
authorMatt Corallo <git@bluematt.me>
Mon, 9 Oct 2023 01:52:20 +0000 (01:52 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 13 Dec 2023 23:26:09 +0000 (23:26 +0000)
commitd15a354f775b9e1bb6bdc0795bc948b03e6cb7ac
treeb9c18f440a730e612f94b225b35fe4a48196967d
parent22888425f7bfb5a9ac9ffd32906f1a01a035021b
Drop now-unused `T: Time` bound on `ProbabilisticScorer`

Now that we don't access time via the `Time` trait in
`ProbabilisticScorer`, we can finally drop the `Time` bound
entirely, removing the `ProbabilisticScorerUsingTime` and type
alias indirection and replacing it with a simple struct.
lightning/src/routing/scoring.rs