Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

Public Member Functions

void refreshPeers ()
 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
 Column to sort nodes by. 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 46 of file peertablemodel.cpp.

Member Function Documentation

◆ index()

CNodeCombinedStats* PeerTablePriv::index ( int  idx)
inline

Definition at line 107 of file peertablemodel.cpp.

References cachedNodeStats.

◆ refreshPeers()

◆ size()

int PeerTablePriv::size ( ) const
inline

Definition at line 102 of file peertablemodel.cpp.

References cachedNodeStats.

Member Data Documentation

◆ cachedNodeStats

QList<CNodeCombinedStats> PeerTablePriv::cachedNodeStats

Local cache of peer information.

Definition at line 50 of file peertablemodel.cpp.

Referenced by index(), refreshPeers(), and size().

◆ mapNodeRows

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

Index of rows by node ID.

Definition at line 56 of file peertablemodel.cpp.

Referenced by refreshPeers().

◆ sortColumn

int PeerTablePriv::sortColumn

Column to sort nodes by.

Definition at line 52 of file peertablemodel.cpp.

Referenced by refreshPeers().

◆ sortOrder

Qt::SortOrder PeerTablePriv::sortOrder

Order (ascending or descending) to sort nodes by.

Definition at line 54 of file peertablemodel.cpp.

Referenced by refreshPeers().


The documentation for this class was generated from the following file:
Released under the MIT license