node::BlockManager::IsBlockPruned

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

Synopsis

Declared in <node/blockstorage.h>

[[requires_capability(0x7ff37af17128), requires_capability(0x7ff376b84108), requires_capability(0x7ff37ded1cf8), requires_capability(0x7ff36c616f18), requires_capability(0x7ff37c49ad78), requires_capability(0x7ff39283d778)]]
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.