Builder for creating invoice requests
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 31 Aug 2022 15:19:44 +0000 (10:19 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 9 Dec 2022 14:53:46 +0000 (08:53 -0600)
commit13ba7cc5233bf7ed692adebefee0b352d4800ab3
treebf3c182b0750181e0ac5cc1909932f319939bb98
parent59a7bd29fe02f10f6fcdc192c7994629675c7a30
Builder for creating invoice requests

Add a builder for creating invoice requests for an offer given a
payer_id. Other settings may be optional depending on the offer and
duplicative settings will override previous settings. Building produces
a semantically valid `invoice_request` message for the offer, which then
can be signed for the payer_id.
lightning/src/offers/invoice_request.rs
lightning/src/offers/merkle.rs
lightning/src/offers/offer.rs
lightning/src/offers/parse.rs