[#BaseIndex-DB-ReadBestBlock]
= xref:BaseIndex.adoc[BaseIndex]::xref:BaseIndex/DB.adoc[DB]::ReadBestBlock
:relfileprefix: ../../
:mrdocs:

Read block locator of the chain that the index is in sync with&period; Note, the returned locator will be empty if no record exists&period;

== Synopsis

Declared in `&lt;index&sol;base&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
xref:CBlockLocator.adoc[CBlockLocator]
ReadBestBlock() const;
----

== Return Value

The stored block locator, or an empty locator if none is present&period;


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