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.

Reply to this note

Please Login to reply.

Discussion

Agree, seems like a pragmatic approach.

Lol. I almost got triggered thinking any kind of fix would be based on a business so shitty.

Then I remembered what a coinbase transaction is.

Big sunk cost fallacy vibes. Maybe instead go back and correct the early mistakes (raise block size, deprecate RBF).

Would zap this but you don’t have lightning enabled 😬

Odd. Should be enabled.

See my BCH address in my profile, thanks!

Hey, I just sent you a tip of 20 Nostracoin.

Nostracoin can be used to record your nostr events in the blockchain.

You might want to do that because

1. It is censorship resistant

2. Timestamps your note

3. Never drops your note

You can check your balance or view Nostr at https://nostraco.in