From 214d45b6b9a4f25d7d8bd4e5443fa2bee485353a Mon Sep 17 00:00:00 2001 From: Peter Todd Date: Sun, 25 Aug 2013 12:37:07 -0400 Subject: 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. --- src/test/data/script_invalid.json | 1 + 1 file changed, 1 insertion(+) (limited to 'src/test/data/script_invalid.json') diff --git a/src/test/data/script_invalid.json b/src/test/data/script_invalid.json index 6964d16a7..761cc4a00 100644 --- a/src/test/data/script_invalid.json +++ b/src/test/data/script_invalid.json @@ -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"], -- cgit v1.2.3