CValidationInterface::BlockConnected

Notifies listeners of a block being connected.

Synopsis

Declared in <validationinterface.h>

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

Description

Called on a background thread.

Parameters

NameDescription
roleWhich chainstate (active or background) connected the block.
blockThe block that was connected.
pindexBlock index entry for the connected block.