node::BlockManager::ReadBlockUndo

Read a block's undo data from disk using its block index entry.

Synopsis

Declared in <node/blockstorage.h>

bool
ReadBlockUndo(
    CBlockUndo& blockundo,
    CBlockIndex const& index) const;

Return Value

True on success, false if the undo data could not be read.

Parameters

NameDescription
blockundoOutput filled with the deserialized undo data.
indexThe block index entry identifying the block.