mirror of
https://github.com/albertobsd/keyhunt.git
synced 2025-10-04 18:32:28 +02:00
Compiling on macOS 13.2
This commit is contained in:
2
Makefile
2
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
|
||||
|
@@ -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"};
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user