Skip to content

Commit 55ff245

Browse files
committed
Update reference test data
copied from bitcoin core at 1444ed855f438f1270104fca259ce61b99ed5cdb
1 parent 74641a7 commit 55ff245

File tree

9 files changed

+115
-27
lines changed

9 files changed

+115
-27
lines changed

src/commonTest/kotlin/fr/acinq/bitcoin/reference/Base58ReferenceTestsCommon.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Base58ReferenceTestsCommon {
3636
val expected = it[1].jsonPrimitive.content
3737
assertEquals(Base58.encode(Hex.decode(hex)), expected)
3838
val decoded = Base58.decode(expected)
39-
assertEquals(Hex.encode(decoded), hex)
39+
assertEquals(Hex.encode(decoded).lowercase(), hex.lowercase())
4040
}
4141
}
4242

src/commonTest/kotlin/fr/acinq/bitcoin/reference/KeyEncodingTestsCommon.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class KeyEncodingTestsCommon {
7979
}
8080
val prefix = when (chain) {
8181
"main" -> "bc"
82-
"test", "signet" -> "tb"
82+
"test", "signet", "testnet4" -> "tb"
8383
"regtest" -> "bcrt"
8484
else -> throw IllegalArgumentException("invalid chain $chain")
8585
}

src/commonTest/kotlin/fr/acinq/bitcoin/reference/ScriptTestsCommon.kt

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class ScriptTestsCommon {
5252
runTest(it.jsonArray)
5353
count += 1
5454
}
55-
assertEquals(1207, count)
55+
assertEquals(1212, count)
5656
}
5757

5858

@@ -176,8 +176,27 @@ class ScriptTestsCommon {
176176
comments: String?,
177177
expectedText: String
178178
) {
179-
val witness = ScriptWitness(witnessText.map { ByteVector(it) })
180-
val scriptPubKey = parseFromText(scriptPubKeyText)
179+
val witnessStack = mutableListOf<ByteVector>()
180+
val priv = PrivateKey(ByteVector32.One)
181+
var leaf: ScriptTree.Leaf? = null
182+
183+
witnessText.map {
184+
when {
185+
it.startsWith("#SCRIPT#") -> witnessStack.add(parseFromText(it.removePrefix("#SCRIPT#")).byteVector())
186+
it.startsWith("#CONTROLBLOCK#") -> {
187+
leaf = ScriptTree.Leaf(witnessStack.last(), Script.TAPROOT_LEAF_TAPSCRIPT)
188+
val controlBlock = Script.ControlBlock.build(priv.xOnlyPublicKey(), leaf, leaf)
189+
witnessStack.add(controlBlock)
190+
}
191+
else -> witnessStack.add(ByteVector(it))
192+
}
193+
}
194+
val witness = ScriptWitness(witnessStack)
195+
val scriptPubKey = if (scriptPubKeyText == "0x51 0x20 #TAPROOTOUTPUT#") {
196+
Script.write(Script.pay2tr(priv.xOnlyPublicKey(), leaf))
197+
} else {
198+
parseFromText(scriptPubKeyText)
199+
}
181200
val scriptSig = parseFromText(scriptSigText)
182201
val tx = spendingTx(scriptSig, creditTx(scriptPubKey, amount)).updateWitness(0, witness)
183202
val ctx = Script.Context(tx, 0, amount, listOf())

src/commonTest/kotlin/fr/acinq/bitcoin/reference/TransactionTestsCommon.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class TransactionTestsCommon {
107107
fun `reference valid tx tests`() {
108108
val tests = TestHelpers.readResourceAsJson("data/tx_valid.json")
109109
val count = process(tests.jsonArray, true)
110-
assertEquals(119, count)
110+
assertEquals(120, count)
111111
}
112112

113113
@Test

src/commonTest/resources/data/base58_encode_decode.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@
1111
["ecac89cad93923c02321", "EJDM8drfXA6uyA"],
1212
["10c8511e", "Rt5zm"],
1313
["00000000000000000000", "1111111111"],
14+
["00000000000000000000000000000000000000000000000000000000000000000000000000000000", "1111111111111111111111111111111111111111"],
15+
["00000000000000000000000000000000000000000000000000000000000000000000000000000001", "1111111111111111111111111111111111111112"],
16+
["0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ec39d04c37e71e5d591881f6", "111111111111111111111111111111111111111111111111111111111111111111111111111111111111115TYzLYH1udmLdzCLM"],
1417
["000111d38e5fc9071ffcd20b4a763cc9ae4f252bb4e48fd66a835e252ada93ff480d6dd43dc62a641155a5", "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"],
15-
["000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff", "1cWB5HCBdLjAuqGGReWE3R3CguuwSjw6RHn39s2yuDRTS5NsBgNiFpWgAnEx6VQi8csexkgYw3mdYrMHr8x9i7aEwP8kZ7vccXWqKDvGv3u1GxFKPuAkn8JCPPGDMf3vMMnbzm6Nh9zh1gcNsMvH3ZNLmP5fSG6DGbbi2tuwMWPthr4boWwCxf7ewSgNQeacyozhKDDQQ1qL5fQFUW52QKUZDZ5fw3KXNQJMcNTcaB723LchjeKun7MuGW5qyCBZYzA1KjofN1gYBV3NqyhQJ3Ns746GNuf9N2pQPmHz4xpnSrrfCvy6TVVz5d4PdrjeshsWQwpZsZGzvbdAdN8MKV5QsBDY"]
18+
["000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff", "1cWB5HCBdLjAuqGGReWE3R3CguuwSjw6RHn39s2yuDRTS5NsBgNiFpWgAnEx6VQi8csexkgYw3mdYrMHr8x9i7aEwP8kZ7vccXWqKDvGv3u1GxFKPuAkn8JCPPGDMf3vMMnbzm6Nh9zh1gcNsMvH3ZNLmP5fSG6DGbbi2tuwMWPthr4boWwCxf7ewSgNQeacyozhKDDQQ1qL5fQFUW52QKUZDZ5fw3KXNQJMcNTcaB723LchjeKun7MuGW5qyCBZYzA1KjofN1gYBV3NqyhQJ3Ns746GNuf9N2pQPmHz4xpnSrrfCvy6TVVz5d4PdrjeshsWQwpZsZGzvbdAdN8MKV5QsBDY"],
19+
["271F359E", "zzzzy"],
20+
["271F359F", "zzzzz"],
21+
["271F35A0", "211111"],
22+
["271F35A1", "211112"]
1623
]

src/commonTest/resources/data/key_io_valid.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
"mzK2FFDEhxqHcmrJw1ysqFkVyhUULo45hZ",
2020
"76a914ce28b26c57472737f5c3561a1761185bd8589a4388ac",
2121
{
22-
"chain": "test",
22+
"chain": "testnet4",
2323
"isPrivkey": false
2424
}
2525
],
2626
[
2727
"2NC2hEhe28ULKAJkW5MjZ3jtTMJdvXmByvK",
2828
"a914ce0bba75891ff9ec60148d4bd4a09ee2dc5c933187",
2929
{
30-
"chain": "test",
30+
"chain": "testnet4",
3131
"isPrivkey": false
3232
}
3333
],
@@ -85,7 +85,7 @@
8585
"92ZdE5HoLafywnTBbzPxbvRmp75pSfzvdU3XaZGh1cToipgdHVh",
8686
"80c32d81e91bdea04cd7a3819b32275fc3298af4c7ec87eb0099527d041ced5c",
8787
{
88-
"chain": "test",
88+
"chain": "testnet4",
8989
"isCompressed": false,
9090
"isPrivkey": true
9191
}
@@ -94,7 +94,7 @@
9494
"cV83kKisF3RQSvXbUCm9ox3kaz5JjEUBWcx8tNydfGJcyeUxuH47",
9595
"e0fcd4ce4e3d0e3de091f21415bb7cd011fac288c42020a879f28c2a4387df9b",
9696
{
97-
"chain": "test",
97+
"chain": "testnet4",
9898
"isCompressed": true,
9999
"isPrivkey": true
100100
}
@@ -175,7 +175,7 @@
175175
"tb1qcrh3yqn4nlleplcez2yndq2ry8h9ncg3qh7n54",
176176
"0014c0ef1202759fff90ff19128936814321ee59e111",
177177
{
178-
"chain": "test",
178+
"chain": "testnet4",
179179
"isPrivkey": false,
180180
"tryCaseFlip": true
181181
}
@@ -184,7 +184,7 @@
184184
"tb1quyl9ujpgwr2chdzdnnalen48sup245vdfnh2jxhsuq3yx80rrwlq5hqfe4",
185185
"0020e13e5e482870d58bb44d9cfbfccea78702aad18d4ceea91af0e022431de31bbe",
186186
{
187-
"chain": "test",
187+
"chain": "testnet4",
188188
"isPrivkey": false,
189189
"tryCaseFlip": true
190190
}
@@ -193,7 +193,7 @@
193193
"tb1p35n52jy6xkm4wd905tdy8qtagrn73kqdz73xe4zxpvq9t3fp50aqk3s6gz",
194194
"51208d2745489a35b75734afa2da43817d40e7e8d80d17a26cd4460b0055c521a3fa",
195195
{
196-
"chain": "test",
196+
"chain": "testnet4",
197197
"isPrivkey": false,
198198
"tryCaseFlip": true
199199
}
@@ -202,7 +202,7 @@
202202
"tb1rgv5m6uvdk3kc7qsuz0c79v88ycr5w4wa",
203203
"53104329bd718db46d8f021c13f1e2b0e726",
204204
{
205-
"chain": "test",
205+
"chain": "testnet4",
206206
"isPrivkey": false,
207207
"tryCaseFlip": true
208208
}
@@ -299,15 +299,15 @@
299299
"n4YNbYuFdPwFrxSP8sjHFbAhUbLMUiY9jE",
300300
"76a914fc8f9851f3c1e4719cd0b8e4816dd4e88c72e52888ac",
301301
{
302-
"chain": "test",
302+
"chain": "testnet4",
303303
"isPrivkey": false
304304
}
305305
],
306306
[
307307
"2NAeQVZayzVFAtgeC3iYJsjpjWDmsDph71A",
308308
"a914bedc797342c03fd7a346c4c7857ca03d467013b687",
309309
{
310-
"chain": "test",
310+
"chain": "testnet4",
311311
"isPrivkey": false
312312
}
313313
],
@@ -365,7 +365,7 @@
365365
"921M1RNxghFcsVGqAJksQVbSgx36Yz4u6vebfz1wDujNvgNt93B",
366366
"3777b341c45e2a9b9bf6bfb71dc7d129f64f1b9406ed4f93ade8f56065f1b732",
367367
{
368-
"chain": "test",
368+
"chain": "testnet4",
369369
"isCompressed": false,
370370
"isPrivkey": true
371371
}
@@ -374,7 +374,7 @@
374374
"cNEnbfF2fcxmmCLWqMAaq6fxJvVkwMbyU3kCbpQznz4Z1j6TZDGb",
375375
"1397b0d4a03e1ab2c54dd9af99ce1ecbfb90c80a58886da95e1181a55703d96b",
376376
{
377-
"chain": "test",
377+
"chain": "testnet4",
378378
"isCompressed": true,
379379
"isPrivkey": true
380380
}
@@ -455,7 +455,7 @@
455455
"tb1ql4k5ayv7p7w0t0ge7tpntgpkgw53g2payxkszr",
456456
"0014fd6d4e919e0f9cf5bd19f2c335a03643a914283d",
457457
{
458-
"chain": "test",
458+
"chain": "testnet4",
459459
"isPrivkey": false,
460460
"tryCaseFlip": true
461461
}
@@ -464,7 +464,7 @@
464464
"tb1q9jx3x2qqdpempxrcfgyrkjd5fzeacaqj4ua7cs7fe2sfd2wdaueq5wn26y",
465465
"00202c8d1328006873b098784a083b49b448b3dc7412af3bec43c9caa096a9cdef32",
466466
{
467-
"chain": "test",
467+
"chain": "testnet4",
468468
"isPrivkey": false,
469469
"tryCaseFlip": true
470470
}
@@ -473,7 +473,7 @@
473473
"tb1pdswckwd9ym5yf5eyzg8j4jjwnzla8y0tf9cp7aasfkek0u29sz9qfr00yf",
474474
"51206c1d8b39a526e844d324120f2aca4e98bfd391eb49701f77b04db367f145808a",
475475
{
476-
"chain": "test",
476+
"chain": "testnet4",
477477
"isPrivkey": false,
478478
"tryCaseFlip": true
479479
}
@@ -482,7 +482,7 @@
482482
"tb1r0ecpfxg2udhtc556gqrpwwhk4sw3f0kc",
483483
"53107e7014990ae36ebc529a4006173af6ac",
484484
{
485-
"chain": "test",
485+
"chain": "testnet4",
486486
"isPrivkey": false,
487487
"tryCaseFlip": true
488488
}
@@ -579,15 +579,15 @@
579579
"mwgS2HRbjyfYxFnR1nF9VKLvmdgMfFBmGq",
580580
"76a914b14ce7070b53cb0e4b5b5f6e253e876990aeca2e88ac",
581581
{
582-
"chain": "test",
582+
"chain": "testnet4",
583583
"isPrivkey": false
584584
}
585585
],
586586
[
587587
"2MwBVrJQ76BdaGD76CTmou8cZzQYLpe4NqU",
588588
"a9142b2c149cde619eae3d7fe995243b76a3417541aa87",
589589
{
590-
"chain": "test",
590+
"chain": "testnet4",
591591
"isPrivkey": false
592592
}
593593
],

src/commonTest/resources/data/script_tests.json

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105
["25 24 23 22 21 20", "2ROT 2DROP 2DROP DROP 23 EQUAL", "P2SH,STRICTENC", "OK"],
106106
["25 24 23 22 21 20", "2ROT 2ROT 22 EQUAL", "P2SH,STRICTENC", "OK"],
107107
["25 24 23 22 21 20", "2ROT 2ROT 2ROT 20 EQUAL", "P2SH,STRICTENC", "OK"],
108+
["1 2 3 4 5 6", "2ROT DEPTH 6 EQUAL", "P2SH,STRICTENC", "OK"],
108109
["1 0", "SWAP 1 EQUALVERIFY 0 EQUAL", "P2SH,STRICTENC", "OK"],
109110
["0 1", "TUCK DEPTH 3 EQUALVERIFY SWAP 2DROP", "P2SH,STRICTENC", "OK"],
110111
["13 14", "2DUP ROT EQUALVERIFY EQUAL", "P2SH,STRICTENC", "OK"],
@@ -2610,6 +2611,63 @@
26102611
[["645168", 0.00000001], "0x22 0x0020f913eacf2e38a5d6fc3a8311d72ae704cb83866350a984dd3e5eb76d2a8c28e8", "HASH160 0x14 0xdbb7d1c0a56b7a9c423300c8cca6e6e065baf1dc EQUAL", "P2SH,WITNESS", "UNBALANCED_CONDITIONAL"],
26112612
[["645168", 0.00000001], "0x22 0x0020f913eacf2e38a5d6fc3a8311d72ae704cb83866350a984dd3e5eb76d2a8c28e8", "HASH160 0x14 0xdbb7d1c0a56b7a9c423300c8cca6e6e065baf1dc EQUAL", "P2SH,WITNESS,MINIMALIF", "UNBALANCED_CONDITIONAL"],
26122613

2614+
["Tapscript tests"],
2615+
[
2616+
[
2617+
"1ffe1234567890",
2618+
"00",
2619+
"#SCRIPT# HASH256 DUP SHA1 DROP DUP DROP TOALTSTACK HASH256 DUP DROP TOALTSTACK FROMALTSTACK",
2620+
"#CONTROLBLOCK#",
2621+
0.00000001
2622+
],
2623+
"",
2624+
"0x51 0x20 #TAPROOTOUTPUT#",
2625+
"P2SH,WITNESS,TAPROOT",
2626+
"OK",
2627+
"TAPSCRIPT Tests testing tapscript with many different op codes including ALTSTACK interactions"
2628+
],
2629+
[
2630+
[
2631+
"abcdef",
2632+
"#SCRIPT# 1 IF SHA256 ENDIF SIZE SWAP DROP 32 EQUAL",
2633+
"#CONTROLBLOCK#",
2634+
0.00000001
2635+
],
2636+
"",
2637+
"0x51 0x20 #TAPROOTOUTPUT#",
2638+
"P2SH,WITNESS,TAPROOT",
2639+
"OK",
2640+
"TAPSCRIPT Test IF conditional when true"
2641+
],
2642+
[
2643+
[
2644+
"abcdef",
2645+
"#SCRIPT# 0 IF SHA256 ENDIF SIZE SWAP DROP 32 EQUAL",
2646+
"#CONTROLBLOCK#",
2647+
0.00000001
2648+
],
2649+
"",
2650+
"0x51 0x20 #TAPROOTOUTPUT#",
2651+
"P2SH,WITNESS,TAPROOT",
2652+
"EVAL_FALSE",
2653+
"TAPSCRIPT Test IF conditional when false"
2654+
],
2655+
[
2656+
[
2657+
"aa",
2658+
"bb",
2659+
"cc",
2660+
"#SCRIPT# EQUAL IF DROP DROP ENDIF",
2661+
"#CONTROLBLOCK#",
2662+
0.00000001
2663+
],
2664+
"",
2665+
"0x51 0x20 #TAPROOTOUTPUT#",
2666+
"P2SH,WITNESS,TAPROOT",
2667+
"OK",
2668+
"TAPSCRIPT Test that DROP operations do not execute inside of a false IF conditional"
2669+
],
2670+
26132671
["NULLFAIL should cover all signatures and signatures only"],
26142672
["0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0", "0x01 0x14 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0x01 0x14 CHECKMULTISIG NOT", "DERSIG", "OK", "BIP66 and NULLFAIL-compliant"],
26152673
["0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0", "0x01 0x14 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0x01 0x14 CHECKMULTISIG NOT", "DERSIG,NULLFAIL", "OK", "BIP66 and NULLFAIL-compliant"],

src/commonTest/resources/data/tx_invalid.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@
246246
[[["0000000000000000000000000000000000000000000000000000000000000100", 0, "HASH160 0x14 0x7c17aff532f22beb54069942f9bf567a66133eaf EQUAL"]],
247247
"0200000001000100000000000000000000000000000000000000000000000000000000000000000000030251b2000000000100000000000000000000000000", "P2SH,CHECKSEQUENCEVERIFY"],
248248

249-
["Failure due to insufficient tx.nVersion (<2)"],
249+
["Failure due to insufficient tx.version (<2)"],
250250
[[["0000000000000000000000000000000000000000000000000000000000000100", 0, "0 CHECKSEQUENCEVERIFY 1"]],
251251
"010000000100010000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000", "CHECKSEQUENCEVERIFY"],
252252
[[["0000000000000000000000000000000000000000000000000000000000000100", 0, "4194304 CHECKSEQUENCEVERIFY"]],

src/commonTest/resources/data/tx_valid.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
["The following is 23b397edccd3740a74adb603c9756370fafcde9bcc4483eb271ecad09a94dd63"],
99
["It is of particular interest because it contains an invalidly-encoded signature which OpenSSL accepts"],
10-
["See http://r6.ca/blog/20111119T211504Z.html"],
10+
["See https://r6.ca/blog/20111119T211504Z.html"],
1111
["It is also the first OP_CHECKMULTISIG transaction in standard form"],
1212
[[["60a20bd93aa49ab4b28d514ec10b06e1829ce6818ec06cd3aabd013ebcdc4bb1", 0, "1 0x41 0x04cc71eb30d653c0c3163990c47b976f3fb3f37cccdcbedb169a1dfef58bbfbfaff7d8a473e7e2e6d317b87bafe8bde97e3cf8f065dec022b51d11fcdd0d348ac4 0x41 0x0461cbdcc5409fb4b4d42b51d33381354d80e550078cb532a34bfa2fcfdeb7d76519aecc62770f5b0e4ef8551946d8a540911abe3e7854a26f39f58b25c15342af 2 OP_CHECKMULTISIG"]],
1313
"0100000001b14bdcbc3e01bdaad36cc08e81e69c82e1060bc14e518db2b49aa43ad90ba26000000000490047304402203f16c6f40162ab686621ef3000b04e75418a0c0cb2d8aebeac894ae360ac1e780220ddc15ecdfc3507ac48e1681a33eb60996631bf6bf5bc0a0682c4db743ce7ca2b01ffffffff0140420f00000000001976a914660d4ef3a743e3e696ad990364e555c271ad504b88ac00000000", "DERSIG,LOW_S,STRICTENC"],
@@ -319,6 +319,10 @@
319319
[[["0000000000000000000000000000000000000000000000000000000000000100", 0, "HASH160 0x14 0x7c17aff532f22beb54069942f9bf567a66133eaf EQUAL"]],
320320
"0200000001000100000000000000000000000000000000000000000000000000000000000000000000030251b2010000000100000000000000000000000000", "NONE"],
321321

322+
["Valid CHECKSEQUENCEVERIFY even with negative tx version number"],
323+
[[["0000000000000000000000000000000000000000000000000000000000000100", 0, "HASH160 0x14 0x7c17aff532f22beb54069942f9bf567a66133eaf EQUAL"]],
324+
"ffffffff01000100000000000000000000000000000000000000000000000000000000000000000000030251b2010000000100000000000000000000000000", "NONE"],
325+
322326
["Valid P2WPKH (Private key of segwit tests is L5AQtV2HDm4xGsseLokK2VAT2EtYKcTm3c7HwqnJBFt9LdaQULsM)"],
323327
[[["0000000000000000000000000000000000000000000000000000000000000100", 0, "0x00 0x14 0x4c9c3dfac4207d5d8cb89df5722cb3d712385e3f", 1000]],
324328
"0100000000010100010000000000000000000000000000000000000000000000000000000000000000000000ffffffff01e8030000000000001976a9144c9c3dfac4207d5d8cb89df5722cb3d712385e3f88ac02483045022100cfb07164b36ba64c1b1e8c7720a56ad64d96f6ef332d3d37f9cb3c96477dc44502200a464cd7a9cf94cd70f66ce4f4f0625ef650052c7afcfe29d7d7e01830ff91ed012103596d3451025c19dbbdeb932d6bf8bfb4ad499b95b6f88db8899efac102e5fc7100000000", "NONE"],

0 commit comments

Comments
 (0)