]> git.bitcoin.ninja Git - rust-lightning/commit
Add `WriteableScore` bindings impl for `MultiThreadedLockableScore` 2022-10-mtlc-writer
authorMatt Corallo <git@bluematt.me>
Thu, 29 Sep 2022 15:22:47 +0000 (15:22 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 21 Oct 2022 01:08:30 +0000 (01:08 +0000)
commit6ec9b5357f28d8c1a739a8ce36b3d05afcea2b09
tree8b382cb7fd00e30990d75b33438d3832279d5bbe
parentd6321e6e11b3e1b11e26617d3bab0b8c21da0b5b
Add `WriteableScore` bindings impl for `MultiThreadedLockableScore`

In 56b07e52aabdaca521987e765f1fa864966a5d49 we made
`MultiThreadedLockableScore` fully bindings-compatible. However, it
did not add a `WriteableScore` implementation for it. This was an
oversight as it is a `WriteableScore` in Rust and needs to be for
use in other parts of the API.

Here we add the required impl in a way that the bindings generator
is able to handle it and add conversion utilities.
lightning/src/routing/scoring.rs