]> git.bitcoin.ninja Git - rust-lightning/commit
Add InvoiceError message
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 18 May 2023 22:08:46 +0000 (17:08 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Tue, 13 Jun 2023 18:07:46 +0000 (13:07 -0500)
commit9b3a35a133c8f8c5864ab2a748e09ebeaf417525
tree3e7ddede66710e53cb1d4dc8eb0a9bcda1592244
parent1feddaeafd343c50f29fd79a33a00bc7282b802a
Add InvoiceError message

If an InvoiceRequest or an Invoice delivered via an onion message cannot
be handled, the recipient should reply with an InvoiceError if a reply
path was given. Define the message and conversion from SemanticError.
lightning/src/offers/invoice_error.rs [new file with mode: 0644]
lightning/src/offers/mod.rs
lightning/src/util/ser_macros.rs