txindex::operator==

Compare two positions for equality by block sequence and offset.

Synopsis

Declared in <index/txindex_key.h>

constexpr
bool
operator==(
    BlockTxPosition const& lhs,
    BlockTxPosition const& rhs) = default;

Return Value

True if both positions have the same block sequence and offset.

Parameters

NameDescription
lhsLeft-hand position to compare.
rhsRight-hand position to compare.