diff options
author | jnewbery <john@johnnewbery.com> | 2016-10-04 15:40:41 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2016-12-29 15:40:40 +0000 |
commit | b7e144bb731857106cae7c7d2d49d2ccc03b7ef1 (patch) | |
tree | e24ff98dec0130fbcb34ce23160faa86263cfe64 /src/test/data/txcreateoutpubkey3.json | |
parent | 61a153443ef87d0cf187d2203f0d5ef88e52e7ed (diff) | |
download | bitcoin-b7e144bb731857106cae7c7d2d49d2ccc03b7ef1.tar.xz |
Add test cases to test new bitcoin-tx functionality
This commit add testcases to test the following functions in bitcoin-tx:
- add a pay to non-standard script output
- add a P2SH output
- add a P2WSH output
- add a P2WSH wrapped in a P2SH output
- add a pay to pub key output
- add a P2WPKH output
- add a P2WPKH wrapped in a P2SH output
- add a bare multisig output
- add a multisig in P2SH output
- add a multisig in a P2WSH output
- add a multisig in a P2WSH wrapped in as P2SH output
Diffstat (limited to 'src/test/data/txcreateoutpubkey3.json')
-rw-r--r-- | src/test/data/txcreateoutpubkey3.json | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/test/data/txcreateoutpubkey3.json b/src/test/data/txcreateoutpubkey3.json new file mode 100644 index 0000000000..a1a25fc834 --- /dev/null +++ b/src/test/data/txcreateoutpubkey3.json @@ -0,0 +1,24 @@ +{ + "txid": "bfc7e898ee9f6a9652d7b8cca147e2da134502e2ada0f279ed634fc8cf833f8c", + "hash": "bfc7e898ee9f6a9652d7b8cca147e2da134502e2ada0f279ed634fc8cf833f8c", + "version": 1, + "locktime": 0, + "vin": [ + ], + "vout": [ + { + "value": 0.00, + "n": 0, + "scriptPubKey": { + "asm": "OP_HASH160 a5ab14c9804d0d8bf02f1aea4e82780733ad0a83 OP_EQUAL", + "hex": "a914a5ab14c9804d0d8bf02f1aea4e82780733ad0a8387", + "reqSigs": 1, + "type": "scripthash", + "addresses": [ + "3GnzN8FqgvYGYdhj8NW6UNxxVv3Uj1ApQn" + ] + } + } + ], + "hex": "010000000001000000000000000017a914a5ab14c9804d0d8bf02f1aea4e82780733ad0a838700000000" +} |