Module breez_sdk_liquid::lightning::routing::gossip

Expand description

The NetworkGraph stores the network gossip and P2PGossipSync fetches it from peers

Structs§

  • Details about a channel (both directions). Received within a channel announcement.
  • Details about one direction of a channel as received within a ChannelUpdate.
  • A wrapper around ChannelInfo representing information about the channel as directed from a source node to a target node.
  • Represents the network as nodes and channels between them
  • A user-defined name for a node, which may be used when displaying the node in a graph.
  • 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.
  • 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.
  • A read-only view of NetworkGraph.
  • Fees for routing via a given channel or a node

Enums§

Constants§

Functions§