reduced max outbound connections from 15 to 8 --version 0.3 rc4

This commit is contained in:
s_nakamoto
2010-07-02 23:43:29 +00:00
parent e2bf701454
commit 64f9370691
6 changed files with 6 additions and 5 deletions

View File

@@ -1862,6 +1862,8 @@ bool ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
uint64 nNonce = 1;
string strSubVer;
vRecv >> pfrom->nVersion >> pfrom->nServices >> nTime >> addrMe;
if (pfrom->nVersion == 10300)
pfrom->nVersion = 300;
if (pfrom->nVersion >= 106 && !vRecv.empty())
vRecv >> addrFrom >> nNonce;
if (pfrom->nVersion >= 106 && !vRecv.empty())