ChainstateManager::UpdateUncommittedBlockStructures

Update uncommitted block structures (currently: only the witness reserved value). This is safe for submitted blocks as long as they honor default_witness_commitment from the template.

Synopsis

Declared in <validation.h>

void
UpdateUncommittedBlockStructures(
    CBlock& block,
    CBlockIndex const* pindexPrev) const;

Parameters

NameDescription
blockThe block whose uncommitted structures are updated.
pindexPrevBlock index entry of the parent block.