Compares two transactions for equality by witness hash.

Synopsis

Declared in <primitives/transaction.h>

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

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

Return Value

True if both transactions have the same witness hash.

Parameters

Name

Description

a

The left‐hand transaction.

b

The right‐hand transaction.

Created with MrDocs