Reduce progress callback interval to every 10 rounds
This commit is contained in:
@@ -378,8 +378,8 @@ static void* miner_thread(void* arg) {
|
||||
break; // Exit after reporting solution
|
||||
}
|
||||
|
||||
// Progress reporting every 9999 attempts
|
||||
if (ctx->progress_callback && attempts % 9999 == 0) {
|
||||
// Progress reporting every 10 attempts
|
||||
if (ctx->progress_callback && attempts % 10 == 0) {
|
||||
ctx->progress_callback(ctx->thread_id, attempts, ctx->user_data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user