Undo the effects of a block on a given coins view.
Declared in <validation.h>
[[requires_capability(0x7fbc8fb660a8), requires_capability(0x7fbc96bfe718), requires_capability(0x7fbcaf5d5b28), requires_capability(0x7fbc9e0dc2f8)]]
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. |