diff --git a/Makefile b/Makefile index d6744e2..14ada2b 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ default: 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 + 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 -pthreads rm -r *.o clean: rm keyhunt diff --git a/keyhunt.cpp b/keyhunt.cpp index 7a45cb5..cff49d8 100644 --- a/keyhunt.cpp +++ b/keyhunt.cpp @@ -207,7 +207,7 @@ int THREADOUTPUT = 0; char *bit_range_str_min; char *bit_range_str_max; -const char *bsgs_modes[5] {"secuential","backward","both","random","dance"}; +const char *bsgs_modes[5] = {"secuential","backward","both","random","dance"}; const char *modes[6] = {"xpoint","address","bsgs","rmd160","pub2rmd","minikeys"}; const char *cryptos[3] = {"btc","eth","all"}; const char *publicsearch[3] = {"uncompress","compress","both"}; diff --git a/secp256k1/Int.h b/secp256k1/Int.h index 3670b72..7c6781f 100644 --- a/secp256k1/Int.h +++ b/secp256k1/Int.h @@ -219,7 +219,7 @@ static uint64_t inline __shiftleft128(uint64_t a, uint64_t b,unsigned char n) { return c; } -#define _subborrow_u64(a,b,c,d) __builtin_ia32_sbb_u64(a,b,c,(long long unsigned int*)d); +#define _subborrow_u64(a,b,c,d) __builtin_ia32_subborrow_u64(a,b,c,(long long unsigned int*)d); #define _addcarry_u64(a,b,c,d) __builtin_ia32_addcarryx_u64(a,b,c,(long long unsigned int*)d); #define _byteswap_uint64 __builtin_bswap64 #else