static Result_RouteLightningErrorZ |
UtilMethods.build_route_from_hops(byte[] our_node_pubkey,
byte[][] hops,
RouteParameters route_params,
NetworkGraph network_graph,
Logger logger,
byte[] random_seed_bytes) |
Construct a route from us (payer) to the target node (payee) via the given hops (which should
exclude the payer, but include the payee).
|
Result_RouteLightningErrorZ |
Result_RouteLightningErrorZ.clone() |
Creates a new CResult_RouteLightningErrorZ which has the same data as `orig`
but with all dynamically-allocated buffers duplicated in new buffers.
|
static Result_RouteLightningErrorZ |
Result_RouteLightningErrorZ.err(LightningError e) |
Creates a new CResult_RouteLightningErrorZ in the error state.
|
Result_RouteLightningErrorZ |
Router.find_route(byte[] payer,
RouteParameters route_params,
ChannelDetails[] first_hops,
InFlightHtlcs inflight_htlcs) |
Finds a [`Route`] between `payer` and `payee` for a payment with the given values.
|
Result_RouteLightningErrorZ |
Router.RouterInterface.find_route(byte[] payer,
RouteParameters route_params,
ChannelDetails[] first_hops,
InFlightHtlcs inflight_htlcs) |
Finds a [`Route`] between `payer` and `payee` for a payment with the given values.
|
static Result_RouteLightningErrorZ |
UtilMethods.find_route(byte[] our_node_pubkey,
RouteParameters route_params,
NetworkGraph network_graph,
ChannelDetails[] first_hops,
Logger logger,
Score scorer,
byte[] random_seed_bytes) |
Finds a route from us (payer) to the given target node (payee).
|
Result_RouteLightningErrorZ |
Router.find_route_with_id(byte[] payer,
RouteParameters route_params,
ChannelDetails[] first_hops,
InFlightHtlcs inflight_htlcs,
byte[] _payment_hash,
byte[] _payment_id) |
Finds a [`Route`] between `payer` and `payee` for a payment with the given values.
|
Result_RouteLightningErrorZ |
Router.RouterInterface.find_route_with_id(byte[] payer,
RouteParameters route_params,
ChannelDetails[] first_hops,
InFlightHtlcs inflight_htlcs,
byte[] _payment_hash,
byte[] _payment_id) |
Finds a [`Route`] between `payer` and `payee` for a payment with the given values.
|
static Result_RouteLightningErrorZ |
Result_RouteLightningErrorZ.ok(Route o) |
Creates a new CResult_RouteLightningErrorZ in the success state.
|