Package org.ldk.structs
Interface Router.RouterInterface
-
- Enclosing class:
- Router
public static interface Router.RouterInterface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Result_RouteLightningErrorZfind_route(byte[] payer, RouteParameters route_params, byte[] payment_hash, ChannelDetails[] first_hops, Score scorer)Finds a [`Route`] between `payer` and `payee` for a payment with the given values.
-
-
-
Method Detail
-
find_route
Result_RouteLightningErrorZ find_route(byte[] payer, RouteParameters route_params, byte[] payment_hash, ChannelDetails[] first_hops, Score scorer)
Finds a [`Route`] between `payer` and `payee` for a payment with the given values. Note that first_hops (or a relevant inner pointer) may be NULL or all-0s to represent None
-
-