75 for (
const auto p1 :
dia1) {
80 for (
const auto p2 :
dia2) {
85 if (
all_ge &&
all_le)
return std::partial_ordering::equivalent;
86 if (
all_ge && !
all_le)
return std::partial_ordering::greater;
87 if (!
all_ge &&
all_le)
return std::partial_ordering::less;
88 return std::partial_ordering::unordered;
T ConsumeIntegralInRange(T min, T max)
#define LIMITED_WHILE(condition, limit)
Can be used to limit a theoretically unbounded loop.
Data structure storing a fee and size, ordered by increasing fee/size.
std::partial_ordering CompareChunks(std::span< const FeeFrac > chunks0, std::span< const FeeFrac > chunks1)
Compare the feerate diagrams implied by the provided sorted chunks data.
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.
FuzzedDataProvider & fuzzed_data_provider