rust-lightning/lightning
Jeffrey Czyz 0c621646a6
Invoice request message interface and data format
Define an interface for BOLT 12 `invoice_request` messages. The
underlying format consists of the original bytes and the parsed
contents.

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

The contents will be used in `invoice` messages to avoid duplication.
Some fields while required in a typical user-pays-merchant flow may not
be necessary in the merchant-pays-user flow (e.g., refund, ATM).
2022-12-09 08:53:33 -06:00
..
src Invoice request message interface and data format 2022-12-09 08:53:33 -06:00
Cargo.toml Bump crate versions to 0.0.112/invoice 0.20 2022-10-24 18:53:58 +00:00