CZMQNotificationInterface::BlockDisconnected

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

NameDescription
pblockThe disconnected block.
pindexDisconnectedThe block index of the disconnected block.