Why Nostr? What is Njump?
2023-06-09 13:02:15
in reply to

Rusty Russell [ARCHIVE] on Nostr: 📅 Original date posted:2021-04-16 📝 Original message: Hi all, I've just added a ...

📅 Original date posted:2021-04-16
📝 Original message:
Hi all,

https://github.com/lightningnetwork/lightning-rfc/pull/798/commits/fc8aab72ccdd616301dc200fc124824efe4fbb58

I've just added a simple addition to the proposed BOLT 12 offers spec,
where invoice requests can ask to obsolete old invoices. This allows a
simple workaround in the case where a payment is stuck: the vendor
commits to a new invoice which obsoletes the old one, using the
already-existing invoice_request message.

If the vendor cheats and accepts both old and new payments, you
can prove they lied. Or they can return an error which indicates
they've already received the payment and it's simply the return which is
stuck.

Either way, it's now simple to implement, and gives wallets another
option for handling these cases.

Cheers!
Rusty.
Author Public Key
npub1zw7cc8z78v6s3grujfvcv3ckpvg6kr0w7nz9yzvwyglyg0qu5sjsqhkhpx