Skip to content

Commit

Permalink
- Solved Issues 49, 50 51
Browse files Browse the repository at this point in the history
  See:
  #51
  #50
  #49
  • Loading branch information
albertobsd committed Apr 16, 2021
1 parent fbd8fb8 commit 7fdf0d6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 1 addition & 3 deletions keyhunt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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);
Expand Down
1 change: 1 addition & 0 deletions secp256k1/Int.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -758,6 +758,7 @@ void Int::Rand(Int *min,Int *max) {
for(;i<nb;i++)
bits[i]=rndl();
this->Mod(&diff);
this->Add(min);
}

// ------------------------------------------------
Expand Down

0 comments on commit 7fdf0d6

Please sign in to comment.