Bitcoin ABC  0.22.15
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
avalanche::Peer Struct Reference

#include <peermanager.h>

Collaboration diagram for avalanche::Peer:
[legend]

Public Member Functions

 Peer (PeerId peerid_, Proof proof_)
 
const ProofIdgetProofId () const
 
uint32_t getScore () const
 

Public Attributes

PeerId peerid
 
uint32_t index = -1
 
uint32_t node_count = 0
 
Proof proof
 

Detailed Description

Definition at line 61 of file peermanager.h.

Constructor & Destructor Documentation

◆ Peer()

avalanche::Peer::Peer ( PeerId  peerid_,
Proof  proof_ 
)
inline

Definition at line 68 of file peermanager.h.

Member Function Documentation

◆ getProofId()

const ProofId& avalanche::Peer::getProofId ( ) const
inline

Definition at line 71 of file peermanager.h.

Here is the call graph for this function:

◆ getScore()

uint32_t avalanche::Peer::getScore ( ) const
inline

Definition at line 72 of file peermanager.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ index

uint32_t avalanche::Peer::index = -1

Definition at line 63 of file peermanager.h.

◆ node_count

uint32_t avalanche::Peer::node_count = 0

Definition at line 64 of file peermanager.h.

◆ peerid

PeerId avalanche::Peer::peerid

Definition at line 62 of file peermanager.h.

◆ proof

Proof avalanche::Peer::proof

Definition at line 66 of file peermanager.h.


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