BaseIndex::BlockConnected

Handle a newly connected block by appending it to the index.

Synopsis

Declared in <index/base.h>

virtual
void
BlockConnected(
    kernel::ChainstateRole const& role,
    std::shared_ptr<CBlock const> const& block,
    CBlockIndex const* pindex) override;

Parameters

NameDescription
roleRole of the chainstate that connected the block.
blockThe block that was connected.
pindexBlock index entry for the connected block.