|
|
@ -112,6 +112,7 @@ int main(int argc, const char * argv[]) |
|
|
|
if ( strstr(argv[0],"hush") != 0 && argv[1] != 0 ) |
|
|
|
{ |
|
|
|
uint8_t pubkey33[33]; char str[65],wifstr[128],coinaddr[64]; bits256 privkey; int32_t i; void *ctx = bitcoin_ctx(); |
|
|
|
printf("start hush vanitygen\n"); |
|
|
|
for (i=0; i<100000000; i++) |
|
|
|
{ |
|
|
|
privkey = rand256(0); |
|
|
@ -123,6 +124,7 @@ int main(int argc, const char * argv[]) |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
printf("done hush vanitygen\n"); |
|
|
|
exit(0); |
|
|
|
} |
|
|
|
sprintf(dirname,"%s",GLOBAL_DBDIR), OS_ensure_directory(dirname); |
|
|
|