CZMQNotificationInterface::BlockConnected

BlockConnected overloads

Synopses

Declared in <zmq/zmqnotificationinterface.h>

Notifies listeners of a block being connected.

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

Handle a block being connected to the active chain.

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

Parameters

NameDescription
roleWhich chainstate (active or background) connected the block.
blockThe block that was connected.
pindexBlock index entry for the connected block.
pblockThe connected block.
pindexConnectedThe block index of the connected block.