diff options
| author | Matt Corallo <[email protected]> | 2015-09-03 13:06:13 -0700 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2015-09-03 13:06:13 -0700 |
| commit | a6eb4ba38bdb2f12089faf7469b54ea2a5146516 (patch) | |
| tree | 15ad0c16027372569bb4640aa3c4ddf477ab6d59 /src/net.cpp | |
| parent | Merge pull request #6374 (diff) | |
| download | discoin-a6eb4ba38bdb2f12089faf7469b54ea2a5146516.tar.xz discoin-a6eb4ba38bdb2f12089faf7469b54ea2a5146516.zip | |
Report minimum ping time in getpeerinfo
Diffstat (limited to 'src/net.cpp')
| -rw-r--r-- | src/net.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net.cpp b/src/net.cpp index 4909d5fd4..526e2049a 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -628,6 +628,7 @@ void CNode::copyStats(CNodeStats &stats) // Raw ping time is in microseconds, but show it to user as whole seconds (Bitcoin users should be well used to small numbers with many decimal places by now :) stats.dPingTime = (((double)nPingUsecTime) / 1e6); + stats.dPingMin = (((double)nMinPingUsecTime) / 1e6); stats.dPingWait = (((double)nPingUsecWait) / 1e6); // Leave string empty if addrLocal invalid (not filled in yet) |