Bitcoin ABC
0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
src
checkpoints.h
Go to the documentation of this file.
1
// Copyright (c) 2009-2016 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
struct
BlockHash
;
9
struct
CCheckpointData
;
10
15
namespace
Checkpoints
{
16
18
bool
CheckBlock
(
const
CCheckpointData
&data,
int
nHeight
,
19
const
BlockHash
&hash);
20
21
}
// namespace Checkpoints
22
23
#endif
// BITCOIN_CHECKPOINTS_H
nHeight
unsigned int nHeight
Definition
mempool_eviction.cpp:15
Checkpoints
Block-chain checkpoints are compiled-in sanity checks.
Definition
checkpoints.cpp:9
Checkpoints::CheckBlock
bool CheckBlock(const CCheckpointData &data, int nHeight, const BlockHash &hash)
Returns true if block passes checkpoint checks.
Definition
checkpoints.cpp:11
BlockHash
A BlockHash is a unqiue identifier for a block.
Definition
blockhash.h:13
CCheckpointData
Definition
chainparams.h:33
Generated on Fri Nov 22 2024 02:38:21 for Bitcoin ABC by
1.9.8