Package org.ldk.structs
Class Event.HTLCHandlingFailed
- java.lang.Object
-
- org.ldk.structs.Event
-
- org.ldk.structs.Event.HTLCHandlingFailed
-
- Enclosing class:
- Event
public static final class Event.HTLCHandlingFailed extends Event
Indicates that the HTLC was accepted, but could not be processed when or after attempting to forward it. Some scenarios where this event may be sent include: Insufficient capacity in the outbound channel While waiting to forward the HTLC, the channel it is meant to be forwarded through closes When an unknown SCID is requested for forwarding a payment. Expected MPP amount has already been reached The HTLC has timed out This event, however, does not get generated if an HTLC fails to meet the forwarding requirements (i.e. insufficient fees paid, or a CLTV that is too soon).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ldk.structs.Event
Event.ChannelClosed, Event.ChannelPending, Event.ChannelReady, Event.DiscardFunding, Event.FundingGenerationReady, Event.HTLCHandlingFailed, Event.HTLCIntercepted, Event.OpenChannelRequest, Event.PaymentClaimable, Event.PaymentClaimed, Event.PaymentFailed, Event.PaymentForwarded, Event.PaymentPathFailed, Event.PaymentPathSuccessful, Event.PaymentSent, Event.PendingHTLCsForwardable, Event.ProbeFailed, Event.ProbeSuccessful, Event.SpendableOutputs
-
-
Field Summary
Fields Modifier and Type Field Description HTLCDestination
failed_next_destination
Destination of the HTLC that failed to be processed.byte[]
prev_channel_id
The channel over which the HTLC was received.
-
Method Summary
-
Methods inherited from class org.ldk.structs.Event
channel_closed, channel_pending, channel_ready, clone, discard_funding, eq, equals, finalize, funding_generation_ready, htlchandling_failed, htlcintercepted, open_channel_request, payment_claimable, payment_claimed, payment_failed, payment_forwarded, payment_path_failed, payment_path_successful, payment_sent, pending_htlcs_forwardable, probe_failed, probe_successful, spendable_outputs, write
-
-
-
-
Field Detail
-
prev_channel_id
public final byte[] prev_channel_id
The channel over which the HTLC was received.
-
failed_next_destination
public final HTLCDestination failed_next_destination
Destination of the HTLC that failed to be processed.
-
-