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
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. |
Created with MrDocs