[#node-CBlockIndexWorkComparator-operator_call] = xref:node.adoc[node]::xref:node/CBlockIndexWorkComparator.adoc[CBlockIndexWorkComparator]::operator() :relfileprefix: ../../ :mrdocs: Order two block indices by accumulated work (and tie‐breakers). == Synopsis Declared in `<node/blockstorage.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool operator()( xref:CBlockIndex.adoc[CBlockIndex] const* pa, xref:CBlockIndex.adoc[CBlockIndex] const* pb) const; ---- == Return Value True if `pa` orders before `pb.` == Parameters [cols="1,4"] |=== | Name| Description | *pa* | The first block index to compare. | *pb* | The second block index to compare. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#