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

Name

Description

role

Which chainstate (active or background) connected the block.

block

The block that was connected.

pindex

Block index entry for the connected block.

Created with MrDocs