// 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