[#node-BlockCreateOptions-test_block_validity]
= xref:node.adoc[node]::xref:node/BlockCreateOptions.adoc[BlockCreateOptions]::test&lowbar;block&lowbar;validity
:relfileprefix: ../../
:mrdocs:

Whether to call TestBlockValidity() at the end of CreateNewBlock()&period; Should only be disabled for tests &sol; benchmarks&period;

== Synopsis

Declared in `&lt;node&sol;mining&lowbar;types&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool test&lowbar;block&lowbar;validity = &lcub;true&rcub;;
----


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