checkpoints.cpp depends on main, it can use mapBlockIndex directly

This commit is contained in:
Pieter Wuille
2014-09-04 02:01:10 +02:00
parent 961c4a04c2
commit a0dbe433bd
3 changed files with 5 additions and 5 deletions

View File

@@ -22,7 +22,7 @@ namespace Checkpoints {
int GetTotalBlocksEstimate();
// Returns last CBlockIndex* in mapBlockIndex that is a checkpoint
CBlockIndex* GetLastCheckpoint(const std::map<uint256, CBlockIndex*>& mapBlockIndex);
CBlockIndex* GetLastCheckpoint();
double GuessVerificationProgress(CBlockIndex *pindex, bool fSigchecks = true);