[#node-CBlockIndexWorkComparator] = xref:node.adoc[node]::CBlockIndexWorkComparator :relfileprefix: ../ :mrdocs: Orders block indices by most accumulated work, for choosing the best tip. == Synopsis Declared in `<node/blockstorage.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct CBlockIndexWorkComparator; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:node/CBlockIndexWorkComparator/is_transparent.adoc[`is_transparent`] | Marks the comparator as transparent so heterogeneous lookups are allowed. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:node/CBlockIndexWorkComparator/operator_call.adoc[`operator()`] | Order two block indices by accumulated work (and tie‐breakers). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#