aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-09-04 17:03:24 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-09-04 17:06:48 +0200
commit536207f3167daad1fa3d60a1de7d9cb55db28ac9 (patch)
treeef79bbdf5fefb68bf44a12b748d9226505a20039 /src
parent2aee4d268dfe14566d95ea3907d6239fb2835b1d (diff)
parent93ff1b9041a8282cd0785d22edbc1fd67b29533b (diff)
downloadbitcoin-536207f3167daad1fa3d60a1de7d9cb55db28ac9.tar.xz
Merge pull request #6636
93ff1b9 net: correctly initialize nMinPingUsecTime (Wladimir J. van der Laan)
Diffstat (limited to 'src')
-rw-r--r--src/net.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 526e2049a8..87c4f0af0a 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -2261,6 +2261,7 @@ CNode::CNode(SOCKET hSocketIn, const CAddress& addrIn, const std::string& addrNa
nPingUsecStart = 0;
nPingUsecTime = 0;
fPingQueued = false;
+ nMinPingUsecTime = std::numeric_limits<int64_t>::max();
{
LOCK(cs_nLastNodeId);