Skip to content

Commit

Permalink
ccminer: show first block diff even with -q
Browse files Browse the repository at this point in the history
  • Loading branch information
tpruvot committed Jan 28, 2017
1 parent 496052e commit 013cda1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ccminer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2794,9 +2794,9 @@ static void *stratum_thread(void *userdata)
if (stratum_gen_work(&stratum, &g_work))
g_work_time = time(NULL);
if (stratum.job.clean) {
static uint32_t last_bloc_height;
if (!opt_quiet && stratum.job.height != last_bloc_height) {
last_bloc_height = stratum.job.height;
static uint32_t last_block_height;
if ((!opt_quiet || !firstwork_time) && stratum.job.height != last_block_height) {
last_block_height = stratum.job.height;
if (net_diff > 0.)
applog(LOG_BLUE, "%s block %d, diff %.3f", algo_names[opt_algo],
stratum.job.height, net_diff);
Expand Down

0 comments on commit 013cda1

Please sign in to comment.