87
88
int maxbucketindex = buckets.size() - 1;
89
90
// requireGreater means we are looking for the lowest fee/priority such that all higher
91
92
// smaller buckets until we reach failure. Otherwise, we are looking for the highest
92
93
// fee/priority such that all lower values fail, and we go in the opposite direction.
93
94
unsigned int startbucket = requireGreater ? maxbucketindex : 0;