Skip to content

Commit

Permalink
Port python tests json data
Browse files Browse the repository at this point in the history
  • Loading branch information
timemarkovqtum committed Mar 22, 2024
1 parent eeae1e5 commit 61726bf
Show file tree
Hide file tree
Showing 22 changed files with 2,244 additions and 344 deletions.
8 changes: 4 additions & 4 deletions test/functional/data/rpc_bip67.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"02ff12471208c14bd580709cb2358d98975247d8765f92bc25eab3b2763ed605f8"
],
"script": "522102fe6f0a5a297eb38c391581c4413e084773ea23954d93f7753db7dc0adc188b2f2102ff12471208c14bd580709cb2358d98975247d8765f92bc25eab3b2763ed605f852ae",
"address": "2N19tNw3Ss4L9QDERtCw7FhXb6jBsYmeXNu"
"address": "mQ61hbQfoYUo4wEyn8HhYv7vyM2kPfM1fT"
},
{
"keys": [
Expand All @@ -23,7 +23,7 @@
"02e2cc6bd5f45edd43bebe7cb9b675f0ce9ed3efe613b177588290ad188d11b404"
],
"script": "522102632b12f4ac5b1d1b72b2a3b508c19172de44f6f46bcee50ba33f3f9291e47ed021027735a29bae7780a9755fae7a1c4374c656ac6a69ea9f3697fda61bb99a4f3e772102e2cc6bd5f45edd43bebe7cb9b675f0ce9ed3efe613b177588290ad188d11b40453ae",
"address": "2N3sVXU7MZefmYnZhrVX2bA7LyH6vygFZZ7"
"address": "mSocr8UaW8pRDWaFkQsctNhgqtwoqhcdoH"
},
{
"keys": [
Expand All @@ -39,7 +39,7 @@
"030000000000000000000000000000000000004141414141414141414141414141"
],
"script": "522102000000000000000000000000000000000000414141414141414141414141414021020000000000000000000000000000000000004141414141414141414141414141210300000000000000000000000000000000000041414141414141414141414141402103000000000000000000000000000000000000414141414141414141414141414154ae",
"address": "2Mt3L9TcDUAfLpSoyB3SNYtJGLiU49DKEWJ"
"address": "mGyTU7ySQeozVApX4xnxr6tcDLJw2C3wwv"
},
{
"keys": [
Expand All @@ -53,6 +53,6 @@
"03e3818b65bcc73a7d64064106a859cc1a5a728c4345ff0b641209fba0d90de6e9"
],
"script": "5221021f2f6e1e50cb6a953935c3601284925decd3fd21bc445712576873fb8c6ebc1821022df8750480ad5b26950b25c7ba79d3e37d75f640f8e5d9bcd5b150a0f85014da2103e3818b65bcc73a7d64064106a859cc1a5a728c4345ff0b641209fba0d90de6e953ae",
"address": "2NFd5JqpwmQNz3gevZJ3rz9ofuHvqaP9Cye"
"address": "meZCdWCAhtXdiQfUTDQTHNQ1mumiLfURhA"
}
]
24 changes: 12 additions & 12 deletions test/functional/data/rpc_decodescript.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"5120eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
{
"asm": "1 eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
"address": "bcrt1pamhwamhwamhwamhwamhwamhwamhwamhwamhwamhwamhwamhwamhqz6nvlh",
"address": "qcrt1pamhwamhwamhwamhwamhwamhwamhwamhwamhwamhwamhwamhwamhq20gj3a",
"desc": "rawtr(eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee)#jk7c6kys",
"type": "witness_v1_taproot"
}
Expand All @@ -12,27 +12,27 @@
"5102eeee",
{
"asm": "1 -28398",
"address": "bcrt1pamhqk96edn",
"desc": "addr(bcrt1pamhqk96edn)#vkh8uj5a",
"address": "qcrt1pamhq8rnwjz",
"desc": "addr(qcrt1pamhq8rnwjz)#t9ta6vfy",
"type": "witness_unknown"
}
],
[
"0020eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
{
"asm": "0 eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
"address": "bcrt1qamhwamhwamhwamhwamhwamhwamhwamhwamhwamhwamhwamhwamhqgdn98t",
"desc": "addr(bcrt1qamhwamhwamhwamhwamhwamhwamhwamhwamhwamhwamhwamhwamhqgdn98t)#afaecevx",
"address": "qcrt1qamhwamhwamhwamhwamhwamhwamhwamhwamhwamhwamhwamhwamhqqcgmfp",
"desc": "addr(qcrt1qamhwamhwamhwamhwamhwamhwamhwamhwamhwamhwamhwamhwamhqqcgmfp)#dzh8gx4k",
"type": "witness_v0_scripthash",
"p2sh": "2MwGk8mw1GBP6U9D5X8gTvgvXpuknmAK3fo"
"p2sh": "mLCsTSJECfXk8sDdR434DuWshXbfiEsLsi"
}
],
[
"a914eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee87",
{
"asm": "OP_HASH160 eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee OP_EQUAL",
"address": "2NF2b3KS8xXb9XHvbRMXdZh8s5g92rUZHtp",
"desc": "addr(2NF2b3KS8xXb9XHvbRMXdZh8s5g92rUZHtp)#ywfcpmh9",
"address": "mdxiMyoMu1joC1w9KGtDrujCxHyueTdJCd",
"desc": "addr(mdxiMyoMu1joC1w9KGtDrujCxHyueTdJCd)#ev8wl60n",
"type": "scripthash"
}
],
Expand Down Expand Up @@ -66,14 +66,14 @@
"asm": "-28398",
"desc": "raw(02eeee)#5xzck7pr",
"type": "nonstandard",
"p2sh": "2N34iiGoUUkVSPiaaTFpJjB1FR9TXQu3PGM",
"p2sh": "mRzr2wAhREe64Sb8MBAu2PbbHmJQLx4MtX",
"segwit": {
"asm": "0 96c2368fc30514a438a8bd909f93c49a1549d77198ccbdb792043b666cb24f42",
"desc": "addr(bcrt1qjmprdr7rq522gw9ghkgfly7yng25n4m3nrxtmdujqsakvm9jfapqk795l5)#5akkdska",
"desc": "addr(qcrt1qjmprdr7rq522gw9ghkgfly7yng25n4m3nrxtmdujqsakvm9jfapq7t7237)#ywfr0lrp",
"hex": "002096c2368fc30514a438a8bd909f93c49a1549d77198ccbdb792043b666cb24f42",
"address": "bcrt1qjmprdr7rq522gw9ghkgfly7yng25n4m3nrxtmdujqsakvm9jfapqk795l5",
"address": "qcrt1qjmprdr7rq522gw9ghkgfly7yng25n4m3nrxtmdujqsakvm9jfapq7t7237",
"type": "witness_v0_scripthash",
"p2sh-segwit": "2MtoejEictTQ6XtmHYzoYttt35Ec6krqFKN"
"p2sh-segwit": "mHjn3u5qpwYkCcmqSvA9C7UNwrSyckYGQk"
}
}
],
Expand Down
Loading

0 comments on commit 61726bf

Please sign in to comment.