operator==

Compares two outpoints for equality.

Synopsis

Declared in <primitives/transaction.h>

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

NOTE

This function is a hidden friend of COutPoint, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

True if both the hash and index are equal.

Parameters

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