Changeset View
Changeset View
Standalone View
Standalone View
src/qt/clientmodel.cpp
Show All 21 Lines | |||||
#include <validation.h> | #include <validation.h> | ||||
#include <warnings.h> | #include <warnings.h> | ||||
#include <QDebug> | #include <QDebug> | ||||
#include <QTimer> | #include <QTimer> | ||||
#include <cstdint> | #include <cstdint> | ||||
class CBlockIndex; | |||||
static int64_t nLastHeaderTipUpdateNotification = 0; | static int64_t nLastHeaderTipUpdateNotification = 0; | ||||
static int64_t nLastBlockTipUpdateNotification = 0; | static int64_t nLastBlockTipUpdateNotification = 0; | ||||
ClientModel::ClientModel(interfaces::Node &node, OptionsModel *_optionsModel, | ClientModel::ClientModel(interfaces::Node &node, OptionsModel *_optionsModel, | ||||
QObject *parent) | QObject *parent) | ||||
: QObject(parent), m_node(node), optionsModel(_optionsModel), | : QObject(parent), m_node(node), optionsModel(_optionsModel), | ||||
peerTableModel(0), banTableModel(0), pollTimer(0) { | peerTableModel(0), banTableModel(0), pollTimer(0) { | ||||
cachedBestHeaderHeight = -1; | cachedBestHeaderHeight = -1; | ||||
▲ Show 20 Lines • Show All 229 Lines • Show Last 20 Lines |