Undo the effects of a block on a given coins view.
Declared in <validation.h>
[[requires_capability(0x7fb95fa38128), requires_capability(0x7fb96ac5f088), requires_capability(0x7fb96e9d58a8), requires_capability(0x7fb98748af18)]]
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. |