node::BlockManager::IsBlockPruned

Check whether the block associated with this index entry is pruned or not.

Synopsis

Declared in <node/blockstorage.h>

bool
IsBlockPruned(CBlockIndex const& block) const;

Return Value

True if the block's data has been pruned from disk.

Parameters

NameDescription
blockThe block index entry to check.