aboutsummaryrefslogtreecommitdiff
path: root/src/test/data
diff options
context:
space:
mode:
authorjnewbery <john@johnnewbery.com>2016-09-29 10:14:05 -0400
committerJohn Newbery <john@johnnewbery.com>2016-11-04 09:10:44 +0000
commit7451cf59cd7b3a917fe7e4c7210d43b2f5adaad3 (patch)
tree4f62c039c4ab1e8d8bc48955fddb114860fec653 /src/test/data
parented64bcec2dde1f4255f3bd5b0c2f01e4dfe260d3 (diff)
Allow bitcoin-tx to parse partial transactions
Restore pre V0.13.1 functionality to bitcoin-tx and allow it to parse 0-input partial transactions.
Diffstat (limited to 'src/test/data')
-rw-r--r--src/test/data/bitcoin-util-test.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/data/bitcoin-util-test.json b/src/test/data/bitcoin-util-test.json
index de95044597..98be75919b 100644
--- a/src/test/data/bitcoin-util-test.json
+++ b/src/test/data/bitcoin-util-test.json
@@ -103,6 +103,16 @@
"description": "Creates a new transaction with a single empty output script (output in json)"
},
{ "exec": "./bitcoin-tx",
+ "args": ["01000000000100000000000000000000000000"],
+ "output_cmp": "txcreate2.hex",
+ "description": "Parses a transation with no inputs and a single output script"
+ },
+ { "exec": "./bitcoin-tx",
+ "args": ["-json", "01000000000100000000000000000000000000"],
+ "output_cmp": "txcreate2.json",
+ "description": "Parses a transation with no inputs and a single output script (output in json)"
+ },
+ { "exec": "./bitcoin-tx",
"args":
["-create",
"in=4d49a71ec9da436f71ec4ee231d04f292a29cd316f598bb7068feccabdc59485:0",