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/fc8aab72ccdd616301dc200fc124824efe4fbb58I'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.
Published at
2023-06-09 13:02:15Event JSON
{
"id": "d6ce1fc2d292fcf3da15cc8003b754fafe2c2dcf94d473988ba9ae225bbbaef0",
"pubkey": "13bd8c1c5e3b3508a07c92598647160b11ab0deef4c452098e223e443c1ca425",
"created_at": 1686315735,
"kind": 1,
"tags": [
[
"e",
"2b4e1bd6849d78321caf972e3c06530aabdaf7dba4c3d767ecae45acb967dd4a",
"",
"reply"
],
[
"p",
"9456f7acb763eaab2e02bd8e60cf17df74f352c2ae579dce1f1dd25c95dd611c"
]
],
"content": "📅 Original date posted:2021-04-16\n📝 Original message:\nHi all,\n\n https://github.com/lightningnetwork/lightning-rfc/pull/798/commits/fc8aab72ccdd616301dc200fc124824efe4fbb58\n\nI've just added a simple addition to the proposed BOLT 12 offers spec,\nwhere invoice requests can ask to obsolete old invoices. This allows a\nsimple workaround in the case where a payment is stuck: the vendor\ncommits to a new invoice which obsoletes the old one, using the\nalready-existing invoice_request message.\n\n If the vendor cheats and accepts both old and new payments, you\ncan prove they lied. Or they can return an error which indicates\nthey've already received the payment and it's simply the return which is\nstuck.\n\nEither way, it's now simple to implement, and gives wallets another\noption for handling these cases.\n\nCheers!\nRusty.",
"sig": "67bda486327e17b8f0a2b41d2dbc8e81ccaa801944fa9ad31436011e5c7c7d51318a60d387486eb3eda8f0a229c803567207b677449717504501d09667944f13"
}