From 405363c75e5f34696c05d5541a92bdf2cc529ab5 Mon Sep 17 00:00:00 2001 From: Gregory Sanders Date: Thu, 25 May 2017 13:07:37 -0400 Subject: [PATCH] Respond to getheaders even in IBD mode --- src/net_processing.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net_processing.cpp b/src/net_processing.cpp index 3ec1a1c27d..87fc8dced5 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -1717,10 +1717,10 @@ bool static ProcessMessage(CNode* pfrom, const std::string& strCommand, CDataStr vRecv >> locator >> hashStop; LOCK(cs_main); - if (IsInitialBlockDownload() && !pfrom->fWhitelisted) { + /*if (IsInitialBlockDownload() && !pfrom->fWhitelisted) { LogPrint("net", "Ignoring getheaders from peer=%d because node is in initial block download\n", pfrom->id); return true; - } + }*/ CNodeState *nodestate = State(pfrom->GetId()); const CBlockIndex* pindex = NULL;