btck_block_header_get_bits

Get the nBits difficulty target from btck_BlockHeader.

Synopsis

Declared in <kernel/bitcoinkernel.h>

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