Remove GetTotalBlocksEstimate and checkpoint tests that test nothing.

This commit is contained in:
Gregory Maxwell
2016-11-02 01:49:45 +00:00
committed by lateminer
parent 872628a702
commit ef31caf805
4 changed files with 0 additions and 41 deletions

View File

@@ -55,16 +55,6 @@ namespace Checkpoints {
return fWorkBefore / (fWorkBefore + fWorkAfter);
}
int GetTotalBlocksEstimate(const CCheckpointData& data)
{
const MapCheckpoints& checkpoints = data.mapCheckpoints;
if (checkpoints.empty())
return 0;
return checkpoints.rbegin()->first;
}
CBlockIndex* GetLastCheckpoint(const CCheckpointData& data)
{
const MapCheckpoints& checkpoints = data.mapCheckpoints;