node::BlockManager::IsBlockPruned

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

Synopsis

Declared in <node/blockstorage.h>

[[requires_capability(0x7fbc8f17b698), requires_capability(0x7fbca3f04bc8), requires_capability(0x7fbcace16e18), requires_capability(0x7fbca6c58a88), requires_capability(0x7fbcad360228), requires_capability(0x7fbc9fba1fe8)]]
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.