Module lightning::routing::network_graph[][src]

Expand description

The top-level network map tracking logic lives here.

Structs

Details about a channel (both directions). Received within a channel announcement.

Details about one direction of a channel. Received within a channel update.

A simple newtype for RwLockReadGuard<’a, NetworkGraph>. This exists only to make accessing a RwLock possible from the C bindings, as it can be done directly in Rust code.

Receives and validates network updates from peers, stores authentic and relevant data as a network graph. This network graph is then used for routing payments. Provides interface to help with initial routing sync by serving historical announcements.

Represents the network as nodes and channels between them

Information received in the latest node_announcement from this node.

Details about a node in the network, known from the network announcement.

Fees for routing via a given channel or a node