Fixes for base58 Unit Tests

This commit is contained in:
Norm Fasey 2014-07-12 14:30:06 +01:00
parent 89c669769b
commit b26c6ab2a5
2 changed files with 39 additions and 40 deletions

View File

@ -6,7 +6,7 @@
#include "base58.h"
#include "util.h"
/*using namespace json_spirit;
using namespace json_spirit;
extern Array read_json(const std::string& filename);
BOOST_AUTO_TEST_SUITE(base58_tests)
@ -259,4 +259,3 @@ BOOST_AUTO_TEST_CASE(base58_keys_invalid)
BOOST_AUTO_TEST_SUITE_END()
*/

View File

@ -1,7 +1,7 @@
[
[
"Lf8Th7S4LDxFUZegQgn5z5se7BahrJ9DeV",
"da589613a4c031bafa9fa5490fdaea491e81e687",
"XeE3CtVQHV7BoSp3ZAYFiELn66o3btEDUy",
"26cec4110b090e2f0a16a7a401660d3c775faad6",
{
"addrType": "pubkey",
"isPrivkey": false,
@ -36,8 +36,8 @@
}
],
[
"6uoCwsNo3oV9rsYwHY7TeGtZpwLbWJyVcKCAQyz91Ah4XbZYxw3",
"58fb1bfc04bd9293a916d0688cba48ac143921a400e2086f43e16a02e572f2de",
"7r8PH9W3f8h3b5u5uPXi7zk2nsJbhKJR48nSZCYuzYVUZkz44Yq",
"4c1dca295faf461cebd294870e4b6c62910016c517d4850778c7eae890dfa6a9",
{
"isCompressed": false,
"isPrivkey": true,
@ -45,8 +45,8 @@
}
],
[
"T9wxCLuZLZ2uSs44HUzGW5ZC2hNtnZqsbZGKtWC1MhJjHbRNCVYP",
"cdc32fb8fab8b80ecf7e7501d93173f4c10bc45bd42c030ceaa7d947090bb441",
"XDH2VfG4T6FGFUTcK1Qfy5DfDJFymdjQVaMnkJvxyKuC8tEPqPo3",
"3b5cf3a8b2fe75de29635904b941572a4cc1d176bcd8a258c07acf2c198ab3c3",
{
"isCompressed": true,
"isPrivkey": true,
@ -72,8 +72,8 @@
}
],
[
"LP7Ls95NmnuWi5o9bKZrezLiyCPy1B5P1q",
"2aa075715a16b3f8fe726ae9c5c4aa044bbca054",
"XcdftPJ5mmJcdErhxWz5zpxaj4h3zudfmM",
"1556b380420e9c01e2fe3292fee91575f410e5bc",
{
"addrType": "pubkey",
"isPrivkey": false,
@ -108,8 +108,8 @@
}
],
[
"6vs3xk3YxdBcHAA12Y63qwALButouE5SBzZUnBzCq5N8wvMjnZ9",
"e5686121b71c57364887d32d7b90885af98ebd96972bd1c00a6bd2a8f1f35b45",
"7rdxt8URGT7F3SzRkX8p82qYiXGGPrawLAfGBbY1foxVVxkaVGt",
"8f47a99a637f77344819eaf3a8c218aab7805b9747b21d4de0fed2c4ee612332",
{
"isCompressed": false,
"isPrivkey": true,
@ -117,8 +117,8 @@
}
],
[
"T4rLdfaJrCLN3uemQQoi1nAhXSAFwepDX4Ahjw8EjVP27Avmjzo4",
"35b0165377348a7ba55184f5a30834e7b5ba20dcb3ed4c7bb330e1dc631b050f",
"XKLwepHXAP8g8h3yr9SVnbmMnCsV8mjABG8uaJrNBnV7h2CjM8Sj",
"f066fb8fc19b887841e3a100303b871a22a185545008bfc6170788deb4c4978a",
{
"isCompressed": true,
"isPrivkey": true,
@ -144,8 +144,8 @@
}
],
[
"LdaHb6WXgyf38F96JweN9XNWKJS91iCLNF",
"c94ab72be12aa1a05f1af875f7250333e5d27aa2",
"XoCWrh9XbkyLJ8GGXuDK45j36FUtftWzWA",
"893e260917577a6f45144a88a3b958fb1f696c2d",
{
"addrType": "pubkey",
"isPrivkey": false,
@ -180,8 +180,8 @@
}
],
[
"6uQT9bdxJhE83M8RjCQfo7U9oaAo5ncAP5skuzemx5DeuA6hB9o",
"2550053cc3dfc32104fd3d0b1bce0e6f6e65a0564d36018f1544d9aa4764ad39",
"7qdGzxb8BSChsdztx8jjBTnJM8MsyaG8dTbxBaa9JQwP2rfTJcQ",
"0a05c28b0d73d75f4674e582e07adde4c2ce0060f2a93a253cddb9b31cb0123a",
{
"isCompressed": false,
"isPrivkey": true,
@ -189,8 +189,8 @@
}
],
[
"T4cpoFeaPJhTCTdLfmbNmA2f2PyjJgpCWU2pcdzBwExj5F9panJ4",
"2ebc4b6d730064cf6023b006f2b4aff89a53ac04740f21d84efa6ef33d8855cd",
"XGh2Y5Zh9rmFTWwvCxuGqsuRWAJViBwty9HyZsnGNmFMTGBf4Lao",
"a138df9502fe7fb872ace38b4be6578b06451cf4a0770b0b5d8a1b0a0e83b94f",
{
"isCompressed": true,
"isPrivkey": true,
@ -216,8 +216,8 @@
}
],
[
"LX5YLxmAJ3YKHaRc2eR2A2s1cnw6fPA4SE",
"820a3743686bf0fd46005de06cfd382bbcbd70c5",
"Xv3MqkqScoAdRVnL3q6EcxLKi22Th1u4rT",
"d44bc254e2438fa1fdb158615053787d4a6dd00c",
{
"addrType": "pubkey",
"isPrivkey": false,
@ -252,8 +252,8 @@
}
],
[
"6usgadpSJcXjfNFqn2Cz1kgKEWYhtzANKvhBs5pAKpsoCCRRv6H",
"63252cd47897bd0380152475453e275cf504226ee82253bbc980a926b2a71689",
"7sNfR1sm45BFHiSWneetzReExhJQAQi3BFDALVioUmNC5FJHSHx",
"f03b9cf3325899c60ed5deeb461070d72da8b1ecdce897149d0130ec37684cb1",
{
"isCompressed": false,
"isPrivkey": true,
@ -261,8 +261,8 @@
}
],
[
"T8wbMCiccPDTa3hUFT23LUXeWU1AiNpVy8MgsQMFAbPjDjpWPVod",
"afbd7a0468460c25eef3576503578ce5ff985a598e30960018ad559282b3ef3c",
"XDqucwPdppRTJCqFM84b11NGBauXqUsmMssasXT5Z8Xx62GNGVpf",
"4c47504237fe12b251342a3da22931db0ff2009af44f0a13704d317931e05914",
{
"isCompressed": true,
"isPrivkey": true,
@ -288,8 +288,8 @@
}
],
[
"LZa2tVcdFafKLMVeEKijaJ45jvruvZSRFK",
"9d5df1006a8a175f342dd0610337331fceb45830",
"Xrm8tstPDpBqDpMsHBMNYwtcrCE9QiiEoD",
"b051eb607c19b9c0a1a895dbe46ad7e740a6472e",
{
"addrType": "pubkey",
"isPrivkey": false,
@ -324,8 +324,8 @@
}
],
[
"6vUB9QijBguaXPMoLXK5ZwLJCZTjKKAeQxgWfZLfJvForhka5D8",
"b176f3e34ff474dea2fb3cafb19be519e6e8f34fd39166f5d5ce657154eb05d6",
"7rviGWWwQuiAqK74gabdY3h5WZavs5SxLcGN6MfMoUMprCa8Cvy",
"b54ef27b02bbdf96fe19a640b1e1296ee581c7cd1092659cfe4a18f3dd5f954a",
{
"isCompressed": false,
"isPrivkey": true,
@ -333,8 +333,8 @@
}
],
[
"T5MCn7wUVMmffkTpoRNdW1MhWaRoSgNESC5tzeTSHie92tMBxjEZ",
"448970a2a25f412fd9fc48d9df5dee7a01ad039b824efc28663f31728b92cce2",
"XGgHcNuRiBDBnyoyr5nvbS5yhEM4s75Pq3sPREsxAnd2xGGw95U2",
"a0d767a7ec9b46fbf3460f698affa22eb6e4e174467950ae352b487280ba10e8",
{
"isCompressed": true,
"isPrivkey": true,
@ -360,8 +360,8 @@
}
],
[
"LPJfbhKmpiDNczUF1xwL8mBpwjg22kCRiw",
"2cc4ac26bb08dfad7a40aa48b88046cfd2c930fd",
"XtBZJ3F8tjb36Hxg4N2XG3dBuS6BEfYStN",
"bfe865562306cfeca7c4a1835e4ae56adda5779c",
{
"addrType": "pubkey",
"isPrivkey": false,
@ -396,8 +396,8 @@
}
],
[
"6vM32FdMdhMF7qS9TLDH2sTLC6wALamAk9ebRFESaUpq9yf2mbE",
"a1409598b6d7490548b3d5f3255b2c6adf487d82306a920d41362b98350b18a1",
"7qugvZ1dYDnMAmob8z4HRnYsECGazMjw7pn9rKHnN8hti8sV7XS",
"2f49ff39105bc7cbdb3e6371f6f1048f94312cf760f1fcd593a1c6ff4e0eaef3",
{
"isCompressed": false,
"isPrivkey": true,
@ -405,8 +405,8 @@
}
],
[
"TA8YZ69RUn4NjmCJ9gaoDmxesD9bb9xzkXKHDcymJApWVKTPbYTm",
"d3362922cebe534a1cef42928fc7208c9cfa1c4413422b2af741110fe5b0c8de",
"XFnMHmeccyAyV5ZMXagUTxUvkNnm5XtYFHYny5SCg3zK47ESLk1f",
"861f8fdd0941fbb23c87cda9dce2219628048b28751062b329046f67b1771733",
{
"isCompressed": true,
"isPrivkey": true,
@ -432,8 +432,8 @@
}
],
[
"LWzPZSe3opyEdEmRAiULVLR3zBZS3oY9Wu",
"8110cd88bfb26bfb08e0878ddb34af03fc03c8b7",
"XmKxfSvJF3L4VPzaTD9koUEzZmxDbd18zM",
"74b659c1038b31736523fcf2d56a354db9cc9e1fw",
{
"addrType": "pubkey",
"isPrivkey": false,