operator==

Compares two inputs for equality.

Synopsis

Declared in <primitives/transaction.h>

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

NOTE

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

Return Value

True if the outpoint, signature script and sequence all match.

Parameters

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