1
0
mirror of https://github.com/PurpleI2P/i2pd-tools synced 2025-01-15 17:20:08 +00:00

fix attemps variable

This commit is contained in:
startyourday60 2023-08-27 13:40:29 +03:00
parent 57c0ca9d40
commit 0f05ffd31f

View File

@ -16,7 +16,7 @@ static struct{
std::regex regex; std::regex regex;
}options; }options;
static unsigned short attempts = 0;// it can be disabled, it's just for a statistic. For CPU this is a trash?
static void inline CalculateW (const uint8_t block[64], uint32_t W[64]) static void inline CalculateW (const uint8_t block[64], uint32_t W[64])
{ {
@ -371,7 +371,6 @@ int main (int argc, char * argv[])
std::cout << "Start vanity generator in " << options.threads << " threads" << std::endl; std::cout << "Start vanity generator in " << options.threads << " threads" << std::endl;
// there we start to change byte in our private key. we can change another bytes too // there we start to change byte in our private key. we can change another bytes too
// but we just change 1 byte in all key. So. TODO: change all bytes not one? // but we just change 1 byte in all key. So. TODO: change all bytes not one?
unsigned short attempts = 0;// it can be disabled, it's just for a statistic. For CPU this is a trash?
while(!found) while(!found)
{//while {//while
{//stack(for destructors(vector/thread)) {//stack(for destructors(vector/thread))