From 6d3c95e74b8f63bc3c78aa7e21dcf95e0164813f Mon Sep 17 00:00:00 2001 From: Alberto Date: Mon, 8 May 2023 16:41:03 -0600 Subject: [PATCH] Added warning for BSGS and Endomorphism, they don't work together --- CHANGELOG.md | 1 + keyhunt.cpp | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c6dfce..5dce851 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/keyhunt.cpp b/keyhunt.cpp index 342bc3e..f1f9627 100644 --- a/keyhunt.cpp +++ b/keyhunt.cpp @@ -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) {