Skip to content
Permalink
Browse files

remove services check preventing legacy node sync

  • Loading branch information...
barrystyle committed May 23, 2019
1 parent b1df8a0 commit 97f538cd7fd308a71884ecb7cd30401cb39bf4d7
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/net_processing.cpp
@@ -1908,6 +1908,7 @@ bool static ProcessMessage(CNode* pfrom, const std::string& strCommand, CDataStr
{
connman->SetServices(pfrom->addr, nServices);
}
#if 0
if (!pfrom->fInbound && !pfrom->fFeeler && !pfrom->m_manual_connection && !HasAllDesirableServiceFlags(nServices))
{
LogPrint(BCLog::NET, "peer=%d does not offer the expected services (%08x offered, %08x expected); disconnecting\n", pfrom->GetId(), nServices, GetDesirableServiceFlags(nServices));
@@ -1918,6 +1919,7 @@ bool static ProcessMessage(CNode* pfrom, const std::string& strCommand, CDataStr
pfrom->fDisconnect = true;
return false;
}
#endif

if (nVersion < MIN_PEER_PROTO_VERSION)
{

0 comments on commit 97f538c

Please sign in to comment.
You can’t perform that action at this time.