Undo the effects of a block on a given coins view.
Declared in <validation.h>
[[requires_capability(0x7ff37b902088), requires_capability(0x7ff375c48c98), requires_capability(0x7ff37e053b08), requires_capability(0x7ff375934a68)]]
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. |