Notifies listeners of a block being disconnected Provides the block that was disconnected.
Declared in <validationinterface.h>
virtual
void
BlockDisconnected(
std::shared_ptr<CBlock const> const& block,
CBlockIndex const* pindex);
Called on a background thread. Only called for the active chainstate, since background chainstates should never disconnect blocks.
| Name | Description |
|---|---|
| block | The block that was disconnected. |
| pindex | Block index entry for the disconnected block. |