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

Name

Description

block

Best block recorded in the database, if any.

Created with MrDocs