genesis 1
genesis 2
genesis 3
genesis 4 #ifndef BITCOIN_CHECKPOINT_H
genesis 5 #define BITCOIN_CHECKPOINT_H
genesis 6
genesis 7 #include <map>
genesis 8 #include "util.h"
genesis 9
genesis 10 class uint256;
genesis 11 class CBlockIndex;
genesis 12
genesis 13
genesis 14
genesis 15
genesis 16
genesis 17 namespace Checkpoints
genesis 18 {
genesis 19
genesis 20 bool CheckBlock(int nHeight, const uint256& hash);
genesis 21
genesis 22
genesis 23 int GetTotalBlocksEstimate();
genesis 24
genesis 25
genesis 26 CBlockIndex* GetLastCheckpoint(const std::map<uint256, CBlockIndex*>& mapBlockIndex);
genesis 27 }
genesis 28
genesis 29 #endif