]> git.bitcoin.ninja Git - rust-lightning/commit
Remove RwLock from around NetworkGraph
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 10 Aug 2021 14:47:27 +0000 (09:47 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 10 Sep 2021 04:11:09 +0000 (23:11 -0500)
commit16ad7f17a1cf0d1d57ffd0e15532a670b749e075
treed8764cbdac0427f85d424accace598aeb82a943a
parent777661ae520c9ca969e6359bff05e561011eb336
Remove RwLock from around NetworkGraph

Now that NetworkGraph uses interior mutability, the RwLock used around
it in NetGraphMsgHandler is no longer needed. This allows for shared
ownership without a lock.
fuzz/src/full_stack.rs
fuzz/src/router.rs
lightning-invoice/src/utils.rs
lightning/src/ln/chanmon_update_fail_tests.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/onion_route_tests.rs
lightning/src/ln/shutdown_tests.rs
lightning/src/routing/network_graph.rs
lightning/src/routing/router.rs