]> Git Repo - VerusCoin.git/blobdiff - src/checkpoints.cpp
fix GetScriptForMining() CReserveKey::keepKey() issue
[VerusCoin.git] / src / checkpoints.cpp
index 20244861399bf182994c7d24b30cad274b084bef..87f4ad7f2ec6a079a432d5cc168d0fd04816799e 100644 (file)
@@ -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)
This page took 0.026292 seconds and 4 git commands to generate.