Copy a block hash.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[nodiscard, __nonnull__]]
btck_BlockHash*
btck_block_hash_copy(btck_BlockHash const* block_hash);

Return Value

The copied block hash.

Note

The return value should not be discarded.

Parameters

Name

Description

block_hash [in]

Non‐null.

Created with MrDocs