diff options
author | BtcDrak <btcdrak@gmail.com> | 2016-06-14 12:26:59 +0100 |
---|---|---|
committer | BtcDrak <btcdrak@gmail.com> | 2016-06-14 12:26:59 +0100 |
commit | ab8be98fdb25b678a8cd7e89adf06d1b1f6bdd62 (patch) | |
tree | 678d214b0577f979f6a3eca5f0b3afe3dcf70f7d /src/init.cpp | |
parent | 520161480eb12e50c8c3cbebf27a4f78751a6472 (diff) |
Remove bad chain alert partition check
As per meeting 2016-03-31
https://bitcoincore.org/en/meetings/2016/03/31/#bad-chain-alerts
The partition checker was producing huge number of false-positives
and was disabled in 0.12.1 on the understanding it would either be
fixed in 0.13 or removed entirely from master if not.
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/init.cpp b/src/init.cpp index c2ba9ae44b..323d1cedcf 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1416,12 +1416,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(); |