Update accumulatorcheckpoints.json.h

This commit is contained in:
2024-10-19 17:15:33 -07:00
committed by GitHub
parent 4fa6f5753d
commit eeadf551bc
+21
View File
@@ -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