[#Consensus-Params-DifficultyAdjustmentInterval]
= xref:Consensus.adoc[Consensus]::xref:Consensus/Params.adoc[Params]::DifficultyAdjustmentInterval
:relfileprefix: ../../
:mrdocs:

Returns the number of blocks in one difficulty retargeting interval&period;

== Synopsis

Declared in `&lt;consensus&sol;params&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int64&lowbar;t
DifficultyAdjustmentInterval() const;
----

== Return Value

The retarget timespan divided by the target block spacing&period;


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