[#CChainParams-MineBlocksOnDemand]
= xref:CChainParams.adoc[CChainParams]::MineBlocksOnDemand
:relfileprefix: ../
:mrdocs:

Reports whether blocks can be mined on demand without retargeting&period;

== Synopsis

Declared in `&lt;kernel&sol;chainparams&period;h&gt;`

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

== Return Value

`true` when proof&hyphen;of&hyphen;work difficulty retargeting is disabled&period;


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