Bitcoin ABC  0.28.12
P2P Digital Currency
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. More...
 

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.


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