Bitcoin ABC 0.30.7
P2P Digital Currency
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. More...
 
int size () const
 
CNodeCombinedStatsindex (int idx)
 

Public Attributes

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

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.

◆ 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: