Electroneum
Classes | Namespaces | Macros
checkpoints.h File Reference
#include <map>
#include <vector>
#include "cryptonote_basic_impl.h"
#include "misc_log_ex.h"
#include "storages/portable_storage_template_helper.h"
Include dependency graph for checkpoints.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cryptonote::checkpoints
 A container for blockchain checkpoints. More...
 
struct  cryptonote::checkpoints::t_hashline
 struct for loading a checkpoint from json More...
 
struct  cryptonote::checkpoints::t_hash_json
 struct for loading many checkpoints from json More...
 

Namespaces

 cryptonote
 Holds cryptonote related classes and helpers.
 

Macros

#define ADD_CHECKPOINT(h, hash)   CHECK_AND_ASSERT(add_checkpoint(h, hash), false);
 
#define JSON_HASH_FILE_NAME   "checkpoints.json"
 

Macro Definition Documentation

◆ ADD_CHECKPOINT

#define ADD_CHECKPOINT (   h,
  hash 
)    CHECK_AND_ASSERT(add_checkpoint(h, hash), false);

◆ JSON_HASH_FILE_NAME

#define JSON_HASH_FILE_NAME   "checkpoints.json"