Get the minimum time a miner should use in the next block. This always accounts for the BIP94 timewarp rule, so does not necessarily reflect the consensus limit.
Declared in <node/miner.h>
int64_t
GetMinimumTime(
CBlockIndex const* pindexPrev,
int64_t difficulty_adjustment_interval);
The minimum timestamp allowed for the next block.
| Name | Description |
|---|---|
| pindexPrev | The block the next block will build on. |
| difficulty_adjustment_interval | The number of blocks between difficulty adjustments. |