diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2012-05-24 13:29:08 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2012-05-24 13:29:08 -0400 |
commit | f04017f702e36563b9ba05b3fede216767de580a (patch) | |
tree | 4bb9e411a29dd95c602c5299d4e93060bac00700 /src/test/data/script_invalid.json | |
parent | b92095f18c12bef3cc6fd621bdbda26efb126a6f (diff) | |
download | bitcoin-f04017f702e36563b9ba05b3fede216767de580a.tar.xz |
More CScript unit tests.
Diffstat (limited to 'src/test/data/script_invalid.json')
-rw-r--r-- | src/test/data/script_invalid.json | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/test/data/script_invalid.json b/src/test/data/script_invalid.json index c05d3ba5b2..f06c3beea3 100644 --- a/src/test/data/script_invalid.json +++ b/src/test/data/script_invalid.json @@ -10,7 +10,7 @@ ["2147483648 0 ADD", "NOP", "arithmetic operands must be in range [-2^31...2^31] "], ["-2147483648 0 ADD", "NOP", "arithmetic operands must be in range [-2^31...2^31] "], ["2147483647 DUP ADD", "4294967294 NUMEQUAL", "NUMEQUAL must be in numeric range"], -["0xaabbccddeeff NOT", "0 EQUAL", "NOT is an arithmetic operand"], +["'abcdef' NOT", "0 EQUAL", "NOT is an arithmetic operand"], ["2 DUP MUL", "4 EQUAL", "disabled"], ["2 DUP DIV", "1 EQUAL", "disabled"], @@ -20,6 +20,10 @@ ["2 2 LSHIFT", "8 EQUAL", "disabled"], ["2 1 RSHIFT", "1 EQUAL", "disabled"], +["1","NOP1 NOP2 NOP3 NOP4 NOP5 NOP6 NOP7 NOP8 NOP9 NOP10 2 EQUAL"], +["'NOP_1_to_10' NOP1 NOP2 NOP3 NOP4 NOP5 NOP6 NOP7 NOP8 NOP9 NOP10","'NOP_1_to_11' EQUAL"], + +["0x50","1", "opcode 0x50 is reserved"], ["NOP1","NOP10"] ] |