|
@ -117,7 +117,7 @@ int main(int argc, const char * argv[]) |
|
|
for (i=0; i<100000000; i++) |
|
|
for (i=0; i<100000000; i++) |
|
|
{ |
|
|
{ |
|
|
privkey = rand256(0); |
|
|
privkey = rand256(0); |
|
|
bitcoin_priv2wif(0,wifstr,privkey,128); |
|
|
bitcoin_priv2wif(0,wifstr,privkey,0xab); |
|
|
if ( wifstr[2] == 'h' && wifstr[3] == 'u' && wifstr[4] == 's' && wifstr[5] == 'h' ) |
|
|
if ( wifstr[2] == 'h' && wifstr[3] == 'u' && wifstr[4] == 's' && wifstr[5] == 'h' ) |
|
|
{ |
|
|
{ |
|
|
printf("i.%d %s -> wif.%s\n",i,bits256_str(str,privkey),wifstr); |
|
|
printf("i.%d %s -> wif.%s\n",i,bits256_str(str,privkey),wifstr); |
|
|