operator==

Compares two outpoints for equality.

Synopsis

Declared in <primitives/transaction.h>

bool
operator==(
    COutPoint const& a,
    COutPoint const& b);

Return Value

True if both the hash and index are equal.

Parameters

NameDescription
aThe left-hand outpoint.
bThe right-hand outpoint.