Function Ledger.height

Returns the height at which this Ledger is currently at

Height height() pure nothrow @nogc scope @safe const;

The value returned by this method will only ever increase or stall, and shall never decrease. If the need arrive to compare Ledger state, use ledger.lastBlock().hashFull().

Returns

The highest block height known to this Ledger