Notifies listeners of a block being disconnected Provides the block that was disconnected.

Synopsis

Declared in <validationinterface.h>

virtual
void
BlockDisconnected(
    std::shared_ptr<CBlock const> const& block,
    CBlockIndex const* pindex);

Description

Called on a background thread. Only called for the active chainstate, since background chainstates should never disconnect blocks.

Parameters

Name

Description

block

The block that was disconnected.

pindex

Block index entry for the disconnected block.

Created with MrDocs