From 3eada74d6f4720e650c67461c04c3aafdeaff21e Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Mon, 8 Jun 2015 10:14:44 +0200 Subject: [PATCH] Disable partition check for now, it triggers too often (issue #6251) --- src/init.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/init.cpp b/src/init.cpp index 6b343fb04..bd9d38619 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1392,13 +1392,13 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler) #endif StartNode(threadGroup, scheduler); - +#if 0 // Disable partition check for now, it triggers too often (issue #6251) // Monitor the chain, and alert if we get blocks much quicker or slower than expected int64_t nPowTargetSpacing = Params().GetConsensus().nPowTargetSpacing; CScheduler::Function f = boost::bind(&PartitionCheck, &IsInitialBlockDownload, boost::ref(cs_main), boost::cref(chainActive), nPowTargetSpacing); scheduler.scheduleEvery(f, nPowTargetSpacing); - +#endif #ifdef ENABLE_WALLET // Generate coins in the background if (pwalletMain)