Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
bantablemodel.cpp
Go to the documentation of this file.
68 qStableSort(cachedBanlist.begin(), cachedBanlist.end(), BannedNodeLessThan(sortColumn, sortOrder));
void refreshBanlist()
Pull a full list of banned nodes from CNode into our cache.
Definition: bantablemodel.cpp:48
int columnCount(const QModelIndex &parent) const
Definition: bantablemodel.cpp:109
Definition: bantablemodel.cpp:37
QVariant data(const QModelIndex &index, int role) const
Definition: bantablemodel.cpp:115
Definition: bantablemodel.h:23
Definition: bantablemodel.h:51
QVariant headerData(int section, Qt::Orientation orientation, int role) const
Definition: bantablemodel.cpp:137
bool operator()(const CCombinedBan &left, const CCombinedBan &right) const
Definition: bantablemodel.cpp:17
Qt::SortOrder sortOrder
Order (ascending or descending) to sort nodes by.
Definition: bantablemodel.cpp:45
Definition: bantablemodel.h:18
int rowCount(const QModelIndex &parent) const
Definition: bantablemodel.cpp:103
QList< CCombinedBan > cachedBanlist
Local cache of peer information.
Definition: bantablemodel.cpp:41
QModelIndex index(int row, int column, const QModelIndex &parent) const
Definition: bantablemodel.cpp:158
Definition: bantablemodel.h:50
Qt::ItemFlags flags(const QModelIndex &index) const
Definition: bantablemodel.cpp:149