Commit Graph

38 Commits

Author SHA1 Message Date
Jack Grigg
493d8d81fb Expand on reasons for mining being paused 2017-03-23 15:16:04 +13:00
Jack Grigg
af370021a0 Metrics: Improve mining status 2017-03-23 14:08:36 +13:00
Jack Grigg
dd20d04679 Metrics: Move local solution rate into stats 2017-03-23 14:08:33 +13:00
Jack Grigg
07be8f7eb9 Use AtomicTimer for more accurate local solution rate 2017-03-23 14:07:52 +13:00
Jack Grigg
73bf85b44f Implement an AtomicTimer 2017-03-23 14:07:29 +13:00
Jack Grigg
0cd769fbb7 Treat metrics screen as non-interactive for now
Closes #2095
2017-02-23 12:55:14 +00:00
Jack Grigg
2cc0a252ad Add compile flag to disable compilation of mining code 2017-01-30 21:14:46 +01:00
Jack Grigg
b6e439b261 Handle newlines in UI messages 2017-01-05 08:38:35 +01:00
Jack Grigg
e698459ec8 Strip out the SECURE flag in metrics UI so message style is detected 2017-01-05 08:19:15 +01:00
Jack Grigg
83561c9cb3 Trigger metrics UI refresh on new messages 2017-01-05 08:18:29 +01:00
zkbot
07a728300b Auto merge of #1642 - str4d:add-solver-rate-to-getmininginfo, r=str4d
Add getlocalsolps and getnetworksolps RPC calls, show them in getmininginfo
2016-12-09 03:18:23 +00:00
zkbot
400c4f04e6 Auto merge of #1878 - str4d:1875-non-tty-metrics-usability, r=str4d
Improve non-TTY metrics usability

Closes #1875.
2016-12-07 23:19:47 +00:00
zkbot
5a0d9db4e4 Auto merge of #1681 - paragonie-scott:patch-1, r=str4d
Metrics - Don't exclaim unless > 1

"You have validated 0 transactions!" sounds a little less enthusiastic that intended. This uses a period instead.

After patch, it also says "a transaction".
2016-12-01 02:50:55 +00:00
Jack Grigg
1c8d5c4061 Address review comments, tweak strings 2016-12-01 15:34:57 +13:00
Scott
ba6fc72bcd Metrics - Don't exclaim unless > 1
"You have validated 0 transactions!" sounds a little less enthusiastic that intended. Also, only says "1 transaction".
2016-12-01 15:30:22 +13:00
Jack Grigg
e2752e1eca Increase length of metrics divider 2016-11-29 18:17:28 +13:00
Jack Grigg
83ccbf6b89 Add -metricsrefreshtime option 2016-11-18 16:32:21 +13:00
Jack Grigg
3c02477360 Add -metricsui flag to toggle between persistent screen and rolling metrics
Defaults to true if stdout is a TTY, else false.
2016-11-18 16:17:59 +13:00
Jack Grigg
000499ae64 Add getlocalsolps and getnetworksolps RPC calls, show them in getmininginfo 2016-11-16 22:02:49 +13:00
Jack Grigg
73a439185d Ensure that no tracked blocks are skipped during orphan detection 2016-11-02 09:20:35 -05:00
Jack Grigg
22ee0efe25 Fix previous commit 2016-11-01 20:37:59 -05:00
Jack Grigg
cb7098317d Improve locking in metrics 2016-11-01 11:59:40 -05:00
Jack Grigg
24f1026689 Show mining info once the node has finished loading
Closes #1685
2016-10-30 16:54:05 -07:00
Jack Grigg
eb5b582e1f Add network stats to metrics screen
Closes #1688
2016-10-30 16:38:09 -07:00
Jack Grigg
848c89cd67 Refresh mining status to detect setgenerate changes
Closes #1656
2016-10-30 16:38:07 -07:00
Jack Grigg
d793f94b8a Track mined blocks to detect and report orphans and mining revenue
Part of #1713
Closes #1716
2016-10-30 16:37:44 -07:00
Joe Turgeon
1da44b346c Adding handling for ioctl failure. Updates from code review in PR #1615. 2016-10-23 21:23:56 -05:00
Joe Turgeon
c0876672fa Fixing floating point exception caused by metrics. Using default column width unless in a TTY. 2016-10-23 10:54:50 -05:00
Jack Grigg
199b3aafd3 Use solutions per second (Sol/s)
Part of #1422
2016-10-22 15:50:23 -05:00
Jack Grigg
f8ada2435b Be excited about validating transactions! 2016-10-22 15:50:21 -05:00
Jack Grigg
e7d59bbc12 Add average hash rate to metrics 2016-10-22 15:50:20 -05:00
Jack Grigg
db853f8a46 Handle wrapping of potentially long lines 2016-10-22 15:50:18 -05:00
Jack Grigg
0ddd6d1cd8 Tag metrics strings for translation 2016-10-22 15:50:17 -05:00
Jack Grigg
d30273f919 Split out screen sections into separate functions 2016-10-22 15:50:16 -05:00
Jack Grigg
4482bd8fd7 Adjust copy 2016-10-22 15:50:14 -05:00
Jack Grigg
d934e68967 Fit metrics screen into an 80-column terminal without wrapping 2016-10-22 15:50:13 -05:00
Jack Grigg
4ace963c80 Show important console messages on metrics screen 2016-10-22 15:50:11 -05:00
Jack Grigg
a6df7ab567 Add a persistent screen showing basic node metrics
The screen is implemented using ANSI Escape sequences.

Closes #1331
2016-10-22 15:50:06 -05:00