Bitcoin ABC  0.26.3
P2P Digital Currency
Public Member Functions | List of all members
avalanche::ProofComparatorByScore Struct Reference

Compare proofs by score, then by id in case of equality. More...

#include <proofcomparator.h>

Public Member Functions

bool operator() (const Proof &lhs, const Proof &rhs) const
 
bool operator() (const ProofRef &lhs, const ProofRef &rhs) const
 

Detailed Description

Compare proofs by score, then by id in case of equality.

Definition at line 27 of file proofcomparator.h.

Member Function Documentation

◆ operator()() [1/2]

bool avalanche::ProofComparatorByScore::operator() ( const Proof lhs,
const Proof rhs 
) const
inline

Definition at line 28 of file proofcomparator.h.

Here is the call graph for this function:

◆ operator()() [2/2]

bool avalanche::ProofComparatorByScore::operator() ( const ProofRef lhs,
const ProofRef rhs 
) const
inline

Definition at line 36 of file proofcomparator.h.


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