5#ifndef BITCOIN_QT_PEERTABLEMODEL_H
6#define BITCOIN_QT_PEERTABLEMODEL_H
11#include <QAbstractTableModel>
43 void startAutoRefresh();
44 void stopAutoRefresh();
60 StatsRole = Qt::UserRole,
68 QVariant headerData(
int section, Qt::Orientation
orientation,
int role = Qt::DisplayRole)
const override;
Qt model providing information about connected peers, similar to the "getpeerinfo" RPC call.
interfaces::Node & m_node
Top-level interface for a bitcoin node (bitcoind process).
static const PrecomputedData data
Precomputed COutPoint and CCoins values.
CNodeStateStats nodeStateStats
bool fNodeStateStatsAvailable
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.