Return height of highest block that has been pruned, or std::nullopt if no blocks have been pruned
Declared in <rpc/blockchain.h>
[[requires_capability(0x7f2e2991bce8)]]
std::optional<int>
GetPruneHeight(
node::BlockManager const& blockman,
CChain const& chain);
The height of the highest pruned block, or std::nullopt if none were pruned.
| Name | Description |
|---|---|
| blockman | The block manager to query. |
| chain | The active chain to measure against. |