mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-27 15:04:17 +00:00
Don't show broken WU value with scrypt mining.
This commit is contained in:
parent
fc66a41e85
commit
4584068c67
12
cgminer.c
12
cgminer.c
@ -1836,9 +1836,15 @@ static void curses_print_status(void)
|
||||
mvwhline(statuswin, 1, 0, '-', 80);
|
||||
mvwprintw(statuswin, 2, 0, " %s", statusline);
|
||||
wclrtoeol(statuswin);
|
||||
mvwprintw(statuswin, 3, 0, " TQ: %d ST: %d SS: %d DW: %d NB: %d LW: %d GF: %d RF: %d WU: %.1f",
|
||||
global_queued(), total_staged(), total_stale, total_discarded, new_blocks,
|
||||
local_work, total_go, total_ro, total_diff1 / total_secs * 60);
|
||||
if (opt_scrypt) {
|
||||
mvwprintw(statuswin, 3, 0, " TQ: %d ST: %d SS: %d DW: %d NB: %d LW: %d GF: %d RF: %d",
|
||||
global_queued(), total_staged(), total_stale, total_discarded, new_blocks,
|
||||
local_work, total_go, total_ro);
|
||||
} else {
|
||||
mvwprintw(statuswin, 3, 0, " TQ: %d ST: %d SS: %d DW: %d NB: %d LW: %d GF: %d RF: %d WU: %.1f",
|
||||
global_queued(), total_staged(), total_stale, total_discarded, new_blocks,
|
||||
local_work, total_go, total_ro, total_diff1 / total_secs * 60);
|
||||
}
|
||||
wclrtoeol(statuswin);
|
||||
if ((pool_strategy == POOL_LOADBALANCE || pool_strategy == POOL_BALANCE) && total_pools > 1) {
|
||||
mvwprintw(statuswin, 4, 0, " Connected to multiple pools with%s LP",
|
||||
|
Loading…
x
Reference in New Issue
Block a user