Bitcoin ABC  0.24.7
P2P Digital Currency
Public Member Functions | List of all members
avalanche::ProofComparator 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 18 of file proofcomparator.h.

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 19 of file proofcomparator.h.

Here is the call graph for this function:

◆ operator()() [2/2]

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

Definition at line 27 of file proofcomparator.h.


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