[#Chainstate-GetPruneRange] = xref:Chainstate.adoc[Chainstate]::GetPruneRange :relfileprefix: ../ :mrdocs: Return the inclusive[start, end] of block heights we can prune. == Synopsis Declared in `<validation.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e1ba85430), requires_capability(0x7f2e14565080), requires_capability(0x7f2e373be230), requires_capability(0x7f2e36e34e80)]] std::pair<int, int> GetPruneRange(int last_height_can_prune) const; ---- == Description start > end is possible, meaning no blocks can be pruned. == Return Value The inclusive [start, end]range of prunable block heights. == Parameters [cols="1,4"] |=== | Name| Description | *last_height_can_prune* | Highest block height eligible for pruning. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#