aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-07-06 07:35:39 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-07-06 07:35:54 +0200
commit042c323922fce00a1cd0d955a0c8b8bfa80e4045 (patch)
tree0e2814e730c5b0672621cf6926c59c3ae23e7abb /src/init.cpp
parentaef381161f3bac4a720d9134920b8836a09fb280 (diff)
parentab8be98fdb25b678a8cd7e89adf06d1b1f6bdd62 (diff)
Merge #8275: Remove bad chain alert partition check
ab8be98 Remove bad chain alert partition check (BtcDrak)
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/init.cpp b/src/init.cpp
index ea4ccaddfc..0f641821d4 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1447,12 +1447,6 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
StartNode(threadGroup, scheduler);
- // 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);
-
// ********************************************************* Step 12: finished
SetRPCWarmupFinished();