From cbc920d474b84e8ca339618b1419383000db531f Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Mon, 24 Jan 2011 10:42:17 -0500 Subject: shy patch from Hal --- main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index a47f3a97b4..7a718c73dc 100644 --- a/main.cpp +++ b/main.cpp @@ -2366,6 +2366,10 @@ bool ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv) return true; } + // Be shy and don't send version until we hear + if (pfrom->fInbound) + pfrom->PushVersion(); + pfrom->fClient = !(pfrom->nServices & NODE_NETWORK); AddTimeData(pfrom->addr.ip, nTime); -- cgit v1.2.3