Browse Source

Merge pull request #65 from kanoi/master

Display pool in summary if only 1 pool
nfactor-troky
Con Kolivas 13 years ago
parent
commit
4f6cf3c8e9
  1. 2
      main.c

2
main.c

@ -5392,6 +5392,8 @@ static void print_summary(void)
applog(LOG_WARNING, "\nSummary of runtime statistics:\n"); applog(LOG_WARNING, "\nSummary of runtime statistics:\n");
applog(LOG_WARNING, "Started at %s", datestamp); applog(LOG_WARNING, "Started at %s", datestamp);
if (total_pools == 1)
applog(LOG_WARNING, "Pool: %s", pools[0]->rpc_url);
if (opt_n_threads) if (opt_n_threads)
applog(LOG_WARNING, "CPU hasher algorithm used: %s", algo_names[opt_algo]); applog(LOG_WARNING, "CPU hasher algorithm used: %s", algo_names[opt_algo]);
applog(LOG_WARNING, "Runtime: %d hrs : %d mins : %d secs", hours, mins, secs); applog(LOG_WARNING, "Runtime: %d hrs : %d mins : %d secs", hours, mins, secs);

Loading…
Cancel
Save