Electroneum
Loading...
Searching...
No Matches
checkpoints.h File Reference
#include <map>
#include "misc_log_ex.h"
#include "crypto/hash.h"
#include "cryptonote_config.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...

Namespaces

namespace  cryptonote
 Holds cryptonote related classes and helpers.

Macros

#define ADD_CHECKPOINT(h, hash)
#define JSON_HASH_FILE_NAME   "checkpoints.json"

Macro Definition Documentation

◆ ADD_CHECKPOINT

#define ADD_CHECKPOINT ( h,
hash )
Value:
CHECK_AND_ASSERT(add_checkpoint(h, hash), false);
#define CHECK_AND_ASSERT(expr, fail_ret_val)

Definition at line 38 of file checkpoints.h.

◆ JSON_HASH_FILE_NAME

#define JSON_HASH_FILE_NAME   "checkpoints.json"

Definition at line 39 of file checkpoints.h.