From 60157d2f02642d3050fc063157263be78099bdc4 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 23 Nov 2018 05:30:43 -1100 Subject: [PATCH] Return headers even if initial download --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index bc514f693..4a30e634b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -6842,7 +6842,7 @@ fprintf(stderr,"netmsg: %s\n", strCommand.c_str()); LOCK(cs_main); - if (IsInitialBlockDownload()) + if (chainActive.LastTip() != 0 && chainActive.LastTip().GetHeight() > 100000 && IsInitialBlockDownload()) { fprintf(stderr,"dont process getheaders during initial download\n"); return true;