btck_block_header_get_bits

Get the nBits difficulty target from btck_BlockHeader.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[__nonnull__]]
uint32_t
btck_block_header_get_bits(btck_BlockHeader const* header);

Return Value

Difficulty target (compact format)

Parameters

NameDescription
header [in]Non-null btck_BlockHeader