Module payment

Expand description

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

Structs§

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.
ForwardNode
An intermediate node, its outbound channel, and relay parameters.
ForwardTlvs
Data to construct a BlindedHop for forwarding a payment.
PaymentConstraints
Constraints for relaying over a given BlindedHop.
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.
UnknownPaymentContext
An unknown payment context.

Enums§

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