[#node-GetMinimumTime]
= xref:node.adoc[node]::GetMinimumTime
:relfileprefix: ../
:mrdocs:

Get the minimum time a miner should use in the next block&period; This always accounts for the BIP94 timewarp rule, so does not necessarily reflect the consensus limit&period;

== Synopsis

Declared in `&lt;node&sol;miner&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int64&lowbar;t
GetMinimumTime(
    xref:CBlockIndex.adoc[CBlockIndex] const* pindexPrev,
    int64&lowbar;t difficulty&lowbar;adjustment&lowbar;interval);
----

== Return Value

The minimum timestamp allowed for the next block&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pindexPrev*
| The block the next block will build on&period;
| *difficulty&lowbar;adjustment&lowbar;interval*
| The number of blocks between difficulty adjustments&period;
|===


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