]> git.bitcoin.ninja Git - rust-lightning/commit
Add a read-only view of NetworkGraph
authorJeffrey Czyz <jkczyz@gmail.com>
Mon, 16 Aug 2021 23:40:19 +0000 (18:40 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 10 Sep 2021 04:11:12 +0000 (23:11 -0500)
commit798cf6ea8387b2365e0d45681c8cf28ed11f13e1
treefca33aaa24ad3cbb4713d46b8e2922cee7ec1b87
parent16ad7f17a1cf0d1d57ffd0e15532a670b749e075
Add a read-only view of NetworkGraph

Hide the internal locking of NetworkGraph by providing a read-only
view. This way the locking order is handled internally.
lightning/src/routing/network_graph.rs
lightning/src/routing/router.rs