Timeline for Why is concatenating scriptPubKeys and scriptSigs unsafe?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 17, 2023 at 16:02 | comment | added | Pieter Wuille |
@CosmikDebris Currently it is the case that OP_RETURN immediately marks the transaction invalid, but the the bug under discussion is exactly that its semantics used to simply be "stop execution" (which only resulted in failure if there was a false on top of the stack at that point). The practice of using OP_RETURN for burning funds came only years after this bug was fixed.
|
|
Aug 17, 2023 at 15:47 | vote | accept | Cosmik Debris | ||
Aug 17, 2023 at 15:42 | comment | added | Cosmik Debris |
Thanks! I was under the impression that RETURN always implied the execution failed, since it is typically used to burn BTC. Is that what you meant by "fixing the RETURN operand"?
|
|
Aug 17, 2023 at 15:28 | history | edited | Antoine Poinsot | CC BY-SA 4.0 |
added 893 characters in body
|
Aug 17, 2023 at 15:13 | history | answered | Antoine Poinsot | CC BY-SA 4.0 |