Handle a block being connected to the active chain.
Declared in <zmq/zmqnotificationinterface.h>
virtual
void
BlockConnected(
kernel::ChainstateRole const& role,
std::shared_ptr<CBlock const> const& pblock,
CBlockIndex const* pindexConnected) override;
| Name | Description |
|---|---|
| role | The role of the chainstate the block was connected to. |
| pblock | The connected block. |
| pindexConnected | The block index of the connected block. |