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.
This commit is contained in:
jnewbery
2016-09-29 10:14:05 -04:00
committed by John Newbery
parent ed64bcec2d
commit 7451cf59cd
2 changed files with 11 additions and 1 deletions

View File

@@ -102,6 +102,16 @@
"output_cmp": "txcreate2.json",
"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",