Add network stats to metrics screen

Closes #1688
This commit is contained in:
Jack Grigg
2016-10-30 15:25:40 -07:00
parent 848c89cd67
commit eb5b582e1f
2 changed files with 20 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ using namespace std;
* or over the difficulty averaging window if 'lookup' is nonpositive.
* If 'height' is nonnegative, compute the estimate at the time when a given block was found.
*/
Value GetNetworkHashPS(int lookup, int height) {
int64_t GetNetworkHashPS(int lookup, int height) {
CBlockIndex *pb = chainActive.Tip();
if (height >= 0 && height < chainActive.Height())