Package org.ldk.structs
Class Event.PaymentFailed
- java.lang.Object
-
- org.ldk.structs.Event
-
- org.ldk.structs.Event.PaymentFailed
-
- Enclosing class:
- Event
public static final class Event.PaymentFailed extends Event
Indicates an outbound payment failed. Individual [`Event::PaymentPathFailed`] events provide failure information for each MPP part in the payment. This event is provided once there are no further pending HTLCs for the payment and the payment is no longer retryable, either due to a several-block timeout or because [`ChannelManager::abandon_payment`] was previously called for the corresponding payment. [`ChannelManager::abandon_payment`]: crate::ln::channelmanager::ChannelManager::abandon_payment
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ldk.structs.Event
Event.ChannelClosed, Event.DiscardFunding, Event.FundingGenerationReady, Event.HTLCHandlingFailed, Event.OpenChannelRequest, Event.PaymentClaimed, Event.PaymentFailed, Event.PaymentForwarded, Event.PaymentPathFailed, Event.PaymentPathSuccessful, Event.PaymentReceived, Event.PaymentSent, Event.PendingHTLCsForwardable, Event.ProbeFailed, Event.ProbeSuccessful, Event.SpendableOutputs
-
-
Field Summary
Fields Modifier and Type Field Description byte[]payment_hashThe hash that was given to [`ChannelManager::send_payment`].byte[]payment_idThe id returned by [`ChannelManager::send_payment`] and used with [`ChannelManager::retry_payment`] and [`ChannelManager::abandon_payment`].
-
Method Summary
-
Methods inherited from class org.ldk.structs.Event
channel_closed, clone, discard_funding, finalize, funding_generation_ready, htlchandling_failed, open_channel_request, payment_claimed, payment_failed, payment_forwarded, payment_path_failed, payment_path_successful, payment_received, payment_sent, pending_htlcs_forwardable, probe_failed, probe_successful, spendable_outputs, write
-
-
-
-
Field Detail
-
payment_id
public final byte[] payment_id
The id returned by [`ChannelManager::send_payment`] and used with [`ChannelManager::retry_payment`] and [`ChannelManager::abandon_payment`]. [`ChannelManager::send_payment`]: crate::ln::channelmanager::ChannelManager::send_payment [`ChannelManager::retry_payment`]: crate::ln::channelmanager::ChannelManager::retry_payment [`ChannelManager::abandon_payment`]: crate::ln::channelmanager::ChannelManager::abandon_payment
-
payment_hash
public final byte[] payment_hash
The hash that was given to [`ChannelManager::send_payment`]. [`ChannelManager::send_payment`]: crate::ln::channelmanager::ChannelManager::send_payment
-
-