Dash Core
0.12.2.1
P2P Digital Currency
checkpoints.h
Go to the documentation of this file.
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.
4
5
#ifndef BITCOIN_CHECKPOINTS_H
6
#define BITCOIN_CHECKPOINTS_H
7
8
#include "
uint256.h
"
9
10
#include <map>
11
12
class
CBlockIndex
;
13
struct
CCheckpointData
;
14
19
namespace
Checkpoints
20
{
21
23
CBlockIndex
*
GetLastCheckpoint
(
const
CCheckpointData
&
data
);
24
25
double
GuessVerificationProgress
(
const
CCheckpointData
&
data
,
CBlockIndex
* pindex,
bool
fSigchecks =
true
);
26
27
}
//namespace Checkpoints
28
29
#endif // BITCOIN_CHECKPOINTS_H
Checkpoints
Definition:
checkpoints.cpp:17
Checkpoints::GetLastCheckpoint
CBlockIndex * GetLastCheckpoint(const CCheckpointData &data)
Returns last CBlockIndex* in mapBlockIndex that is a checkpoint.
Definition:
checkpoints.cpp:59
CCheckpointData
Definition:
chainparams.h:28
gen_base58_test_vectors.data
data
Definition:
gen_base58_test_vectors.py:123
Checkpoints::GuessVerificationProgress
double GuessVerificationProgress(const CCheckpointData &data, CBlockIndex *pindex, bool fSigchecks)
Guess how far we are in the verification process at the given block index.
Definition:
checkpoints.cpp:30
uint256.h
CBlockIndex
Definition:
chain.h:100
src
checkpoints.h
Generated on Thu Dec 14 2017 13:15:02 for Dash Core by
1.8.14