This commit is contained in:
jl777
2018-03-25 21:03:37 +03:00
parent 96ac204532
commit 9f8c713560

View File

@@ -22,13 +22,13 @@ namespace Checkpoints
typedef std::map<int, uint256> MapCheckpoints; typedef std::map<int, uint256> MapCheckpoints;
struct CCheckpointData { /*struct CCheckpointData {
MapCheckpoints mapCheckpoints; MapCheckpoints mapCheckpoints;
int64_t nTimeLastCheckpoint; int64_t nTimeLastCheckpoint;
int64_t nTransactionsLastCheckpoint; int64_t nTransactionsLastCheckpoint;
double fTransactionsPerDay; double fTransactionsPerDay;
}; };*/
bool CheckBlock(const CCheckpointData& data, int nHeight, const uint256& hash); bool CheckBlock(const CChainParams::CCheckpointData& data, int nHeight, const uint256& hash);
//! Return conservative estimate of total number of blocks, 0 if unknown //! Return conservative estimate of total number of blocks, 0 if unknown