node::BlockManager::IsBlockPruned

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

Synopsis

Declared in <node/blockstorage.h>

[[requires_capability(0x7f2e1b0998b8), requires_capability(0x7f2e26d1b018), requires_capability(0x7f2e375e10f8), requires_capability(0x7f2e333684b8), requires_capability(0x7f2e3542f4a8), requires_capability(0x7f2e28a74008)]]
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.