[#GetPruneHeight] = GetPruneHeight :mrdocs: Return height of highest block that has been pruned, or std::nullopt if no blocks have been pruned == Synopsis Declared in `<rpc/blockchain.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e2991bce8)]] std::optional<int> GetPruneHeight( xref:node/BlockManager.adoc[node::BlockManager] const& blockman, xref:CChain.adoc[CChain] const& chain); ---- == Return Value The height of the highest pruned block, or std::nullopt if none were pruned. == Parameters [cols="1,4"] |=== | Name| Description | *blockman* | The block manager to query. | *chain* | The active chain to measure against. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#