boolean |
RouteHop.eq(RouteHop b) |
Checks if two RouteHops contain equal inner contents.
|
static Route |
Route.of(RouteHop[][] paths_arg,
PaymentParameters payment_params_arg) |
Constructs a new Route given each field
|
static Result_RouteHopDecodeErrorZ |
Result_RouteHopDecodeErrorZ.ok(RouteHop o) |
Creates a new CResult_RouteHopDecodeErrorZ in the success state.
|
static Event |
Event.payment_path_failed(byte[] payment_id,
byte[] payment_hash,
boolean rejected_by_dest,
Option_NetworkUpdateZ network_update,
boolean all_paths_failed,
RouteHop[] path,
Option_u64Z short_channel_id,
RouteParameters retry) |
Utility method to constructs a new PaymentPathFailed-variant Event
|
void |
Score.payment_path_failed(RouteHop[] path,
long short_channel_id) |
Handles updating channel penalties after failing to route through a channel.
|
void |
Score.ScoreInterface.payment_path_failed(RouteHop[] path,
long short_channel_id) |
Handles updating channel penalties after failing to route through a channel.
|
static Event |
Event.payment_path_successful(byte[] payment_id,
byte[] payment_hash,
RouteHop[] path) |
Utility method to constructs a new PaymentPathSuccessful-variant Event
|
void |
Score.payment_path_successful(RouteHop[] path) |
Handles updating channel penalties after successfully routing along a path.
|
void |
Score.ScoreInterface.payment_path_successful(RouteHop[] path) |
Handles updating channel penalties after successfully routing along a path.
|
static Event |
Event.probe_failed(byte[] payment_id,
byte[] payment_hash,
RouteHop[] path,
Option_u64Z short_channel_id) |
Utility method to constructs a new ProbeFailed-variant Event
|
void |
Score.probe_failed(RouteHop[] path,
long short_channel_id) |
Handles updating channel penalties after a probe over the given path failed.
|
void |
Score.ScoreInterface.probe_failed(RouteHop[] path,
long short_channel_id) |
Handles updating channel penalties after a probe over the given path failed.
|
static Event |
Event.probe_successful(byte[] payment_id,
byte[] payment_hash,
RouteHop[] path) |
Utility method to constructs a new ProbeSuccessful-variant Event
|
void |
Score.probe_successful(RouteHop[] path) |
Handles updating channel penalties after a probe over the given path succeeded.
|
void |
Score.ScoreInterface.probe_successful(RouteHop[] path) |
Handles updating channel penalties after a probe over the given path succeeded.
|
Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ |
ChannelManager.send_probe(RouteHop[] hops) |
Send a payment that is probing the given route for liquidity.
|
void |
Route.set_paths(RouteHop[][] val) |
The list of routes taken for a single (potentially-)multi-part payment.
|