[#node-BlockManager-IsBlockPruned]
= xref:node.adoc[node]::xref:node/BlockManager.adoc[BlockManager]::IsBlockPruned
:relfileprefix: ../../
:mrdocs:

Check whether the block associated with this index entry is pruned or not&period;

== Synopsis

Declared in `&lt;node&sol;blockstorage&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e1b0998b8), requires&lowbar;capability(0x7f2e26d1b018), requires&lowbar;capability(0x7f2e375e10f8), requires&lowbar;capability(0x7f2e333684b8), requires&lowbar;capability(0x7f2e3542f4a8), requires&lowbar;capability(0x7f2e28a74008)&rsqb;&rsqb;
bool
IsBlockPruned(xref:CBlockIndex.adoc[CBlockIndex] const& block) const;
----

== Return Value

True if the block&apos;s data has been pruned from disk&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *block*
| The block index entry to check&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
