Update main.cpp

This commit is contained in:
xnljfr 2014-02-22 21:23:22 +02:00
parent 80795d47f6
commit 2ae4ddd2bb

View file

@ -2496,8 +2496,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
vRecv >> pfrom->nVersion >> pfrom->nServices >> nTime >> addrMe;
if (pfrom->nVersion < MIN_PEER_PROTO_VERSION)
{
// Since February 20, 2012, the protocol is initiated at version 209,
// and earlier versions are no longer supported
// verack is at 209 , MIN_PEER_PROTO_VERSION is at 70001
printf("partner %s using obsolete version %i; disconnecting\n", pfrom->addr.ToString().c_str(), pfrom->nVersion);
pfrom->fDisconnect = true;
return false;