boolean |
Path.eq(Path b) |
Checks if two Paths contain equal inner contents.
|
static Route |
Route.of(Path[] paths_arg,
PaymentParameters payment_params_arg) |
Constructs a new Route given each field
|
static Event |
Event.payment_path_failed(byte[] payment_id,
byte[] payment_hash,
boolean payment_failed_permanently,
PathFailure failure,
Path path,
Option_u64Z short_channel_id) |
Utility method to constructs a new PaymentPathFailed-variant Event
|
void |
Score.payment_path_failed(Path path,
long short_channel_id) |
Handles updating channel penalties after failing to route through a channel.
|
void |
Score.ScoreInterface.payment_path_failed(Path 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,
Path path) |
Utility method to constructs a new PaymentPathSuccessful-variant Event
|
void |
Score.payment_path_successful(Path path) |
Handles updating channel penalties after successfully routing along a path.
|
void |
Score.ScoreInterface.payment_path_successful(Path path) |
Handles updating channel penalties after successfully routing along a path.
|
static Event |
Event.probe_failed(byte[] payment_id,
byte[] payment_hash,
Path path,
Option_u64Z short_channel_id) |
Utility method to constructs a new ProbeFailed-variant Event
|
void |
Score.probe_failed(Path path,
long short_channel_id) |
Handles updating channel penalties after a probe over the given path failed.
|
void |
Score.ScoreInterface.probe_failed(Path 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,
Path path) |
Utility method to constructs a new ProbeSuccessful-variant Event
|
void |
Score.probe_successful(Path path) |
Handles updating channel penalties after a probe over the given path succeeded.
|
void |
Score.ScoreInterface.probe_successful(Path path) |
Handles updating channel penalties after a probe over the given path succeeded.
|
void |
InFlightHtlcs.process_path(Path path,
byte[] payer_node_id) |
Takes in a path with payer's node id and adds the path's details to `InFlightHtlcs`.
|
Result_C2Tuple_PaymentHashPaymentIdZPaymentSendFailureZ |
ChannelManager.send_probe(Path path) |
Send a payment that is probing the given route for liquidity.
|
void |
Route.set_paths(Path[] val) |
The list of [`Path`]s taken for a single (potentially-)multi-part payment.
|