|
261 | 261 | "output_cmp": "txcreateoutpubkey3.json",
|
262 | 262 | "description": "Creates a new transaction with a single pay-to-pub-key output, wrapped in P2SH (output as json)"
|
263 | 263 | },
|
| 264 | + { "exec": "./bitcoin-tx", |
| 265 | + "args": |
| 266 | + ["-json", "-create", "outpubkey=0:047d1368ba7ae01c94bc32293efd70bd7e3be7aa7912d07d0b1c659c1008d179b8642f5fb90f47580feb29f045e216ff5a4716d3a0fed36da414d332046303c44a:WS", "nversion=1"], |
| 267 | + "return_code": 1, |
| 268 | + "error_txt": "error: Uncompressed pubkeys are not useable for SegWit outputs", |
| 269 | + "description": "Creates a new transaction with a single pay-to-pub-key output, wrapped in P2SH (output as json)" |
| 270 | + }, |
264 | 271 | { "exec": "./bitcoin-tx",
|
265 | 272 | "args":
|
266 | 273 | ["-create",
|
|
388 | 395 | "args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:WS", "nversion=1"],
|
389 | 396 | "output_cmp": "txcreatemultisig4.json",
|
390 | 397 | "description": "Creates a new transaction with a single 2-of-3 multisig in a P2WSH output, wrapped in P2SH (output in json)"
|
| 398 | + }, |
| 399 | + { "exec": "./bitcoin-tx", |
| 400 | + "args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:047d1368ba7ae01c94bc32293efd70bd7e3be7aa7912d07d0b1c659c1008d179b8642f5fb90f47580feb29f045e216ff5a4716d3a0fed36da414d332046303c44a:S"], |
| 401 | + "output_cmp": "txcreatemultisig5.json", |
| 402 | + "description": "Uncompressed pubkeys should work just fine for non-witness outputs" |
| 403 | + }, |
| 404 | + { "exec": "./bitcoin-tx", |
| 405 | + "args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:047d1368ba7ae01c94bc32293efd70bd7e3be7aa7912d07d0b1c659c1008d179b8642f5fb90f47580feb29f045e216ff5a4716d3a0fed36da414d332046303c44a:WS"], |
| 406 | + "return_code": 1, |
| 407 | + "error_txt": "error: Uncompressed pubkeys are not useable for SegWit outputs", |
| 408 | + "description": "Ensure adding witness outputs with uncompressed pubkeys fails" |
391 | 409 | }
|
392 | 410 | ]
|
0 commit comments