Monero
Loading...
Searching...
No Matches
checkpoints.h File Reference
#include <map>
#include "misc_log_ex.h"
#include "crypto/hash.h"
#include "cryptonote_config.h"
#include "cryptonote_basic/difficulty.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 ADD_CHECKPOINT2(h, hash, difficulty)
#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);
static uint64_t h
Definition blockchain_stats.cpp:55

◆ ADD_CHECKPOINT2

#define ADD_CHECKPOINT2 ( h,
hash,
difficulty )
Value:
CHECK_AND_ASSERT(add_checkpoint(h, hash, difficulty), false);

◆ JSON_HASH_FILE_NAME

#define JSON_HASH_FILE_NAME   "checkpoints.json"