Permalink
Browse files

Ignore nodes on the 9.2 fork

  • Loading branch information...
catcoiner committed Aug 4, 2015
1 parent d5ac954 commit f74b2df0a1c60e31dbb5e8c9970f2fb6701d6d52
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/main.cpp
View
@@ -3414,6 +3414,14 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
return false;
}
if (pfrom->nVersion == 70003)
{
// Disconnect from 9.2 fork peers
printf("9.2 fork peer %s version %i detected; disconnecting\n", pfrom->addr.ToString().c_str(), pfrom->nVersion);
pfrom->fDisconnect = true;
return false;
}
if (pfrom->nVersion == 10300)
pfrom->nVersion = 300;
if (!vRecv.empty())

0 comments on commit f74b2df

Please sign in to comment.