aboutsummaryrefslogtreecommitdiff
path: root/src/checkpoints.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-09-04 02:01:10 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2014-09-04 02:01:10 +0200
commita0dbe433bdb3f22be639fbb675c371277fba6d80 (patch)
tree07510ed5abf653fa6562bc6eb0276455f2419a69 /src/checkpoints.h
parent961c4a04c25237285fb9a694f8918556c690bcd6 (diff)
checkpoints.cpp depends on main, it can use mapBlockIndex directly
Diffstat (limited to 'src/checkpoints.h')
-rw-r--r--src/checkpoints.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checkpoints.h b/src/checkpoints.h
index 52cdc35559..6d3f2d4935 100644
--- a/src/checkpoints.h
+++ b/src/checkpoints.h
@@ -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);