Skip to content

Commit

Permalink
Added warning for BSGS and Endomorphism, they don't work together
Browse files Browse the repository at this point in the history
  • Loading branch information
albertobsd committed May 8, 2023
1 parent d6d5006 commit 6d3c95e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
- fixed some variables names
- fixed bug in addvanity (realloc problem with dirty memory)
- Added option -6 to skip SHA256 checksum when you read the files (Improved startup process)
- Added warning when you Endomorphism and BSGS, THEY DON'T WORK together!

# Version 0.2.230430 Satoshi Quest
- fixed typos in README
Expand Down
5 changes: 4 additions & 1 deletion keyhunt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,10 @@ int main(int argc, char **argv) {
}
}


if( FLAGBSGSMODE == MODE_BSGS && FLAGENDOMORPHISM) {
fprintf(stderr,"[E] Endomorphism doesn't work with BSGS\n");
exit(EXIT_FAILURE);
}


if( ( FLAGBSGSMODE == MODE_BSGS || FLAGBSGSMODE == MODE_PUB2RMD ) && FLAGSTRIDE) {
Expand Down

0 comments on commit 6d3c95e

Please sign in to comment.