Three‐way compare two fee rates by their fee/vsize ratio.

Synopsis

Declared in <policy/feerate.h>

std::strong_ordering
operator<=>(
    CFeeRate const& a,
    CFeeRate const& b) noexcept;
Note

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

Return Value

Ordering of a relative to b.

Parameters

Name

Description

a

Left‐hand fee rate.

b

Right‐hand fee rate.

Created with MrDocs