[#btck_block_hash_equals]
= btck&lowbar;block&lowbar;hash&lowbar;equals
:mrdocs:

Check if two block hashes are equal&period;

== Synopsis

Declared in `&lt;kernel&sol;bitcoinkernel&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;&lowbar;&lowbar;nonnull&lowbar;&lowbar;&rsqb;&rsqb;
int
btck&lowbar;block&lowbar;hash&lowbar;equals(
    xref:btck_BlockHash-07.adoc[btck&lowbar;BlockHash] const* hash1,
    xref:btck_BlockHash-07.adoc[btck&lowbar;BlockHash] const* hash2);
----

== Return Value

0 if the block hashes are not equal&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *hash1* [in]
| Non&hyphen;null&period;
| *hash2* [in]
| Non&hyphen;null&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
