diff options
| author | Peter Todd <[email protected]> | 2013-08-25 12:37:07 -0400 |
|---|---|---|
| committer | Peter Todd <[email protected]> | 2013-08-25 12:37:07 -0400 |
| commit | 214d45b6b9a4f25d7d8bd4e5443fa2bee485353a (patch) | |
| tree | 8926dc1356e45bcef9a38813c7cf0dc6148bb16c /src/test/data/script_invalid.json | |
| parent | Merge pull request #2926 from Diapolo/model_checks (diff) | |
| download | discoin-214d45b6b9a4f25d7d8bd4e5443fa2bee485353a.tar.xz discoin-214d45b6b9a4f25d7d8bd4e5443fa2bee485353a.zip | |
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.
Diffstat (limited to 'src/test/data/script_invalid.json')
| -rw-r--r-- | src/test/data/script_invalid.json | 1 |
1 files changed, 1 insertions, 0 deletions
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"], |