Package org.ldk.structs
Class Event.PaymentSent
- java.lang.Object
-
- org.ldk.structs.Event
-
- org.ldk.structs.Event.PaymentSent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ldk.structs.Event
Event.ChannelClosed, Event.DiscardFunding, Event.FundingGenerationReady, Event.PaymentForwarded, Event.PaymentPathFailed, Event.PaymentReceived, Event.PaymentSent, Event.PendingHTLCsForwardable, Event.SpendableOutputs
-
-
Field Summary
Fields Modifier and Type Field Description byte[]payment_hashThe hash which was given to [`ChannelManager::send_payment`].byte[]payment_preimageThe preimage to the hash given to ChannelManager::send_payment.
-
Method Summary
-
Methods inherited from class org.ldk.structs.Event
channel_closed, clone, discard_funding, finalize, funding_generation_ready, payment_forwarded, payment_path_failed, payment_received, payment_sent, pending_htlcs_forwardable, spendable_outputs, write
-
-
-
-
Field Detail
-
payment_preimage
public final byte[] payment_preimage
The preimage to the hash given to ChannelManager::send_payment. Note that this serves as a payment receipt, if you wish to have such a thing, you must store it somehow!
-
payment_hash
public final byte[] payment_hash
The hash which was given to [`ChannelManager::send_payment`]. [`ChannelManager::send_payment`]: crate::ln::channelmanager::ChannelManager::send_payment
-
-