Post
Topic
Board Development & Technical Discussion
Re: VanitySearch (Yet another address prefix finder)
by
Dr88
on 15/03/2021, 14:38:09 UTC
Quote
c++ coders please help me how to modify this to work on 64 bit rand not 256 bit rand. c++ really hard to me to understand

In Kangaroo.cpp try changing this line:

Code:
void VanitySearch::getCPUStartingKey(int thId,Int& key,Point& startP) {

  if (rekey > 0) {
    key.Rand(256); <--- this line
...

To key.Rand(64). This is going to change the starting key to be a 64-bit random int, same for all subsequent keys.

thank you. but i already did that i am using gpu so changed keys.Rand(256);" to "keys.Rand(64);" on VanitySearch::getGPUStartingKeys but when i run VanitySearch.exe -t 0 -r 1 -gpu -o info.txt 1Lx  only some keys 64 bit