Returns the index entry at a particular height in this chain, or nullptr if no such height exists.
Synopsis
Declared in <chain.h>
CBlockIndex*
operator[](int nHeight) const;
Return Value
The block index entry at the given height, or nullptr if out of range.
Parameters
Name |
Description |
nHeight |
The height to look up. |
Created with MrDocs