Calculate and return the hash of a block.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[nodiscard, __nonnull__]]
btck_BlockHash*
btck_block_get_hash(btck_Block const* block);

Return Value

The block hash.

Note

The return value should not be discarded.

Parameters

Name

Description

block [in]

Non‐null.

Created with MrDocs