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 |
CNodeCombinedStats * | index (int idx) |
Public Attributes | |
QList< CNodeCombinedStats > | cachedNodeStats |
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()
|
inline |
Definition at line 107 of file peertablemodel.cpp.
References cachedNodeStats.
◆ refreshPeers()
|
inline |
Pull a full list of peers from vNodes into our cache.
Definition at line 59 of file peertablemodel.cpp.
References cachedNodeStats, cs_main, CNodeCombinedStats::fNodeStateStatsAvailable, g_connman, GetNodeStateStats(), mapNodeRows, CNodeStateStats::nCommonHeight, CNodeStateStats::nMisbehavior, CNodeCombinedStats::nodeStateStats, CNodeCombinedStats::nodeStats, CNodeStateStats::nSyncHeight, sortColumn, sortOrder, and TRY_LOCK.
◆ size()
|
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:
- src/qt/peertablemodel.cpp