Handle a newly connected block by appending it to the index.
Declared in <index/base.h>
virtual
void
BlockConnected(
kernel::ChainstateRole const& role,
std::shared_ptr<CBlock const> const& block,
CBlockIndex const* pindex) override;
| Name | Description |
|---|---|
| role | Role of the chainstate that connected the block. |
| block | The block that was connected. |
| pindex | Block index entry for the connected block. |