bitcoin-tx: Accept input via stdin. Add input handling to tests.

This commit is contained in:
Jeff Garzik
2014-08-18 23:14:29 -04:00
parent d789386371
commit fb14452c6c
3 changed files with 40 additions and 4 deletions

View File

@@ -1,5 +1,9 @@
[
{ "exec": ["./bitcoin-tx", "-create"],
"output_cmp": "blanktx.hex"
},
{ "exec": ["./bitcoin-tx", "-"],
"input": "blanktx.hex",
"output_cmp": "blanktx.hex"
}
]