]> git.bitcoin.ninja Git - rust-lightning/commit
Utility for creating and sending Bolt12Invoices
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 15 Sep 2023 18:40:41 +0000 (13:40 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 20 Oct 2023 14:49:56 +0000 (09:49 -0500)
commit46b794e9a2bba2a94b3cb1f06182903d1fab4ad4
tree023cfe15d930be12ad01bbddea6337f11256bf1c
parentffe9ae285d0c0399a11b6ee4ddb81c1588ab06f2
Utility for creating and sending Bolt12Invoices

Add a utility to ChannelManager for creating a Bolt12Invoice for a
Refund such that the ChannelManager can recognize the PaymentHash and
reconstruct the PaymentPreimage from the PaymentSecret, the latter of
which is contained in a BlindedPath within the invoice.
lightning/src/blinded_path/mod.rs
lightning/src/ln/channelmanager.rs