Structs§
- Bolt11
Invoice - Represents a syntactically and semantically correct lightning BOLT11 invoice.
- Bolt12
Invoice - A
Bolt12Invoiceis a payment request, typically corresponding to anOfferor aRefund. - Check
Signature Error - Invoice
Parse Error - Lightning
Receive Challenge - Offer
- An
Offeris a potentially long-lived proposal for payment of a good or service. - Payment
Hash - 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 lightning Bolt11Invoice or a Bolt12Invoice.
- Offer
Amount - The minimum amount required for an item in an
Offer, denominated in either bitcoin or another currency. - Payment
Status
Constants§
- HTLC_
MIN_ FEE - The minimum fee we consider for an HTLC transaction.
Traits§
Functions§
- server_
htlc_ receive_ taproot - Construct taproot spending information for a VTXO that enables incoming Lightning payments. This relates to the crate::VtxoPolicy::ServerHtlcRecv policy.
- server_
htlc_ send_ taproot - Construct taproot spending information for a VTXO that enables outgoing Lightning payments. This relates to the crate::VtxoPolicy::ServerHtlcSend policy.