PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/cashaddress/test/fixtures
Просмотр файла: base32.json
{
"fromWords": {
"invalid": [
{
"exception": "Excess padding",
"words": [14,20,15,7,13,26,0,25,18,6,11,13,8,21,4,20,3,17,2,29,3,0]
},
{
"exception": "Non-zero padding",
"words": [3,1,17,17,8,15,0,20,24,20,11,6,16,1,5,29,3,4,16,3,6,21,22,26,2,13,22,9,16,21,19,24,25,21,6,18,15,8,13,24,24,24,25,9,12,1,4,16,6,9,17,1]
}
]
},
"encode": {
"invalid": [
{
"exception": "Exceeds Base32 maximum length",
"prefix": "bitcoincash",
"words": [14,20,15,7,13,26,0,25,18,6,11,13,8,21,4,20,3,17,2,29,3,14,20,15,7,13,26,0,25,18,6,11,13,8,21,4,20,3,17,2,29,14,20,15,7,13,26,0,25,18,6,11,13,8,21,4,20,3,17,2,29,14,20,15,7,13,26,0,25,18,6,11,13,8,21,4,20,3,17,2,29]
},
{
"exception": "Non 5-bit word",
"prefix": "bitcoincash",
"words": [ 0, 1, 32, 10, 0, 16, 2, 19, 23, 22, 16, 10, 17, 2, 30, 26, 10, 5, 27, 27, 16, 26, 16, 21, 24, 14, 25, 9, 30, 21, 12, 24, 14, 12 ]
}
]
},
"address": {
"invalid": [
{
"string": "bitcoincash:qqyq78nf2w",
"exception": "Hash length does not match version"
},
{
"string": "bitcoincash:a5a8yrhz",
"exception": "Empty payload in address"
},
{
"string": "bitcoincash:qdpyysjzgfpyysjzgfpyysjzgfpyysjzgg8zlhfxky",
"exception": "Mismatch between script type and hash length"
},
{
"string": "bitcoincash:yppyysjzgfpyysjzgfpyysjzgfpyysjzggc5ldue0t",
"exception": "Invalid script type"
},
{
"string": "bitcoincash:lapyysjzgfpyysjzgfpyysjzgfpyysjzggp9pz6yrw",
"exception": "Invalid version, most significant bit is reserved"
}
]
},
"base32": {
"valid": [
{
"string": "bitcoincash:qpm2qsznhks23z7629mms6s4cwef74vcwvy22gdx6a",
"prefix": "bitcoincash",
"type": "pubkeyhash",
"hex": "0076a04053bda0a88bda5177b86a15c3b29f559873",
"words": [ 0, 1, 27, 10, 0, 16, 2, 19, 23, 22, 16, 10, 17, 2, 30, 26, 10, 5, 27, 27, 16, 26, 16, 21, 24, 14, 25, 9, 30, 21, 12, 24, 14, 12 ]
},
{
"string": "bchtest:ppm2qsznhks23z7629mms6s4cwef74vcwvhanqgjxu",
"prefix": "bchtest",
"type": "scripthash",
"hex": "0876a04053bda0a88bda5177b86a15c3b29f559873",
"words": [ 1, 1, 27, 10, 0, 16, 2, 19, 23, 22, 16, 10, 17, 2, 30, 26, 10, 5, 27, 27, 16, 26, 16, 21, 24, 14, 25, 9, 30, 21, 12, 24, 14, 12 ]
},
{
"string": "bchreg:pqzg22ty3m437frzk4y0gvvyqj02jpfv7udqugqkne",
"prefix": "bchreg",
"type": "scripthash",
"hex": "08048529648eeb1f2462b548f43184049ea9052cf7",
"words": [ 1, 0, 2, 8, 10, 10, 11, 4, 17, 27, 21, 17, 30, 9, 3, 2, 22, 21, 4, 15, 8, 12, 12, 4, 0, 18, 15, 10, 18, 1, 9, 12, 30, 28 ]
},
{
"string": "bitcoincash:qr95sy3j9xwd2ap32xkykttr4cvcu7as4y0qverfuy",
"prefix": "bitcoincash",
"type": "pubkeyhash",
"hex": "00cb481232299cd5743151ac4b2d63ae198e7bb0a9",
"words": [ 0, 3, 5, 20, 16, 4, 17, 18, 5, 6, 14, 13, 10, 29, 1, 17, 10, 6, 22, 4, 22, 11, 11, 3, 21, 24, 12, 24, 28, 30, 29, 16, 21, 4 ]
},
{
"string": "bitcoincash:qqq3728yw0y47sqn6l2na30mcw6zm78dzqre909m2r",
"prefix": "bitcoincash",
"type": "pubkeyhash",
"hex": "00011f28e473c95f4013d7d53ec5fbc3b42df8ed10",
"words": [ 0, 0, 0, 17, 30, 10, 7, 4, 14, 15, 4, 21, 30, 16, 0, 19, 26, 31, 10, 19, 29, 17, 15, 27, 24, 14, 26, 2, 27, 30, 7, 13, 2, 0 ]
},
{
"string": "bitcoincash:ppm2qsznhks23z7629mms6s4cwef74vcwvn0h829pq",
"prefix": "bitcoincash",
"type": "scripthash",
"hex": "0876a04053bda0a88bda5177b86a15c3b29f559873",
"words": [ 1, 1, 27, 10, 0, 16, 2, 19, 23, 22, 16, 10, 17, 2, 30, 26, 10, 5, 27, 27, 16, 26, 16, 21, 24, 14, 25, 9, 30, 21, 12, 24, 14, 12 ]
},
{
"string": "bitcoincash:pr95sy3j9xwd2ap32xkykttr4cvcu7as4yc93ky28e",
"prefix": "bitcoincash",
"type": "scripthash",
"hex": "08cb481232299cd5743151ac4b2d63ae198e7bb0a9",
"words": [ 1, 3, 5, 20, 16, 4, 17, 18, 5, 6, 14, 13, 10, 29, 1, 17, 10, 6, 22, 4, 22, 11, 11, 3, 21, 24, 12, 24, 28, 30, 29, 16, 21, 4 ]
},
{
"string": "bitcoincash:pqq3728yw0y47sqn6l2na30mcw6zm78dzq5ucqzc37",
"prefix": "bitcoincash",
"type": "scripthash",
"hex": "08011f28e473c95f4013d7d53ec5fbc3b42df8ed10",
"words": [ 1, 0, 0, 17, 30, 10, 7, 4, 14, 15, 4, 21, 30, 16, 0, 19, 26, 31, 10, 19, 29, 17, 15, 27, 24, 14, 26, 2, 27, 30, 7, 13, 2, 0 ]
}
],
"invalid": [
{
"string": "bitcoincashqpm2qsznhks23z7629mms6s4cwef74vcwvy22gdx6a",
"exception": "No separator character for bitcoincashqpm2qsznhks23z7629mms6s4cwef74vcwvy22gdx6a"
},
{
"string": ":qpm2qsznhks23z7629mms6s4cwef74vcwvy22gdx6a",
"exception": "Missing prefix for :qpm2qsznhks23z7629mms6s4cwef74vcwvy22gdx6a"
},
{
"string": "bitcoincash:qpm2qsznhks23z7629mms6s4cwef74vcwvy22gdx6z",
"exception": "Invalid checksum for bitcoincash:qpm2qsznhks23z7629mms6s4cwef74vcwvy22gdx6z"
},
{
"string": "bitcoincash:qpm2qsznhks23z7629mms6s4cwef74vcw1y22gdx6z",
"exception": "Unknown character 1"
},
{
"string": "bitcoincash:gdx6z",
"exception": "Data too short"
},
{
"string": "abxca",
"exception": "too short"
},
{
"string": "abxcaabxcaabxcaabxcaabxcaabxcaabxcaabxcaabxcaabxcaabxcaabxcaabxcaabxcaabxcaabxcaabxcaabxcaabxcaabxcaabxcaabxcaabxcaabxcaabxcaabxca",
"exception": "too long"
},
{
"string": "bitcoincash:pqQ3728yW0y47sqN6l2na30mcW6zm78dZq5ucqzc37",
"exception": "Mixed-case string bitcoincash:pqQ3728yW0y47sqN6l2na30mcW6zm78dZq5ucqzc37"
}
]
}
}
Выполнить команду
Для локальной разработки. Не используйте в интернете!