Browse Source

bitcoin-util-test: Test bitcoin-tx with null scriptPubKey

0.10
Luke Dashjr 10 years ago
parent
commit
a65e320747
  1. 3
      src/Makefile.test.include
  2. 3
      src/test/data/bitcoin-util-test.json
  3. 1
      src/test/data/txcreate2.hex

3
src/Makefile.test.include

@ -13,7 +13,8 @@ EXTRA_DIST += \ @@ -13,7 +13,8 @@ EXTRA_DIST += \
test/data/tt-delout1-out.hex \
test/data/tt-locktime317000-out.hex \
test/data/tx394b54bb.hex \
test/data/txcreate1.hex
test/data/txcreate1.hex \
test/data/txcreate2.hex
JSON_TEST_FILES = \
test/data/script_valid.json \

3
src/test/data/bitcoin-util-test.json

@ -34,5 +34,8 @@ @@ -34,5 +34,8 @@
"outaddr=0.18:13tuJJDR2RgArmgfv6JScSdreahzgc4T6o",
"outaddr=4:1P8yWvZW8jVihP1bzHeqfE4aoXNX8AVa46"],
"output_cmp": "txcreate1.hex"
},
{ "exec": ["./bitcoin-tx", "-create", "outscript=0:"],
"output_cmp": "txcreate2.hex"
}
]

1
src/test/data/txcreate2.hex

@ -0,0 +1 @@ @@ -0,0 +1 @@
01000000000100000000000000000000000000
Loading…
Cancel
Save