Bitcoin ABC  0.24.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 46 of file peertablemodel.cpp.

Member Function Documentation

◆ index()

CNodeCombinedStats* PeerTablePriv::index ( int  idx)

Definition at line 92 of file peertablemodel.cpp.

◆ refreshPeers()

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

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

Definition at line 58 of file peertablemodel.cpp.

Here is the call graph for this function:

◆ size()

int PeerTablePriv::size ( ) const

Definition at line 90 of file peertablemodel.cpp.

Member Data Documentation

◆ cachedNodeStats

QList<CNodeCombinedStats> PeerTablePriv::cachedNodeStats

Local cache of peer information.

Definition at line 49 of file peertablemodel.cpp.

◆ mapNodeRows

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

Index of rows by node ID.

Definition at line 55 of file peertablemodel.cpp.

◆ sortColumn

int PeerTablePriv::sortColumn {-1}

Column to sort nodes by (default to unsorted)

Definition at line 51 of file peertablemodel.cpp.

◆ sortOrder

Qt::SortOrder PeerTablePriv::sortOrder

Order (ascending or descending) to sort nodes by.

Definition at line 53 of file peertablemodel.cpp.

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