btck_chain_get_height

Return the height of the tip of the chain.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[__nonnull__]]
int32_t
btck_chain_get_height(btck_Chain const* chain);

Return Value

The current height.

Parameters

NameDescription
chain [in]Non-null.