[#CBlockIndex-nHeight] = xref:CBlockIndex.adoc[CBlockIndex]::nHeight :relfileprefix: ../ :mrdocs: height of the entry in the chain. The genesis block has height 0 == Synopsis Declared in `<chain.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int nHeight = {0}; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#