Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
Refuse old peers version
  • Loading branch information
Metice committed Dec 5, 2015
1 parent dece738 commit fb7ad7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4021,7 +4021,9 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
(pfrom->cleanSubVer == "/DigiByte:3.0.0/") ||
(pfrom->cleanSubVer == "/DigiByte:3.0.1/") ||
(pfrom->cleanSubVer == "/DigiByte:3.0.2/") ||
(pfrom->cleanSubVer == "/DigiByte:3.0.2.1/")
(pfrom->cleanSubVer == "/DigiByte:3.0.2.1/") ||
(pfrom->cleanSubVer == "/DigiByte:3.0.3/") ||
(pfrom->cleanSubVer == "/DigiByte:3.0.3.1/")
)
{
// disconnect from peers older than this proto version
Expand Down

0 comments on commit fb7ad7d

Please sign in to comment.