diff options
author | Gregory Maxwell <greg@xiph.org> | 2016-11-02 01:49:45 +0000 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2016-11-02 01:49:45 +0000 |
commit | 2082b5574cec783f4ff99941492d92e05680b293 (patch) | |
tree | 3b7d3bfdf341914649ab7a5a3fbe00749805fe41 /src/checkpoints.h | |
parent | fd46136dfaf68a7046cf7b8693824d73ac6b1caf (diff) |
Remove GetTotalBlocksEstimate and checkpoint tests that test nothing.
GetTotalBlocksEstimate is no longer used and it was the only thing
the checkpoint tests were testing.
Since checkpoints are on their way out it makes more sense to remove
the test file than to cook up a new pointless test.
Diffstat (limited to 'src/checkpoints.h')
-rw-r--r-- | src/checkpoints.h | 3 |
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); |