Package org.ldk.structs
Class Event.PaymentPathSuccessful
- java.lang.Object
-
- org.ldk.structs.Event
-
- org.ldk.structs.Event.PaymentPathSuccessful
-
-
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 RouteHop[]pathThe payment path that was successful.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`].
-
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`]. [`ChannelManager::send_payment`]: crate::ln::channelmanager::ChannelManager::send_payment [`ChannelManager::retry_payment`]: crate::ln::channelmanager::ChannelManager::retry_payment
-
payment_hash
@Nullable public final byte[] payment_hash
The hash that was given to [`ChannelManager::send_payment`]. [`ChannelManager::send_payment`]: crate::ln::channelmanager::ChannelManager::send_payment Note that this (or a relevant inner pointer) may be NULL or all-0s to represent None
-
path
public final RouteHop[] path
The payment path that was successful. May contain a closed channel if the HTLC sent along the path was fulfilled on chain.
-
-