@btc-vision/bitcoin 7.0.0-alpha.1 → 7.0.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/README.md +334 -161
  2. package/browser/address.d.ts +5 -1
  3. package/browser/address.d.ts.map +1 -1
  4. package/browser/branded.d.ts +3 -14
  5. package/browser/branded.d.ts.map +1 -1
  6. package/browser/ecc/context.d.ts +22 -21
  7. package/browser/ecc/context.d.ts.map +1 -1
  8. package/browser/ecc/index.d.ts +1 -1
  9. package/browser/ecc/index.d.ts.map +1 -1
  10. package/browser/ecc/types.d.ts +10 -123
  11. package/browser/ecc/types.d.ts.map +1 -1
  12. package/browser/index.d.ts +3 -2
  13. package/browser/index.d.ts.map +1 -1
  14. package/browser/index.js +6465 -4692
  15. package/browser/opcodes.d.ts +11 -0
  16. package/browser/opcodes.d.ts.map +1 -1
  17. package/browser/payments/p2tr.d.ts.map +1 -1
  18. package/browser/psbt/PsbtCache.d.ts +54 -0
  19. package/browser/psbt/PsbtCache.d.ts.map +1 -0
  20. package/browser/psbt/PsbtFinalizer.d.ts +21 -0
  21. package/browser/psbt/PsbtFinalizer.d.ts.map +1 -0
  22. package/browser/psbt/PsbtSigner.d.ts +32 -0
  23. package/browser/psbt/PsbtSigner.d.ts.map +1 -0
  24. package/browser/psbt/PsbtTransaction.d.ts +25 -0
  25. package/browser/psbt/PsbtTransaction.d.ts.map +1 -0
  26. package/browser/psbt/types.d.ts +4 -70
  27. package/browser/psbt/types.d.ts.map +1 -1
  28. package/browser/psbt/validation.d.ts +1 -1
  29. package/browser/psbt/validation.d.ts.map +1 -1
  30. package/browser/psbt.d.ts +26 -40
  31. package/browser/psbt.d.ts.map +1 -1
  32. package/browser/script.d.ts.map +1 -1
  33. package/browser/transaction.d.ts +4 -4
  34. package/browser/transaction.d.ts.map +1 -1
  35. package/browser/types.d.ts +5 -3
  36. package/browser/types.d.ts.map +1 -1
  37. package/browser/workers/index.d.ts +3 -50
  38. package/browser/workers/index.d.ts.map +1 -1
  39. package/browser/workers/index.node.d.ts +24 -0
  40. package/browser/workers/index.node.d.ts.map +1 -0
  41. package/build/address.d.ts +5 -1
  42. package/build/address.d.ts.map +1 -1
  43. package/build/address.js +29 -17
  44. package/build/address.js.map +1 -1
  45. package/build/branded.d.ts +3 -14
  46. package/build/branded.d.ts.map +1 -1
  47. package/build/branded.js +0 -5
  48. package/build/branded.js.map +1 -1
  49. package/build/ecc/context.d.ts +22 -21
  50. package/build/ecc/context.d.ts.map +1 -1
  51. package/build/ecc/context.js +23 -95
  52. package/build/ecc/context.js.map +1 -1
  53. package/build/ecc/index.d.ts +1 -1
  54. package/build/ecc/index.d.ts.map +1 -1
  55. package/build/ecc/types.d.ts +7 -126
  56. package/build/ecc/types.d.ts.map +1 -1
  57. package/build/ecc/types.js +4 -1
  58. package/build/ecc/types.js.map +1 -1
  59. package/build/index.d.ts +3 -2
  60. package/build/index.d.ts.map +1 -1
  61. package/build/index.js +1 -1
  62. package/build/index.js.map +1 -1
  63. package/build/opcodes.d.ts +11 -0
  64. package/build/opcodes.d.ts.map +1 -1
  65. package/build/opcodes.js +19 -4
  66. package/build/opcodes.js.map +1 -1
  67. package/build/payments/p2tr.d.ts.map +1 -1
  68. package/build/payments/p2tr.js +2 -3
  69. package/build/payments/p2tr.js.map +1 -1
  70. package/build/psbt/PsbtCache.d.ts +54 -0
  71. package/build/psbt/PsbtCache.d.ts.map +1 -0
  72. package/build/psbt/PsbtCache.js +249 -0
  73. package/build/psbt/PsbtCache.js.map +1 -0
  74. package/build/psbt/PsbtFinalizer.d.ts +21 -0
  75. package/build/psbt/PsbtFinalizer.d.ts.map +1 -0
  76. package/build/psbt/PsbtFinalizer.js +157 -0
  77. package/build/psbt/PsbtFinalizer.js.map +1 -0
  78. package/build/psbt/PsbtSigner.d.ts +32 -0
  79. package/build/psbt/PsbtSigner.d.ts.map +1 -0
  80. package/build/psbt/PsbtSigner.js +192 -0
  81. package/build/psbt/PsbtSigner.js.map +1 -0
  82. package/build/psbt/PsbtTransaction.d.ts +25 -0
  83. package/build/psbt/PsbtTransaction.d.ts.map +1 -0
  84. package/build/psbt/PsbtTransaction.js +61 -0
  85. package/build/psbt/PsbtTransaction.js.map +1 -0
  86. package/build/psbt/types.d.ts +4 -70
  87. package/build/psbt/types.d.ts.map +1 -1
  88. package/build/psbt/validation.d.ts +1 -1
  89. package/build/psbt/validation.d.ts.map +1 -1
  90. package/build/psbt.d.ts +26 -40
  91. package/build/psbt.d.ts.map +1 -1
  92. package/build/psbt.js +177 -799
  93. package/build/psbt.js.map +1 -1
  94. package/build/script.d.ts.map +1 -1
  95. package/build/script.js +2 -2
  96. package/build/script.js.map +1 -1
  97. package/build/transaction.d.ts +4 -4
  98. package/build/transaction.d.ts.map +1 -1
  99. package/build/transaction.js +5 -4
  100. package/build/transaction.js.map +1 -1
  101. package/build/tsconfig.build.tsbuildinfo +1 -1
  102. package/build/types.d.ts +5 -3
  103. package/build/types.d.ts.map +1 -1
  104. package/build/types.js +9 -0
  105. package/build/types.js.map +1 -1
  106. package/build/workers/WorkerSigningPool.js +1 -1
  107. package/build/workers/WorkerSigningPool.js.map +1 -1
  108. package/build/workers/index.d.ts +3 -3
  109. package/build/workers/index.d.ts.map +1 -1
  110. package/build/workers/index.js +0 -3
  111. package/build/workers/index.js.map +1 -1
  112. package/build/workers/index.node.d.ts +24 -0
  113. package/build/workers/index.node.d.ts.map +1 -0
  114. package/build/workers/index.node.js +26 -0
  115. package/build/workers/index.node.js.map +1 -0
  116. package/package.json +27 -8
  117. package/src/address.ts +41 -18
  118. package/src/branded.ts +15 -13
  119. package/src/ecc/context.ts +30 -133
  120. package/src/ecc/index.ts +2 -2
  121. package/src/ecc/types.ts +7 -138
  122. package/src/index.ts +36 -2
  123. package/src/opcodes.ts +21 -4
  124. package/src/payments/p2tr.ts +2 -2
  125. package/src/psbt/PsbtCache.ts +325 -0
  126. package/src/psbt/PsbtFinalizer.ts +213 -0
  127. package/src/psbt/PsbtSigner.ts +302 -0
  128. package/src/psbt/PsbtTransaction.ts +82 -0
  129. package/src/psbt/types.ts +4 -86
  130. package/src/psbt/validation.ts +1 -1
  131. package/src/psbt.ts +348 -1197
  132. package/src/script.ts +2 -2
  133. package/src/transaction.ts +9 -8
  134. package/src/types.ts +14 -1
  135. package/src/workers/WorkerSigningPool.ts +1 -1
  136. package/src/workers/index.node.ts +27 -0
  137. package/src/workers/index.ts +7 -9
  138. package/test/address.spec.ts +2 -2
  139. package/test/bitcoin.core.spec.ts +5 -2
  140. package/test/browser/payments.spec.ts +151 -0
  141. package/test/browser/psbt.spec.ts +1510 -0
  142. package/test/browser/script.spec.ts +223 -0
  143. package/test/browser/setup.ts +13 -0
  144. package/test/browser/workers-signing.spec.ts +537 -0
  145. package/test/crypto.spec.ts +2 -2
  146. package/test/fixtures/core/base58_encode_decode.json +12 -48
  147. package/test/fixtures/core/base58_keys_invalid.json +50 -150
  148. package/test/fixtures/core/sighash.json +1 -3
  149. package/test/fixtures/core/tx_valid.json +133 -501
  150. package/test/fixtures/embed.json +3 -11
  151. package/test/fixtures/p2ms.json +21 -91
  152. package/test/fixtures/p2pk.json +5 -24
  153. package/test/fixtures/p2pkh.json +7 -36
  154. package/test/fixtures/p2sh.json +8 -54
  155. package/test/fixtures/p2tr.json +2 -6
  156. package/test/fixtures/p2wpkh.json +7 -36
  157. package/test/fixtures/p2wsh.json +14 -59
  158. package/test/fixtures/psbt.json +2 -6
  159. package/test/fixtures/script.json +12 -48
  160. package/test/integration/addresses.spec.ts +11 -5
  161. package/test/integration/bip32.spec.ts +1 -1
  162. package/test/integration/cltv.spec.ts +10 -6
  163. package/test/integration/csv.spec.ts +10 -9
  164. package/test/integration/payments.spec.ts +8 -4
  165. package/test/integration/taproot.spec.ts +26 -6
  166. package/test/integration/transactions.spec.ts +22 -8
  167. package/test/payments.spec.ts +1 -1
  168. package/test/payments.utils.ts +1 -1
  169. package/test/psbt.spec.ts +250 -64
  170. package/test/script_signature.spec.ts +1 -1
  171. package/test/transaction.spec.ts +18 -5
  172. package/test/tsconfig.json +6 -20
  173. package/test/workers-pool.spec.ts +22 -23
  174. package/test/workers-signing.spec.ts +7 -3
  175. package/test/workers.spec.ts +6 -7
  176. package/typedoc.json +11 -1
  177. package/vitest.config.browser.ts +68 -0
  178. package/browser/ecpair.d.ts +0 -99
  179. package/src/ecpair.d.ts +0 -99
  180. package/test/taproot-cache.spec.ts +0 -694
@@ -1,31 +1,15 @@
1
1
  [
2
- [
3
- "The following are deserialized transactions which are valid."
4
- ],
5
- [
6
- "They are in the form"
7
- ],
8
- [
9
- "[[[prevout hash, prevout index, prevout scriptPubKey], [input 2], ...],"
10
- ],
11
- [
12
- "serializedTransaction, verifyFlags]"
13
- ],
14
- [
15
- "Objects that are only a single string (like this one) are ignored"
16
- ],
17
- [
18
- "The following is 23b397edccd3740a74adb603c9756370fafcde9bcc4483eb271ecad09a94dd63"
19
- ],
2
+ ["The following are deserialized transactions which are valid."],
3
+ ["They are in the form"],
4
+ ["[[[prevout hash, prevout index, prevout scriptPubKey], [input 2], ...],"],
5
+ ["serializedTransaction, verifyFlags]"],
6
+ ["Objects that are only a single string (like this one) are ignored"],
7
+ ["The following is 23b397edccd3740a74adb603c9756370fafcde9bcc4483eb271ecad09a94dd63"],
20
8
  [
21
9
  "It is of particular interest because it contains an invalidly-encoded signature which OpenSSL accepts"
22
10
  ],
23
- [
24
- "See http://r6.ca/blog/20111119T211504Z.html"
25
- ],
26
- [
27
- "It is also the first OP_CHECKMULTISIG transaction in standard form"
28
- ],
11
+ ["See http://r6.ca/blog/20111119T211504Z.html"],
12
+ ["It is also the first OP_CHECKMULTISIG transaction in standard form"],
29
13
  [
30
14
  [
31
15
  [
@@ -43,9 +27,7 @@
43
27
  [
44
28
  "It is an OP_CHECKMULTISIG with an arbitrary extra byte stuffed into the signature at pos length - 2"
45
29
  ],
46
- [
47
- "The dummy byte is fine however, so the NULLDUMMY flag should be happy"
48
- ],
30
+ ["The dummy byte is fine however, so the NULLDUMMY flag should be happy"],
49
31
  [
50
32
  [
51
33
  [
@@ -60,9 +42,7 @@
60
42
  [
61
43
  "The following is a tweaked form of 23b397edccd3740a74adb603c9756370fafcde9bcc4483eb271ecad09a94dd63"
62
44
  ],
63
- [
64
- "It is an OP_CHECKMULTISIG with the dummy value set to something other than an empty string"
65
- ],
45
+ ["It is an OP_CHECKMULTISIG with the dummy value set to something other than an empty string"],
66
46
  [
67
47
  [
68
48
  [
@@ -74,9 +54,7 @@
74
54
  "0100000001b14bdcbc3e01bdaad36cc08e81e69c82e1060bc14e518db2b49aa43ad90ba260000000004a01ff47304402203f16c6f40162ab686621ef3000b04e75418a0c0cb2d8aebeac894ae360ac1e780220ddc15ecdfc3507ac48e1681a33eb60996631bf6bf5bc0a0682c4db743ce7ca2b01ffffffff0140420f00000000001976a914660d4ef3a743e3e696ad990364e555c271ad504b88ac00000000",
75
55
  "P2SH"
76
56
  ],
77
- [
78
- "As above, but using a OP_1"
79
- ],
57
+ ["As above, but using a OP_1"],
80
58
  [
81
59
  [
82
60
  [
@@ -88,9 +66,7 @@
88
66
  "0100000001b14bdcbc3e01bdaad36cc08e81e69c82e1060bc14e518db2b49aa43ad90ba26000000000495147304402203f16c6f40162ab686621ef3000b04e75418a0c0cb2d8aebeac894ae360ac1e780220ddc15ecdfc3507ac48e1681a33eb60996631bf6bf5bc0a0682c4db743ce7ca2b01ffffffff0140420f00000000001976a914660d4ef3a743e3e696ad990364e555c271ad504b88ac00000000",
89
67
  "P2SH"
90
68
  ],
91
- [
92
- "As above, but using a OP_1NEGATE"
93
- ],
69
+ ["As above, but using a OP_1NEGATE"],
94
70
  [
95
71
  [
96
72
  [
@@ -102,9 +78,7 @@
102
78
  "0100000001b14bdcbc3e01bdaad36cc08e81e69c82e1060bc14e518db2b49aa43ad90ba26000000000494f47304402203f16c6f40162ab686621ef3000b04e75418a0c0cb2d8aebeac894ae360ac1e780220ddc15ecdfc3507ac48e1681a33eb60996631bf6bf5bc0a0682c4db743ce7ca2b01ffffffff0140420f00000000001976a914660d4ef3a743e3e696ad990364e555c271ad504b88ac00000000",
103
79
  "P2SH"
104
80
  ],
105
- [
106
- "The following is c99c49da4c38af669dea436d3e73780dfdb6c1ecf9958baa52960e8baee30e73"
107
- ],
81
+ ["The following is c99c49da4c38af669dea436d3e73780dfdb6c1ecf9958baa52960e8baee30e73"],
108
82
  [
109
83
  "It is of interest because it contains a 0-sequence as well as a signature of SIGHASH type 0 (which is not a real type)"
110
84
  ],
@@ -119,9 +93,7 @@
119
93
  "01000000010276b76b07f4935c70acf54fbf1f438a4c397a9fb7e633873c4dd3bc062b6b40000000008c493046022100d23459d03ed7e9511a47d13292d3430a04627de6235b6e51a40f9cd386f2abe3022100e7d25b080f0bb8d8d5f878bba7d54ad2fda650ea8d158a33ee3cbd11768191fd004104b0e2c879e4daf7b9ab68350228c159766676a14f5815084ba166432aab46198d4cca98fa3e9981d0a90b2effc514b76279476550ba3663fdcaff94c38420e9d5000000000100093d00000000001976a9149a7b0f3b80c6baaeedce0a0842553800f832ba1f88ac00000000",
120
94
  "P2SH"
121
95
  ],
122
- [
123
- "A nearly-standard transaction with CHECKSIGVERIFY 1 instead of CHECKSIG"
124
- ],
96
+ ["A nearly-standard transaction with CHECKSIGVERIFY 1 instead of CHECKSIG"],
125
97
  [
126
98
  [
127
99
  [
@@ -147,9 +119,7 @@
147
119
  "01000000010001000000000000000000000000000000000000000000000000000000000000000000006a473044022067288ea50aa799543a536ff9306f8e1cba05b9c6b10951175b924f96732555ed022026d7b5265f38d21541519e4a1e55044d5b9e17e15cdbaf29ae3792e99e883e7a012103ba8c8b86dea131c22ab967e6dd99bdae8eff7a1f75a2c35f1f944109e3fe5e22ffffffff010000000000000000015100000000",
148
120
  "P2SH"
149
121
  ],
150
- [
151
- "The following is f7fdd091fa6d8f5e7a8c2458f5c38faffff2d3f1406b6e4fe2c99dcc0d2d1cbb"
152
- ],
122
+ ["The following is f7fdd091fa6d8f5e7a8c2458f5c38faffff2d3f1406b6e4fe2c99dcc0d2d1cbb"],
153
123
  [
154
124
  "It caught a bug in the workaround for 23b397edccd3740a74adb603c9756370fafcde9bcc4483eb271ecad09a94dd63 in an overly simple implementation"
155
125
  ],
@@ -169,25 +139,17 @@
169
139
  "01000000023d6cf972d4dff9c519eff407ea800361dd0a121de1da8b6f4138a2f25de864b4000000008a4730440220ffda47bfc776bcd269da4832626ac332adfca6dd835e8ecd83cd1ebe7d709b0e022049cffa1cdc102a0b56e0e04913606c70af702a1149dc3b305ab9439288fee090014104266abb36d66eb4218a6dd31f09bb92cf3cfa803c7ea72c1fc80a50f919273e613f895b855fb7465ccbc8919ad1bd4a306c783f22cd3227327694c4fa4c1c439affffffff21ebc9ba20594737864352e95b727f1a565756f9d365083eb1a8596ec98c97b7010000008a4730440220503ff10e9f1e0de731407a4a245531c9ff17676eda461f8ceeb8c06049fa2c810220c008ac34694510298fa60b3f000df01caa244f165b727d4896eb84f81e46bcc4014104266abb36d66eb4218a6dd31f09bb92cf3cfa803c7ea72c1fc80a50f919273e613f895b855fb7465ccbc8919ad1bd4a306c783f22cd3227327694c4fa4c1c439affffffff01f0da5200000000001976a914857ccd42dded6df32949d4646dfa10a92458cfaa88ac00000000",
170
140
  "P2SH"
171
141
  ],
172
- [
173
- "The following tests for the presence of a bug in the handling of SIGHASH_SINGLE"
174
- ],
142
+ ["The following tests for the presence of a bug in the handling of SIGHASH_SINGLE"],
175
143
  [
176
144
  "It results in signing the constant 1, instead of something generated based on the transaction,"
177
145
  ],
178
- [
179
- "when the input doing the signing has an index greater than the maximum output index"
180
- ],
146
+ ["when the input doing the signing has an index greater than the maximum output index"],
181
147
  [
182
148
  "bitcoinjs note, these inputs have been reversed for convenience, as the original data was unordered, and it is easier to check the inputs if they are ordered"
183
149
  ],
184
150
  [
185
151
  [
186
- [
187
- "0000000000000000000000000000000000000000000000000000000000000200",
188
- 0,
189
- "1"
190
- ],
152
+ ["0000000000000000000000000000000000000000000000000000000000000200", 0, "1"],
191
153
  [
192
154
  "0000000000000000000000000000000000000000000000000000000000000100",
193
155
  0,
@@ -197,9 +159,7 @@
197
159
  "01000000020002000000000000000000000000000000000000000000000000000000000000000000000151ffffffff0001000000000000000000000000000000000000000000000000000000000000000000006b483045022100c9cdd08798a28af9d1baf44a6c77bcc7e279f47dc487c8c899911bc48feaffcc0220503c5c50ae3998a733263c5c0f7061b483e2b56c4c41b456e7d2f5a78a74c077032102d5c25adb51b61339d2b05315791e21bbe80ea470a49db0135720983c905aace0ffffffff010000000000000000015100000000",
198
160
  "P2SH"
199
161
  ],
200
- [
201
- "An invalid P2SH Transaction"
202
- ],
162
+ ["An invalid P2SH Transaction"],
203
163
  [
204
164
  [
205
165
  [
@@ -211,9 +171,7 @@
211
171
  "010000000100010000000000000000000000000000000000000000000000000000000000000000000009085768617420697320ffffffff010000000000000000015100000000",
212
172
  "NONE"
213
173
  ],
214
- [
215
- "A valid P2SH Transaction using the standard transaction type put forth in BIP 16"
216
- ],
174
+ ["A valid P2SH Transaction using the standard transaction type put forth in BIP 16"],
217
175
  [
218
176
  [
219
177
  [
@@ -225,12 +183,8 @@
225
183
  "01000000010001000000000000000000000000000000000000000000000000000000000000000000006e493046022100c66c9cdf4c43609586d15424c54707156e316d88b0a1534c9e6b0d4f311406310221009c0fe51dbc9c4ab7cc25d3fdbeccf6679fe6827f08edf2b4a9f16ee3eb0e438a0123210338e8034509af564c62644c07691942e0c056752008a173c89f60ab2a88ac2ebfacffffffff010000000000000000015100000000",
226
184
  "P2SH"
227
185
  ],
228
- [
229
- "Tests for CheckTransaction()"
230
- ],
231
- [
232
- "MAX_MONEY output"
233
- ],
186
+ ["Tests for CheckTransaction()"],
187
+ ["MAX_MONEY output"],
234
188
  [
235
189
  [
236
190
  [
@@ -242,9 +196,7 @@
242
196
  "01000000010001000000000000000000000000000000000000000000000000000000000000000000006e493046022100e1eadba00d9296c743cb6ecc703fd9ddc9b3cd12906176a226ae4c18d6b00796022100a71aef7d2874deff681ba6080f1b278bac7bb99c61b08a85f4311970ffe7f63f012321030c0588dc44d92bdcbf8e72093466766fdc265ead8db64517b0c542275b70fffbacffffffff010040075af0750700015100000000",
243
197
  "P2SH"
244
198
  ],
245
- [
246
- "MAX_MONEY output + 0 output"
247
- ],
199
+ ["MAX_MONEY output + 0 output"],
248
200
  [
249
201
  [
250
202
  [
@@ -256,37 +208,17 @@
256
208
  "01000000010001000000000000000000000000000000000000000000000000000000000000000000006d483045022027deccc14aa6668e78a8c9da3484fbcd4f9dcc9bb7d1b85146314b21b9ae4d86022100d0b43dece8cfb07348de0ca8bc5b86276fa88f7f2138381128b7c36ab2e42264012321029bb13463ddd5d2cc05da6e84e37536cb9525703cfd8f43afdb414988987a92f6acffffffff020040075af075070001510000000000000000015100000000",
257
209
  "P2SH"
258
210
  ],
211
+ ["Coinbase of size 2"],
212
+ ["Note the input is just required to make the tester happy"],
259
213
  [
260
- "Coinbase of size 2"
261
- ],
262
- [
263
- "Note the input is just required to make the tester happy"
264
- ],
265
- [
266
- [
267
- [
268
- "0000000000000000000000000000000000000000000000000000000000000000",
269
- -1,
270
- "1"
271
- ]
272
- ],
214
+ [["0000000000000000000000000000000000000000000000000000000000000000", -1, "1"]],
273
215
  "01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff025151ffffffff010000000000000000015100000000",
274
216
  "P2SH"
275
217
  ],
218
+ ["Coinbase of size 100"],
219
+ ["Note the input is just required to make the tester happy"],
276
220
  [
277
- "Coinbase of size 100"
278
- ],
279
- [
280
- "Note the input is just required to make the tester happy"
281
- ],
282
- [
283
- [
284
- [
285
- "0000000000000000000000000000000000000000000000000000000000000000",
286
- -1,
287
- "1"
288
- ]
289
- ],
221
+ [["0000000000000000000000000000000000000000000000000000000000000000", -1, "1"]],
290
222
  "01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff6451515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151ffffffff010000000000000000015100000000",
291
223
  "P2SH"
292
224
  ],
@@ -366,12 +298,8 @@
366
298
  "0100000001482f7a028730a233ac9b48411a8edfb107b749e61faf7531f4257ad95d0a51c5000000008b483045022100bf0bbae9bde51ad2b222e87fbf67530fbafc25c903519a1e5dcc52a32ff5844e022028c4d9ad49b006dd59974372a54291d5764be541574bb0c4dc208ec51f80b7190141049dd4aad62741dc27d5f267f7b70682eee22e7e9c1923b9c0957bdae0b96374569b460eb8d5b40d972e8c7c0ad441de3d94c4a29864b212d56050acb980b72b2bffffffff0180969800000000001976a914e336d0017a9d28de99d16472f6ca6d5a3a8ebc9988ac00000000",
367
299
  "P2SH"
368
300
  ],
369
- [
370
- "Correct signature order"
371
- ],
372
- [
373
- "Note the input is just required to make the tester happy"
374
- ],
301
+ ["Correct signature order"],
302
+ ["Note the input is just required to make the tester happy"],
375
303
  [
376
304
  [
377
305
  [
@@ -397,9 +325,7 @@
397
325
  "0100000001f709fa82596e4f908ee331cb5e0ed46ab331d7dcfaf697fe95891e73dac4ebcb000000008c20ca42095840735e89283fec298e62ac2ddea9b5f34a8cbb7097ad965b87568100201b1b01dc829177da4a14551d2fc96a9db00c6501edfa12f22cd9cefd335c227f483045022100a9df60536df5733dd0de6bc921fab0b3eee6426501b43a228afa2c90072eb5ca02201c78b74266fac7d1db5deff080d8a403743203f109fbcabf6d5a760bf87386d20100ffffffff01c075790000000000232103611f9a45c18f28f06f19076ad571c344c82ce8fcfe34464cf8085217a2d294a6ac00000000",
398
326
  "P2SH"
399
327
  ],
400
- [
401
- "Empty pubkey"
402
- ],
328
+ ["Empty pubkey"],
403
329
  [
404
330
  [
405
331
  [
@@ -411,9 +337,7 @@
411
337
  "01000000012c651178faca83be0b81c8c1375c4b0ad38d53c8fe1b1c4255f5e795c25792220000000049483045022100d6044562284ac76c985018fc4a90127847708c9edb280996c507b28babdc4b2a02203d74eca3f1a4d1eea7ff77b528fde6d5dc324ec2dbfdb964ba885f643b9704cd01ffffffff010100000000000000232102c2410f8891ae918cab4ffc4bb4a3b0881be67c7a1e7faa8b5acf9ab8932ec30cac00000000",
412
338
  "P2SH"
413
339
  ],
414
- [
415
- "Empty signature"
416
- ],
340
+ ["Empty signature"],
417
341
  [
418
342
  [
419
343
  [
@@ -469,12 +393,8 @@
469
393
  "0100000001c188aa82f268fcf08ba18950f263654a3ea6931dabc8bf3ed1d4d42aaed74cba000000004b0000483045022100940378576e069aca261a6b26fb38344e4497ca6751bb10905c76bb689f4222b002204833806b014c26fd801727b792b1260003c55710f87c5adbd7a9cb57446dbc9801ffffffff0101000000000000002321037c615d761e71d38903609bf4f46847266edc2fb37532047d747ba47eaae5ffe1ac00000000",
470
394
  "P2SH"
471
395
  ],
472
- [
473
- "OP_CODESEPARATOR tests"
474
- ],
475
- [
476
- "Test that SignatureHash() removes OP_CODESEPARATOR with FindAndDelete()"
477
- ],
396
+ ["OP_CODESEPARATOR tests"],
397
+ ["Test that SignatureHash() removes OP_CODESEPARATOR with FindAndDelete()"],
478
398
  [
479
399
  [
480
400
  [
@@ -497,9 +417,7 @@
497
417
  "01000000014710b0e7cf9f8930de259bdc4b84aa5dfb9437b665a3e3a21ff26e0bf994e183000000004a493046022100a166121a61b4eeb19d8f922b978ff6ab58ead8a5a5552bf9be73dc9c156873ea02210092ad9bc43ee647da4f6652c320800debcf08ec20a094a0aaf085f63ecb37a17201ffffffff010000000000000000016a00000000",
498
418
  "P2SH"
499
419
  ],
500
- [
501
- "Hashed data starts at the CODESEPARATOR"
502
- ],
420
+ ["Hashed data starts at the CODESEPARATOR"],
503
421
  [
504
422
  [
505
423
  [
@@ -511,9 +429,7 @@
511
429
  "01000000015ebaa001d8e4ec7a88703a3bcf69d98c874bca6299cca0f191512bf2a7826832000000004948304502203bf754d1c6732fbf87c5dcd81258aefd30f2060d7bd8ac4a5696f7927091dad1022100f5bcb726c4cf5ed0ed34cc13dadeedf628ae1045b7cb34421bc60b89f4cecae701ffffffff010000000000000000016a00000000",
512
430
  "P2SH"
513
431
  ],
514
- [
515
- "But only if execution has reached it"
516
- ],
432
+ ["But only if execution has reached it"],
517
433
  [
518
434
  [
519
435
  [
@@ -525,9 +441,7 @@
525
441
  "010000000144490eda355be7480f2ec828dcc1b9903793a8008fad8cfe9b0c6b4d2f0355a900000000924830450221009c0a27f886a1d8cb87f6f595fbc3163d28f7a81ec3c4b252ee7f3ac77fd13ffa02203caa8dfa09713c8c4d7ef575c75ed97812072405d932bd11e6a1593a98b679370148304502201e3861ef39a526406bad1e20ecad06be7375ad40ddb582c9be42d26c3a0d7b240221009d0a3985e96522e59635d19cc4448547477396ce0ef17a58e7d74c3ef464292301ffffffff010000000000000000016a00000000",
526
442
  "P2SH"
527
443
  ],
528
- [
529
- "CODESEPARATOR in an unexecuted IF block does not change what is hashed"
530
- ],
444
+ ["CODESEPARATOR in an unexecuted IF block does not change what is hashed"],
531
445
  [
532
446
  [
533
447
  [
@@ -539,9 +453,7 @@
539
453
  "010000000144490eda355be7480f2ec828dcc1b9903793a8008fad8cfe9b0c6b4d2f0355a9000000004a48304502207a6974a77c591fa13dff60cabbb85a0de9e025c09c65a4b2285e47ce8e22f761022100f0efaac9ff8ac36b10721e0aae1fb975c90500b50c56e8a0cc52b0403f0425dd0100ffffffff010000000000000000016a00000000",
540
454
  "P2SH"
541
455
  ],
542
- [
543
- "As above, with the IF block executed"
544
- ],
456
+ ["As above, with the IF block executed"],
545
457
  [
546
458
  [
547
459
  [
@@ -553,9 +465,7 @@
553
465
  "010000000144490eda355be7480f2ec828dcc1b9903793a8008fad8cfe9b0c6b4d2f0355a9000000004a483045022100fa4a74ba9fd59c59f46c3960cf90cbe0d2b743c471d24a3d5d6db6002af5eebb02204d70ec490fd0f7055a7c45f86514336e3a7f03503dacecabb247fc23f15c83510151ffffffff010000000000000000016a00000000",
554
466
  "P2SH"
555
467
  ],
556
- [
557
- "CHECKSIG is legal in scriptSigs"
558
- ],
468
+ ["CHECKSIG is legal in scriptSigs"],
559
469
  [
560
470
  [
561
471
  [
@@ -567,9 +477,7 @@
567
477
  "0100000001e0be9e32f1f89c3d916c4f21e55cdcd096741b895cc76ac353e6023a05f4f7cc00000000d86149304602210086e5f736a2c3622ebb62bd9d93d8e5d76508b98be922b97160edc3dcca6d8c47022100b23c312ac232a4473f19d2aeb95ab7bdf2b65518911a0d72d50e38b5dd31dc820121038479a0fa998cd35259a2ef0a7a5c68662c1474f88ccb6d08a7677bbec7f22041ac4730440220508fa761865c8abd81244a168392876ee1d94e8ed83897066b5e2df2400dad24022043f5ee7538e87e9c6aef7ef55133d3e51da7cc522830a9c4d736977a76ef755c0121038479a0fa998cd35259a2ef0a7a5c68662c1474f88ccb6d08a7677bbec7f22041ffffffff010000000000000000016a00000000",
568
478
  "P2SH"
569
479
  ],
570
- [
571
- "Same semantics for OP_CODESEPARATOR"
572
- ],
480
+ ["Same semantics for OP_CODESEPARATOR"],
573
481
  [
574
482
  [
575
483
  [
@@ -595,9 +503,7 @@
595
503
  "01000000016f3dbe2ca96fa217e94b1017860be49f20820dea5c91bdcb103b0049d5eb566000000000fd1d0147304402203989ac8f9ad36b5d0919d97fa0a7f70c5272abee3b14477dc646288a8b976df5022027d19da84a066af9053ad3d1d7459d171b7e3a80bc6c4ef7a330677a6be548140147304402203989ac8f9ad36b5d0919d97fa0a7f70c5272abee3b14477dc646288a8b976df5022027d19da84a066af9053ad3d1d7459d171b7e3a80bc6c4ef7a330677a6be548140121038479a0fa998cd35259a2ef0a7a5c68662c1474f88ccb6d08a7677bbec7f22041ac47304402203757e937ba807e4a5da8534c17f9d121176056406a6465054bdd260457515c1a02200f02eccf1bec0f3a0d65df37889143c2e88ab7acec61a7b6f5aa264139141a2b0121038479a0fa998cd35259a2ef0a7a5c68662c1474f88ccb6d08a7677bbec7f22041ffffffff010000000000000000016a00000000",
596
504
  "P2SH"
597
505
  ],
598
- [
599
- "That also includes ahead of the opcode being executed."
600
- ],
506
+ ["That also includes ahead of the opcode being executed."],
601
507
  [
602
508
  [
603
509
  [
@@ -631,9 +537,7 @@
631
537
  "0100000002f9cbafc519425637ba4227f8d0a0b7160b4e65168193d5af39747891de98b5b5000000006b4830450221008dd619c563e527c47d9bd53534a770b102e40faa87f61433580e04e271ef2f960220029886434e18122b53d5decd25f1f4acb2480659fea20aabd856987ba3c3907e0121022b78b756e2258af13779c1a1f37ea6800259716ca4b7f0b87610e0bf3ab52a01ffffffff42e7988254800876b69f24676b3e0205b77be476512ca4d970707dd5c60598ab00000000fd260100483045022015bd0139bcccf990a6af6ec5c1c52ed8222e03a0d51c334df139968525d2fcd20221009f9efe325476eb64c3958e4713e9eefe49bf1d820ed58d2112721b134e2a1a53034930460221008431bdfa72bc67f9d41fe72e94c88fb8f359ffa30b33c72c121c5a877d922e1002210089ef5fc22dd8bfc6bf9ffdb01a9862d27687d424d1fefbab9e9c7176844a187a014c9052483045022015bd0139bcccf990a6af6ec5c1c52ed8222e03a0d51c334df139968525d2fcd20221009f9efe325476eb64c3958e4713e9eefe49bf1d820ed58d2112721b134e2a1a5303210378d430274f8c5ec1321338151e9f27f4c676a008bdf8638d07c0b6be9ab35c71210378d430274f8c5ec1321338151e9f27f4c676a008bdf8638d07c0b6be9ab35c7153aeffffffff01a08601000000000017a914d8dacdadb7462ae15cd906f1878706d0da8660e68700000000",
632
538
  "P2SH"
633
539
  ],
634
- [
635
- "Same idea, but with bare CHECKMULTISIG"
636
- ],
540
+ ["Same idea, but with bare CHECKMULTISIG"],
637
541
  [
638
542
  [
639
543
  [
@@ -650,12 +554,8 @@
650
554
  "0100000002dbb33bdf185b17f758af243c5d3c6e164cc873f6bb9f40c0677d6e0f8ee5afce000000006b4830450221009627444320dc5ef8d7f68f35010b4c050a6ed0d96b67a84db99fda9c9de58b1e02203e4b4aaa019e012e65d69b487fdf8719df72f488fa91506a80c49a33929f1fd50121022b78b756e2258af13779c1a1f37ea6800259716ca4b7f0b87610e0bf3ab52a01ffffffffdbb33bdf185b17f758af243c5d3c6e164cc873f6bb9f40c0677d6e0f8ee5afce010000009300483045022015bd0139bcccf990a6af6ec5c1c52ed8222e03a0d51c334df139968525d2fcd20221009f9efe325476eb64c3958e4713e9eefe49bf1d820ed58d2112721b134e2a1a5303483045022015bd0139bcccf990a6af6ec5c1c52ed8222e03a0d51c334df139968525d2fcd20221009f9efe325476eb64c3958e4713e9eefe49bf1d820ed58d2112721b134e2a1a5303ffffffff01a0860100000000001976a9149bc0bbdd3024da4d0c38ed1aecf5c68dd1d3fa1288ac00000000",
651
555
  "P2SH"
652
556
  ],
653
- [
654
- "CHECKLOCKTIMEVERIFY tests"
655
- ],
656
- [
657
- "By-height locks, with argument == 0 and == tx nLockTime"
658
- ],
557
+ ["CHECKLOCKTIMEVERIFY tests"],
558
+ ["By-height locks, with argument == 0 and == tx nLockTime"],
659
559
  [
660
560
  [
661
561
  [
@@ -689,9 +589,7 @@
689
589
  "0100000001000100000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000ff64cd1d",
690
590
  "P2SH,CHECKLOCKTIMEVERIFY"
691
591
  ],
692
- [
693
- "By-time locks, with argument just beyond tx nLockTime (but within numerical boundaries)"
694
- ],
592
+ ["By-time locks, with argument just beyond tx nLockTime (but within numerical boundaries)"],
695
593
  [
696
594
  [
697
595
  [
@@ -725,9 +623,7 @@
725
623
  "0100000001000100000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000ffffffff",
726
624
  "P2SH,CHECKLOCKTIMEVERIFY"
727
625
  ],
728
- [
729
- "Any non-maxint nSequence is fine"
730
- ],
626
+ ["Any non-maxint nSequence is fine"],
731
627
  [
732
628
  [
733
629
  [
@@ -739,9 +635,7 @@
739
635
  "010000000100010000000000000000000000000000000000000000000000000000000000000000000000feffffff0100000000000000000000000000",
740
636
  "P2SH,CHECKLOCKTIMEVERIFY"
741
637
  ],
742
- [
743
- "The argument can be calculated rather than created directly by a PUSHDATA"
744
- ],
638
+ ["The argument can be calculated rather than created directly by a PUSHDATA"],
745
639
  [
746
640
  [
747
641
  [
@@ -753,9 +647,7 @@
753
647
  "01000000010001000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000065cd1d",
754
648
  "P2SH,CHECKLOCKTIMEVERIFY"
755
649
  ],
756
- [
757
- "Perhaps even by an ADD producing a 5-byte result that is out of bounds for other opcodes"
758
- ],
650
+ ["Perhaps even by an ADD producing a 5-byte result that is out of bounds for other opcodes"],
759
651
  [
760
652
  [
761
653
  [
@@ -767,9 +659,7 @@
767
659
  "0100000001000100000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000feffffff",
768
660
  "P2SH,CHECKLOCKTIMEVERIFY"
769
661
  ],
770
- [
771
- "5 byte non-minimally-encoded arguments are valid"
772
- ],
662
+ ["5 byte non-minimally-encoded arguments are valid"],
773
663
  [
774
664
  [
775
665
  [
@@ -781,23 +671,13 @@
781
671
  "010000000100010000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000",
782
672
  "P2SH,CHECKLOCKTIMEVERIFY"
783
673
  ],
674
+ ["Valid CHECKLOCKTIMEVERIFY in scriptSig"],
784
675
  [
785
- "Valid CHECKLOCKTIMEVERIFY in scriptSig"
786
- ],
787
- [
788
- [
789
- [
790
- "0000000000000000000000000000000000000000000000000000000000000100",
791
- 0,
792
- "1"
793
- ]
794
- ],
676
+ [["0000000000000000000000000000000000000000000000000000000000000100", 0, "1"]],
795
677
  "01000000010001000000000000000000000000000000000000000000000000000000000000000000000251b1000000000100000000000000000001000000",
796
678
  "P2SH,CHECKLOCKTIMEVERIFY"
797
679
  ],
798
- [
799
- "Valid CHECKLOCKTIMEVERIFY in redeemScript"
800
- ],
680
+ ["Valid CHECKLOCKTIMEVERIFY in redeemScript"],
801
681
  [
802
682
  [
803
683
  [
@@ -809,9 +689,7 @@
809
689
  "0100000001000100000000000000000000000000000000000000000000000000000000000000000000030251b1000000000100000000000000000001000000",
810
690
  "P2SH,CHECKLOCKTIMEVERIFY"
811
691
  ],
812
- [
813
- "A transaction with a non-standard DER signature."
814
- ],
692
+ ["A transaction with a non-standard DER signature."],
815
693
  [
816
694
  [
817
695
  [
@@ -823,12 +701,8 @@
823
701
  "010000000132211bdd0d568506804eef0d8cc3db68c3d766ab9306cdfcc0a9c89616c8dbb1000000006c493045022100c7bb0faea0522e74ff220c20c022d2cb6033f8d167fb89e75a50e237a35fd6d202203064713491b1f8ad5f79e623d0219ad32510bfaa1009ab30cbee77b59317d6e30001210237af13eb2d84e4545af287b919c2282019c9691cc509e78e196a9d8274ed1be0ffffffff0100000000000000001976a914f1b3ed2eda9a2ebe5a9374f692877cdf87c0f95b88ac00000000",
824
702
  "P2SH"
825
703
  ],
826
- [
827
- "CHECKSEQUENCEVERIFY tests"
828
- ],
829
- [
830
- "By-height locks, with argument == 0 and == txin.nSequence"
831
- ],
704
+ ["CHECKSEQUENCEVERIFY tests"],
705
+ ["By-height locks, with argument == 0 and == txin.nSequence"],
832
706
  [
833
707
  [
834
708
  [
@@ -873,9 +747,7 @@
873
747
  "020000000100010000000000000000000000000000000000000000000000000000000000000000000000ffffbf7f0100000000000000000000000000",
874
748
  "P2SH,CHECKSEQUENCEVERIFY"
875
749
  ],
876
- [
877
- "By-time locks, with argument == 0 and == txin.nSequence"
878
- ],
750
+ ["By-time locks, with argument == 0 and == txin.nSequence"],
879
751
  [
880
752
  [
881
753
  [
@@ -920,9 +792,7 @@
920
792
  "020000000100010000000000000000000000000000000000000000000000000000000000000000000000ffffff7f0100000000000000000000000000",
921
793
  "P2SH,CHECKSEQUENCEVERIFY"
922
794
  ],
923
- [
924
- "Upper sequence with upper sequence is fine"
925
- ],
795
+ ["Upper sequence with upper sequence is fine"],
926
796
  [
927
797
  [
928
798
  [
@@ -989,9 +859,7 @@
989
859
  "020000000100010000000000000000000000000000000000000000000000000000000000000000000000ffffffff0100000000000000000000000000",
990
860
  "P2SH,CHECKSEQUENCEVERIFY"
991
861
  ],
992
- [
993
- "Argument 2^31 with various nSequence"
994
- ],
862
+ ["Argument 2^31 with various nSequence"],
995
863
  [
996
864
  [
997
865
  [
@@ -1025,9 +893,7 @@
1025
893
  "020000000100010000000000000000000000000000000000000000000000000000000000000000000000ffffffff0100000000000000000000000000",
1026
894
  "P2SH,CHECKSEQUENCEVERIFY"
1027
895
  ],
1028
- [
1029
- "Argument 2^32-1 with various nSequence"
1030
- ],
896
+ ["Argument 2^32-1 with various nSequence"],
1031
897
  [
1032
898
  [
1033
899
  [
@@ -1061,9 +927,7 @@
1061
927
  "020000000100010000000000000000000000000000000000000000000000000000000000000000000000ffffffff0100000000000000000000000000",
1062
928
  "P2SH,CHECKSEQUENCEVERIFY"
1063
929
  ],
1064
- [
1065
- "Argument 3<<31 with various nSequence"
1066
- ],
930
+ ["Argument 3<<31 with various nSequence"],
1067
931
  [
1068
932
  [
1069
933
  [
@@ -1097,9 +961,7 @@
1097
961
  "020000000100010000000000000000000000000000000000000000000000000000000000000000000000ffffffff0100000000000000000000000000",
1098
962
  "P2SH,CHECKSEQUENCEVERIFY"
1099
963
  ],
1100
- [
1101
- "5 byte non-minimally-encoded operandss are valid"
1102
- ],
964
+ ["5 byte non-minimally-encoded operandss are valid"],
1103
965
  [
1104
966
  [
1105
967
  [
@@ -1111,9 +973,7 @@
1111
973
  "020000000100010000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000",
1112
974
  "P2SH,CHECKSEQUENCEVERIFY"
1113
975
  ],
1114
- [
1115
- "The argument can be calculated rather than created directly by a PUSHDATA"
1116
- ],
976
+ ["The argument can be calculated rather than created directly by a PUSHDATA"],
1117
977
  [
1118
978
  [
1119
979
  [
@@ -1136,9 +996,7 @@
1136
996
  "020000000100010000000000000000000000000000000000000000000000000000000000000000000000ffff00000100000000000000000000000000",
1137
997
  "P2SH,CHECKSEQUENCEVERIFY"
1138
998
  ],
1139
- [
1140
- "An ADD producing a 5-byte result that sets CTxIn::SEQUENCE_LOCKTIME_DISABLE_FLAG"
1141
- ],
999
+ ["An ADD producing a 5-byte result that sets CTxIn::SEQUENCE_LOCKTIME_DISABLE_FLAG"],
1142
1000
  [
1143
1001
  [
1144
1002
  [
@@ -1161,23 +1019,13 @@
1161
1019
  "020000000100010000000000000000000000000000000000000000000000000000000000000000000000000040000100000000000000000000000000",
1162
1020
  "P2SH,CHECKSEQUENCEVERIFY"
1163
1021
  ],
1022
+ ["Valid CHECKSEQUENCEVERIFY in scriptSig"],
1164
1023
  [
1165
- "Valid CHECKSEQUENCEVERIFY in scriptSig"
1166
- ],
1167
- [
1168
- [
1169
- [
1170
- "0000000000000000000000000000000000000000000000000000000000000100",
1171
- 0,
1172
- "1"
1173
- ]
1174
- ],
1024
+ [["0000000000000000000000000000000000000000000000000000000000000100", 0, "1"]],
1175
1025
  "02000000010001000000000000000000000000000000000000000000000000000000000000000000000251b2010000000100000000000000000000000000",
1176
1026
  "P2SH,CHECKSEQUENCEVERIFY"
1177
1027
  ],
1178
- [
1179
- "Valid CHECKSEQUENCEVERIFY in redeemScript"
1180
- ],
1028
+ ["Valid CHECKSEQUENCEVERIFY in redeemScript"],
1181
1029
  [
1182
1030
  [
1183
1031
  [
@@ -1204,9 +1052,7 @@
1204
1052
  "0100000000010100010000000000000000000000000000000000000000000000000000000000000000000000ffffffff01e8030000000000001976a9144c9c3dfac4207d5d8cb89df5722cb3d712385e3f88ac02483045022100cfb07164b36ba64c1b1e8c7720a56ad64d96f6ef332d3d37f9cb3c96477dc44502200a464cd7a9cf94cd70f66ce4f4f0625ef650052c7afcfe29d7d7e01830ff91ed012103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc7100000000",
1205
1053
  "P2SH,WITNESS"
1206
1054
  ],
1207
- [
1208
- "Valid P2WSH"
1209
- ],
1055
+ ["Valid P2WSH"],
1210
1056
  [
1211
1057
  [
1212
1058
  [
@@ -1219,9 +1065,7 @@
1219
1065
  "0100000000010100010000000000000000000000000000000000000000000000000000000000000000000000ffffffff01e8030000000000001976a9144c9c3dfac4207d5d8cb89df5722cb3d712385e3f88ac02483045022100aa5d8aa40a90f23ce2c3d11bc845ca4a12acd99cbea37de6b9f6d86edebba8cb022022dedc2aa0a255f74d04c0b76ece2d7c691f9dd11a64a8ac49f62a99c3a05f9d01232103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc71ac00000000",
1220
1066
  "P2SH,WITNESS"
1221
1067
  ],
1222
- [
1223
- "Valid P2SH(P2WPKH)"
1224
- ],
1068
+ ["Valid P2SH(P2WPKH)"],
1225
1069
  [
1226
1070
  [
1227
1071
  [
@@ -1234,9 +1078,7 @@
1234
1078
  "01000000000101000100000000000000000000000000000000000000000000000000000000000000000000171600144c9c3dfac4207d5d8cb89df5722cb3d712385e3fffffffff01e8030000000000001976a9144c9c3dfac4207d5d8cb89df5722cb3d712385e3f88ac02483045022100cfb07164b36ba64c1b1e8c7720a56ad64d96f6ef332d3d37f9cb3c96477dc44502200a464cd7a9cf94cd70f66ce4f4f0625ef650052c7afcfe29d7d7e01830ff91ed012103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc7100000000",
1235
1079
  "P2SH,WITNESS"
1236
1080
  ],
1237
- [
1238
- "Valid P2SH(P2WSH)"
1239
- ],
1081
+ ["Valid P2SH(P2WSH)"],
1240
1082
  [
1241
1083
  [
1242
1084
  [
@@ -1249,351 +1091,190 @@
1249
1091
  "0100000000010100010000000000000000000000000000000000000000000000000000000000000000000023220020ff25429251b5a84f452230a3c75fd886b7fc5a7865ce4a7bb7a9d7c5be6da3dbffffffff01e8030000000000001976a9144c9c3dfac4207d5d8cb89df5722cb3d712385e3f88ac02483045022100aa5d8aa40a90f23ce2c3d11bc845ca4a12acd99cbea37de6b9f6d86edebba8cb022022dedc2aa0a255f74d04c0b76ece2d7c691f9dd11a64a8ac49f62a99c3a05f9d01232103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc71ac00000000",
1250
1092
  "P2SH,WITNESS"
1251
1093
  ],
1252
- [
1253
- "Witness with SigHash Single|AnyoneCanPay"
1254
- ],
1094
+ ["Witness with SigHash Single|AnyoneCanPay"],
1255
1095
  [
1256
1096
  [
1257
- [
1258
- "0000000000000000000000000000000000000000000000000000000000000100",
1259
- 2,
1260
- "0x51",
1261
- 3100
1262
- ],
1097
+ ["0000000000000000000000000000000000000000000000000000000000000100", 2, "0x51", 3100],
1263
1098
  [
1264
1099
  "0000000000000000000000000000000000000000000000000000000000000100",
1265
1100
  1,
1266
1101
  "0x00 0x14 0x4c9c3dfac4207d5d8cb89df5722cb3d712385e3f",
1267
1102
  2000
1268
1103
  ],
1269
- [
1270
- "0000000000000000000000000000000000000000000000000000000000000100",
1271
- 0,
1272
- "0x51",
1273
- 1100
1274
- ],
1275
- [
1276
- "0000000000000000000000000000000000000000000000000000000000000100",
1277
- 3,
1278
- "0x51",
1279
- 4100
1280
- ]
1104
+ ["0000000000000000000000000000000000000000000000000000000000000100", 0, "0x51", 1100],
1105
+ ["0000000000000000000000000000000000000000000000000000000000000100", 3, "0x51", 4100]
1281
1106
  ],
1282
1107
  "0100000000010400010000000000000000000000000000000000000000000000000000000000000200000000ffffffff00010000000000000000000000000000000000000000000000000000000000000100000000ffffffff00010000000000000000000000000000000000000000000000000000000000000000000000ffffffff00010000000000000000000000000000000000000000000000000000000000000300000000ffffffff05540b0000000000000151d0070000000000000151840300000000000001513c0f00000000000001512c010000000000000151000248304502210092f4777a0f17bf5aeb8ae768dec5f2c14feabf9d1fe2c89c78dfed0f13fdb86902206da90a86042e252bcd1e80a168c719e4a1ddcc3cebea24b9812c5453c79107e9832103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc71000000000000",
1283
1108
  "P2SH,WITNESS"
1284
1109
  ],
1285
- [
1286
- "Witness with SigHash Single|AnyoneCanPay (same signature as previous)"
1287
- ],
1110
+ ["Witness with SigHash Single|AnyoneCanPay (same signature as previous)"],
1288
1111
  [
1289
1112
  [
1290
- [
1291
- "0000000000000000000000000000000000000000000000000000000000000100",
1292
- 0,
1293
- "0x51",
1294
- 1000
1295
- ],
1113
+ ["0000000000000000000000000000000000000000000000000000000000000100", 0, "0x51", 1000],
1296
1114
  [
1297
1115
  "0000000000000000000000000000000000000000000000000000000000000100",
1298
1116
  1,
1299
1117
  "0x00 0x14 0x4c9c3dfac4207d5d8cb89df5722cb3d712385e3f",
1300
1118
  2000
1301
1119
  ],
1302
- [
1303
- "0000000000000000000000000000000000000000000000000000000000000100",
1304
- 2,
1305
- "0x51",
1306
- 3000
1307
- ]
1120
+ ["0000000000000000000000000000000000000000000000000000000000000100", 2, "0x51", 3000]
1308
1121
  ],
1309
1122
  "0100000000010300010000000000000000000000000000000000000000000000000000000000000000000000ffffffff00010000000000000000000000000000000000000000000000000000000000000100000000ffffffff00010000000000000000000000000000000000000000000000000000000000000200000000ffffffff03e8030000000000000151d0070000000000000151b80b0000000000000151000248304502210092f4777a0f17bf5aeb8ae768dec5f2c14feabf9d1fe2c89c78dfed0f13fdb86902206da90a86042e252bcd1e80a168c719e4a1ddcc3cebea24b9812c5453c79107e9832103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc710000000000",
1310
1123
  "P2SH,WITNESS"
1311
1124
  ],
1312
- [
1313
- "Witness with SigHash Single"
1314
- ],
1125
+ ["Witness with SigHash Single"],
1315
1126
  [
1316
1127
  [
1317
- [
1318
- "0000000000000000000000000000000000000000000000000000000000000100",
1319
- 0,
1320
- "0x51",
1321
- 1000
1322
- ],
1128
+ ["0000000000000000000000000000000000000000000000000000000000000100", 0, "0x51", 1000],
1323
1129
  [
1324
1130
  "0000000000000000000000000000000000000000000000000000000000000100",
1325
1131
  1,
1326
1132
  "0x00 0x14 0x4c9c3dfac4207d5d8cb89df5722cb3d712385e3f",
1327
1133
  2000
1328
1134
  ],
1329
- [
1330
- "0000000000000000000000000000000000000000000000000000000000000100",
1331
- 2,
1332
- "0x51",
1333
- 3000
1334
- ]
1135
+ ["0000000000000000000000000000000000000000000000000000000000000100", 2, "0x51", 3000]
1335
1136
  ],
1336
1137
  "0100000000010300010000000000000000000000000000000000000000000000000000000000000000000000ffffffff00010000000000000000000000000000000000000000000000000000000000000100000000ffffffff00010000000000000000000000000000000000000000000000000000000000000200000000ffffffff0484030000000000000151d0070000000000000151540b0000000000000151c800000000000000015100024730440220699e6b0cfe015b64ca3283e6551440a34f901ba62dd4c72fe1cb815afb2e6761022021cc5e84db498b1479de14efda49093219441adc6c543e5534979605e273d80b032103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc710000000000",
1337
1138
  "P2SH,WITNESS"
1338
1139
  ],
1339
- [
1340
- "Witness with SigHash Single (same signature as previous)"
1341
- ],
1140
+ ["Witness with SigHash Single (same signature as previous)"],
1342
1141
  [
1343
1142
  [
1344
- [
1345
- "0000000000000000000000000000000000000000000000000000000000000100",
1346
- 0,
1347
- "0x51",
1348
- 1000
1349
- ],
1143
+ ["0000000000000000000000000000000000000000000000000000000000000100", 0, "0x51", 1000],
1350
1144
  [
1351
1145
  "0000000000000000000000000000000000000000000000000000000000000100",
1352
1146
  1,
1353
1147
  "0x00 0x14 0x4c9c3dfac4207d5d8cb89df5722cb3d712385e3f",
1354
1148
  2000
1355
1149
  ],
1356
- [
1357
- "0000000000000000000000000000000000000000000000000000000000000100",
1358
- 2,
1359
- "0x51",
1360
- 3000
1361
- ]
1150
+ ["0000000000000000000000000000000000000000000000000000000000000100", 2, "0x51", 3000]
1362
1151
  ],
1363
1152
  "0100000000010300010000000000000000000000000000000000000000000000000000000000000000000000ffffffff00010000000000000000000000000000000000000000000000000000000000000100000000ffffffff00010000000000000000000000000000000000000000000000000000000000000200000000ffffffff03e8030000000000000151d0070000000000000151b80b000000000000015100024730440220699e6b0cfe015b64ca3283e6551440a34f901ba62dd4c72fe1cb815afb2e6761022021cc5e84db498b1479de14efda49093219441adc6c543e5534979605e273d80b032103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc710000000000",
1364
1153
  "P2SH,WITNESS"
1365
1154
  ],
1366
- [
1367
- "Witness with SigHash None|AnyoneCanPay"
1368
- ],
1155
+ ["Witness with SigHash None|AnyoneCanPay"],
1369
1156
  [
1370
1157
  [
1371
- [
1372
- "0000000000000000000000000000000000000000000000000000000000000100",
1373
- 2,
1374
- "0x51",
1375
- 3100
1376
- ],
1377
- [
1378
- "0000000000000000000000000000000000000000000000000000000000000100",
1379
- 0,
1380
- "0x51",
1381
- 1100
1382
- ],
1158
+ ["0000000000000000000000000000000000000000000000000000000000000100", 2, "0x51", 3100],
1159
+ ["0000000000000000000000000000000000000000000000000000000000000100", 0, "0x51", 1100],
1383
1160
  [
1384
1161
  "0000000000000000000000000000000000000000000000000000000000000100",
1385
1162
  1,
1386
1163
  "0x00 0x14 0x4c9c3dfac4207d5d8cb89df5722cb3d712385e3f",
1387
1164
  2000
1388
1165
  ],
1389
- [
1390
- "0000000000000000000000000000000000000000000000000000000000000100",
1391
- 3,
1392
- "0x51",
1393
- 4100
1394
- ]
1166
+ ["0000000000000000000000000000000000000000000000000000000000000100", 3, "0x51", 4100]
1395
1167
  ],
1396
1168
  "0100000000010400010000000000000000000000000000000000000000000000000000000000000200000000ffffffff00010000000000000000000000000000000000000000000000000000000000000000000000ffffffff00010000000000000000000000000000000000000000000000000000000000000100000000ffffffff00010000000000000000000000000000000000000000000000000000000000000300000000ffffffff04b60300000000000001519e070000000000000151860b00000000000001009600000000000000015100000248304502210091b32274295c2a3fa02f5bce92fb2789e3fc6ea947fbe1a76e52ea3f4ef2381a022079ad72aefa3837a2e0c033a8652a59731da05fa4a813f4fc48e87c075037256b822103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc710000000000",
1397
1169
  "P2SH,WITNESS"
1398
1170
  ],
1399
- [
1400
- "Witness with SigHash None|AnyoneCanPay (same signature as previous)"
1401
- ],
1171
+ ["Witness with SigHash None|AnyoneCanPay (same signature as previous)"],
1402
1172
  [
1403
1173
  [
1404
- [
1405
- "0000000000000000000000000000000000000000000000000000000000000100",
1406
- 0,
1407
- "0x51",
1408
- 1000
1409
- ],
1174
+ ["0000000000000000000000000000000000000000000000000000000000000100", 0, "0x51", 1000],
1410
1175
  [
1411
1176
  "0000000000000000000000000000000000000000000000000000000000000100",
1412
1177
  1,
1413
1178
  "0x00 0x14 0x4c9c3dfac4207d5d8cb89df5722cb3d712385e3f",
1414
1179
  2000
1415
1180
  ],
1416
- [
1417
- "0000000000000000000000000000000000000000000000000000000000000100",
1418
- 2,
1419
- "0x51",
1420
- 3000
1421
- ]
1181
+ ["0000000000000000000000000000000000000000000000000000000000000100", 2, "0x51", 3000]
1422
1182
  ],
1423
1183
  "0100000000010300010000000000000000000000000000000000000000000000000000000000000000000000ffffffff00010000000000000000000000000000000000000000000000000000000000000100000000ffffffff00010000000000000000000000000000000000000000000000000000000000000200000000ffffffff03e8030000000000000151d0070000000000000151b80b0000000000000151000248304502210091b32274295c2a3fa02f5bce92fb2789e3fc6ea947fbe1a76e52ea3f4ef2381a022079ad72aefa3837a2e0c033a8652a59731da05fa4a813f4fc48e87c075037256b822103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc710000000000",
1424
1184
  "P2SH,WITNESS"
1425
1185
  ],
1426
- [
1427
- "Witness with SigHash None"
1428
- ],
1186
+ ["Witness with SigHash None"],
1429
1187
  [
1430
1188
  [
1431
- [
1432
- "0000000000000000000000000000000000000000000000000000000000000100",
1433
- 0,
1434
- "0x51",
1435
- 1000
1436
- ],
1189
+ ["0000000000000000000000000000000000000000000000000000000000000100", 0, "0x51", 1000],
1437
1190
  [
1438
1191
  "0000000000000000000000000000000000000000000000000000000000000100",
1439
1192
  1,
1440
1193
  "0x00 0x14 0x4c9c3dfac4207d5d8cb89df5722cb3d712385e3f",
1441
1194
  2000
1442
1195
  ],
1443
- [
1444
- "0000000000000000000000000000000000000000000000000000000000000100",
1445
- 2,
1446
- "0x51",
1447
- 3000
1448
- ]
1196
+ ["0000000000000000000000000000000000000000000000000000000000000100", 2, "0x51", 3000]
1449
1197
  ],
1450
1198
  "0100000000010300010000000000000000000000000000000000000000000000000000000000000000000000ffffffff00010000000000000000000000000000000000000000000000000000000000000100000000ffffffff00010000000000000000000000000000000000000000000000000000000000000200000000ffffffff04b60300000000000001519e070000000000000151860b0000000000000100960000000000000001510002473044022022fceb54f62f8feea77faac7083c3b56c4676a78f93745adc8a35800bc36adfa022026927df9abcf0a8777829bcfcce3ff0a385fa54c3f9df577405e3ef24ee56479022103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc710000000000",
1451
1199
  "P2SH,WITNESS"
1452
1200
  ],
1453
- [
1454
- "Witness with SigHash None (same signature as previous)"
1455
- ],
1201
+ ["Witness with SigHash None (same signature as previous)"],
1456
1202
  [
1457
1203
  [
1458
- [
1459
- "0000000000000000000000000000000000000000000000000000000000000100",
1460
- 0,
1461
- "0x51",
1462
- 1000
1463
- ],
1204
+ ["0000000000000000000000000000000000000000000000000000000000000100", 0, "0x51", 1000],
1464
1205
  [
1465
1206
  "0000000000000000000000000000000000000000000000000000000000000100",
1466
1207
  1,
1467
1208
  "0x00 0x14 0x4c9c3dfac4207d5d8cb89df5722cb3d712385e3f",
1468
1209
  2000
1469
1210
  ],
1470
- [
1471
- "0000000000000000000000000000000000000000000000000000000000000100",
1472
- 2,
1473
- "0x51",
1474
- 3000
1475
- ]
1211
+ ["0000000000000000000000000000000000000000000000000000000000000100", 2, "0x51", 3000]
1476
1212
  ],
1477
1213
  "0100000000010300010000000000000000000000000000000000000000000000000000000000000000000000ffffffff00010000000000000000000000000000000000000000000000000000000000000100000000ffffffff00010000000000000000000000000000000000000000000000000000000000000200000000ffffffff03e8030000000000000151d0070000000000000151b80b00000000000001510002473044022022fceb54f62f8feea77faac7083c3b56c4676a78f93745adc8a35800bc36adfa022026927df9abcf0a8777829bcfcce3ff0a385fa54c3f9df577405e3ef24ee56479022103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc710000000000",
1478
1214
  "P2SH,WITNESS"
1479
1215
  ],
1480
- [
1481
- "Witness with SigHash None (same signature, only sequences changed)"
1482
- ],
1216
+ ["Witness with SigHash None (same signature, only sequences changed)"],
1483
1217
  [
1484
1218
  [
1485
- [
1486
- "0000000000000000000000000000000000000000000000000000000000000100",
1487
- 0,
1488
- "0x51",
1489
- 1000
1490
- ],
1219
+ ["0000000000000000000000000000000000000000000000000000000000000100", 0, "0x51", 1000],
1491
1220
  [
1492
1221
  "0000000000000000000000000000000000000000000000000000000000000100",
1493
1222
  1,
1494
1223
  "0x00 0x14 0x4c9c3dfac4207d5d8cb89df5722cb3d712385e3f",
1495
1224
  2000
1496
1225
  ],
1497
- [
1498
- "0000000000000000000000000000000000000000000000000000000000000100",
1499
- 2,
1500
- "0x51",
1501
- 3000
1502
- ]
1226
+ ["0000000000000000000000000000000000000000000000000000000000000100", 2, "0x51", 3000]
1503
1227
  ],
1504
1228
  "01000000000103000100000000000000000000000000000000000000000000000000000000000000000000000200000000010000000000000000000000000000000000000000000000000000000000000100000000ffffffff000100000000000000000000000000000000000000000000000000000000000002000000000200000003e8030000000000000151d0070000000000000151b80b00000000000001510002473044022022fceb54f62f8feea77faac7083c3b56c4676a78f93745adc8a35800bc36adfa022026927df9abcf0a8777829bcfcce3ff0a385fa54c3f9df577405e3ef24ee56479022103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc710000000000",
1505
1229
  "P2SH,WITNESS"
1506
1230
  ],
1507
- [
1508
- "Witness with SigHash All|AnyoneCanPay"
1509
- ],
1231
+ ["Witness with SigHash All|AnyoneCanPay"],
1510
1232
  [
1511
1233
  [
1512
- [
1513
- "0000000000000000000000000000000000000000000000000000000000000100",
1514
- 2,
1515
- "0x51",
1516
- 3100
1517
- ],
1518
- [
1519
- "0000000000000000000000000000000000000000000000000000000000000100",
1520
- 0,
1521
- "0x51",
1522
- 1100
1523
- ],
1234
+ ["0000000000000000000000000000000000000000000000000000000000000100", 2, "0x51", 3100],
1235
+ ["0000000000000000000000000000000000000000000000000000000000000100", 0, "0x51", 1100],
1524
1236
  [
1525
1237
  "0000000000000000000000000000000000000000000000000000000000000100",
1526
1238
  1,
1527
1239
  "0x00 0x14 0x4c9c3dfac4207d5d8cb89df5722cb3d712385e3f",
1528
1240
  2000
1529
1241
  ],
1530
- [
1531
- "0000000000000000000000000000000000000000000000000000000000000100",
1532
- 3,
1533
- "0x51",
1534
- 4100
1535
- ]
1242
+ ["0000000000000000000000000000000000000000000000000000000000000100", 3, "0x51", 4100]
1536
1243
  ],
1537
1244
  "0100000000010400010000000000000000000000000000000000000000000000000000000000000200000000ffffffff00010000000000000000000000000000000000000000000000000000000000000000000000ffffffff00010000000000000000000000000000000000000000000000000000000000000100000000ffffffff00010000000000000000000000000000000000000000000000000000000000000300000000ffffffff03e8030000000000000151d0070000000000000151b80b0000000000000151000002483045022100a3cec69b52cba2d2de623eeef89e0ba1606184ea55476c0f8189fda231bc9cbb022003181ad597f7c380a7d1c740286b1d022b8b04ded028b833282e055e03b8efef812103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc710000000000",
1538
1245
  "P2SH,WITNESS"
1539
1246
  ],
1540
- [
1541
- "Witness with SigHash All|AnyoneCanPay (same signature as previous)"
1542
- ],
1247
+ ["Witness with SigHash All|AnyoneCanPay (same signature as previous)"],
1543
1248
  [
1544
1249
  [
1545
- [
1546
- "0000000000000000000000000000000000000000000000000000000000000100",
1547
- 0,
1548
- "0x51",
1549
- 1000
1550
- ],
1250
+ ["0000000000000000000000000000000000000000000000000000000000000100", 0, "0x51", 1000],
1551
1251
  [
1552
1252
  "0000000000000000000000000000000000000000000000000000000000000100",
1553
1253
  1,
1554
1254
  "0x00 0x14 0x4c9c3dfac4207d5d8cb89df5722cb3d712385e3f",
1555
1255
  2000
1556
1256
  ],
1557
- [
1558
- "0000000000000000000000000000000000000000000000000000000000000100",
1559
- 2,
1560
- "0x51",
1561
- 3000
1562
- ]
1257
+ ["0000000000000000000000000000000000000000000000000000000000000100", 2, "0x51", 3000]
1563
1258
  ],
1564
1259
  "0100000000010300010000000000000000000000000000000000000000000000000000000000000000000000ffffffff00010000000000000000000000000000000000000000000000000000000000000100000000ffffffff00010000000000000000000000000000000000000000000000000000000000000200000000ffffffff03e8030000000000000151d0070000000000000151b80b00000000000001510002483045022100a3cec69b52cba2d2de623eeef89e0ba1606184ea55476c0f8189fda231bc9cbb022003181ad597f7c380a7d1c740286b1d022b8b04ded028b833282e055e03b8efef812103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc710000000000",
1565
1260
  "P2SH,WITNESS"
1566
1261
  ],
1567
- [
1568
- "Unknown witness program version (without DISCOURAGE_UPGRADABLE_WITNESS_PROGRAM)"
1569
- ],
1262
+ ["Unknown witness program version (without DISCOURAGE_UPGRADABLE_WITNESS_PROGRAM)"],
1570
1263
  [
1571
1264
  [
1572
- [
1573
- "0000000000000000000000000000000000000000000000000000000000000100",
1574
- 0,
1575
- "0x51",
1576
- 1000
1577
- ],
1265
+ ["0000000000000000000000000000000000000000000000000000000000000100", 0, "0x51", 1000],
1578
1266
  [
1579
1267
  "0000000000000000000000000000000000000000000000000000000000000100",
1580
1268
  1,
1581
1269
  "0x60 0x14 0x4c9c3dfac4207d5d8cb89df5722cb3d712385e3f",
1582
1270
  2000
1583
1271
  ],
1584
- [
1585
- "0000000000000000000000000000000000000000000000000000000000000100",
1586
- 2,
1587
- "0x51",
1588
- 3000
1589
- ]
1272
+ ["0000000000000000000000000000000000000000000000000000000000000100", 2, "0x51", 3000]
1590
1273
  ],
1591
1274
  "0100000000010300010000000000000000000000000000000000000000000000000000000000000000000000ffffffff00010000000000000000000000000000000000000000000000000000000000000100000000ffffffff00010000000000000000000000000000000000000000000000000000000000000200000000ffffffff03e8030000000000000151d0070000000000000151b80b00000000000001510002483045022100a3cec69b52cba2d2de623ffffffffff1606184ea55476c0f8189fda231bc9cbb022003181ad597f7c380a7d1c740286b1d022b8b04ded028b833282e055e03b8efef812103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc710000000000",
1592
1275
  "P2SH,WITNESS"
1593
1276
  ],
1594
- [
1595
- "Witness with a push of 520 bytes"
1596
- ],
1277
+ ["Witness with a push of 520 bytes"],
1597
1278
  [
1598
1279
  [
1599
1280
  [
@@ -1606,9 +1287,7 @@
1606
1287
  "0100000000010100010000000000000000000000000000000000000000000000000000000000000000000000ffffffff010000000000000000015102fd08020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002755100000000",
1607
1288
  "P2SH,WITNESS"
1608
1289
  ],
1609
- [
1610
- "Transaction mixing all SigHash, segwit and normal inputs"
1611
- ],
1290
+ ["Transaction mixing all SigHash, segwit and normal inputs"],
1612
1291
  [
1613
1292
  [
1614
1293
  [
@@ -1687,9 +1366,7 @@
1687
1366
  "0100000000010c00010000000000000000000000000000000000000000000000000000000000000000000000ffffffff00010000000000000000000000000000000000000000000000000000000000000100000000ffffffff0001000000000000000000000000000000000000000000000000000000000000020000006a473044022026c2e65b33fcd03b2a3b0f25030f0244bd23cc45ae4dec0f48ae62255b1998a00220463aa3982b718d593a6b9e0044513fd67a5009c2fdccc59992cffc2b167889f4012103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc71ffffffff0001000000000000000000000000000000000000000000000000000000000000030000006a4730440220008bd8382911218dcb4c9f2e75bf5c5c3635f2f2df49b36994fde85b0be21a1a02205a539ef10fb4c778b522c1be852352ea06c67ab74200977c722b0bc68972575a012103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc71ffffffff0001000000000000000000000000000000000000000000000000000000000000040000006b483045022100d9436c32ff065127d71e1a20e319e4fe0a103ba0272743dbd8580be4659ab5d302203fd62571ee1fe790b182d078ecfd092a509eac112bea558d122974ef9cc012c7012103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc71ffffffff0001000000000000000000000000000000000000000000000000000000000000050000006a47304402200e2c149b114ec546015c13b2b464bbcb0cdc5872e6775787527af6cbc4830b6c02207e9396c6979fb15a9a2b96ca08a633866eaf20dc0ff3c03e512c1d5a1654f148012103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc71ffffffff0001000000000000000000000000000000000000000000000000000000000000060000006b483045022100b20e70d897dc15420bccb5e0d3e208d27bdd676af109abbd3f88dbdb7721e6d6022005836e663173fbdfe069f54cde3c2decd3d0ea84378092a5d9d85ec8642e8a41012103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc71ffffffff00010000000000000000000000000000000000000000000000000000000000000700000000ffffffff00010000000000000000000000000000000000000000000000000000000000000800000000ffffffff00010000000000000000000000000000000000000000000000000000000000000900000000ffffffff00010000000000000000000000000000000000000000000000000000000000000a00000000ffffffff00010000000000000000000000000000000000000000000000000000000000000b0000006a47304402206639c6e05e3b9d2675a7f3876286bdf7584fe2bbd15e0ce52dd4e02c0092cdc60220757d60b0a61fc95ada79d23746744c72bac1545a75ff6c2c7cdb6ae04e7e9592012103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc71ffffffff0ce8030000000000000151e9030000000000000151ea030000000000000151eb030000000000000151ec030000000000000151ed030000000000000151ee030000000000000151ef030000000000000151f0030000000000000151f1030000000000000151f2030000000000000151f30300000000000001510248304502210082219a54f61bf126bfc3fa068c6e33831222d1d7138c6faa9d33ca87fd4202d6022063f9902519624254d7c2c8ea7ba2d66ae975e4e229ae38043973ec707d5d4a83012103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc7102473044022017fb58502475848c1b09f162cb1688d0920ff7f142bed0ef904da2ccc88b168f02201798afa61850c65e77889cbcd648a5703b487895517c88f85cdd18b021ee246a012103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc7100000000000247304402202830b7926e488da75782c81a54cd281720890d1af064629ebf2e31bf9f5435f30220089afaa8b455bbeb7d9b9c3fe1ed37d07685ade8455c76472cda424d93e4074a012103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc7102473044022026326fcdae9207b596c2b05921dbac11d81040c4d40378513670f19d9f4af893022034ecd7a282c0163b89aaa62c22ec202cef4736c58cd251649bad0d8139bcbf55012103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc71024730440220214978daeb2f38cd426ee6e2f44131a33d6b191af1c216247f1dd7d74c16d84a02205fdc05529b0bc0c430b4d5987264d9d075351c4f4484c16e91662e90a72aab24012103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc710247304402204a6e9f199dc9672cf2ff8094aaa784363be1eb62b679f7ff2df361124f1dca3302205eeb11f70fab5355c9c8ad1a0700ea355d315e334822fa182227e9815308ee8f012103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc710000000000",
1688
1367
  "P2SH,WITNESS"
1689
1368
  ],
1690
- [
1691
- "Unknown version witness program with empty witness"
1692
- ],
1369
+ ["Unknown version witness program with empty witness"],
1693
1370
  [
1694
1371
  [
1695
1372
  [
@@ -1702,17 +1379,10 @@
1702
1379
  "010000000100010000000000000000000000000000000000000000000000000000000000000000000000ffffffff01e803000000000000015100000000",
1703
1380
  "P2SH,WITNESS"
1704
1381
  ],
1705
- [
1706
- "Witness SIGHASH_SINGLE with output out of bound"
1707
- ],
1382
+ ["Witness SIGHASH_SINGLE with output out of bound"],
1708
1383
  [
1709
1384
  [
1710
- [
1711
- "0000000000000000000000000000000000000000000000000000000000000100",
1712
- 0,
1713
- "0x51",
1714
- 1000
1715
- ],
1385
+ ["0000000000000000000000000000000000000000000000000000000000000100", 0, "0x51", 1000],
1716
1386
  [
1717
1387
  "0000000000000000000000000000000000000000000000000000000000000100",
1718
1388
  1,
@@ -1723,9 +1393,7 @@
1723
1393
  "0100000000010200010000000000000000000000000000000000000000000000000000000000000000000000ffffffff00010000000000000000000000000000000000000000000000000000000000000100000000ffffffff01d00700000000000001510003483045022100e078de4e96a0e05dcdc0a414124dd8475782b5f3f0ed3f607919e9a5eeeb22bf02201de309b3a3109adb3de8074b3610d4cf454c49b61247a2779a0bcbf31c889333032103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc711976a9144c9c3dfac4207d5d8cb89df5722cb3d712385e3f88ac00000000",
1724
1394
  "P2SH,WITNESS"
1725
1395
  ],
1726
- [
1727
- "1 byte push should not be considered a witness scriptPubKey"
1728
- ],
1396
+ ["1 byte push should not be considered a witness scriptPubKey"],
1729
1397
  [
1730
1398
  [
1731
1399
  [
@@ -1738,9 +1406,7 @@
1738
1406
  "010000000100010000000000000000000000000000000000000000000000000000000000000000000000ffffffff01e803000000000000015100000000",
1739
1407
  "P2SH,WITNESS,DISCOURAGE_UPGRADABLE_WITNESS_PROGRAM"
1740
1408
  ],
1741
- [
1742
- "41 bytes push should not be considered a witness scriptPubKey"
1743
- ],
1409
+ ["41 bytes push should not be considered a witness scriptPubKey"],
1744
1410
  [
1745
1411
  [
1746
1412
  [
@@ -1753,9 +1419,7 @@
1753
1419
  "010000000100010000000000000000000000000000000000000000000000000000000000000000000000ffffffff01e803000000000000015100000000",
1754
1420
  "P2SH,WITNESS,DISCOURAGE_UPGRADABLE_WITNESS_PROGRAM"
1755
1421
  ],
1756
- [
1757
- "The witness version must use OP_1 to OP_16 only"
1758
- ],
1422
+ ["The witness version must use OP_1 to OP_16 only"],
1759
1423
  [
1760
1424
  [
1761
1425
  [
@@ -1768,9 +1432,7 @@
1768
1432
  "010000000100010000000000000000000000000000000000000000000000000000000000000000000000ffffffff01e803000000000000015100000000",
1769
1433
  "P2SH,WITNESS,DISCOURAGE_UPGRADABLE_WITNESS_PROGRAM"
1770
1434
  ],
1771
- [
1772
- "The witness program push must be canonical"
1773
- ],
1435
+ ["The witness program push must be canonical"],
1774
1436
  [
1775
1437
  [
1776
1438
  [
@@ -1783,9 +1445,7 @@
1783
1445
  "010000000100010000000000000000000000000000000000000000000000000000000000000000000000ffffffff01e803000000000000015100000000",
1784
1446
  "P2SH,WITNESS,DISCOURAGE_UPGRADABLE_WITNESS_PROGRAM"
1785
1447
  ],
1786
- [
1787
- "Witness Single|AnyoneCanPay does not hash input's position"
1788
- ],
1448
+ ["Witness Single|AnyoneCanPay does not hash input's position"],
1789
1449
  [
1790
1450
  [
1791
1451
  [
@@ -1804,9 +1464,7 @@
1804
1464
  "0100000000010200010000000000000000000000000000000000000000000000000000000000000000000000ffffffff00010000000000000000000000000000000000000000000000000000000000000100000000ffffffff02e8030000000000000151e90300000000000001510247304402206d59682663faab5e4cb733c562e22cdae59294895929ec38d7c016621ff90da0022063ef0af5f970afe8a45ea836e3509b8847ed39463253106ac17d19c437d3d56b832103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc710248304502210085001a820bfcbc9f9de0298af714493f8a37b3b354bfd21a7097c3e009f2018c022050a8b4dbc8155d4d04da2f5cdd575dcf8dd0108de8bec759bd897ea01ecb3af7832103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc7100000000",
1805
1465
  "P2SH,WITNESS"
1806
1466
  ],
1807
- [
1808
- "Witness Single|AnyoneCanPay does not hash input's position (permutation)"
1809
- ],
1467
+ ["Witness Single|AnyoneCanPay does not hash input's position (permutation)"],
1810
1468
  [
1811
1469
  [
1812
1470
  [
@@ -1825,9 +1483,7 @@
1825
1483
  "0100000000010200010000000000000000000000000000000000000000000000000000000000000100000000ffffffff00010000000000000000000000000000000000000000000000000000000000000000000000ffffffff02e9030000000000000151e80300000000000001510248304502210085001a820bfcbc9f9de0298af714493f8a37b3b354bfd21a7097c3e009f2018c022050a8b4dbc8155d4d04da2f5cdd575dcf8dd0108de8bec759bd897ea01ecb3af7832103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc710247304402206d59682663faab5e4cb733c562e22cdae59294895929ec38d7c016621ff90da0022063ef0af5f970afe8a45ea836e3509b8847ed39463253106ac17d19c437d3d56b832103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc7100000000",
1826
1484
  "P2SH,WITNESS"
1827
1485
  ],
1828
- [
1829
- "Non witness Single|AnyoneCanPay hash input's position"
1830
- ],
1486
+ ["Non witness Single|AnyoneCanPay hash input's position"],
1831
1487
  [
1832
1488
  [
1833
1489
  [
@@ -1846,12 +1502,8 @@
1846
1502
  "01000000020001000000000000000000000000000000000000000000000000000000000000000000004847304402202a0b4b1294d70540235ae033d78e64b4897ec859c7b6f1b2b1d8a02e1d46006702201445e756d2254b0f1dfda9ab8e1e1bc26df9668077403204f32d16a49a36eb6983ffffffff00010000000000000000000000000000000000000000000000000000000000000100000049483045022100acb96cfdbda6dc94b489fd06f2d720983b5f350e31ba906cdbd800773e80b21c02200d74ea5bdf114212b4bbe9ed82c36d2e369e302dff57cb60d01c428f0bd3daab83ffffffff02e8030000000000000151e903000000000000015100000000",
1847
1503
  "P2SH,WITNESS"
1848
1504
  ],
1849
- [
1850
- "BIP143 examples: details and private keys are available in BIP143"
1851
- ],
1852
- [
1853
- "BIP143 example: P2WSH with OP_CODESEPARATOR and out-of-range SIGHASH_SINGLE."
1854
- ],
1505
+ ["BIP143 examples: details and private keys are available in BIP143"],
1506
+ ["BIP143 example: P2WSH with OP_CODESEPARATOR and out-of-range SIGHASH_SINGLE."],
1855
1507
  [
1856
1508
  [
1857
1509
  [
@@ -1870,9 +1522,7 @@
1870
1522
  "01000000000102fe3dc9208094f3ffd12645477b3dc56f60ec4fa8e6f5d67c565d1c6b9216b36e000000004847304402200af4e47c9b9629dbecc21f73af989bdaa911f7e6f6c2e9394588a3aa68f81e9902204f3fcf6ade7e5abb1295b6774c8e0abd94ae62217367096bc02ee5e435b67da201ffffffff0815cf020f013ed6cf91d29f4202e8a58726b1ac6c79da47c23d1bee0a6925f80000000000ffffffff0100f2052a010000001976a914a30741f8145e5acadf23f751864167f32e0963f788ac000347304402200de66acf4527789bfda55fc5459e214fa6083f936b430a762c629656216805ac0220396f550692cd347171cbc1ef1f51e15282e837bb2b30860dc77c8f78bc8501e503473044022027dc95ad6b740fe5129e7e62a75dd00f291a2aeb1200b84b09d9e3789406b6c002201a9ecd315dd6a0e632ab20bbb98948bc0c6fb204f2c286963bb48517a7058e27034721026dccc749adc2a9d0d89497ac511f760f45c47dc5ed9cf352a58ac706453880aeadab210255a9626aebf5e29c0e6538428ba0d1dcf6ca98ffdf086aa8ced5e0d0215ea465ac00000000",
1871
1523
  "P2SH,WITNESS"
1872
1524
  ],
1873
- [
1874
- "BIP143 example: P2WSH with unexecuted OP_CODESEPARATOR and SINGLE|ANYONECANPAY"
1875
- ],
1525
+ ["BIP143 example: P2WSH with unexecuted OP_CODESEPARATOR and SINGLE|ANYONECANPAY"],
1876
1526
  [
1877
1527
  [
1878
1528
  [
@@ -1891,9 +1541,7 @@
1891
1541
  "01000000000102e9b542c5176808107ff1df906f46bb1f2583b16112b95ee5380665ba7fcfc0010000000000ffffffff80e68831516392fcd100d186b3c2c7b95c80b53c77e77c35ba03a66b429a2a1b0000000000ffffffff0280969800000000001976a914de4b231626ef508c9a74a8517e6783c0546d6b2888ac80969800000000001976a9146648a8cd4531e1ec47f35916de8e259237294d1e88ac02483045022100f6a10b8604e6dc910194b79ccfc93e1bc0ec7c03453caaa8987f7d6c3413566002206216229ede9b4d6ec2d325be245c5b508ff0339bf1794078e20bfe0babc7ffe683270063ab68210392972e2eb617b2388771abe27235fd5ac44af8e61693261550447a4c3e39da98ac024730440220032521802a76ad7bf74d0e2c218b72cf0cbc867066e2e53db905ba37f130397e02207709e2188ed7f08f4c952d9d13986da504502b8c3be59617e043552f506c46ff83275163ab68210392972e2eb617b2388771abe27235fd5ac44af8e61693261550447a4c3e39da98ac00000000",
1892
1542
  "P2SH,WITNESS"
1893
1543
  ],
1894
- [
1895
- "BIP143 example: Same as the previous example with input-output paris swapped"
1896
- ],
1544
+ ["BIP143 example: Same as the previous example with input-output paris swapped"],
1897
1545
  [
1898
1546
  [
1899
1547
  [
@@ -1912,9 +1560,7 @@
1912
1560
  "0100000000010280e68831516392fcd100d186b3c2c7b95c80b53c77e77c35ba03a66b429a2a1b0000000000ffffffffe9b542c5176808107ff1df906f46bb1f2583b16112b95ee5380665ba7fcfc0010000000000ffffffff0280969800000000001976a9146648a8cd4531e1ec47f35916de8e259237294d1e88ac80969800000000001976a914de4b231626ef508c9a74a8517e6783c0546d6b2888ac024730440220032521802a76ad7bf74d0e2c218b72cf0cbc867066e2e53db905ba37f130397e02207709e2188ed7f08f4c952d9d13986da504502b8c3be59617e043552f506c46ff83275163ab68210392972e2eb617b2388771abe27235fd5ac44af8e61693261550447a4c3e39da98ac02483045022100f6a10b8604e6dc910194b79ccfc93e1bc0ec7c03453caaa8987f7d6c3413566002206216229ede9b4d6ec2d325be245c5b508ff0339bf1794078e20bfe0babc7ffe683270063ab68210392972e2eb617b2388771abe27235fd5ac44af8e61693261550447a4c3e39da98ac00000000",
1913
1561
  "P2SH,WITNESS"
1914
1562
  ],
1915
- [
1916
- "BIP143 example: P2SH-P2WSH 6-of-6 multisig signed with 6 different SIGHASH types"
1917
- ],
1563
+ ["BIP143 example: P2SH-P2WSH 6-of-6 multisig signed with 6 different SIGHASH types"],
1918
1564
  [
1919
1565
  [
1920
1566
  [
@@ -1927,9 +1573,7 @@
1927
1573
  "0100000000010136641869ca081e70f394c6948e8af409e18b619df2ed74aa106c1ca29787b96e0100000023220020a16b5755f7f6f96dbd65f5f0d6ab9418b89af4b1f14a1bb8a09062c35f0dcb54ffffffff0200e9a435000000001976a914389ffce9cd9ae88dcc0631e88a821ffdbe9bfe2688acc0832f05000000001976a9147480a33f950689af511e6e84c138dbbd3c3ee41588ac080047304402206ac44d672dac41f9b00e28f4df20c52eeb087207e8d758d76d92c6fab3b73e2b0220367750dbbe19290069cba53d096f44530e4f98acaa594810388cf7409a1870ce01473044022068c7946a43232757cbdf9176f009a928e1cd9a1a8c212f15c1e11ac9f2925d9002205b75f937ff2f9f3c1246e547e54f62e027f64eefa2695578cc6432cdabce271502473044022059ebf56d98010a932cf8ecfec54c48e6139ed6adb0728c09cbe1e4fa0915302e022007cd986c8fa870ff5d2b3a89139c9fe7e499259875357e20fcbb15571c76795403483045022100fbefd94bd0a488d50b79102b5dad4ab6ced30c4069f1eaa69a4b5a763414067e02203156c6a5c9cf88f91265f5a942e96213afae16d83321c8b31bb342142a14d16381483045022100a5263ea0553ba89221984bd7f0b13613db16e7a70c549a86de0cc0444141a407022005c360ef0ae5a5d4f9f2f87a56c1546cc8268cab08c73501d6b3be2e1e1a8a08824730440220525406a1482936d5a21888260dc165497a90a15669636d8edca6b9fe490d309c022032af0c646a34a44d1f4576bf6a4a74b67940f8faa84c7df9abe12a01a11e2b4783cf56210307b8ae49ac90a048e9b53357a2354b3334e9c8bee813ecb98e99a7e07e8c3ba32103b28f0c28bfab54554ae8c658ac5c3e0ce6e79ad336331f78c428dd43eea8449b21034b8113d703413d57761b8b9781957b8c0ac1dfe69f492580ca4195f50376ba4a21033400f6afecb833092a9a21cfdf1ed1376e58c5d1f47de74683123987e967a8f42103a6d48b1131e94ba04d9737d61acdaa1322008af9602b3b14862c07a1789aac162102d8b661b0b3302ee2f162b09e07a55ad5dfbe673a9f01d9f0c19617681024306b56ae00000000",
1928
1574
  "P2SH,WITNESS"
1929
1575
  ],
1930
- [
1931
- "FindAndDelete tests"
1932
- ],
1576
+ ["FindAndDelete tests"],
1933
1577
  [
1934
1578
  "This is a test of FindAndDelete. The first tx is a spend of normal P2SH and the second tx is a spend of bare P2WSH."
1935
1579
  ],
@@ -1939,12 +1583,8 @@
1939
1583
  [
1940
1584
  "The signature is <0x30450220487fb382c4974de3f7d834c1b617fe15860828c7f96454490edd6d891556dcc9022100baf95feb48f845d5bfc9882eb6aeefa1bc3790e39f59eaa46ff7f15ae626c53e01> <pubkey>,"
1941
1585
  ],
1942
- [
1943
- "where the pubkey is obtained through key recovery with sig and correct sighash."
1944
- ],
1945
- [
1946
- "This is to show that FindAndDelete is applied only to non-segwit scripts"
1947
- ],
1586
+ ["where the pubkey is obtained through key recovery with sig and correct sighash."],
1587
+ ["This is to show that FindAndDelete is applied only to non-segwit scripts"],
1948
1588
  [
1949
1589
  "Non-segwit: correct sighash (with FindAndDelete) = 1ba1fe3bc90c5d1265460e684ce6774e324f0fabdf67619eda729e64e8b6bc08"
1950
1590
  ],
@@ -1975,18 +1615,12 @@
1975
1615
  "0100000000010169c12106097dc2e0526493ef67f21269fe888ef05c7a3a5dacab38e1ac8387f14c1d000000ffffffff01010000000000000000034830450220487fb382c4974de3f7d834c1b617fe15860828c7f96454490edd6d891556dcc9022100baf95feb48f845d5bfc9882eb6aeefa1bc3790e39f59eaa46ff7f15ae626c53e012102a9781d66b61fb5a7ef00ac5ad5bc6ffc78be7b44a566e3c87870e1079368df4c4aad4830450220487fb382c4974de3f7d834c1b617fe15860828c7f96454490edd6d891556dcc9022100baf95feb48f845d5bfc9882eb6aeefa1bc3790e39f59eaa46ff7f15ae626c53e0100000000",
1976
1616
  "P2SH,WITNESS"
1977
1617
  ],
1978
- [
1979
- "This is multisig version of the FindAndDelete tests"
1980
- ],
1981
- [
1982
- "Script is 2 CHECKMULTISIGVERIFY <sig1> <sig2> DROP"
1983
- ],
1618
+ ["This is multisig version of the FindAndDelete tests"],
1619
+ ["Script is 2 CHECKMULTISIGVERIFY <sig1> <sig2> DROP"],
1984
1620
  [
1985
1621
  "52af4830450220487fb382c4974de3f7d834c1b617fe15860828c7f96454490edd6d891556dcc9022100baf95feb48f845d5bfc9882eb6aeefa1bc3790e39f59eaa46ff7f15ae626c53e0148304502205286f726690b2e9b0207f0345711e63fa7012045b9eb0f19c2458ce1db90cf43022100e89f17f86abc5b149eba4115d4f128bcf45d77fb3ecdd34f594091340c0395960175"
1986
1622
  ],
1987
- [
1988
- "Signature is 0 <sig1> <sig2> 2 <key1> <key2>"
1989
- ],
1623
+ ["Signature is 0 <sig1> <sig2> 2 <key1> <key2>"],
1990
1624
  [
1991
1625
  "Non-segwit: correct sighash (with FindAndDelete) = 1d50f00ba4db2917b903b0ec5002e017343bb38876398c9510570f5dce099295"
1992
1626
  ],
@@ -2017,7 +1651,5 @@
2017
1651
  "010000000001019275cb8d4a485ce95741c013f7c0d28722160008021bb469a11982d47a6628964c1d000000ffffffff0101000000000000000007004830450220487fb382c4974de3f7d834c1b617fe15860828c7f96454490edd6d891556dcc9022100baf95feb48f845d5bfc9882eb6aeefa1bc3790e39f59eaa46ff7f15ae626c53e0148304502205286f726690b2e9b0207f0345711e63fa7012045b9eb0f19c2458ce1db90cf43022100e89f17f86abc5b149eba4115d4f128bcf45d77fb3ecdd34f594091340c0395960101022102966f109c54e85d3aee8321301136cedeb9fc710fdef58a9de8a73942f8e567c021034ffc99dd9a79dd3cb31e2ab3e0b09e0e67db41ac068c625cd1f491576016c84e9552af4830450220487fb382c4974de3f7d834c1b617fe15860828c7f96454490edd6d891556dcc9022100baf95feb48f845d5bfc9882eb6aeefa1bc3790e39f59eaa46ff7f15ae626c53e0148304502205286f726690b2e9b0207f0345711e63fa7012045b9eb0f19c2458ce1db90cf43022100e89f17f86abc5b149eba4115d4f128bcf45d77fb3ecdd34f594091340c039596017500000000",
2018
1652
  "P2SH,WITNESS"
2019
1653
  ],
2020
- [
2021
- "Make diffs cleaner by leaving a comment here without comma at the end"
2022
- ]
1654
+ ["Make diffs cleaner by leaving a comment here without comma at the end"]
2023
1655
  ]