Make various assertions about the state of the block index.
Declared in <validation.h>
<validation.h>
void CheckBlockIndex() const;
By default this only executes fully when using the Regtest chain; see: m_options.check_block_index.