|
|
|
@ -118,42 +118,42 @@
@@ -118,42 +118,42 @@
|
|
|
|
|
"description": "Parses a transation with no inputs and a single output script (output in json)" |
|
|
|
|
}, |
|
|
|
|
{ "exec": "./bitcoin-tx", |
|
|
|
|
"args": ["-create", "outscript=0:OP_DROP"], |
|
|
|
|
"args": ["-create", "outscript=0:OP_DROP", "nversion=1"], |
|
|
|
|
"output_cmp": "txcreatescript1.hex", |
|
|
|
|
"description": "Create a new transaction with a single output script (OP_DROP)" |
|
|
|
|
}, |
|
|
|
|
{ "exec": "./bitcoin-tx", |
|
|
|
|
"args": ["-json", "-create", "outscript=0:OP_DROP"], |
|
|
|
|
"args": ["-json", "-create", "outscript=0:OP_DROP", "nversion=1"], |
|
|
|
|
"output_cmp": "txcreatescript1.json", |
|
|
|
|
"description": "Create a new transaction with a single output script (OP_DROP) (output as json)" |
|
|
|
|
}, |
|
|
|
|
{ "exec": "./bitcoin-tx", |
|
|
|
|
"args": ["-create", "outscript=0:OP_DROP:S"], |
|
|
|
|
"args": ["-create", "outscript=0:OP_DROP:S", "nversion=1"], |
|
|
|
|
"output_cmp": "txcreatescript2.hex", |
|
|
|
|
"description": "Create a new transaction with a single output script (OP_DROP) in a P2SH" |
|
|
|
|
}, |
|
|
|
|
{ "exec": "./bitcoin-tx", |
|
|
|
|
"args": ["-json", "-create", "outscript=0:OP_DROP:S"], |
|
|
|
|
"args": ["-json", "-create", "outscript=0:OP_DROP:S", "nversion=1"], |
|
|
|
|
"output_cmp": "txcreatescript2.json", |
|
|
|
|
"description": "Create a new transaction with a single output script (OP_DROP) in a P2SH (output as json)" |
|
|
|
|
}, |
|
|
|
|
{ "exec": "./bitcoin-tx", |
|
|
|
|
"args": ["-create", "outscript=0:OP_DROP:W"], |
|
|
|
|
"args": ["-create", "outscript=0:OP_DROP:W", "nversion=1"], |
|
|
|
|
"output_cmp": "txcreatescript3.hex", |
|
|
|
|
"description": "Create a new transaction with a single output script (OP_DROP) in a P2WSH" |
|
|
|
|
}, |
|
|
|
|
{ "exec": "./bitcoin-tx", |
|
|
|
|
"args": ["-json", "-create", "outscript=0:OP_DROP:W"], |
|
|
|
|
"args": ["-json", "-create", "outscript=0:OP_DROP:W", "nversion=1"], |
|
|
|
|
"output_cmp": "txcreatescript3.json", |
|
|
|
|
"description": "Create a new transaction with a single output script (OP_DROP) in a P2WSH (output as json)" |
|
|
|
|
}, |
|
|
|
|
{ "exec": "./bitcoin-tx", |
|
|
|
|
"args": ["-create", "outscript=0:OP_DROP:WS"], |
|
|
|
|
"args": ["-create", "outscript=0:OP_DROP:WS", "nversion=1"], |
|
|
|
|
"output_cmp": "txcreatescript4.hex", |
|
|
|
|
"description": "Create a new transaction with a single output script (OP_DROP) in a P2WSH, wrapped in a P2SH" |
|
|
|
|
}, |
|
|
|
|
{ "exec": "./bitcoin-tx", |
|
|
|
|
"args": ["-json", "-create", "outscript=0:OP_DROP:WS"], |
|
|
|
|
"args": ["-json", "-create", "outscript=0:OP_DROP:WS", "nversion=1"], |
|
|
|
|
"output_cmp": "txcreatescript4.json", |
|
|
|
|
"description": "Create a new transaction with a single output script (OP_DROP) in a P2SH, wrapped in a P2SH (output as json)" |
|
|
|
|
}, |
|
|
|
@ -193,37 +193,37 @@
@@ -193,37 +193,37 @@
|
|
|
|
|
}, |
|
|
|
|
{ "exec": "./bitcoin-tx", |
|
|
|
|
"args": |
|
|
|
|
["-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397"], |
|
|
|
|
["-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397", "nversion=1"], |
|
|
|
|
"output_cmp": "txcreateoutpubkey1.hex", |
|
|
|
|
"description": "Creates a new transaction with a single pay-to-pubkey output" |
|
|
|
|
}, |
|
|
|
|
{ "exec": "./bitcoin-tx", |
|
|
|
|
"args": |
|
|
|
|
["-json", "-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397"], |
|
|
|
|
["-json", "-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397", "nversion=1"], |
|
|
|
|
"output_cmp": "txcreateoutpubkey1.json", |
|
|
|
|
"description": "Creates a new transaction with a single pay-to-pubkey output (output as json)" |
|
|
|
|
}, |
|
|
|
|
{ "exec": "./bitcoin-tx", |
|
|
|
|
"args": |
|
|
|
|
["-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:W"], |
|
|
|
|
["-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:W", "nversion=1"], |
|
|
|
|
"output_cmp": "txcreateoutpubkey2.hex", |
|
|
|
|
"description": "Creates a new transaction with a single pay-to-witness-pubkey output" |
|
|
|
|
}, |
|
|
|
|
{ "exec": "./bitcoin-tx", |
|
|
|
|
"args": |
|
|
|
|
["-json", "-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:W"], |
|
|
|
|
["-json", "-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:W", "nversion=1"], |
|
|
|
|
"output_cmp": "txcreateoutpubkey2.json", |
|
|
|
|
"description": "Creates a new transaction with a single pay-to-witness-pubkey output (output as json)" |
|
|
|
|
}, |
|
|
|
|
{ "exec": "./bitcoin-tx", |
|
|
|
|
"args": |
|
|
|
|
["-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:WS"], |
|
|
|
|
["-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:WS", "nversion=1"], |
|
|
|
|
"output_cmp": "txcreateoutpubkey3.hex", |
|
|
|
|
"description": "Creates a new transaction with a single pay-to-witness-pubkey, wrapped in P2SH output" |
|
|
|
|
}, |
|
|
|
|
{ "exec": "./bitcoin-tx", |
|
|
|
|
"args": |
|
|
|
|
["-json", "-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:WS"], |
|
|
|
|
["-json", "-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:WS", "nversion=1"], |
|
|
|
|
"output_cmp": "txcreateoutpubkey3.json", |
|
|
|
|
"description": "Creates a new transaction with a single pay-to-pub-key output, wrapped in P2SH (output as json)" |
|
|
|
|
}, |
|
|
|
@ -314,42 +314,42 @@
@@ -314,42 +314,42 @@
|
|
|
|
|
"description": "Adds a new input with sequence number to a transaction (output in json)" |
|
|
|
|
}, |
|
|
|
|
{ "exec": "./bitcoin-tx", |
|
|
|
|
"args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485"], |
|
|
|
|
"args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485", "nversion=1"], |
|
|
|
|
"output_cmp": "txcreatemultisig1.hex", |
|
|
|
|
"description": "Creates a new transaction with a single 2-of-3 multisig output" |
|
|
|
|
}, |
|
|
|
|
{ "exec": "./bitcoin-tx", |
|
|
|
|
"args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485"], |
|
|
|
|
"args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485", "nversion=1"], |
|
|
|
|
"output_cmp": "txcreatemultisig1.json", |
|
|
|
|
"description": "Creates a new transaction with a single 2-of-3 multisig output (output in json)" |
|
|
|
|
}, |
|
|
|
|
{ "exec": "./bitcoin-tx", |
|
|
|
|
"args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:S"], |
|
|
|
|
"args": ["-create", "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": "./bitcoin-tx", |
|
|
|
|
"args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:S"], |
|
|
|
|
"args": ["-json", "-create", "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)" |
|
|
|
|
}, |
|
|
|
|
{ "exec": "./bitcoin-tx", |
|
|
|
|
"args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:W"], |
|
|
|
|
"args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:W", "nversion=1"], |
|
|
|
|
"output_cmp": "txcreatemultisig3.hex", |
|
|
|
|
"description": "Creates a new transaction with a single 2-of-3 multisig in a P2WSH output" |
|
|
|
|
}, |
|
|
|
|
{ "exec": "./bitcoin-tx", |
|
|
|
|
"args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:W"], |
|
|
|
|
"args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:W", "nversion=1"], |
|
|
|
|
"output_cmp": "txcreatemultisig3.json", |
|
|
|
|
"description": "Creates a new transaction with a single 2-of-3 multisig in a P2WSH output (output in json)" |
|
|
|
|
}, |
|
|
|
|
{ "exec": "./bitcoin-tx", |
|
|
|
|
"args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:WS"], |
|
|
|
|
"args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:WS", "nversion=1"], |
|
|
|
|
"output_cmp": "txcreatemultisig4.hex", |
|
|
|
|
"description": "Creates a new transaction with a single 2-of-3 multisig in a P2WSH output, wrapped in P2SH" |
|
|
|
|
}, |
|
|
|
|
{ "exec": "./bitcoin-tx", |
|
|
|
|
"args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:WS"], |
|
|
|
|
"args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:WS", "nversion=1"], |
|
|
|
|
"output_cmp": "txcreatemultisig4.json", |
|
|
|
|
"description": "Creates a new transaction with a single 2-of-3 multisig in a P2WSH output, wrapped in P2SH (output in json)" |
|
|
|
|
} |
|
|
|
|