Undo the effects of a block on a given coins view.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7f2e1ba84438), requires_capability(0x7f2e14564088), requires_capability(0x7f2e373bd238), requires_capability(0x7f2e36e33e88)]]
DisconnectResult
DisconnectBlock(
    CBlock const& block,
    CBlockIndex const* pindex,
    CCoinsViewCache& view);

Return Value

The result of disconnecting the block from the view.

Parameters

Name

Description

block

The block to disconnect.

pindex

Block index entry corresponding to the block.

view

The coins view to apply the disconnection to.

Created with MrDocs