|
118 | 118 | "description": "Parses a transation with no inputs and a single output script (output in json)"
|
119 | 119 | },
|
120 | 120 | { "exec": "./bitcoin-tx",
|
121 |
| - "args": ["-create", "outscript=0:OP_DROP"], |
| 121 | + "args": ["-create", "outscript=0:OP_DROP", "nversion=1"], |
122 | 122 | "output_cmp": "txcreatescript1.hex",
|
123 | 123 | "description": "Create a new transaction with a single output script (OP_DROP)"
|
124 | 124 | },
|
125 | 125 | { "exec": "./bitcoin-tx",
|
126 |
| - "args": ["-json", "-create", "outscript=0:OP_DROP"], |
| 126 | + "args": ["-json", "-create", "outscript=0:OP_DROP", "nversion=1"], |
127 | 127 | "output_cmp": "txcreatescript1.json",
|
128 | 128 | "description": "Create a new transaction with a single output script (OP_DROP) (output as json)"
|
129 | 129 | },
|
130 | 130 | { "exec": "./bitcoin-tx",
|
131 |
| - "args": ["-create", "outscript=0:OP_DROP:S"], |
| 131 | + "args": ["-create", "outscript=0:OP_DROP:S", "nversion=1"], |
132 | 132 | "output_cmp": "txcreatescript2.hex",
|
133 | 133 | "description": "Create a new transaction with a single output script (OP_DROP) in a P2SH"
|
134 | 134 | },
|
135 | 135 | { "exec": "./bitcoin-tx",
|
136 |
| - "args": ["-json", "-create", "outscript=0:OP_DROP:S"], |
| 136 | + "args": ["-json", "-create", "outscript=0:OP_DROP:S", "nversion=1"], |
137 | 137 | "output_cmp": "txcreatescript2.json",
|
138 | 138 | "description": "Create a new transaction with a single output script (OP_DROP) in a P2SH (output as json)"
|
139 | 139 | },
|
140 | 140 | { "exec": "./bitcoin-tx",
|
141 |
| - "args": ["-create", "outscript=0:OP_DROP:W"], |
| 141 | + "args": ["-create", "outscript=0:OP_DROP:W", "nversion=1"], |
142 | 142 | "output_cmp": "txcreatescript3.hex",
|
143 | 143 | "description": "Create a new transaction with a single output script (OP_DROP) in a P2WSH"
|
144 | 144 | },
|
145 | 145 | { "exec": "./bitcoin-tx",
|
146 |
| - "args": ["-json", "-create", "outscript=0:OP_DROP:W"], |
| 146 | + "args": ["-json", "-create", "outscript=0:OP_DROP:W", "nversion=1"], |
147 | 147 | "output_cmp": "txcreatescript3.json",
|
148 | 148 | "description": "Create a new transaction with a single output script (OP_DROP) in a P2WSH (output as json)"
|
149 | 149 | },
|
150 | 150 | { "exec": "./bitcoin-tx",
|
151 |
| - "args": ["-create", "outscript=0:OP_DROP:WS"], |
| 151 | + "args": ["-create", "outscript=0:OP_DROP:WS", "nversion=1"], |
152 | 152 | "output_cmp": "txcreatescript4.hex",
|
153 | 153 | "description": "Create a new transaction with a single output script (OP_DROP) in a P2WSH, wrapped in a P2SH"
|
154 | 154 | },
|
155 | 155 | { "exec": "./bitcoin-tx",
|
156 |
| - "args": ["-json", "-create", "outscript=0:OP_DROP:WS"], |
| 156 | + "args": ["-json", "-create", "outscript=0:OP_DROP:WS", "nversion=1"], |
157 | 157 | "output_cmp": "txcreatescript4.json",
|
158 | 158 | "description": "Create a new transaction with a single output script (OP_DROP) in a P2SH, wrapped in a P2SH (output as json)"
|
159 | 159 | },
|
|
193 | 193 | },
|
194 | 194 | { "exec": "./bitcoin-tx",
|
195 | 195 | "args":
|
196 |
| - ["-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397"], |
| 196 | + ["-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397", "nversion=1"], |
197 | 197 | "output_cmp": "txcreateoutpubkey1.hex",
|
198 | 198 | "description": "Creates a new transaction with a single pay-to-pubkey output"
|
199 | 199 | },
|
200 | 200 | { "exec": "./bitcoin-tx",
|
201 | 201 | "args":
|
202 |
| - ["-json", "-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397"], |
| 202 | + ["-json", "-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397", "nversion=1"], |
203 | 203 | "output_cmp": "txcreateoutpubkey1.json",
|
204 | 204 | "description": "Creates a new transaction with a single pay-to-pubkey output (output as json)"
|
205 | 205 | },
|
206 | 206 | { "exec": "./bitcoin-tx",
|
207 | 207 | "args":
|
208 |
| - ["-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:W"], |
| 208 | + ["-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:W", "nversion=1"], |
209 | 209 | "output_cmp": "txcreateoutpubkey2.hex",
|
210 | 210 | "description": "Creates a new transaction with a single pay-to-witness-pubkey output"
|
211 | 211 | },
|
212 | 212 | { "exec": "./bitcoin-tx",
|
213 | 213 | "args":
|
214 |
| - ["-json", "-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:W"], |
| 214 | + ["-json", "-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:W", "nversion=1"], |
215 | 215 | "output_cmp": "txcreateoutpubkey2.json",
|
216 | 216 | "description": "Creates a new transaction with a single pay-to-witness-pubkey output (output as json)"
|
217 | 217 | },
|
218 | 218 | { "exec": "./bitcoin-tx",
|
219 | 219 | "args":
|
220 |
| - ["-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:WS"], |
| 220 | + ["-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:WS", "nversion=1"], |
221 | 221 | "output_cmp": "txcreateoutpubkey3.hex",
|
222 | 222 | "description": "Creates a new transaction with a single pay-to-witness-pubkey, wrapped in P2SH output"
|
223 | 223 | },
|
224 | 224 | { "exec": "./bitcoin-tx",
|
225 | 225 | "args":
|
226 |
| - ["-json", "-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:WS"], |
| 226 | + ["-json", "-create", "outpubkey=0:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:WS", "nversion=1"], |
227 | 227 | "output_cmp": "txcreateoutpubkey3.json",
|
228 | 228 | "description": "Creates a new transaction with a single pay-to-pub-key output, wrapped in P2SH (output as json)"
|
229 | 229 | },
|
|
314 | 314 | "description": "Adds a new input with sequence number to a transaction (output in json)"
|
315 | 315 | },
|
316 | 316 | { "exec": "./bitcoin-tx",
|
317 |
| - "args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485"], |
| 317 | + "args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485", "nversion=1"], |
318 | 318 | "output_cmp": "txcreatemultisig1.hex",
|
319 | 319 | "description": "Creates a new transaction with a single 2-of-3 multisig output"
|
320 | 320 | },
|
321 | 321 | { "exec": "./bitcoin-tx",
|
322 |
| - "args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485"], |
| 322 | + "args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485", "nversion=1"], |
323 | 323 | "output_cmp": "txcreatemultisig1.json",
|
324 | 324 | "description": "Creates a new transaction with a single 2-of-3 multisig output (output in json)"
|
325 | 325 | },
|
326 | 326 | { "exec": "./bitcoin-tx",
|
327 |
| - "args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:S"], |
| 327 | + "args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:S", "nversion=1"], |
328 | 328 | "output_cmp": "txcreatemultisig2.hex",
|
329 | 329 | "description": "Creates a new transaction with a single 2-of-3 multisig in a P2SH output"
|
330 | 330 | },
|
331 | 331 | { "exec": "./bitcoin-tx",
|
332 |
| - "args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:S"], |
| 332 | + "args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:S", "nversion=1"], |
333 | 333 | "output_cmp": "txcreatemultisig2.json",
|
334 | 334 | "description": "Creates a new transaction with a single 2-of-3 multisig in a P2SH output (output in json)"
|
335 | 335 | },
|
336 | 336 | { "exec": "./bitcoin-tx",
|
337 |
| - "args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:W"], |
| 337 | + "args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:W", "nversion=1"], |
338 | 338 | "output_cmp": "txcreatemultisig3.hex",
|
339 | 339 | "description": "Creates a new transaction with a single 2-of-3 multisig in a P2WSH output"
|
340 | 340 | },
|
341 | 341 | { "exec": "./bitcoin-tx",
|
342 |
| - "args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:W"], |
| 342 | + "args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:W", "nversion=1"], |
343 | 343 | "output_cmp": "txcreatemultisig3.json",
|
344 | 344 | "description": "Creates a new transaction with a single 2-of-3 multisig in a P2WSH output (output in json)"
|
345 | 345 | },
|
346 | 346 | { "exec": "./bitcoin-tx",
|
347 |
| - "args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:WS"], |
| 347 | + "args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:WS", "nversion=1"], |
348 | 348 | "output_cmp": "txcreatemultisig4.hex",
|
349 | 349 | "description": "Creates a new transaction with a single 2-of-3 multisig in a P2WSH output, wrapped in P2SH"
|
350 | 350 | },
|
351 | 351 | { "exec": "./bitcoin-tx",
|
352 |
| - "args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:WS"], |
| 352 | + "args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:WS", "nversion=1"], |
353 | 353 | "output_cmp": "txcreatemultisig4.json",
|
354 | 354 | "description": "Creates a new transaction with a single 2-of-3 multisig in a P2WSH output, wrapped in P2SH (output in json)"
|
355 | 355 | }
|
|
0 commit comments