> For the complete documentation index, see [llms.txt](https://kelby.gitbook.io/monero/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kelby.gitbook.io/monero/chapter1/checkpoints.md).

# 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
