Undo the effects of a block on a given coins view.
Declared in <validation.h>
DisconnectResult
DisconnectBlock(
CBlock const& block,
CBlockIndex const* pindex,
CCoinsViewCache& view);
The result of disconnecting the block from the view.
| Name | Description |
|---|---|
| block | The block to disconnect. |
| pindex | Block index entry corresponding to the block. |
| view | The coins view to apply the disconnection to. |