AlbertoBSD 2021-04-16 15:55:28 +02:00
parent fbd8fb81f5
commit 7fdf0d6239
3 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,12 @@
# Version development
- Solved Issues 49, 50 51
See:
https://github.com/albertobsd/keyhunt/issues/51
https://github.com/albertobsd/keyhunt/issues/50
https://github.com/albertobsd/keyhunt/issues/49
# Version 0.1.20210412 secp256k1
- Full migration from libgmp to secp256k1
- Change the way for keygeneration for modes xpoint, address, and rmd160

View File

@ -665,7 +665,7 @@ int main(int argc, char **argv) {
}
else {
if(bloom_init2(&bloom,N,0.00001) == 1){
fprintf(stderr,"[E] error bloom_init for %u elements.\n",N);
fprintf(stderr,"[E] error bloom_init for %" PRIu64 " elements.\n",N);
fprintf(stderr,"[+] man enough is enough stop it\n");
exit(0);
}
@ -1536,8 +1536,6 @@ void *thread_process(void *vargp) {
free(tt);
found = 0;
grp->Set(dx);
do {
if(FLAGRANDOM){
key_mpz.Rand(&n_range_start,&n_range_end);

View File

@ -758,6 +758,7 @@ void Int::Rand(Int *min,Int *max) {
for(;i<nb;i++)
bits[i]=rndl();
this->Mod(&diff);
this->Add(min);
}
// ------------------------------------------------