BaseIndex::CustomInit

Initialize internal state from the database and block index.

Synopsis

Declared in <index/base.h>

[[nodiscard]]
virtual
bool
CustomInit(std::optional<interfaces::BlockRef> const& block);

Return Value

True on success.

NOTE

The return value should not be discarded.

Parameters

NameDescription
blockBest block recorded in the database, if any.