|
1 | 1 | [
|
2 |
| - { "exec": "././bitcoin-tx", |
| 2 | + { "exec": "./bitcoin-tx", |
3 | 3 | "args": ["-create"],
|
4 | 4 | "output_cmp": "blanktx.hex"
|
5 | 5 | },
|
| 6 | + { "exec": "./bitcoin-tx", |
| 7 | + "args": ["-json","-create"], |
| 8 | + "output_cmp": "blanktx.json" |
| 9 | + }, |
6 | 10 | { "exec": "./bitcoin-tx",
|
7 | 11 | "args": ["-"],
|
8 | 12 | "input": "blanktx.hex",
|
9 | 13 | "output_cmp": "blanktx.hex"
|
10 | 14 | },
|
| 15 | + { "exec": "./bitcoin-tx", |
| 16 | + "args": ["-json","-"], |
| 17 | + "input": "blanktx.hex", |
| 18 | + "output_cmp": "blanktx.json" |
| 19 | + }, |
11 | 20 | { "exec": "./bitcoin-tx",
|
12 | 21 | "args": ["-", "delin=1"],
|
13 | 22 | "input": "tx394b54bb.hex",
|
14 | 23 | "output_cmp": "tt-delin1-out.hex"
|
15 | 24 | },
|
| 25 | + { "exec": "./bitcoin-tx", |
| 26 | + "args": ["-json", "-", "delin=1"], |
| 27 | + "input": "tx394b54bb.hex", |
| 28 | + "output_cmp": "tt-delin1-out.json" |
| 29 | + }, |
16 | 30 | { "exec": "./bitcoin-tx",
|
17 | 31 | "args": ["-", "delin=31"],
|
18 | 32 | "input": "tx394b54bb.hex",
|
|
23 | 37 | "input": "tx394b54bb.hex",
|
24 | 38 | "output_cmp": "tt-delout1-out.hex"
|
25 | 39 | },
|
| 40 | + { "exec": "./bitcoin-tx", |
| 41 | + "args": ["-json", "-", "delout=1"], |
| 42 | + "input": "tx394b54bb.hex", |
| 43 | + "output_cmp": "tt-delout1-out.json" |
| 44 | + }, |
26 | 45 | { "exec": "./bitcoin-tx",
|
27 | 46 | "args": ["-", "delout=2"],
|
28 | 47 | "input": "tx394b54bb.hex",
|
|
33 | 52 | "input": "tx394b54bb.hex",
|
34 | 53 | "output_cmp": "tt-locktime317000-out.hex"
|
35 | 54 | },
|
| 55 | + { "exec": "./bitcoin-tx", |
| 56 | + "args": ["-json", "-", "locktime=317000"], |
| 57 | + "input": "tx394b54bb.hex", |
| 58 | + "output_cmp": "tt-locktime317000-out.json" |
| 59 | + }, |
36 | 60 | { "exec": "./bitcoin-tx",
|
37 | 61 | "args":
|
38 | 62 | ["-create",
|
|
43 | 67 | "outaddr=4:1P8yWvZW8jVihP1bzHeqfE4aoXNX8AVa46"],
|
44 | 68 | "output_cmp": "txcreate1.hex"
|
45 | 69 | },
|
| 70 | + { "exec": "./bitcoin-tx", |
| 71 | + "args": |
| 72 | + ["-json", |
| 73 | + "-create", |
| 74 | + "in=5897de6bd6027a475eadd57019d4e6872c396d0716c4875a5f1a6fcfdf385c1f:0", |
| 75 | + "in=bf829c6bcf84579331337659d31f89dfd138f7f7785802d5501c92333145ca7c:18", |
| 76 | + "in=22a6f904655d53ae2ff70e701a0bbd90aa3975c0f40bfc6cc996a9049e31cdfc:1", |
| 77 | + "outaddr=0.18:13tuJJDR2RgArmgfv6JScSdreahzgc4T6o", |
| 78 | + "outaddr=4:1P8yWvZW8jVihP1bzHeqfE4aoXNX8AVa46"], |
| 79 | + "output_cmp": "txcreate1.json" |
| 80 | + }, |
46 | 81 | { "exec": "./bitcoin-tx",
|
47 | 82 | "args": ["-create", "outscript=0:"],
|
48 | 83 | "output_cmp": "txcreate2.hex"
|
49 | 84 | },
|
| 85 | + { "exec": "./bitcoin-tx", |
| 86 | + "args": ["-json", "-create", "outscript=0:"], |
| 87 | + "output_cmp": "txcreate2.json" |
| 88 | + }, |
50 | 89 | { "exec": "./bitcoin-tx",
|
51 | 90 | "args":
|
52 | 91 | ["-create",
|
|
57 | 96 | "outaddr=0.001:193P6LtvS4nCnkDvM9uXn1gsSRqh4aDAz7"],
|
58 | 97 | "output_cmp": "txcreatesign.hex"
|
59 | 98 | },
|
| 99 | + { "exec": "./bitcoin-tx", |
| 100 | + "args": |
| 101 | + ["-json", |
| 102 | + "-create", |
| 103 | + "in=4d49a71ec9da436f71ec4ee231d04f292a29cd316f598bb7068feccabdc59485:0", |
| 104 | + "set=privatekeys:[\"5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAnchuDf\"]", |
| 105 | + "set=prevtxs:[{\"txid\":\"4d49a71ec9da436f71ec4ee231d04f292a29cd316f598bb7068feccabdc59485\",\"vout\":0,\"scriptPubKey\":\"76a91491b24bf9f5288532960ac687abb035127b1d28a588ac\"}]", |
| 106 | + "sign=ALL", |
| 107 | + "outaddr=0.001:193P6LtvS4nCnkDvM9uXn1gsSRqh4aDAz7"], |
| 108 | + "output_cmp": "txcreatesign.json" |
| 109 | + }, |
60 | 110 | { "exec": "./bitcoin-tx",
|
61 | 111 | "args":
|
62 | 112 | ["-create",
|
|
79 | 129 | "outdata=4:54686973204f505f52455455524e207472616e73616374696f6e206f7574707574207761732063726561746564206279206d6f646966696564206372656174657261777472616e73616374696f6e2e"],
|
80 | 130 | "output_cmp": "txcreatedata1.hex"
|
81 | 131 | },
|
| 132 | + { "exec": "./bitcoin-tx", |
| 133 | + "args": |
| 134 | + ["-json", |
| 135 | + "-create", |
| 136 | + "in=5897de6bd6027a475eadd57019d4e6872c396d0716c4875a5f1a6fcfdf385c1f:0", |
| 137 | + "outaddr=0.18:13tuJJDR2RgArmgfv6JScSdreahzgc4T6o", |
| 138 | + "outdata=4:54686973204f505f52455455524e207472616e73616374696f6e206f7574707574207761732063726561746564206279206d6f646966696564206372656174657261777472616e73616374696f6e2e"], |
| 139 | + "output_cmp": "txcreatedata1.json" |
| 140 | + }, |
82 | 141 | { "exec": "./bitcoin-tx",
|
83 | 142 | "args":
|
84 | 143 | ["-create",
|
|
87 | 146 | "outdata=54686973204f505f52455455524e207472616e73616374696f6e206f7574707574207761732063726561746564206279206d6f646966696564206372656174657261777472616e73616374696f6e2e"],
|
88 | 147 | "output_cmp": "txcreatedata2.hex"
|
89 | 148 | },
|
| 149 | + { "exec": "./bitcoin-tx", |
| 150 | + "args": |
| 151 | + ["-json", |
| 152 | + "-create", |
| 153 | + "in=5897de6bd6027a475eadd57019d4e6872c396d0716c4875a5f1a6fcfdf385c1f:0", |
| 154 | + "outaddr=0.18:13tuJJDR2RgArmgfv6JScSdreahzgc4T6o", |
| 155 | + "outdata=54686973204f505f52455455524e207472616e73616374696f6e206f7574707574207761732063726561746564206279206d6f646966696564206372656174657261777472616e73616374696f6e2e"], |
| 156 | + "output_cmp": "txcreatedata2.json" |
| 157 | + }, |
90 | 158 | { "exec": "./bitcoin-tx",
|
91 | 159 | "args":
|
92 | 160 | ["-create",
|
93 | 161 | "in=5897de6bd6027a475eadd57019d4e6872c396d0716c4875a5f1a6fcfdf385c1f:0:4294967293",
|
94 | 162 | "outaddr=0.18:13tuJJDR2RgArmgfv6JScSdreahzgc4T6o"],
|
95 | 163 | "output_cmp": "txcreatedata_seq0.hex"
|
96 | 164 | },
|
| 165 | + { "exec": "./bitcoin-tx", |
| 166 | + "args": |
| 167 | + ["-json", |
| 168 | + "-create", |
| 169 | + "in=5897de6bd6027a475eadd57019d4e6872c396d0716c4875a5f1a6fcfdf385c1f:0:4294967293", |
| 170 | + "outaddr=0.18:13tuJJDR2RgArmgfv6JScSdreahzgc4T6o"], |
| 171 | + "output_cmp": "txcreatedata_seq0.json" |
| 172 | + }, |
97 | 173 | { "exec": "./bitcoin-tx",
|
98 | 174 | "args":
|
99 | 175 | ["01000000011f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000fdffffff0180a81201000000001976a9141fc11f39be1729bf973a7ab6a615ca4729d6457488ac00000000",
|
100 | 176 | "in=5897de6bd6027a475eadd57019d4e6872c396d0716c4875a5f1a6fcfdf385c1f:0:1"],
|
101 | 177 | "output_cmp": "txcreatedata_seq1.hex"
|
| 178 | + }, |
| 179 | + { "exec": "./bitcoin-tx", |
| 180 | + "args": |
| 181 | + ["-json", |
| 182 | + "01000000011f5c38dfcf6f1a5f5a87c416076d392c87e6d41970d5ad5e477a02d66bde97580000000000fdffffff0180a81201000000001976a9141fc11f39be1729bf973a7ab6a615ca4729d6457488ac00000000", |
| 183 | + "in=5897de6bd6027a475eadd57019d4e6872c396d0716c4875a5f1a6fcfdf385c1f:0:1"], |
| 184 | + "output_cmp": "txcreatedata_seq1.json" |
102 | 185 | }
|
103 | 186 | ]
|
0 commit comments