aboutsummaryrefslogtreecommitdiff
path: root/src/test/data/script_valid.json
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2013-11-08 12:34:12 -0500
committerMatt Corallo <git@bluematt.me>2013-11-08 12:34:12 -0500
commiteacc6f4a26467950c05987af87f604482d8bd0c1 (patch)
treea719177e0c237cc2b87a21c8d81fe8e9ceb7dd58 /src/test/data/script_valid.json
parent338d24bb00fd3d1028cf36ddbd3a3b9cd8ad6e53 (diff)
Add a few more basic script/tx test-cases.
Diffstat (limited to 'src/test/data/script_valid.json')
-rw-r--r--src/test/data/script_valid.json10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/test/data/script_valid.json b/src/test/data/script_valid.json
index 13b0af6c45..e4c181cae8 100644
--- a/src/test/data/script_valid.json
+++ b/src/test/data/script_valid.json
@@ -403,5 +403,13 @@
["NOP", "NOP10 1"],
["0 0x01 1", "HASH160 0x14 0xda1745e9b549bd0bfa1a569971c77eba30cd5a4b EQUAL", "Very basic P2SH"],
-["0x4c 0 0x01 1", "HASH160 0x14 0xda1745e9b549bd0bfa1a569971c77eba30cd5a4b EQUAL"]
+["0x4c 0 0x01 1", "HASH160 0x14 0xda1745e9b549bd0bfa1a569971c77eba30cd5a4b EQUAL"],
+
+["0x40 0x42424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242",
+"0x4d 0x4000 0x42424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242 EQUAL",
+"Basic PUSH signedness check"],
+
+["0x4c 0x40 0x42424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242",
+"0x4d 0x4000 0x42424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242 EQUAL",
+"Basic PUSHDATA1 signedness check"]
]