Initial Vexta Core v0.1.0 release
This commit is contained in:
commit
25c454329d
2481 changed files with 689289 additions and 0 deletions
27
src/checkpoints.h
Normal file
27
src/checkpoints.h
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
// Copyright (c) 2009-2018 The DigiByte Core developers
|
||||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#ifndef DIGIBYTE_CHECKPOINTS_H
|
||||
#define DIGIBYTE_CHECKPOINTS_H
|
||||
|
||||
#include <uint256.h>
|
||||
|
||||
#include <map>
|
||||
|
||||
class CBlockIndex;
|
||||
struct CCheckpointData;
|
||||
|
||||
/**
|
||||
* Block-chain checkpoints are compiled-in sanity checks.
|
||||
* They are updated every release or three.
|
||||
*/
|
||||
namespace Checkpoints
|
||||
{
|
||||
|
||||
//! Returns last CBlockIndex* that is a checkpoint
|
||||
CBlockIndex* GetLastCheckpoint(const CCheckpointData& data);
|
||||
|
||||
} //namespace Checkpoints
|
||||
|
||||
#endif // DIGIBYTE_CHECKPOINTS_H
|
||||
Loading…
Reference in a new issue