Closed rockygsm closed 2 years ago
Hi, about the search that never ends it is already reported check: https://github.com/albertobsd/keyhunt/issues
About the missing libreries cand you add the compilation error?
Maybe is the gc version because i run it on the gcc version:
gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
I ask that because I also run this code in the WSL enviroment with ubuntu
and there aren't any error about te missing libreries check:
albertobsd:~/keyhunt$ make
g++ -O3 -c oldbloom/bloom.cpp -o oldbloom.o
g++ -O3 -c bloom/bloom.cpp -o bloom.o
gcc -O3 -c base58/base58.c -o base58.o
gcc -O3 -c rmd160/rmd160.c -o rmd160.o
g++ -O3 -c sha3/sha3.c -o sha3.o
g++ -O3 -c sha3/keccak.c -o keccak.o
gcc -O3 -c xxhash/xxhash.c -o xxhash.o
g++ -O3 -c util.c -o util.o
g++ -m64 -mssse3 -Wno-unused-result -Wno-write-strings -O2 -c secp256k1/Int.cpp -o Int.o
g++ -m64 -mssse3 -Wno-unused-result -Wno-write-strings -O2 -c secp256k1/Point.cpp -o Point.o
g++ -m64 -mssse3 -Wno-unused-result -Wno-write-strings -O2 -c secp256k1/SECP256K1.cpp -o SECP256K1.o
g++ -m64 -mssse3 -Wno-unused-result -Wno-write-strings -O2 -c secp256k1/IntMod.cpp -o IntMod.o
g++ -m64 -mssse3 -Wno-unused-result -Wno-write-strings -O2 -c secp256k1/Random.cpp -o Random.o
g++ -m64 -mssse3 -Wno-unused-result -Wno-write-strings -O2 -c secp256k1/IntGroup.cpp -o IntGroup.o
g++ -m64 -mssse3 -Wno-write-strings -O2 -o hash/ripemd160.o -c hash/ripemd160.cpp
g++ -m64 -mssse3 -Wno-write-strings -O2 -o hash/sha256.o -c hash/sha256.cpp
g++ -m64 -mssse3 -Wno-write-strings -O2 -o hash/ripemd160_sse.o -c hash/ripemd160_sse.cpp
g++ -m64 -mssse3 -Wno-write-strings -O2 -o hash/sha256_sse.o -c hash/sha256_sse.cpp
g++ -o keyhunt keyhunt.cpp base58.o rmd160.o hash/ripemd160.o hash/ripemd160_sse.o hash/sha256.o hash/sha256_sse.o bloom.o oldbloom.o xxhash.o util.o Int.o Point.o SECP256K1.o IntMod.o Random.o IntGroup.o sha3.o keccak.o -lm -lpthread
keyhunt.cpp: In function ‘int main(int, char**)’:
keyhunt.cpp:545:50: warning: format ‘%i’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=]
545 | fprintf(stderr,"[E] Invalid Minikey length %i : %s\n",strlen(optarg),optarg);
| ~^ ~~~~~~~~~~~~~~
| | |
| int size_t {aka long unsigned int}
| %li
rm -r *.o
albertobsd:~/keyhunt$ uname -a
Linux _______ 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Just a warnign about some variable in the printf format.
Thanks for report it.
Yes latest GCC/G++ work without modification.
Tested with
gcc version 11.2.0 (Ubuntu 11.2.0-19ubuntu1)
Hello https://github.com/albertobsd/keyhunt/blob/main/hash/ripemd160.h missing
https://github.com/albertobsd/keyhunt/blob/main/hash/sha256.h missing
started with 2 addresses in addresses.txt and 3 byte range -r 0:FFFFFF all other param is default found in 60sec max but exe never return to end possible bug.
tested with windows 10 WSL compile and run perfect. Linux 4.4.0-19041-Microsoft #1237-Microsoft Sat Sep 11 14:32:00 PST 2021 x86_64 x86_64 x86_64 GNU/Linux gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12)
Its possible to update nonce breaker mode ? for -m For example nonce if weak and under 2^60 range match with bitcoin sign.r .
Thank you for your hard work to make this fastest available tool for cpu.
Best Regards,