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