Return headers even if initial download
This commit is contained in:
@@ -6842,7 +6842,7 @@ fprintf(stderr,"netmsg: %s\n", strCommand.c_str());
|
|||||||
|
|
||||||
LOCK(cs_main);
|
LOCK(cs_main);
|
||||||
|
|
||||||
if (IsInitialBlockDownload())
|
if (chainActive.LastTip() != 0 && chainActive.LastTip().GetHeight() > 100000 && IsInitialBlockDownload())
|
||||||
{
|
{
|
||||||
fprintf(stderr,"dont process getheaders during initial download\n");
|
fprintf(stderr,"dont process getheaders during initial download\n");
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user