![]() |
Bitcoin Core 31.99.0
P2P Digital Currency
|
Wrapper around FeeFrac & derived types, which adds a feerate-based ordering which treats equal-feerate but distinct-size FeeFracs as equals. More...
#include <feefrac.h>
Public Member Functions | |
| constexpr | ByRatio (const T &feefrac) noexcept |
Private Attributes | |
| const T & | m_feefrac |
Friends | |
| bool | operator== (const ByRatio &a, const ByRatio &b) noexcept |
| std::strong_ordering | operator<=> (const ByRatio &a, const ByRatio &b) noexcept |
| bool | operator< (const ByRatio &a, const ByRatio &b) noexcept |
| bool | operator> (const ByRatio &a, const ByRatio &b) noexcept |
| bool | operator<= (const ByRatio &a, const ByRatio &b) noexcept |
| bool | operator>= (const ByRatio &a, const ByRatio &b) noexcept |
Wrapper around FeeFrac & derived types, which adds a feerate-based ordering which treats equal-feerate but distinct-size FeeFracs as equals.
This is not included inside FeeFrac itself, because it is not a total ordering (as would be expected for built-in comparison operators).