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
21 lines
508 B
JSON
21 lines
508 B
JSON
{
|
|
"txid": "f0851b68202f736b792649cfc960259c2374badcb644ab20cac726b5f72f61c9",
|
|
"hash": "f0851b68202f736b792649cfc960259c2374badcb644ab20cac726b5f72f61c9",
|
|
"version": 1,
|
|
"locktime": 0,
|
|
"vin": [
|
|
],
|
|
"vout": [
|
|
{
|
|
"value": 0.00,
|
|
"n": 0,
|
|
"scriptPubKey": {
|
|
"asm": "OP_DROP",
|
|
"hex": "75",
|
|
"type": "nonstandard"
|
|
}
|
|
}
|
|
],
|
|
"hex": "0100000000010000000000000000017500000000"
|
|
}
|