diff options
| author | Gavin Andresen <[email protected]> | 2011-03-14 09:15:06 -0400 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2011-03-14 09:15:06 -0400 |
| commit | 27b7f3b43a3868cd4d4f97e03c35074c2ef12349 (patch) | |
| tree | a39d6207cb612126097f98419dea51e580f5ba35 /main.cpp | |
| parent | Merge branch 'dns-seed' of https://github.com/jgarzik/bitcoin (diff) | |
| parent | shy patch from Hal (diff) | |
| download | discoin-27b7f3b43a3868cd4d4f97e03c35074c2ef12349.tar.xz discoin-27b7f3b43a3868cd4d4f97e03c35074c2ef12349.zip | |
Merge branch 'shy'
Diffstat (limited to 'main.cpp')
| -rw-r--r-- | main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2396,6 +2396,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); |