aboutsummaryrefslogtreecommitdiff
path: root/src/checkpoints.h
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2014-09-04 02:01:10 +0200
committerPieter Wuille <[email protected]>2014-09-04 02:01:10 +0200
commita0dbe433bdb3f22be639fbb675c371277fba6d80 (patch)
tree07510ed5abf653fa6562bc6eb0276455f2419a69 /src/checkpoints.h
parentMerge pull request #4808 (diff)
downloaddiscoin-a0dbe433bdb3f22be639fbb675c371277fba6d80.tar.xz
discoin-a0dbe433bdb3f22be639fbb675c371277fba6d80.zip
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 52cdc3555..6d3f2d493 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);