]> git.bitcoin.ninja Git - rust-lightning/commit
Builder for creating static invoices from offers
authorValentine Wallace <vwallace@protonmail.com>
Thu, 9 May 2024 21:15:34 +0000 (17:15 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Wed, 12 Jun 2024 20:42:27 +0000 (16:42 -0400)
commit1e580668684d4dbf11d69d75e5d4a5c4f8cc40bf
tree7a31c5f1cd76d5b27dc378beb6ecd46144a7fcd5
parente3dea2c3c7099c63d569b8912b9633aa733be19a
Builder for creating static invoices from offers

Add a builder for creating static invoices for an offer. Building produces a
semantically valid static invoice for the offer, which can then be signed with
the key associated with the offer's signing pubkey.
lightning/src/offers/offer.rs
lightning/src/offers/static_invoice.rs