From a6eb4ba38bdb2f12089faf7469b54ea2a5146516 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Thu, 3 Sep 2015 13:06:13 -0700 Subject: Report minimum ping time in getpeerinfo --- src/net.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/net.cpp') 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) -- cgit v1.2.3