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

Public Member Functions

void refreshPeers (interfaces::Node &node)
 Pull a full list of peers from vNodes into our cache.
 
int size () const
 
CNodeCombinedStatsindex (int idx)
 

Public Attributes

QList< CNodeCombinedStatscachedNodeStats
 Local cache of peer information.
 
int sortColumn {-1}
 Column to sort nodes by (default to unsorted)
 
Qt::SortOrder sortOrder
 Order (ascending or descending) to sort nodes by.
 
std::map< NodeId, intmapNodeRows
 Index of rows by node ID.
 

Detailed Description

Definition at line 48 of file peertablemodel.cpp.

Member Function Documentation

◆ index()

CNodeCombinedStats * PeerTablePriv::index ( int  idx)
inline

Definition at line 94 of file peertablemodel.cpp.

◆ refreshPeers()

void PeerTablePriv::refreshPeers ( interfaces::Node node)
inline

Pull a full list of peers from vNodes into our cache.

Definition at line 60 of file peertablemodel.cpp.

Here is the call graph for this function:

◆ size()

int PeerTablePriv::size ( ) const
inline

Definition at line 92 of file peertablemodel.cpp.

Member Data Documentation

◆ cachedNodeStats

QList<CNodeCombinedStats> PeerTablePriv::cachedNodeStats

Local cache of peer information.

Definition at line 51 of file peertablemodel.cpp.

◆ mapNodeRows

std::map<NodeId, int> PeerTablePriv::mapNodeRows

Index of rows by node ID.

Definition at line 57 of file peertablemodel.cpp.

◆ sortColumn

int PeerTablePriv::sortColumn {-1}

Column to sort nodes by (default to unsorted)

Definition at line 53 of file peertablemodel.cpp.

◆ sortOrder

Qt::SortOrder PeerTablePriv::sortOrder

Order (ascending or descending) to sort nodes by.

Definition at line 55 of file peertablemodel.cpp.


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