Package org.ldk.structs
Class PaymentSendFailure.PartialFailure
- java.lang.Object
-
- org.ldk.structs.PaymentSendFailure
-
- org.ldk.structs.PaymentSendFailure.PartialFailure
-
- Enclosing class:
- PaymentSendFailure
public static final class PaymentSendFailure.PartialFailure extends PaymentSendFailure
Some paths that were attempted failed to send, though some paths may have succeeded. At least some paths have irrevocably committed to the HTLC. The results here are ordered the same as the paths in the route object that was passed to send_payment. Any entries that contain `Err(APIError::MonitorUpdateInprogress)` will send once a [`MonitorEvent::Completed`] is provided for the next-hop channel with the latest update_id. [`MonitorEvent::Completed`]: crate::chain::channelmonitor::MonitorEvent::Completed
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ldk.structs.PaymentSendFailure
PaymentSendFailure.AllFailedResendSafe, PaymentSendFailure.DuplicatePayment, PaymentSendFailure.ParameterError, PaymentSendFailure.PartialFailure, PaymentSendFailure.PathParameterError
-
-
Field Summary
Fields Modifier and Type Field Description RouteParameters
failed_paths_retry
If some paths failed without irrevocably committing to the new HTLC(s), this will contain a [`RouteParameters`] object for the failing paths.byte[]
payment_id
The payment id for the payment, which is now at least partially pending.Result_NoneAPIErrorZ[]
results
The errors themselves, in the same order as the paths from the route.
-
Method Summary
-
Methods inherited from class org.ldk.structs.PaymentSendFailure
all_failed_resend_safe, clone, duplicate_payment, finalize, parameter_error, partial_failure, path_parameter_error
-
-
-
-
Field Detail
-
results
public final Result_NoneAPIErrorZ[] results
The errors themselves, in the same order as the paths from the route.
-
failed_paths_retry
@Nullable public final RouteParameters failed_paths_retry
If some paths failed without irrevocably committing to the new HTLC(s), this will contain a [`RouteParameters`] object for the failing paths. Note that this (or a relevant inner pointer) may be NULL or all-0s to represent None
-
payment_id
public final byte[] payment_id
The payment id for the payment, which is now at least partially pending.
-
-