checkpoints

A container for blockchain checkpoints

A checkpoint is a pre-defined hash for the block at a given height.

Some of these are compiled-in, while others can be loaded at runtime either from a json file or via DNS from a checkpoint-hosting server.

std::map<uint64_t, crypto::hash> m_points; //!< the checkpoints container

add_checkpoint

is_in_checkpoint_zone

check_block

check_block

is_alternative_block_allowed

get_max_height

get_points

check_for_conflicts

init_default_checkpoints

load_new_checkpoints

load_checkpoints_from_json

load_checkpoints_from_dns

Last updated

Was this helpful?