Compares two outputs for equality.

Synopsis

Declared in <primitives/transaction.h>

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

Return Value

True if both the value and spending script are equal.

Parameters

Name

Description

a

The left‐hand output.

b

The right‐hand output.

Created with MrDocs