Check if two block hashes are equal.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[__nonnull__]]
int
btck_block_hash_equals(
    btck_BlockHash const* hash1,
    btck_BlockHash const* hash2);

Return Value

0 if the block hashes are not equal.

Parameters

Name

Description

hash1 [in]

Non‐null.

hash2 [in]

Non‐null.

Created with MrDocs