[#ChainstateManager-CheckBlockIndex]
= xref:ChainstateManager.adoc[ChainstateManager]::CheckBlockIndex
:relfileprefix: ../
:mrdocs:

Make various assertions about the state of the block index&period;

== Synopsis

Declared in `&lt;validation&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
CheckBlockIndex() const;
----

== Description

By default this only executes fully when using the Regtest chain&semi; see&colon; m&lowbar;options&period;check&lowbar;block&lowbar;index&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
