rust-lightning/lightning/src/offers
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
..
invoice_request.rs Invoice request message interface and data format 2022-12-09 08:53:33 -06:00
mod.rs Invoice request message interface and data format 2022-12-09 08:53:33 -06:00
offer.rs Invoice request message interface and data format 2022-12-09 08:53:33 -06:00
parse.rs Reduce visibility for offer auxiliary types 2022-12-02 15:26:27 -08:00
payer.rs Invoice request message interface and data format 2022-12-09 08:53:33 -06:00