Chainstate::RollforwardBlock

Roll a block's effects forward onto a coins view during replay.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7f2e1ba85898), requires_capability(0x7f2e145654e8), requires_capability(0x7f2e373be698), requires_capability(0x7f2e36e352e8)]]
bool
RollforwardBlock(
    CBlockIndex const* pindex,
    CCoinsViewCache& inputs);

Return Value

true if the block was rolled forward successfully.

Parameters

NameDescription
pindexBlock index entry of the block to roll forward.
inputsThe coins view to apply the block's effects to.