Merge pull request #6172
a1ba077
Ignore getheaders requests when not synced. (Suhas Daftuar)
This commit is contained in:
commit
88a7ead5de
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue