Raven Core
3.0.0
P2P Digital Currency
src
checkpoints.h
Go to the documentation of this file.
1
// Copyright (c) 2009-2016 The Bitcoin Core developers
2
// Copyright (c) 2017-2019 The Raven Core developers
3
// Distributed under the MIT software license, see the accompanying
4
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
6
#ifndef RAVEN_CHECKPOINTS_H
7
#define RAVEN_CHECKPOINTS_H
8
9
#include "
uint256.h
"
10
11
#include <map>
12
13
class
CBlockIndex
;
14
struct
CCheckpointData
;
15
20
namespace
Checkpoints
21
{
22
24
CBlockIndex
*
GetLastCheckpoint
(
const
CCheckpointData
& data);
25
26
}
//namespace Checkpoints
27
28
#endif // RAVEN_CHECKPOINTS_H
CCheckpointData
Definition:
chainparams.h:31
Checkpoints
Block-chain checkpoints are compiled-in sanity checks.
Definition:
checkpoints.cpp:17
Checkpoints::GetLastCheckpoint
CBlockIndex * GetLastCheckpoint(const CCheckpointData &data)
Returns last CBlockIndex* in mapBlockIndex that is a checkpoint.
Definition:
checkpoints.cpp:19
uint256.h
CBlockIndex
The block chain is a tree shaped structure starting with the genesis block at the root...
Definition:
chain.h:172
Generated on Mon Jul 29 2019 02:32:17 for Raven Core by
1.8.13