aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-09-04 15:31:56 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-09-04 15:32:03 +0200
commitbbc2b39860f66b4c7b191f9f069eb6fd3a56f73b (patch)
tree3e17bd1aadc7812c1e83db1883a66954bc716c57 /src/net.cpp
parent9aa90994ee85e549ddbe23a6f03e33d0edcd57b2 (diff)
parenta6eb4ba38bdb2f12089faf7469b54ea2a5146516 (diff)
downloadbitcoin-bbc2b39860f66b4c7b191f9f069eb6fd3a56f73b.tar.xz
Merge pull request #6633
a6eb4ba Report minimum ping time in getpeerinfo (Matt Corallo)
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp1
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)