BaseIndex::DB::WriteBestBlock

Write block locator of the chain that the index is in sync with.

Synopsis

Declared in <index/base.h>

virtual
void
WriteBestBlock(
    CDBBatch& batch,
    CBlockLocator const& locator);

Parameters

NameDescription
batchWrite batch that the update is added to.
locatorBlock locator marking the chain the index is synced to.