]> git.bitcoin.ninja Git - rust-lightning/commit
Switch `Simple*ChannelManager` locks around `Score` to `RwLock` 2023-09-writeable-rwlock
authorMatt Corallo <git@bluematt.me>
Sat, 30 Sep 2023 17:40:42 +0000 (17:40 +0000)
committerMatt Corallo <git@bluematt.me>
Sat, 30 Sep 2023 18:04:31 +0000 (18:04 +0000)
commit783e255d4f57e54ffa6fe4b502b2e0a0cf56f558
tree3d7321cc22f206c1790e207cc6a50408ab6f32bf
parent3e93f9ad88ca810cb6aea7b6dd7c3fc43a641af8
Switch `Simple*ChannelManager` locks around `Score` to `RwLock`

This switches the locks used around `ProbabilisticScorer` in
`Simple*ChannelManager` type aliases to `RwLock`.
lightning-background-processor/src/lib.rs
lightning/src/ln/channelmanager.rs