Browse Source

Add new block data to status line.

nfactor-troky
Con Kolivas 14 years ago
parent
commit
3785e50d3f
  1. 3
      README
  2. 4
      main.c

3
README

@ -84,12 +84,13 @@ The efficiency defined as the accepted shares / requested work
The utility defines as the number of shares / minute The utility defines as the number of shares / minute
The cgminer status line shows: The cgminer status line shows:
TQ: 1 ST: 1 LS: 0 SS: 0 DW: 0 LW: 8 LO: 1 RF: 1 I: 2 TQ: 1 ST: 1 LS: 0 SS: 0 DW: 0 NB: 1 LW: 8 LO: 1 RF: 1 I: 2
TQ is Total Queued work items. TQ is Total Queued work items.
ST is STaged work items (ready to use). ST is STaged work items (ready to use).
LS is Longpoll Staged work items (mandatory new work) LS is Longpoll Staged work items (mandatory new work)
DW is Discarded Work items (work from block no longer valid to work on) DW is Discarded Work items (work from block no longer valid to work on)
NB is New Blocks detected on the network
LW is Locally generated Work items (during slow server providing work) LW is Locally generated Work items (during slow server providing work)
LO is Local generation Occasions (server slow to provide work) LO is Local generation Occasions (server slow to provide work)
RF is Remote Fail occasions (server slow to accept work) RF is Remote Fail occasions (server slow to accept work)

4
main.c

@ -561,8 +561,8 @@ static void curses_print_status(int thr_id)
wprintw(statuswin, " %s", statusline); wprintw(statuswin, " %s", statusline);
wclrtoeol(statuswin); wclrtoeol(statuswin);
wmove(statuswin, 4,0); wmove(statuswin, 4,0);
wprintw(statuswin, " TQ: %d ST: %d LS: %d SS: %d DW: %d LW: %d LO: %d RF: %d I: %d", wprintw(statuswin, " TQ: %d ST: %d LS: %d SS: %d DW: %d NB: %d LW: %d LO: %d RF: %d I: %d",
total_queued, total_staged, lp_staged, stale_shares, discarded_work, total_queued, total_staged, lp_staged, stale_shares, discarded_work, new_blocks,
local_work, localgen_occasions, remotefail_occasions, scan_intensity); local_work, localgen_occasions, remotefail_occasions, scan_intensity);
wclrtoeol(statuswin); wclrtoeol(statuswin);
wmove(statuswin, 5, 0); wmove(statuswin, 5, 0);

Loading…
Cancel
Save