Ignore getheaders requests when not synced.
Rebased-From: a1ba0778dd3c784046dea334e5d39f37eca264f7 Github-Pull: #6172
This commit is contained in:
parent
75a4d512cf
commit
b4bbad18ef
|
@ -4255,6 +4255,9 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
|
|||
|
||||
LOCK(cs_main);
|
||||
|
||||
if (IsInitialBlockDownload())
|
||||
return true;
|
||||
|
||||
CBlockIndex* pindex = NULL;
|
||||
if (locator.IsNull())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue