diff --git a/src/zagr/accumulatorcheckpoints.json.h b/src/zagr/accumulatorcheckpoints.json.h new file mode 100644 index 00000000..f03d81f3 --- /dev/null +++ b/src/zagr/accumulatorcheckpoints.json.h @@ -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 +#include + +namespace AccumulatorCheckpoints +{ + typedef std::map Checkpoint; + extern std::map 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 \ No newline at end of file