]> git.bitcoin.ninja Git - rust-lightning/commit
Builder for creating refunds
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 29 Nov 2022 23:30:56 +0000 (18:30 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 14 Dec 2022 22:20:53 +0000 (16:20 -0600)
commit73e743fb53bee1e3a49504873e22afeb9e03162d
treed0de1b37d372d3e7351a9de83c1f24e8b476a9c1
parentd47763af57ebeabfe163e2158b4d66574c0612b0
Builder for creating refunds

Add a builder for creating refunds given a payer_id and other required
fields. Other settings are optional and duplicative settings will
override previous settings. Building produces a semantically valid
`invoice_request` message representing the refund, which then may be
communicated out of band (e.g., via QR code).
lightning/src/offers/refund.rs