Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Public Member Functions | List of all members
CBlockIndexHeightOnlyComparator Struct Reference

#include <blockindexcomparators.h>

Public Member Functions

bool operator() (const CBlockIndex *pa, const CBlockIndex *pb) const
 Only compares the height of two block indices, doesn't try to tie-break.
 

Detailed Description

Definition at line 42 of file blockindexcomparators.h.

Member Function Documentation

◆ operator()()

bool CBlockIndexHeightOnlyComparator::operator() ( const CBlockIndex pa,
const CBlockIndex pb 
) const
inline

Only compares the height of two block indices, doesn't try to tie-break.

Definition at line 46 of file blockindexcomparators.h.

Here is the call graph for this function:

The documentation for this struct was generated from the following file: