diff options
author | Matt Corallo <git@bluematt.me> | 2015-09-03 13:06:13 -0700 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2015-09-03 13:06:13 -0700 |
commit | a6eb4ba38bdb2f12089faf7469b54ea2a5146516 (patch) | |
tree | 15ad0c16027372569bb4640aa3c4ddf477ab6d59 /src/net.cpp | |
parent | 69dc5b51a023a23ae66017f05fa43a0203f3c627 (diff) | |
download | bitcoin-a6eb4ba38bdb2f12089faf7469b54ea2a5146516.tar.xz |
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 4909d5fd40..526e2049a8 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) |