CChain::Height

Return the maximal height in the chain. Is equal to chain.Tip() ? chain.Tip()->nHeight : -1.

Synopsis

Declared in <chain.h>

int
Height() const;

Return Value

The height of the tip, or -1 if the chain is empty.