Handle a block being disconnected from the active chain.

Synopsis

Declared in <zmq/zmqnotificationinterface.h>

virtual
void
BlockDisconnected(
    std::shared_ptr<CBlock const> const& pblock,
    CBlockIndex const* pindexDisconnected) override;

Parameters

Name

Description

pblock

The disconnected block.

pindexDisconnected

The block index of the disconnected block.

Created with MrDocs