[Wallet] Bugfix: FRT: don't terminate when keypool is empty
[bitcoinplatinum.git] / src / checkpoints.h
blob04346f35ffa7c4c261cba174300e3f594d303a27
1 // Copyright (c) 2009-2015 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 #ifndef BITCOIN_CHECKPOINTS_H
6 #define BITCOIN_CHECKPOINTS_H
8 #include "uint256.h"
10 #include <map>
12 class CBlockIndex;
13 struct CCheckpointData;
15 /**
16 * Block-chain checkpoints are compiled-in sanity checks.
17 * They are updated every release or three.
19 namespace Checkpoints
22 //! Returns last CBlockIndex* in mapBlockIndex that is a checkpoint
23 CBlockIndex* GetLastCheckpoint(const CCheckpointData& data);
25 double GuessVerificationProgress(const CCheckpointData& data, CBlockIndex* pindex, bool fSigchecks = true);
27 } //namespace Checkpoints
29 #endif // BITCOIN_CHECKPOINTS_H