Add new block data to status line.
diff --git a/README b/README
index 73ffc51..0ee8796 100644
--- a/README
+++ b/README
@@ -84,12 +84,13 @@ The efficiency defined as the accepted shares / requested work
The utility defines as the number of shares / minute
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.
ST is STaged work items (ready to use).
LS is Longpoll Staged work items (mandatory new work)
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)
LO is Local generation Occasions (server slow to provide work)
RF is Remote Fail occasions (server slow to accept work)
diff --git a/main.c b/main.c
index 35a7bf6..56c9785 100644
--- a/main.c
+++ b/main.c
@@ -561,8 +561,8 @@ static void curses_print_status(int thr_id)
wprintw(statuswin, " %s", statusline);
wclrtoeol(statuswin);
wmove(statuswin, 4,0);
- wprintw(statuswin, " TQ: %d ST: %d LS: %d SS: %d DW: %d LW: %d LO: %d RF: %d I: %d",
- total_queued, total_staged, lp_staged, stale_shares, discarded_work,
+ 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, new_blocks,
local_work, localgen_occasions, remotefail_occasions, scan_intensity);
wclrtoeol(statuswin);
wmove(statuswin, 5, 0);