Module payment
Expand description
Data structures and methods for constructing BlindedPaymentPath
s to send a payment over.
Structs§
- Information needed to route a payment across a
BlindedPaymentPath
. - A blinded path to be used for sending or receiving a payment, hiding the identity of the recipient.
- The context of a payment made for an invoice requested from a BOLT 12
Offer
. - The context of a payment made for an invoice sent for a BOLT 12
Refund
. - Data to construct a
BlindedHop
for forwarding a payment. - Constraints for relaying over a given
BlindedHop
. - An intermediate node, its outbound channel, and relay parameters.
- Parameters for relaying over a given
BlindedHop
. - 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. - An unknown payment context.
Enums§
- The context of an inbound payment, which is included in a
BlindedPaymentPath
viaReceiveTlvs
and surfaced inPaymentPurpose
.