Struct lightning::routing::network_graph::ReadOnlyNetworkGraph [−][src]
pub struct ReadOnlyNetworkGraph<'a> { /* fields omitted */ }
Expand description
A read-only view of NetworkGraph
.
Implementations
Returns all known valid channels’ short ids along with announced channel info.
(C-not exported) because we have no mapping for BTreeMap
s
Returns all known nodes’ public keys along with announced node info.
(C-not exported) because we have no mapping for BTreeMap
s
Get network addresses by node id. Returns None if the requested node is completely unknown, or if node announcement for the node was never received.