mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 23:29:12 +01:00
Document and test OP_RESERVED weirdness
Seems it was forgotten about when IsPushOnly() and the unittests were written. A particular oddity is that OP_RESERVED doesn't count towards the >201 opcode limit unlike every other named opcode.
This commit is contained in:
@@ -251,6 +251,7 @@
|
||||
["1","VER", "OP_VER is reserved"],
|
||||
["1","VERIF", "OP_VERIF is reserved"],
|
||||
["1","VERNOTIF", "OP_VERNOTIF is reserved"],
|
||||
["1","RESERVED", "OP_RESERVED is reserved"],
|
||||
["1","RESERVED1", "OP_RESERVED1 is reserved"],
|
||||
["1","RESERVED2", "OP_RESERVED2 is reserved"],
|
||||
["1","0xba", "0xba == OP_NOP10 + 1"],
|
||||
|
||||
Reference in New Issue
Block a user