rust-lightning/lightning
Jeffrey Czyz e1aa18aed8
Invoice encoding and parsing
Define an interface for BOLT 12 `invoice` messages. The underlying
format consists of the original bytes and the parsed contents.

The bytes are later needed for serialization. This is because it must
mirror all the `offer` and `invoice_request` TLV records, including
unknown ones, which aren't represented in the contents.

Invoices may be created for an Offer (from an InvoiceRequest) or for a
Refund. The primary difference is how the signing pubkey is given -- by
the writer of the offer or the reader of the refund.
2023-01-20 16:04:37 -06:00
..
src Invoice encoding and parsing 2023-01-20 16:04:37 -06:00
Cargo.toml Bump crate versions to 0.0.113/invoice 0.21 2022-12-15 22:15:55 +00:00