|
425 | 425 | "output_cmp": "txcreatedata2.json",
|
426 | 426 | "description": "Creates a new transaction with one input, one address output and one data (zero value) output (output in json)"
|
427 | 427 | },
|
| 428 | + { "exec": "./dash-tx", |
| 429 | + "args": |
| 430 | + ["-create", |
| 431 | + "in=5897de6bd6027a475eadd57019d4e6872c396d0716c4875a5f1a6fcfdf385c1f:0:11aa"], |
| 432 | + "return_code": 1, |
| 433 | + "error_txt": "error: invalid TX sequence id '11aa'", |
| 434 | + "description": "Try to parse a sequence number outside the allowed range" |
| 435 | + }, |
| 436 | + { "exec": "./dash-tx", |
| 437 | + "args": |
| 438 | + ["-create", |
| 439 | + "in=5897de6bd6027a475eadd57019d4e6872c396d0716c4875a5f1a6fcfdf385c1f:0:-1"], |
| 440 | + "return_code": 1, |
| 441 | + "error_txt": "error: invalid TX sequence id '-1'", |
| 442 | + "description": "Try to parse a sequence number outside the allowed range" |
| 443 | + }, |
| 444 | + { "exec": "./dash-tx", |
| 445 | + "args": |
| 446 | + ["-create", |
| 447 | + "in=5897de6bd6027a475eadd57019d4e6872c396d0716c4875a5f1a6fcfdf385c1f:0:4294967296"], |
| 448 | + "return_code": 1, |
| 449 | + "error_txt": "error: invalid TX sequence id '4294967296'", |
| 450 | + "description": "Try to parse a sequence number outside the allowed range" |
| 451 | + }, |
428 | 452 | { "exec": "./dash-tx",
|
429 | 453 | "args":
|
430 | 454 | ["-create",
|
|
433 | 457 | "output_cmp": "txcreatedata_seq0.hex",
|
434 | 458 | "description": "Creates a new transaction with one input with sequence number and one address output"
|
435 | 459 | },
|
| 460 | + { "exec": "./dash-tx", |
| 461 | + "args": |
| 462 | + ["-create", |
| 463 | + "in=5897de6bd6027a475eadd57019d4e6872c396d0716c4875a5f1a6fcfdf385c1f:0: 4294967293 ", |
| 464 | + "outaddr=0.18:XijDvbYpPmznwgpWD3DkdYNfGmRP2KoVSk"], |
| 465 | + "output_cmp": "txcreatedata_seq0.hex", |
| 466 | + "description": "Creates a new transaction with one input with sequence number (+whitespace) and one address output" |
| 467 | + }, |
436 | 468 | { "exec": "./dash-tx",
|
437 | 469 | "args":
|
438 | 470 | ["-json",
|
|
457 | 489 | "output_cmp": "txcreatedata_seq1.json",
|
458 | 490 | "description": "Adds a new input with sequence number to a transaction (output in json)"
|
459 | 491 | },
|
| 492 | + { "exec": "./dash-tx", |
| 493 | + "args": ["-create", "outmultisig=1:-2:3:02a5:021:02df", "nversion=1"], |
| 494 | + "return_code": 1, |
| 495 | + "error_txt": "error: invalid multisig required number '-2'", |
| 496 | + "description": "Try to parse a multisig number outside the allowed range" |
| 497 | + }, |
| 498 | + { "exec": "./dash-tx", |
| 499 | + "args": ["-create", "outmultisig=1:2:3a:02a5:021:02df", "nversion=1"], |
| 500 | + "return_code": 1, |
| 501 | + "error_txt": "error: invalid multisig total number '3a'", |
| 502 | + "description": "Try to parse a multisig number outside the allowed range" |
| 503 | + }, |
460 | 504 | { "exec": "./dash-tx",
|
461 | 505 | "args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485", "nversion=1"],
|
462 | 506 | "output_cmp": "txcreatemultisig1.hex",
|
463 | 507 | "description": "Creates a new transaction with a single 2-of-3 multisig output"
|
464 | 508 | },
|
465 | 509 | { "exec": "./dash-tx",
|
466 |
| - "args": ["-json", "-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485", "nversion=1"], |
| 510 | + "args": ["-json", "-create", "outmultisig=1: 2: 3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485", "nversion=1"], |
467 | 511 | "output_cmp": "txcreatemultisig1.json",
|
468 |
| - "description": "Creates a new transaction with a single 2-of-3 multisig output (output in json)" |
| 512 | + "description": "Creates a new transaction with a single 2-of-3 multisig output (with whitespace, output in json)" |
469 | 513 | },
|
470 | 514 | { "exec": "./dash-tx",
|
471 | 515 | "args": ["-create", "outmultisig=1:2:3:02a5613bd857b7048924264d1e70e08fb2a7e6527d32b7ab1bb993ac59964ff397:021ac43c7ff740014c3b33737ede99c967e4764553d1b2b83db77c83b8715fa72d:02df2089105c77f266fa11a9d33f05c735234075f2e8780824c6b709415f9fb485:S", "nversion=1"],
|
|
0 commit comments