Moved prompt to start brute force phase

This commit is contained in:
Aram
2016-05-03 06:29:52 +02:00
parent 06ada9d609
commit 9e57588c8d

View File

@ -522,7 +522,7 @@ void notify_status_online(int sig){
if(!space){
printf(VT100_cleareol "Collected %zu nonces... ", nonces_collected);
} else {
printf(VT100_cleareol "Collected %zu nonces... leftover complexity %zu (~2^%0.2f) (press enter to start brute-force phase)", nonces_collected, total_states, log(total_states) / log(2));
printf(VT100_cleareol "Collected %zu nonces... leftover complexity %zu (~2^%0.2f)", nonces_collected, total_states, log(total_states) / log(2));
}
if(total_states){
char c;
@ -531,6 +531,8 @@ void notify_status_online(int sig){
alarm(0);
stop_collection = true;
return;
} else {
printf(" - press enter to start brute-force phase\n");
}
}
alarm(1);