Orders block indices by most accumulated work, for choosing the best tip.
Declared in <node/blockstorage.h>
struct CBlockIndexWorkComparator;
| Name | Description |
|---|---|
is_transparent | Marks the comparator as transparent so heterogeneous lookups are allowed. |
| Name | Description |
|---|---|
operator() | Order two block indices by accumulated work (and tie-breakers). |