From 0f05ffd31fab8b64a91cbae2bc34923e84b438d4 Mon Sep 17 00:00:00 2001 From: startyourday60 Date: Sun, 27 Aug 2023 13:40:29 +0300 Subject: [PATCH] fix attemps variable --- vain.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vain.cpp b/vain.cpp index 52c9e12..4d2993b 100755 --- a/vain.cpp +++ b/vain.cpp @@ -16,7 +16,7 @@ static struct{ std::regex regex; }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]) { @@ -371,7 +371,6 @@ int main (int argc, char * argv[]) 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 // 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 {//stack(for destructors(vector/thread))