5 #ifndef BITCOIN_QT_CLIENTMODEL_H 6 #define BITCOIN_QT_CLIENTMODEL_H 100 void numBlocksChanged(
int count,
const QDateTime& blockDate,
double nVerificationProgress,
bool header);
104 void bytesChanged(quint64 totalBytesIn, quint64 totalBytesOut);
107 void message(
const QString &title,
const QString &
message,
unsigned int style);
120 #endif // BITCOIN_QT_CLIENTMODEL_H void subscribeToCoreSignals()
Definition: clientmodel.cpp:251
std::unique_ptr< interfaces::Handler > m_handler_notify_block_tip
Definition: clientmodel.h:87
QString getStatusBarWarnings() const
Return warnings to be displayed in status bar.
Definition: clientmodel.cpp:128
Definition: optionsmodel.h:29
void mempoolSizeChanged(long count, size_t mempoolSizeInBytes)
Definition: moc_clientmodel.cpp:266
enum BlockSource getBlockSource() const
Returns enum BlockSource of the current importing/syncing state.
Definition: clientmodel.cpp:116
void message(const QString &title, const QString &message, unsigned int style)
Fired when a message should be reported to the user.
Definition: moc_clientmodel.cpp:294
int64_t getHeaderTipTime() const
Definition: clientmodel.cpp:80
std::unique_ptr< interfaces::Handler > m_handler_banned_list_changed
Definition: clientmodel.h:86
std::unique_ptr< interfaces::Handler > m_handler_notify_num_connections_changed
Definition: clientmodel.h:83
bool getProxyInfo(std::string &ip_port) const
Definition: clientmodel.cpp:275
void updateNumConnections(int numConnections)
Definition: clientmodel.cpp:101
void updateAlert()
Definition: clientmodel.cpp:111
Definition: clientmodel.h:37
std::atomic< int64_t > cachedBestHeaderTime
Definition: clientmodel.h:78
bool isReleaseVersion() const
Definition: clientmodel.cpp:158
Definition: clientmodel.h:39
Definition: peertablemodel.h:49
Definition: clientmodel.h:38
std::unique_ptr< interfaces::Handler > m_handler_notify_header_tip
Definition: clientmodel.h:88
void showProgress(const QString &title, int nProgress)
Definition: moc_clientmodel.cpp:301
BanTableModel * banTableModel
Definition: clientmodel.h:91
std::unique_ptr< interfaces::Handler > m_handler_notify_alert_changed
Definition: clientmodel.h:85
NumConnections
Definition: clientmodel.h:36
Definition: dummywallet.cpp:11
std::unique_ptr< interfaces::Handler > m_handler_notify_network_active_changed
Definition: clientmodel.h:84
void updateNetworkActive(bool networkActive)
Definition: clientmodel.cpp:106
BlockSource
Definition: clientmodel.h:29
PeerTableModel * peerTableModel
Definition: clientmodel.h:90
QString formatSubVersion() const
Definition: clientmodel.cpp:153
Top-level interface for a bitcoin node (bitcoind process).
Definition: node.h:36
QString dataDir() const
Definition: clientmodel.cpp:168
OptionsModel * optionsModel
Definition: clientmodel.h:89
int getHeaderTipHeight() const
Definition: clientmodel.cpp:65
Definition: clientmodel.h:40
QString formatFullVersion() const
Definition: clientmodel.cpp:148
int flags
Definition: bitcoin-tx.cpp:507
interfaces::Node & m_node
Definition: clientmodel.h:81
QString blocksDir() const
Definition: clientmodel.cpp:173
ClientModel(interfaces::Node &node, OptionsModel *optionsModel, QObject *parent=nullptr)
Definition: clientmodel.cpp:27
QString formatClientStartupTime() const
Definition: clientmodel.cpp:163
Definition: clientmodel.h:44
std::unique_ptr< interfaces::Handler > m_handler_show_progress
Definition: clientmodel.h:82
interfaces::Node & node() const
Definition: clientmodel.h:52
void updateBanlist()
Definition: clientmodel.cpp:178
static int count
Definition: tests.c:45
signed long long int64_t
Definition: stdint.h:18
void alertsChanged(const QString &warnings)
Definition: moc_clientmodel.cpp:280
std::atomic< int > cachedBestHeaderHeight
Definition: clientmodel.h:77
void unsubscribeFromCoreSignals()
Definition: clientmodel.cpp:263
void bytesChanged(quint64 totalBytesIn, quint64 totalBytesOut)
Definition: moc_clientmodel.cpp:287
QTimer * pollTimer
Definition: clientmodel.h:93
void numConnectionsChanged(int count)
Definition: moc_clientmodel.cpp:252
~ClientModel()
Definition: clientmodel.cpp:46
OptionsModel * getOptionsModel()
Definition: clientmodel.cpp:133
void updateTimer()
Definition: clientmodel.cpp:93
Definition: bantablemodel.h:43
void numBlocksChanged(int count, const QDateTime &blockDate, double nVerificationProgress, bool header)
Definition: moc_clientmodel.cpp:259
BanTableModel * getBanTableModel()
Definition: clientmodel.cpp:143
int getNumConnections(unsigned int flags=CONNECTIONS_ALL) const
Return number of connections, default is in- and outbound (total)
Definition: clientmodel.cpp:51
void networkActiveChanged(bool networkActive)
Definition: moc_clientmodel.cpp:273
PeerTableModel * getPeerTableModel()
Definition: clientmodel.cpp:138