Notifies listeners of a block being connected.
Declared in <validationinterface.h>
virtual
void
BlockConnected(
kernel::ChainstateRole const& role,
std::shared_ptr<CBlock const> const& block,
CBlockIndex const* pindex);
Called on a background thread.
| 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. |