aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2015-06-21 17:49:50 +0200
committerRoss Nicoll <[email protected]>2015-07-29 18:29:30 +0100
commitc09dfd06fc2d183b996503d29da502ab0b49cb26 (patch)
treef1b29df7e4cc07f30bf68310e04ce2683a71fd6b /src
parentMerge pull request #1212 from langerhans/1.10-dev-travis-caching (diff)
downloaddiscoin-c09dfd06fc2d183b996503d29da502ab0b49cb26.tar.xz
discoin-c09dfd06fc2d183b996503d29da502ab0b49cb26.zip
Revert "Disable partition check for now, it triggers too often (issue #6251)"
Re-enable partition check, it should be safe again after #6256. This reverts commit 3eada74d6f4720e650c67461c04c3aafdeaff21e.
Diffstat (limited to 'src')
-rw-r--r--src/init.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp
index fa8e4317e..a49406ec1 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1420,13 +1420,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(pindexBestHeader), nPowTargetSpacing);
scheduler.scheduleEvery(f, nPowTargetSpacing);
-#endif
+
#ifdef ENABLE_WALLET
// Generate coins in the background
if (pwalletMain)