btck_block_hash_copy

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

NameDescription
block_hash [in]Non-null.