[][src]Module lightning::ln::router

The top-level routing/network map tracking logic lives here.

You probably want to create a Router and use that as your RoutingMessageHandler and then interrogate it to get routes for your own payments.

Structs

Route

A route from us through the network to a destination

RouteHint

A channel descriptor which provides a last-hop route to get_route

RouteHop

A hop in a route

Router

Tracks a view of the network, receiving updates from peers and generating Routes to payment destinations.

RouterReadArgs

Arguments for the creation of a Router that are not deserialized. At a high-level, the process for deserializing a Router and resuming normal operation is: