Uses of Class
org.ldk.structs.RecentPaymentDetails
-
Packages that use RecentPaymentDetails Package Description org.ldk.structs -
-
Uses of RecentPaymentDetails in org.ldk.structs
Subclasses of RecentPaymentDetails in org.ldk.structs Modifier and Type Class Description static class
RecentPaymentDetails.Abandoned
After a payment's retries are exhausted per the provided [`Retry`], or it is explicitly abandoned via [`ChannelManager::abandon_payment`], it is marked as abandoned until all pending HTLCs for this payment resolve and an [`Event::PaymentFailed`] is generated.static class
RecentPaymentDetails.Fulfilled
When a pending payment is fulfilled, we continue tracking it until all pending HTLCs have been resolved.static class
RecentPaymentDetails.Pending
When a payment is still being sent and awaiting successful delivery.Methods in org.ldk.structs that return RecentPaymentDetails Modifier and Type Method Description static RecentPaymentDetails
RecentPaymentDetails. abandoned(byte[] payment_hash)
Utility method to constructs a new Abandoned-variant RecentPaymentDetailsRecentPaymentDetails
RecentPaymentDetails. clone()
Creates a copy of the RecentPaymentDetailsstatic RecentPaymentDetails
RecentPaymentDetails. fulfilled(byte[] payment_hash)
Utility method to constructs a new Fulfilled-variant RecentPaymentDetailsRecentPaymentDetails[]
ChannelManager. list_recent_payments()
Returns in an undefined order recent payments that -- if not fulfilled -- have yet to find a successful path, or have unresolved HTLCs.static RecentPaymentDetails
RecentPaymentDetails. pending(byte[] payment_hash, long total_msat)
Utility method to constructs a new Pending-variant RecentPaymentDetails
-