Return the inclusive[start, end] of block heights we can prune.
Synopsis
Declared in <validation.h>
[[requires_capability(0x7fb95fa39120), requires_capability(0x7fb96ac60080), requires_capability(0x7fb96e9d68a0), requires_capability(0x7fb98748bf10)]]
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
Name |
Description |
last_height_can_prune |
Highest block height eligible for pruning. |
Created with MrDocs