GetAncestor overloads
Declared in <chain.h>
Efficiently find an ancestor of this block.
CBlockIndex*
GetAncestor(int height);
» more...
Efficiently finds an ancestor of this block.
CBlockIndex const*
GetAncestor(int height) const;
» more...
The ancestor at the given height, or nullptr if none exists.
| Name | Description |
|---|---|
| height | The height of the ancestor to find. |