rust-lightning/lightning/src/offers
Jeffrey Czyz 39012e3595
Support signing BOLT 12 invoices in NodeSigner
BOLT 12 messages need to be signed in the following scenarios:
- constructing an InvoiceRequest after scanning an Offer,
- constructing an Invoice after scanning a Refund, and
- constructing an Invoice when handling an InvoiceRequest.

Extend the NodeSigner trait to support signing BOLT 12 invoices such
that it can be used in the latter contexts. The method could be used
in an OffersMessageHandler.
2023-08-21 19:14:29 -05:00
..
invoice.rs Support signing BOLT 12 invoices in NodeSigner 2023-08-21 19:14:29 -05:00
invoice_error.rs Qualify the BOLT 12 semantic error 2023-07-14 15:04:43 -05:00
invoice_request.rs Support signing BOLT 12 invoices in NodeSigner 2023-08-21 19:14:29 -05:00
merkle.rs Use TaggedHash in merkle::verify_signature 2023-08-21 19:14:29 -05:00
mod.rs Macro-ize Offer accessors for reuse 2023-08-21 19:14:28 -05:00
offer.rs Macro-ize InvoiceRequest accessors for reuse 2023-08-21 19:14:28 -05:00
parse.rs Make OffersMessage and offers errors Cloneable 2023-07-20 21:43:52 +00:00
payer.rs Expose Offer/InvoiceRequest methods in Invoice 2023-08-21 19:14:29 -05:00
refund.rs Expose Offer/InvoiceRequest methods in Invoice 2023-08-21 19:14:29 -05:00
signer.rs Support responding to refunds with transient keys 2023-04-19 21:31:07 -05:00
test_utils.rs TaggedHash for BOLT 12 signing function 2023-08-21 19:14:27 -05:00