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.
This commit is contained in:
Gregory Maxwell
2016-11-02 01:49:45 +00:00
parent fd46136dfa
commit 2082b5574c
4 changed files with 0 additions and 41 deletions

View File

@@ -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);