aboutsummaryrefslogtreecommitdiff
path: root/src/checkpoints.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-12-08 13:11:29 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-12-08 13:11:48 +0100
commite591c1049fe5e0256ac14a92f460f374a55ffd4e (patch)
treebca5ae4ecfdf5e5ef7b3d1f0c37824e1be24b3dc /src/checkpoints.h
parent0a4aa876230c602427aa40b47a84698a3fd28e85 (diff)
parent5998a09546b033e8d55f2a45d35a6161b2cdc288 (diff)
downloadbitcoin-e591c1049fe5e0256ac14a92f460f374a55ffd4e.tar.xz
Merge #9293: [0.13 Backport] IBD using chainwork instead of height and not using header timestamp (#9053)
5998a09 IsInitialBlockDownload no longer uses header-only timestamps. (Gregory Maxwell) 5b93eee Remove GetTotalBlocksEstimate and checkpoint tests that test nothing. (Gregory Maxwell) ad20cdd IBD check uses minimumchain work instead of checkpoints. (Gregory Maxwell) 4c71fc4 Remove duplicate nBlocksEstimate cmp (we already checked IsIBD()) (Matt Corallo)
Diffstat (limited to 'src/checkpoints.h')
-rw-r--r--src/checkpoints.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/checkpoints.h b/src/checkpoints.h
index cd25ea5379..04346f35ff 100644
--- a/src/checkpoints.h
+++ b/src/checkpoints.h
@@ -19,9 +19,6 @@ struct CCheckpointData;
namespace Checkpoints
{
-//! Return conservative estimate of total number of blocks, 0 if unknown
-int GetTotalBlocksEstimate(const CCheckpointData& data);
-
//! Returns last CBlockIndex* in mapBlockIndex that is a checkpoint
CBlockIndex* GetLastCheckpoint(const CCheckpointData& data);