aboutsummaryrefslogtreecommitdiff
path: root/src/test/data/txcreateoutpubkey1.json
diff options
context:
space:
mode:
authorjnewbery <john@johnnewbery.com>2016-10-04 15:40:41 -0400
committerJohn Newbery <john@johnnewbery.com>2016-12-29 15:40:40 +0000
commitb7e144bb731857106cae7c7d2d49d2ccc03b7ef1 (patch)
treee24ff98dec0130fbcb34ce23160faa86263cfe64 /src/test/data/txcreateoutpubkey1.json
parent61a153443ef87d0cf187d2203f0d5ef88e52e7ed (diff)
downloadbitcoin-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/txcreateoutpubkey1.json')
-rw-r--r--src/test/data/txcreateoutpubkey1.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/test/data/txcreateoutpubkey1.json b/src/test/data/txcreateoutpubkey1.json
new file mode 100644
index 0000000000..6019fa2dcd
--- /dev/null
+++ b/src/test/data/txcreateoutpubkey1.json
@@ -0,0 +1,24 @@
+{
+ "txid": "f42b38ac12e3fafc96ba1a9ba70cbfe326744aef75df5fb9db5d6e2855ca415f",
+ "hash": "f42b38ac12e3fafc96ba1a9ba70cbfe326744aef75df5fb9db5d6e2855ca415f",
+ "version": 1,
+ "locktime": 0,
+ "vin": [
+ ],
+ "vout": [
+ {
+ "value": 0.00,
+ "n": 0,
+ "scriptPubKey": {
+ "asm": "02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397 OP_CHECKSIG",
+ "hex": "2102a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397ac",
+ "reqSigs": 1,
+ "type": "pubkey",
+ "addresses": [
+ "1FoG2386FG2tAJS9acMuiDsKy67aGg9MKz"
+ ]
+ }
+ }
+ ],
+ "hex": "0100000000010000000000000000232102a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397ac00000000"
+}