1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-08-26 22:02:09 +00:00

Change status window message for GBT connected pools versus LP.

This commit is contained in:
Con Kolivas 2012-11-05 18:05:25 +11:00
parent 1321cb0e0d
commit 275bb9c05e

View File

@ -1846,8 +1846,9 @@ static void curses_print_status(void)
mvwprintw(statuswin, 4, 0, " Connected to multiple pools with%s LP", mvwprintw(statuswin, 4, 0, " Connected to multiple pools with%s LP",
have_longpoll ? "": "out"); have_longpoll ? "": "out");
} else { } else {
mvwprintw(statuswin, 4, 0, " Connected to %s with%s LP as user %s", mvwprintw(statuswin, 4, 0, " Connected to %s with%s %s as user %s",
pool->sockaddr_url, have_longpoll ? "": "out", pool->rpc_user); pool->sockaddr_url, have_longpoll ? "": "out",
pool->has_gbt ? "GBT" : "LP", pool->rpc_user);
} }
wclrtoeol(statuswin); wclrtoeol(statuswin);
mvwprintw(statuswin, 5, 0, " Block: %s... Started: %s Best share: %s ", current_hash, blocktime, best_share); mvwprintw(statuswin, 5, 0, " Block: %s... Started: %s Best share: %s ", current_hash, blocktime, best_share);