[#node-CBlockIndexHeightOnlyComparator-operator_call]
= xref:node.adoc[node]::xref:node/CBlockIndexHeightOnlyComparator.adoc[CBlockIndexHeightOnlyComparator]::operator()
:relfileprefix: ../../
:mrdocs:

Order two block indices by height only&period;

== Synopsis

Declared in `&lt;node&sol;blockstorage&period;h&gt;`

[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` has a lower height than `pb&period;`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pa*
| The first block index to compare&period;
| *pb*
| The second block index to compare&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
