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.

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.

Represents the compressed public key of a node

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

A read-only view of NetworkGraph.

Fees for routing via a given channel or a node

Enums

Update to the NetworkGraph based on payment failure information conveyed via the Onion return packet by a node along the route. See BOLT #4 for details.