Module lightning::routing::router [−][src]
The top-level routing/network map tracking logic lives here.
You probably want to create a NetGraphMsgHandler and use that as your RoutingMessageHandler and then interrogate it to get routes for your own payments.
Structs
Route | A route directs a payment from the sender (us) to the recipient. If the recipient supports MPP, it can take multiple paths. Each path is composed of one or more hops through the network. |
RouteHintHop | A channel descriptor which provides a last-hop route to get_route |
RouteHop | A hop in a route |
Functions
get_route | Gets a route from us (payer) to the given target node (payee). |