[#CChain-FindEarliestAtLeast]
= xref:CChain.adoc[CChain]::FindEarliestAtLeast
:relfileprefix: ../
:mrdocs:

Find the earliest block with timestamp equal or greater than the given time and height equal or greater than the given height&period;

== Synopsis

Declared in `&lt;chain&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CBlockIndex.adoc[CBlockIndex]*
FindEarliestAtLeast(
    int64&lowbar;t nTime,
    int height) const;
----

== Return Value

The earliest matching block index entry, or nullptr if none qualifies&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *nTime*
| The minimum block timestamp&period;
| *height*
| The minimum block height&period;
|===


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