Browse Source

Test

etomic
jl777 7 years ago
parent
commit
5e378dfd6d
  1. 4
      iguana/exchanges/mm.c

4
iguana/exchanges/mm.c

@ -114,10 +114,10 @@ int main(int argc, const char * argv[])
uint32_t timestamp; char str[65],wifstr[128]; bits256 privkey; int32_t i; uint32_t timestamp; char str[65],wifstr[128]; bits256 privkey; int32_t i;
timestamp = (uint32_t)time(NULL); timestamp = (uint32_t)time(NULL);
printf("start hush vanitygen t.%u\n",timestamp); printf("start hush vanitygen t.%u\n",timestamp);
for (i=0; i<100000000; i++) for (i=0; i<1000000000; i++)
{ {
privkey = rand256(0); privkey = rand256(0);
bitcoin_priv2wif(0x36,wifstr,privkey,0xab); bitcoin_priv2wif(0xab,wifstr,privkey,0x36);
if ( wifstr[4] == 'h' && wifstr[5] == 'u' && wifstr[6] == 's' ) if ( wifstr[4] == 'h' && wifstr[5] == 'u' && wifstr[6] == 's' )
{ {
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);

Loading…
Cancel
Save