]> git.bitcoin.ninja Git - rust-lightning/commit
Individually lock NetworkGraph fields
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 10 Aug 2021 03:24:41 +0000 (22:24 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 10 Sep 2021 04:01:28 +0000 (23:01 -0500)
commit777661ae520c9ca969e6359bff05e561011eb336
treef087d28eb417b3393827b2f8fd13f5575a6131d6
parenta6e650630d7696a0f4de4776d8543d4cfd1a1ed0
Individually lock NetworkGraph fields

In preparation for giving NetworkGraph shared ownership, wrap individual
fields in RwLock. This allows removing the outer RwLock used in
NetGraphMsgHandler.
lightning/src/routing/network_graph.rs
lightning/src/routing/router.rs