Update accumulatorcheckpoints.json.h
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
// Copyright (c) 2018 The PIVX developers
|
||||||
|
// Distributed under the MIT software license, see the accompanying
|
||||||
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
|
#ifndef Agrarian_ACCUMULATORCHECKPOINTS_H
|
||||||
|
#define Agrarian_ACCUMULATORCHECKPOINTS_H
|
||||||
|
|
||||||
|
#include <libzerocoin/bignum.h>
|
||||||
|
#include <univalue/include/univalue.h>
|
||||||
|
|
||||||
|
namespace AccumulatorCheckpoints
|
||||||
|
{
|
||||||
|
typedef std::map<libzerocoin::CoinDenomination, CBigNum> Checkpoint;
|
||||||
|
extern std::map<int, Checkpoint> mapCheckpoints;
|
||||||
|
|
||||||
|
UniValue read_json(const std::string& jsondata);
|
||||||
|
bool LoadCheckpoints(const std::string& strNetwork);
|
||||||
|
Checkpoint GetClosestCheckpoint(const int& nHeight, int& nHeightCheckpoint);
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif //Agrarian_ACCUMULATORCHECKPOINTS_H
|
||||||
Reference in New Issue
Block a user