# 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
