diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-06-21 17:49:50 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-06-21 17:51:01 +0200 |
commit | e6334f4aadc670916e84f2f27862d60c84822d7e (patch) | |
tree | b312763379315e559a1960b26833d6ca9540ded4 | |
parent | 5f032c75eefb0fe8ff79ed9595da1112c05f5c4a (diff) |
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.
-rw-r--r-- | src/init.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp index 3451632f1b..d127d55d7c 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1416,13 +1416,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) |