From 3322b029eca15763a71813517acdd5800c51046c Mon Sep 17 00:00:00 2001 From: Evan Duffield Date: Tue, 20 Jan 2015 03:39:04 -0700 Subject: [PATCH] replaced IsInitialBlockDownload with more basic/faster check --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index e4e312d986..dd68fdc5be 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3211,7 +3211,7 @@ bool ProcessBlock(CValidationState &state, CNode* pfrom, CBlock* pblock, CDiskBl } if(!fLiteMode){ - if(!IsInitialBlockDownload()){ + if (!fImporting && !fReindex && chainActive.Height() > Checkpoints::GetTotalBlocksEstimate()){ darkSendPool.CheckTimeout(); darkSendPool.NewBlock(); }