Equality operators

Synopses

Declared in <cluster_linearize.h>

Equality operator (primarily for testing purposes).

bool
operator==(
    DepGraph const& a,
    DepGraph const& b) noexcept;

Permit equality testing.

bool
operator==(
    SetInfo const& lhs,
    SetInfo const& rhs) noexcept = default;

Return Value

  • Whether both graphs use the same positions with equal entries.

  • Whether both objects hold the same transactions and feerate.

Parameters

Name

Description

a

The first graph to compare.

b

The second graph to compare.

lhs

The first object to compare.

rhs

The second object to compare.

Created with MrDocs