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

Whether expensive block&hyphen;index consistency checks should run&period;

== Synopsis

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

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

== Return Value

true if the block index should be checked (e&period;g&period; on regtest)&period;


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