Create a block hash from its raw data.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[nodiscard, __nonnull__]]
btck_BlockHash*
btck_block_hash_create(unsigned char const block_hash[]);

Return Value

Opaque data structure for holding a block hash.

Note

The return value should not be discarded.

Parameters

Name

Description

block_hash [in]

32‐byte big‐endian block hash bytes.

Created with MrDocs