Undo the effects of a block on a given coins view.
Declared in <validation.h>
[[requires_capability(0x7f9513ab47c8), requires_capability(0x7f9502c97838), requires_capability(0x7f9525449568), requires_capability(0x7f95173ff848)]]
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. |