Skip to content

Commit

Permalink
test/util checks for make check now working (dashpay#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
bytzck authored and wagerr-builder committed May 15, 2022
1 parent b475188 commit c902364
Show file tree
Hide file tree
Showing 23 changed files with 95 additions and 96 deletions.
79 changes: 39 additions & 40 deletions test/util/data/bitcoin-util-test.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@
"description": "Creates a blank v1 transaction (output in json)"
},
{ "exec": "./wagerr-tx",
"args": ["-"],
"input": "blanktxv2.hex",
"args": ["-create", "nversion=2"],
"output_cmp": "blanktxv2.hex",
"description": "Creates a blank transaction when nothing is piped into wagerr-tx"
},
{ "exec": "./wagerr-tx",
"args": ["-json","-create"],
"args": ["-json","-create", "nversion=2"],
"output_cmp": "blanktxv2.json",
"description": "Creates a blank transaction (output in json)"
},
Expand Down Expand Up @@ -121,7 +120,7 @@
{ "exec": "./wagerr-tx",
"args":
["-create",
"outaddr=1:Xdak8YsJz8tm1iHFmycfTyKeUvHgfbdpyw:garbage"],
"outaddr=1:sU8uqD2gX6fm5eRvgUxPbRKpGJ24CMCSgE:garbage"],
"return_code": 1,
"error_txt": "error: TX output missing or too many separators",
"description": "Malformed outaddr argument (too many separators). Expected to fail."
Expand All @@ -144,24 +143,24 @@
},
{ "exec": "./wagerr-tx",
"args":
["-create",
["-create", "nversion=2",
"in=5897de6bd6027a475eadd57019d4e6872c396d0716c4875a5f1a6fcfdf385c1f:0",
"in=bf829c6bcf84579331337659d31f89dfd138f7f7785802d5501c92333145ca7c:18",
"in=22a6f904655d53ae2ff70e701a0bbd90aa3975c0f40bfc6cc996a9049e31cdfc:1",
"outaddr=0.18:Xdak8YsJz8tm1iHFmycfTyKeUvHgfbdpyw",
"outaddr=4:XxppMBDQ6SiJrKcBrAy4WkkNdrxDBfzFdZ"],
"outaddr=0.18:sM9JNsURmybh5x7VyXwHE7fCKduuZFMScN",
"outaddr=4:sU8uqD2gX6fm5eRvgUxPbRKpGJ24CMCSgE"],
"output_cmp": "txcreate1.hex",
"description": "Creates a new transaction with three inputs and two outputs"
},
{ "exec": "./wagerr-tx",
"args":
["-json",
"-create",
"-create", "nversion=2",
"in=5897de6bd6027a475eadd57019d4e6872c396d0716c4875a5f1a6fcfdf385c1f:0",
"in=bf829c6bcf84579331337659d31f89dfd138f7f7785802d5501c92333145ca7c:18",
"in=22a6f904655d53ae2ff70e701a0bbd90aa3975c0f40bfc6cc996a9049e31cdfc:1",
"outaddr=0.18:Xdak8YsJz8tm1iHFmycfTyKeUvHgfbdpyw",
"outaddr=4:XxppMBDQ6SiJrKcBrAy4WkkNdrxDBfzFdZ"],
"outaddr=0.18:sM9JNsURmybh5x7VyXwHE7fCKduuZFMScN",
"outaddr=4:sU8uqD2gX6fm5eRvgUxPbRKpGJ24CMCSgE"],
"output_cmp": "txcreate1.json",
"description": "Creates a new transaction with three inputs and two outputs (output in json)"
},
Expand All @@ -186,67 +185,67 @@
"description": "Create a new transaction with a single output script (OP_DROP) (output as json)"
},
{ "exec": "./wagerr-tx",
"args": ["-create", "outscript=0:OP_DROP:S", "nversion=1"],
"args": ["-create", "outscript=0:OP_DROP:S", "nversion=2"],
"output_cmp": "txcreatescript2.hex",
"description": "Create a new transaction with a single output script (OP_DROP) in a P2SH"
},
{ "exec": "./wagerr-tx",
"args": ["-json", "-create", "outscript=0:OP_DROP:S", "nversion=1"],
"args": ["-json", "-create", "outscript=0:OP_DROP:S", "nversion=2"],
"output_cmp": "txcreatescript2.json",
"description": "Create a new transaction with a single output script (OP_DROP) in a P2SH (output as json)"
},
{ "exec": "./wagerr-tx",
"args": ["02000000000100000000000000000000000000"],
"args": ["01000000000100000000000000000000000000"],
"output_cmp": "txcreate2.hex",
"description": "Parses a transaction with no inputs and a single output script"
},
{ "exec": "./wagerr-tx",
"args": ["-json", "02000000000100000000000000000000000000"],
"args": ["-json", "01000000000100000000000000000000000000"],
"output_cmp": "txcreate2.json",
"description": "Parses a transaction with no inputs and a single output script (output in json)"
},
{ "exec": "./wagerr-tx",
"args":
["-create", "nversion=1",
"in=4d49a71ec9da436f71ec4ee231d04f292a29cd316f598bb7068feccabdc59485:0",
"set=privatekeys:[\"7qYrzJZWqnyCWMYswFcqaRJypGdVceudXPSxmZKsngN7fyo7aAV\"]",
"set=prevtxs:[{\"txid\":\"4d49a71ec9da436f71ec4ee231d04f292a29cd316f598bb7068feccabdc59485\",\"vout\":0,\"scriptPubKey\":\"76a91491b24bf9f5288532960ac687abb035127b1d28a588ac\"}]",
"in=924492787e3c43699a845d4cd2bdaea95fa3db81943b0b4325ac07e275bdcb38:0",
"set=privatekeys:[\"MncgKh8PvSYufYLQMankt6EsybFnw2SepY6A6ra3bdeTQEAhctWY\"]",
"set=prevtxs:[{\"txid\":\"d71b9105d185de8b0859d4a85694f3dab19aad401de7c7c52f96ff464af35559\",\"vout\":0,\"scriptPubKey\":\"76a91491b24bf9f5288532960ac687abb035127b1d28a588ac\"}]",
"sign=ALL",
"outaddr=0.001:XijDvbYpPmznwgpWD3DkdYNfGmRP2KoVSk"],
"outaddr=0.001:sT6CehN2zH33iyB92wzum4FJ7gVbwQo9Hd"],
"output_cmp": "txcreatesignv1.hex",
"description": "Creates a new v1 transaction with a single input and a single output, and then signs the transaction"
},
{ "exec": "./wagerr-tx",
"args":
["-json",
"-create", "nversion=1",
"in=4d49a71ec9da436f71ec4ee231d04f292a29cd316f598bb7068feccabdc59485:0",
"set=privatekeys:[\"7qYrzJZWqnyCWMYswFcqaRJypGdVceudXPSxmZKsngN7fyo7aAV\"]",
"set=prevtxs:[{\"txid\":\"4d49a71ec9da436f71ec4ee231d04f292a29cd316f598bb7068feccabdc59485\",\"vout\":0,\"scriptPubKey\":\"76a91491b24bf9f5288532960ac687abb035127b1d28a588ac\"}]",
"in=924492787e3c43699a845d4cd2bdaea95fa3db81943b0b4325ac07e275bdcb38:0",
"set=privatekeys:[\"MncgKh8PvSYufYLQMankt6EsybFnw2SepY6A6ra3bdeTQEAhctWY\"]",
"set=prevtxs:[{\"txid\":\"d71b9105d185de8b0859d4a85694f3dab19aad401de7c7c52f96ff464af35559\",\"vout\":0,\"scriptPubKey\":\"76a91491b24bf9f5288532960ac687abb035127b1d28a588ac\"}]",
"sign=ALL",
"outaddr=0.001:XijDvbYpPmznwgpWD3DkdYNfGmRP2KoVSk"],
"outaddr=0.001:sT6CehN2zH33iyB92wzum4FJ7gVbwQo9Hd"],
"output_cmp": "txcreatesignv1.json",
"description": "Creates a new v1 transaction with a single input and a single output, and then signs the transaction (output in json)"
},
{ "exec": "./wagerr-tx",
"args":
["-create",
["-create", "nversion=2",
"in=4d49a71ec9da436f71ec4ee231d04f292a29cd316f598bb7068feccabdc59485:0",
"set=privatekeys:[\"7qYrzJZWqnyCWMYswFcqaRJypGdVceudXPSxmZKsngN7fyo7aAV\"]",
"set=privatekeys:[\"MncgKh8PvSYufYLQMankt6EsybFnw2SepY6A6ra3bdeTQEAhctWY\"]",
"set=prevtxs:[{\"txid\":\"4d49a71ec9da436f71ec4ee231d04f292a29cd316f598bb7068feccabdc59485\",\"vout\":0,\"scriptPubKey\":\"76a91491b24bf9f5288532960ac687abb035127b1d28a588ac\"}]",
"sign=ALL",
"outaddr=0.001:XijDvbYpPmznwgpWD3DkdYNfGmRP2KoVSk"],
"outaddr=0.001:sT6CehN2zH33iyB92wzum4FJ7gVbwQo9Hd"],
"output_cmp": "txcreatesignv2.hex",
"description": "Creates a new transaction with a single input and a single output, and then signs the transaction"
},
{ "exec": "./wagerr-tx",
"args":
["-create",
["-create", "nversion=2",
"in=4d49a71ec9da436f71ec4ee231d04f292a29cd316f598bb7068feccabdc59485:0",
"set=privatekeys:[\"7qYrzJZWqnyCWMYswFcqaRJypGdVceudXPSxmZKsngN7fyo7aAV\"]",
"set=privatekeys:[\"MncgKh8PvSYufYLQMankt6EsybFnw2SepY6A6ra3bdeTQEAhctWY\"]",
"set=prevtxs:[{\"txid\":\"4d49a71ec9da436f71ec4ee231d04f292a29cd316f598bb7068feccabdc59485\",\"vout\":\"0foo\",\"scriptPubKey\":\"76a91491b24bf9f5288532960ac687abb035127b1d28a588ac\"}]",
"sign=ALL",
"outaddr=0.001:XijDvbYpPmznwgpWD3DkdYNfGmRP2KoVSk"],
"outaddr=0.001:sT6CehN2zH33iyB92wzum4FJ7gVbwQo9Hd"],
"return_code": 1,
"error_txt": "error: prevtxs internal object typecheck fail",
"description": "Tests the check for invalid vout index in prevtxs for sign"
Expand Down Expand Up @@ -285,7 +284,7 @@
"args":
["-create",
"in=5897de6bd6027a475eadd57019d4e6872c396d0716c4875a5f1a6fcfdf385c1f:0",
"outaddr=0.18:XijDvbYpPmznwgpWD3DkdYNfGmRP2KoVSk",
"outaddr=0.18:sT6CehN2zH33iyB92wzum4FJ7gVbwQo9Hd",
"outdata=4:54686973204f505f52455455524e207472616e73616374696f6e206f7574707574207761732063726561746564206279206d6f646966696564206372656174657261777472616e73616374696f6e2e"],
"output_cmp": "txcreatedata1.hex",
"description": "Creates a new transaction with one input, one address output and one data output"
Expand All @@ -295,44 +294,44 @@
["-json",
"-create", "nversion=1",
"in=5897de6bd6027a475eadd57019d4e6872c396d0716c4875a5f1a6fcfdf385c1f:0",
"outaddr=0.18:Xdak8YsJz8tm1iHFmycfTyKeUvHgfbdpyw",
"outaddr=0.18:sT6CehN2zH33iyB92wzum4FJ7gVbwQo9Hd",
"outdata=4:54686973204f505f52455455524e207472616e73616374696f6e206f7574707574207761732063726561746564206279206d6f646966696564206372656174657261777472616e73616374696f6e2e"],
"output_cmp": "txcreatedata1.json",
"description": "Creates a new v1 transaction with one input, one address output and one data output (output in json)"
},
{ "exec": "./wagerr-tx",
"args":
["-create",
["-create", "nversion=2",
"in=5897de6bd6027a475eadd57019d4e6872c396d0716c4875a5f1a6fcfdf385c1f:0",
"outaddr=0.18:XijDvbYpPmznwgpWD3DkdYNfGmRP2KoVSk",
"outaddr=0.18:sT6CehN2zH33iyB92wzum4FJ7gVbwQo9Hd",
"outdata=54686973204f505f52455455524e207472616e73616374696f6e206f7574707574207761732063726561746564206279206d6f646966696564206372656174657261777472616e73616374696f6e2e"],
"output_cmp": "txcreatedata2.hex",
"description": "Creates a new transaction with one input, one address output and one data (zero value) output"
},
{ "exec": "./wagerr-tx",
"args":
["-json",
"-create",
"-create", "nversion=2",
"in=5897de6bd6027a475eadd57019d4e6872c396d0716c4875a5f1a6fcfdf385c1f:0",
"outaddr=0.18:Xdak8YsJz8tm1iHFmycfTyKeUvHgfbdpyw",
"outaddr=0.18:sT6CehN2zH33iyB92wzum4FJ7gVbwQo9Hd",
"outdata=54686973204f505f52455455524e207472616e73616374696f6e206f7574707574207761732063726561746564206279206d6f646966696564206372656174657261777472616e73616374696f6e2e"],
"output_cmp": "txcreatedata2.json",
"description": "Creates a new transaction with one input, one address output and one data (zero value) output (output in json)"
},
{ "exec": "./wagerr-tx",
"args":
["-create",
["-create", "nversion=2",
"in=5897de6bd6027a475eadd57019d4e6872c396d0716c4875a5f1a6fcfdf385c1f:0:4294967293",
"outaddr=0.18:XijDvbYpPmznwgpWD3DkdYNfGmRP2KoVSk"],
"outaddr=0.18:sT6CehN2zH33iyB92wzum4FJ7gVbwQo9Hd"],
"output_cmp": "txcreatedata_seq0.hex",
"description": "Creates a new transaction with one input with sequence number and one address output"
},
{ "exec": "./wagerr-tx",
"args":
["-json",
"-create",
"-create", "nversion=2",
"in=5897de6bd6027a475eadd57019d4e6872c396d0716c4875a5f1a6fcfdf385c1f:0:4294967293",
"outaddr=0.18:Xdak8YsJz8tm1iHFmycfTyKeUvHgfbdpyw"],
"outaddr=0.18:sT6CehN2zH33iyB92wzum4FJ7gVbwQo9Hd"],
"output_cmp": "txcreatedata_seq0.json",
"description": "Creates a new transaction with one input with sequence number and one address output (output in json)"
},
Expand Down Expand Up @@ -362,12 +361,12 @@
"description": "Creates a new transaction with a single 2-of-3 multisig output (output in json)"
},
{ "exec": "./wagerr-tx",
"args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:S", "nversion=1"],
"args": ["-create", "nversion=2", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:S", "nversion=1"],
"output_cmp": "txcreatemultisig2.hex",
"description": "Creates a new transaction with a single 2-of-3 multisig in a P2SH output"
},
{ "exec": "./wagerr-tx",
"args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:S", "nversion=1"],
"args": ["-json", "-create", "nversion=2", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:S", "nversion=1"],
"output_cmp": "txcreatemultisig2.json",
"description": "Creates a new transaction with a single 2-of-3 multisig in a P2SH output (output in json)"
}
Expand Down
4 changes: 2 additions & 2 deletions test/util/data/tt-delin1-out.json
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
"reqSigs": 1,
"type": "pubkeyhash",
"addresses": [
"XooH6vpTCuVowS9vmJowNaNGcJQ3cQT7rs"
"sXMqMFRZzkCk1fzAxs8Z8ihpT22GSZ7SA9"
]
}
},
Expand All @@ -211,7 +211,7 @@
"reqSigs": 1,
"type": "pubkeyhash",
"addresses": [
"XkaMatRZjFxq1QbgUvdmqGzGRaPqSLvvS6"
"sU8uqD2gX6fm5eRvgUxPbRKpGJ24CMCSgE"
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion test/util/data/tt-delout1-out.json
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
"reqSigs": 1,
"type": "pubkeyhash",
"addresses": [
"XooH6vpTCuVowS9vmJowNaNGcJQ3cQT7rs"
"sXMqMFRZzkCk1fzAxs8Z8ihpT22GSZ7SA9"
]
}
}
Expand Down
4 changes: 2 additions & 2 deletions test/util/data/tt-locktime317000-out.json
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
"reqSigs": 1,
"type": "pubkeyhash",
"addresses": [
"XooH6vpTCuVowS9vmJowNaNGcJQ3cQT7rs"
"sXMqMFRZzkCk1fzAxs8Z8ihpT22GSZ7SA9"
]
}
},
Expand All @@ -220,7 +220,7 @@
"reqSigs": 1,
"type": "pubkeyhash",
"addresses": [
"XkaMatRZjFxq1QbgUvdmqGzGRaPqSLvvS6"
"sU8uqD2gX6fm5eRvgUxPbRKpGJ24CMCSgE"
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion test/util/data/txcreate1.hex
Original file line number Diff line number Diff line change
@@ -1 +1 @@
02000000031f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000ffffffff7cca453133921c50d5025878f7f738d1df891fd359763331935784cf6b9c82bf1200000000fffffffffccd319e04a996c96cfc0bf4c07539aa90bd0b1a700ef72fae535d6504f9a6220100000000ffffffff0280a81201000000001976a9141fc11f39be1729bf973a7ab6a615ca4729d6457488ac0084d717000000001976a914f2d4db28cad6502226ee484ae24505c2885cb12d88ac00000000
02000000031f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000ffffffff7cca453133921c50d5025878f7f738d1df891fd359763331935784cf6b9c82bf1200000000fffffffffccd319e04a996c96cfc0bf4c07539aa90bd0b1a700ef72fae535d6504f9a6220100000000ffffffff0280a81201000000001976a9141fc11f39be1729bf973a7ab6a615ca4729d6457488ac0084d717000000001976a9146c772e9cf96371bba3da8cb733da70a2fcf2007888ac00000000
12 changes: 6 additions & 6 deletions test/util/data/txcreate1.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"txid": "fe7d174f42dce0cffa7a527e9bc8368956057619ec817648f6138b98f2533e8f",
"txid": "f15ddc8d255c377453ade78873ff567ca62273a7785924c41edd4e4b1bcb0b16",
"version": 2,
"type": 0,
"size": 201,
Expand Down Expand Up @@ -44,7 +44,7 @@
"reqSigs": 1,
"type": "pubkeyhash",
"addresses": [
"Xdak8YsJz8tm1iHFmycfTyKeUvHgfbdpyw"
"sM9JNsURmybh5x7VyXwHE7fCKduuZFMScN"
]
}
},
Expand All @@ -53,15 +53,15 @@
"valueSat": 400000000,
"n": 1,
"scriptPubKey": {
"asm": "OP_DUP OP_HASH160 f2d4db28cad6502226ee484ae24505c2885cb12d OP_EQUALVERIFY OP_CHECKSIG",
"hex": "76a914f2d4db28cad6502226ee484ae24505c2885cb12d88ac",
"asm": "OP_DUP OP_HASH160 6c772e9cf96371bba3da8cb733da70a2fcf20078 OP_EQUALVERIFY OP_CHECKSIG",
"hex": "76a9146c772e9cf96371bba3da8cb733da70a2fcf2007888ac",
"reqSigs": 1,
"type": "pubkeyhash",
"addresses": [
"XxppMBDQ6SiJrKcBrAy4WkkNdrxDBfzFdZ"
"sU8uqD2gX6fm5eRvgUxPbRKpGJ24CMCSgE"
]
}
}
],
"hex": "02000000031f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000ffffffff7cca453133921c50d5025878f7f738d1df891fd359763331935784cf6b9c82bf1200000000fffffffffccd319e04a996c96cfc0bf4c07539aa90bd0b1a700ef72fae535d6504f9a6220100000000ffffffff0280a81201000000001976a9141fc11f39be1729bf973a7ab6a615ca4729d6457488ac0084d717000000001976a914f2d4db28cad6502226ee484ae24505c2885cb12d88ac00000000"
"hex": "02000000031f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000ffffffff7cca453133921c50d5025878f7f738d1df891fd359763331935784cf6b9c82bf1200000000fffffffffccd319e04a996c96cfc0bf4c07539aa90bd0b1a700ef72fae535d6504f9a6220100000000ffffffff0280a81201000000001976a9141fc11f39be1729bf973a7ab6a615ca4729d6457488ac0084d717000000001976a9146c772e9cf96371bba3da8cb733da70a2fcf2007888ac00000000"
}
2 changes: 1 addition & 1 deletion test/util/data/txcreate2.hex
Original file line number Diff line number Diff line change
@@ -1 +1 @@
02000000000100000000000000000000000000
01000000000100000000000000000000000000
6 changes: 3 additions & 3 deletions test/util/data/txcreate2.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"txid": "0481afb29931341d0d7861d8a2f6f26456fa042abf54a23e96440ed7946e0715",
"version": 2,
"txid": "cf90229625e9eb10f6be8156bf6aa5ec2eca19a42b1e05c11f3029b560a32e13",
"version": 1,
"type": 0,
"size": 19,
"locktime": 0,
Expand All @@ -18,5 +18,5 @@
}
}
],
"hex": "02000000000100000000000000000000000000"
"hex": "01000000000100000000000000000000000000"
}
2 changes: 1 addition & 1 deletion test/util/data/txcreatedata1.hex
Original file line number Diff line number Diff line change
@@ -1 +1 @@
02000000011f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000ffffffff0280a81201000000001976a9145834479edbbe0539b31ffd3a8f8ebadc2165ed0188ac0084d71700000000526a4c4f54686973204f505f52455455524e207472616e73616374696f6e206f7574707574207761732063726561746564206279206d6f646966696564206372656174657261777472616e73616374696f6e2e00000000
01000000011f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000ffffffff0280a81201000000001976a91460fbd9176baf3fe58146be1b19264aec63027dff88ac0084d71700000000526a4c4f54686973204f505f52455455524e207472616e73616374696f6e206f7574707574207761732063726561746564206279206d6f646966696564206372656174657261777472616e73616374696f6e2e00000000
10 changes: 5 additions & 5 deletions test/util/data/txcreatedata1.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"txid": "07894b4d12fe7853dd911402db1620920d261b9627c447f931417d330c25f06e",
"txid": "9dd61dac026b956f9b7dbdac3bb6f2d3361347031953173097057cba5f0f49a8",
"version": 1,
"type": 0,
"size": 176,
Expand All @@ -21,12 +21,12 @@
"valueSat": 18000000,
"n": 0,
"scriptPubKey": {
"asm": "OP_DUP OP_HASH160 1fc11f39be1729bf973a7ab6a615ca4729d64574 OP_EQUALVERIFY OP_CHECKSIG",
"hex": "76a9141fc11f39be1729bf973a7ab6a615ca4729d6457488ac",
"asm": "OP_DUP OP_HASH160 60fbd9176baf3fe58146be1b19264aec63027dff OP_EQUALVERIFY OP_CHECKSIG",
"hex": "76a91460fbd9176baf3fe58146be1b19264aec63027dff88ac",
"reqSigs": 1,
"type": "pubkeyhash",
"addresses": [
"Xdak8YsJz8tm1iHFmycfTyKeUvHgfbdpyw"
"sT6CehN2zH33iyB92wzum4FJ7gVbwQo9Hd"
]
}
},
Expand All @@ -41,5 +41,5 @@
}
}
],
"hex": "01000000011f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000ffffffff0280a81201000000001976a9141fc11f39be1729bf973a7ab6a615ca4729d6457488ac0084d71700000000526a4c4f54686973204f505f52455455524e207472616e73616374696f6e206f7574707574207761732063726561746564206279206d6f646966696564206372656174657261777472616e73616374696f6e2e00000000"
"hex": "01000000011f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000ffffffff0280a81201000000001976a91460fbd9176baf3fe58146be1b19264aec63027dff88ac0084d71700000000526a4c4f54686973204f505f52455455524e207472616e73616374696f6e206f7574707574207761732063726561746564206279206d6f646966696564206372656174657261777472616e73616374696f6e2e00000000"
}
Loading

0 comments on commit c902364

Please sign in to comment.