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);

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;

Parameters

Name

Description

role

Which chainstate (active or background) connected the block.

block

The block that was connected.

pindex

Block index entry for the connected block.

pblock

The connected block.

pindexConnected

The block index of the connected block.

Created with MrDocs