Find the earliest block with timestamp equal or greater than the given time and height equal or greater than the given height.

Synopsis

Declared in <chain.h>

CBlockIndex*
FindEarliestAtLeast(
    int64_t nTime,
    int height) const;

Return Value

The earliest matching block index entry, or nullptr if none qualifies.

Parameters

Name

Description

nTime

The minimum block timestamp.

height

The minimum block height.

Created with MrDocs