Get the previous btck_BlockHash from btck_BlockHeader. The returned hash is unowned and only valid for the lifetime of the btck_BlockHeader.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[__nonnull__]]
btck_BlockHash const*
btck_block_header_get_prev_hash(btck_BlockHeader const* header);

Return Value

Previous btck_BlockHash

Parameters

Name

Description

header [in]

Non‐null btck_BlockHeader

Created with MrDocs