CZMQNotificationInterface::BlockConnected

Handle a block being connected to the active chain.

Synopsis

Declared in <zmq/zmqnotificationinterface.h>

virtual
void
BlockConnected(
    kernel::ChainstateRole const& role,
    std::shared_ptr<CBlock const> const& pblock,
    CBlockIndex const* pindexConnected) override;

Parameters

NameDescription
roleThe role of the chainstate the block was connected to.
pblockThe connected block.
pindexConnectedThe block index of the connected block.