Wrapper around FeeFrac & derived types, which adds a feerate‐based ordering which treats equal‐feerate but distinct‐size FeeFracs as equals.
Synopsis
Declared in <util/feefrac.h>
template<std::derived_from<FeeFrac> T>
class ByRatio;
Description
This is not included inside FeeFrac itself, because it is not a total ordering (as would be expected for built‐in comparison operators).
Member Functions
Name |
Description |
|
Wrap a FeeFrac (or derived type) for feerate‐based comparison. |
Friends
Name |
Description |
Check whether the first feerate is higher than or equal to the second. |
|
Check whether the first feerate is lower than or equal to the second. |
|
Check whether the first feerate is strictly higher than the second. |
|
Check whether the first feerate is strictly lower than the second. |
|
Order two wrapped FeeFracs by feerate. |
|
Compare two wrapped FeeFracs for equal feerate. |
Created with MrDocs