mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-28 16:36:04 +01:00
Ignore getheaders requests when not synced.
Rebased-From: a1ba0778dd
Github-Pull: #6172
This commit is contained in:
committed by
Wladimir J. van der Laan
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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user