mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-26 15:42:52 +01:00
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. |
||
---|---|---|
.. | ||
invoice.rs | ||
invoice_error.rs | ||
invoice_request.rs | ||
merkle.rs | ||
mod.rs | ||
offer.rs | ||
parse.rs | ||
payer.rs | ||
refund.rs | ||
signer.rs | ||
test_utils.rs |