Efficiently finds an ancestor of this block.
Declared in <chain.h>
<chain.h>
CBlockIndex const* GetAncestor(int height) const;
The ancestor at the given height, or nullptr if none exists.