diff options
author | Eric R. Schulz <ersmail@gmail.com> | 2014-12-24 01:35:40 +0000 |
---|---|---|
committer | Eric R. Schulz <ersmail@gmail.com> | 2014-12-24 01:56:28 +0000 |
commit | 2c14d1532fe66a243cdbfb7de48b298213305765 (patch) | |
tree | 3b0202e3ac8aa72770963232037813c94b945a39 /src/test/data/bitcoin-util-test.json | |
parent | a089c50981e822014ffc18e8a37b3518feb52206 (diff) |
bitcoin-tx: Add test case for signing a tx
Diffstat (limited to 'src/test/data/bitcoin-util-test.json')
-rw-r--r-- | src/test/data/bitcoin-util-test.json | 10 |
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 f8424b72a3..6090421cb6 100644 --- a/src/test/data/bitcoin-util-test.json +++ b/src/test/data/bitcoin-util-test.json @@ -46,5 +46,15 @@ { "exec": "./bitcoin-tx", "args": ["-create", "outscript=0:"], "output_cmp": "txcreate2.hex" + }, + { "exec": "./bitcoin-tx", + "args": + ["-create", + "in=4d49a71ec9da436f71ec4ee231d04f292a29cd316f598bb7068feccabdc59485:0", + "set=privatekeys:[\"5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAnchuDf\"]", + "set=prevtxs:[{\"txid\":\"4d49a71ec9da436f71ec4ee231d04f292a29cd316f598bb7068feccabdc59485\",\"vout\":0,\"scriptPubKey\":\"4d49a71ec9da436f71ec4ee231d04f292a29cd316f598bb7068feccabdc59485\"}]", + "sign=ALL", + "outaddr=0.001:193P6LtvS4nCnkDvM9uXn1gsSRqh4aDAz7"], + "output_cmp": "txcreatesign.hex" } ] |