]> git.bitcoin.ninja Git - rust-lightning/commit
(Bindings Only) Concretize LockableScore to only map Scorer
authorMatt Corallo <git@bluematt.me>
Sun, 31 Oct 2021 19:39:02 +0000 (19:39 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 3 Nov 2021 17:11:59 +0000 (17:11 +0000)
commit5f69c313d1e1f4c90067d8e5770c6bb9689dcc47
treea1f2aea36e569f8a4fba09a46a677a9e1d81ab4f
parente3bdfa0585b9900cd732d568169a3778005be523
(Bindings Only) Concretize LockableScore to only map Scorer

We don't really care about more than this in bindings - calling
into a custom `Score` is likely too slow to be practical anyway,
so this is also a performance improvement.

Works around https://github.com/rust-lang/rust/issues/90448
lightning-background-processor/src/lib.rs
lightning-invoice/src/payment.rs
lightning-invoice/src/utils.rs
lightning/src/routing/mod.rs