CZMQNotificationInterface::BlockDisconnected

BlockDisconnected overloads

Synopses

Declared in <zmq/zmqnotificationinterface.h>

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

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

Handle a block being disconnected from the active chain.

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

Parameters

NameDescription
blockThe block that was disconnected.
pindexBlock index entry for the disconnected block.
pblockThe disconnected block.
pindexDisconnectedThe block index of the disconnected block.