aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorBtcDrak <btcdrak@gmail.com>2016-06-14 12:26:59 +0100
committerBtcDrak <btcdrak@gmail.com>2016-06-14 12:26:59 +0100
commitab8be98fdb25b678a8cd7e89adf06d1b1f6bdd62 (patch)
tree678d214b0577f979f6a3eca5f0b3afe3dcf70f7d /src/main.h
parent520161480eb12e50c8c3cbebf27a4f78751a6472 (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/main.h')
-rw-r--r--src/main.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main.h b/src/main.h
index 9b99ae7c87..05f7d4d920 100644
--- a/src/main.h
+++ b/src/main.h
@@ -242,8 +242,6 @@ bool ProcessMessages(CNode* pfrom);
bool SendMessages(CNode* pto);
/** Run an instance of the script checking thread */
void ThreadScriptCheck();
-/** Try to detect Partition (network isolation) attacks against us */
-void PartitionCheck(bool (*initialDownloadCheck)(), CCriticalSection& cs, const CBlockIndex *const &bestHeader, int64_t nPowTargetSpacing);
/** Check whether we are doing an initial block download (synchronizing from disk or network) */
bool IsInitialBlockDownload();
/** Format a string that describes several potential problems detected by the core.