Module payment

Source
Expand description

Types which describe payments in lightning.

Structs§

PaymentHash
The payment hash is the hash of the PaymentPreimage which is the value used to lock funds in HTLCs while they transit the lightning network.
PaymentPreimage
The payment preimage is the “secret key” which is used to claim the funds of an HTLC on-chain or in a lightning channel.
PaymentSecret
The payment secret is used to authenticate the sender of an HTLC to the recipient and tie multi-part HTLCs together into a single payment.