Jack Grigg
831b6af932
Metrics UI: Fall back to 80 cols if GetConsoleScreenBufferInfo() fails
2018-08-21 16:54:40 +01:00
Jack Grigg
2456eb80ae
Metrics UI: Tell Windows users how to stop zcashd
...
Ctrl+C is not configured for Windows, as it does not work (yet):
https://github.com/Microsoft/vscode/issues/9347
https://github.com/Microsoft/console/issues/57
2018-08-17 16:46:41 +01:00
Jack Grigg
8fa09c244a
Metrics UI: Enable virtual terminal sequence processing on Windows
...
https://docs.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences
2018-08-17 16:46:29 +01:00
Jack Grigg
ceca40d68f
Measure Windows console size for metrics UI
...
Co-authored-by: David Mercer <radix42@gmail.com>
2018-08-17 16:43:43 +01:00
Per Grön
39d2e9e0cb
Make some globals static that can be
...
External linkage does not help and just encourages sloppy dependencies
and can lead to weird issues when there are name collisions.
2018-01-22 18:20:47 +01:00
Jack Grigg
92bfde0edf
Improve network height estimation
2017-07-28 10:50:07 +00:00
Jack Grigg
047aec1e0e
Add block download progress to metrics UI
2017-07-26 00:51:12 +00:00
Homu
0a80a1cea3
Auto merge of #2227 - str4d:2074-ignore-virtual-cores, r=str4d
...
Use real number of cores, ignore virtual cores
Cherry-picked from the following upstream PRs:
- bitcoin/bitcoin#6361
- bitcoin/bitcoin#6370
Part of #2074 .
2017-06-15 17:05:02 -07:00
Jack Grigg
b4f861d191
Wrap messages nicely on metrics screen
2017-05-12 14:41:50 +12:00
Jack Grigg
0d0265fd11
Use AtomicTimer for metrics screen thread count
2017-03-29 18:25:09 +13:00
zkbot
f7fcad709b
Auto merge of #2203 - arcalinea:2142_security_log_message, r=daira
...
Add message directing users to security guide
Addresses #2142 , which was blocking on updates to zcash/support/security.html. That page has now been added, so this message directing users to the site can be included.
It displays in the zcash-cli --help and --version message text, and on the zcashd metrics screen.
2017-03-26 01:36:24 +00:00
Daira Hopwood
f0d1accb7d
Line-wrap privacy notice. Use <> around URL and end sentence with '.'.
...
Include privacy notice in help text for zcashd -help.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-03-26 02:08:29 +01:00
Jay Graber
ab1d2d575c
Add security message to license text, rm url from translation string
2017-03-24 13:48:27 -07:00
Jay Graber
54c0a28123
Add security warning to zcashd metrics display
2017-03-23 20:43:23 -07:00
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