diff options
| author | jnewbery <[email protected]> | 2016-10-04 15:40:41 -0400 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2016-12-29 15:40:40 +0000 |
| commit | b7e144bb731857106cae7c7d2d49d2ccc03b7ef1 (patch) | |
| tree | e24ff98dec0130fbcb34ce23160faa86263cfe64 /src/test/data/txcreatemultisig4.json | |
| parent | Add all transaction output types to bitcoin-tx. (diff) | |
| download | discoin-b7e144bb731857106cae7c7d2d49d2ccc03b7ef1.tar.xz discoin-b7e144bb731857106cae7c7d2d49d2ccc03b7ef1.zip | |
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/txcreatemultisig4.json')
| -rw-r--r-- | src/test/data/txcreatemultisig4.json | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/test/data/txcreatemultisig4.json b/src/test/data/txcreatemultisig4.json new file mode 100644 index 000000000..fc69c7269 --- /dev/null +++ b/src/test/data/txcreatemultisig4.json @@ -0,0 +1,24 @@ +{ + "txid": "5e8b1cc73234e208d4b7ca9075f136b908c34101be7a048df4ba9ac758b61567", + "hash": "5e8b1cc73234e208d4b7ca9075f136b908c34101be7a048df4ba9ac758b61567", + "version": 1, + "locktime": 0, + "vin": [ + ], + "vout": [ + { + "value": 1.00, + "n": 0, + "scriptPubKey": { + "asm": "OP_HASH160 6edf12858999f0dae74f9c692e6694ee3621b2ac OP_EQUAL", + "hex": "a9146edf12858999f0dae74f9c692e6694ee3621b2ac87", + "reqSigs": 1, + "type": "scripthash", + "addresses": [ + "3BoFUz1StqcNcgUTZE5cC1eFhuYFzj3fGH" + ] + } + } + ], + "hex": "01000000000100e1f5050000000017a9146edf12858999f0dae74f9c692e6694ee3621b2ac8700000000" +} |