Module lightning::routing::router

source ·
Expand description

The router finds paths within a NetworkGraph for a payment.

Structs§

Enums§

  • A wrapper around the various hop representations.
  • The recipient of a payment, differing based on whether they’ve hidden their identity with route blinding.

Constants§

Traits§

  • A trait defining behavior for routing a payment.

Functions§

  • Construct a route from us (payer) to the target node (payee) via the given hops (which should exclude the payer, but include the payee). This may be useful, e.g., for probing the chosen path.
  • Finds a route from us (payer) to the given target node (payee).