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

Name

Description

header [in]

Non‐null btck_BlockHeader

Created with MrDocs