btck_block_tree_entry_equals

Check if two block tree entries are equal. Two block tree entries are equal when they point to the same block.

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[__nonnull__]]
int
btck_block_tree_entry_equals(
    btck_BlockTreeEntry const* entry1,
    btck_BlockTreeEntry const* entry2);

Return Value

1 if the block tree entries are equal, 0 otherwise.

Parameters

NameDescription
entry1 [in]Non-null.
entry2 [in]Non-null.