]> git.bitcoin.ninja Git - rust-lightning/commit
Builder for creating invoices for refunds
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 20 Dec 2022 15:33:11 +0000 (09:33 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 20 Jan 2023 22:04:38 +0000 (16:04 -0600)
commitf779bc066fe9a0da409502cd0c4655ba71c50a93
treee4f15727c62217295eefe2cabcbe4587f97b8755
parent88c5197e4445166c4dd8307b9c6903ef4990c70f
Builder for creating invoices for refunds

Add a builder for creating invoices for a refund and required fields.
Other settings are optional and duplicative settings will override
previous settings. Building produces a semantically valid `invoice`
message for the refund, which then can be signed with the key associated
with the provided signing pubkey.
lightning/src/offers/invoice.rs
lightning/src/offers/refund.rs