node::BlockManager::IsBlockPruned

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

Synopsis

Declared in <node/blockstorage.h>

[[requires_capability(0x7f95130c9908), requires_capability(0x7f950163cbf8), requires_capability(0x7f95241d9be8), requires_capability(0x7f951f330ee8), requires_capability(0x7f950b9c2ea8), requires_capability(0x7f95175c55f8)]]
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.