pkt on Nostr: [bitcoin-dev] OP_Expire and Coinbase-Like Behavior: Making HTLCs Safer by Letting ...
https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2023-October/022042.html[bitcoin-dev] OP_Expire and Coinbase-Like Behavior: Making HTLCs Safer by Letting Transactions Expire Safely
tl;dr: this proposal would fix the recent lightning exploit Antoine found by making disabling the preimage branch of HTLCs once the timeout is reached.
Traditionally we've been dubious about making it possible for transactions to become invalid in the future. But in the post I argue that it is acceptable if we treat them similar to coinbase outputs, preventing outputs that may expire from being spent until they have 100 confirmations.
Published at
2023-10-21 14:07:34 UTCEvent JSON
{
"id": "d8f9eb53e95d8286e7a2b5a908e7fc21f781d95c634005311d678ee25e993457",
"pubkey": "ccaa58e37c99c85bc5e754028a718bd46485e5d3cb3345691ecab83c755d48cc",
"created_at": 1697897254,
"kind": 1,
"tags": [
[
"r",
"https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2023-October/022042.html"
]
],
"content": "\nhttps://lists.linuxfoundation.org/pipermail/bitcoin-dev/2023-October/022042.html\n\n[bitcoin-dev] OP_Expire and Coinbase-Like Behavior: Making HTLCs Safer by Letting Transactions Expire Safely\n\ntl;dr: this proposal would fix the recent lightning exploit Antoine found by making disabling the preimage branch of HTLCs once the timeout is reached.\n\nTraditionally we've been dubious about making it possible for transactions to become invalid in the future. But in the post I argue that it is acceptable if we treat them similar to coinbase outputs, preventing outputs that may expire from being spent until they have 100 confirmations.",
"sig": "000cc0b049fdbfb32fabd47f8a65df19d0981a97f381a8b9023a0acfb6f7f62dc2e96c87699bf921bb149fe8e4b73296174becfecf8988c646b28d13cfd6ca47"
}