Module lightning

Module lightning 

Source

Structs§

Bolt12Invoice
A Bolt12Invoice is a payment request, typically corresponding to an Offer or a Refund.
CheckSignatureError
InvoiceParseError
Offer
An Offer is a potentially long-lived proposal for payment of a good or service.
PaymentHash
The hash of a Preimage, used to identify HTLC-based payments.
Preimage
A 32-byte secret preimage used for HTLC-based payments.

Enums§

Invoice
Enum to represent either a bolt11 or bolt12 invoice
OfferAmount
The minimum amount required for an item in an Offer, denominated in either bitcoin or another currency.
PaymentStatus

Constants§

HTLC_MIN_FEE
The minimum fee we consider for an HTLC transaction.

Traits§

Bolt12InvoiceExt

Functions§

server_htlc_receive_taproot
Build taproot spend info to build a VTXO for Alice lightning receive
server_htlc_send_taproot
Build taproot spend info to build a VTXO to enable lightning send