operator==

Compares two transactions for equality by witness hash.

Synopsis

Declared in <primitives/transaction.h>

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

Return Value

True if both transactions have the same witness hash.

Parameters

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