diff options
| author | Wladimir J. van der Laan <[email protected]> | 2015-06-10 10:29:44 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-06-10 10:33:12 +0200 |
| commit | 8d9f0a60698e951ab1070432230c14e6fcbbfbf4 (patch) | |
| tree | 0c93804bef5e2c7c130abb8e831209519ef03122 /src/checkpoints.cpp | |
| parent | Merge pull request #6222 (diff) | |
| parent | Reduce checkpoints' effect on consensus. (diff) | |
| download | discoin-8d9f0a60698e951ab1070432230c14e6fcbbfbf4.tar.xz discoin-8d9f0a60698e951ab1070432230c14e6fcbbfbf4.zip | |
Merge pull request #5927
dce8360 Reduce checkpoints' effect on consensus. (Pieter Wuille)
Diffstat (limited to 'src/checkpoints.cpp')
| -rw-r--r-- | src/checkpoints.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/checkpoints.cpp b/src/checkpoints.cpp index 202448613..87f4ad7f2 100644 --- a/src/checkpoints.cpp +++ b/src/checkpoints.cpp @@ -24,15 +24,6 @@ namespace Checkpoints { */ static const double SIGCHECK_VERIFICATION_FACTOR = 5.0; - bool CheckBlock(const CCheckpointData& data, int nHeight, const uint256& hash) - { - const MapCheckpoints& checkpoints = data.mapCheckpoints; - - MapCheckpoints::const_iterator i = checkpoints.find(nHeight); - if (i == checkpoints.end()) return true; - return hash == i->second; - } - //! Guess how far we are in the verification process at the given block index double GuessVerificationProgress(const CCheckpointData& data, CBlockIndex *pindex, bool fSigchecks) { if (pindex==NULL) |