Return the start, end of block heights we can prune.
Declared in <validation.h>
[[requires_capability(0x7ff37b903080), requires_capability(0x7ff375c49c90), requires_capability(0x7ff37e054b00), requires_capability(0x7ff375935a60)]]
std::pair<int, int>
GetPruneRange(int last_height_can_prune) const;
start > end is possible, meaning no blocks can be pruned.
The inclusive [start, end]range of prunable block heights.
| Name | Description |
|---|---|
| last_height_can_prune | Highest block height eligible for pruning. |