Module payment

Source
Expand description

Data structures and methods for constructing BlindedPaymentPaths to send a payment over.

Structs§

AsyncBolt12OfferContext
The context of a payment made for a static invoice requested from a BOLT 12 Offer.
BlindedPayInfo
Information needed to route a payment across a BlindedPaymentPath.
BlindedPaymentPath
A blinded path to be used for sending or receiving a payment, hiding the identity of the recipient.
Bolt12OfferContext
The context of a payment made for an invoice requested from a BOLT 12 Offer.
Bolt12RefundContext
The context of a payment made for an invoice sent for a BOLT 12 Refund.
ForwardTlvs
Data to construct a BlindedHop for forwarding a payment.
PaymentConstraints
Constraints for relaying over a given BlindedHop.
PaymentForwardNode
An intermediate node, its outbound channel, and relay parameters.
PaymentRelay
Parameters for relaying over a given BlindedHop.
ReceiveTlvs
Data to construct a BlindedHop for receiving a payment. This payload is custom to LDK and may not be valid if received by another lightning implementation.
TrampolineForwardTlvs
Data to construct a BlindedHop for forwarding a Trampoline payment.
UnauthenticatedReceiveTlvs
An unauthenticated ReceiveTlvs.

Enums§

PaymentContext
The context of an inbound payment, which is included in a BlindedPaymentPath via ReceiveTlvs and surfaced in PaymentPurpose.