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

Name

Description

a

The left‐hand input.

b

The right‐hand input.

Created with MrDocs