6 #ifndef BITCOIN_QT_CLIENTMODEL_H 7 #define BITCOIN_QT_CLIENTMODEL_H 108 void numBlocksChanged(
int count,
const QDateTime& blockDate,
double nVerificationProgress,
bool header);
113 void bytesChanged(quint64 totalBytesIn, quint64 totalBytesOut);
116 void message(
const QString &title,
const QString &
message,
unsigned int style);
130 #endif // BITCOIN_QT_CLIENTMODEL_H
void subscribeToCoreSignals()
ClientModel(OptionsModel *optionsModel, QObject *parent=0)
void additionalDataSyncProgressChanged(double nSyncProgress)
QString getStatusBarWarnings() const
Return warnings to be displayed in status bar.
void mempoolSizeChanged(long count, size_t mempoolSizeInBytes)
size_t getMempoolDynamicUsage() const
Return the dynamic memory usage of the mempool.
bool inInitialBlockDownload() const
Return true if core is doing initial block download.
enum BlockSource getBlockSource() const
Returns enum BlockSource of the current importing/syncing state.
void message(const QString &title, const QString &message, unsigned int style)
Fired when a message should be reported to the user.
int64_t getHeaderTipTime() const
void updateAlert(const QString &hash, int status)
QString cachedMasternodeCountString
void updateNumConnections(int numConnections)
void setNetworkActive(bool active)
Toggle network activity state in core.
std::atomic< int64_t > cachedBestHeaderTime
bool isReleaseVersion() const
void showProgress(const QString &title, int nProgress)
void strMasternodesChanged(const QString &strMasternodes)
BanTableModel * banTableModel
QString getMasternodeCountString() const
void updateNetworkActive(bool networkActive)
PeerTableModel * peerTableModel
QString formatSubVersion() const
OptionsModel * optionsModel
int getHeaderTipHeight() const
long getMempoolSize() const
Return number of transactions in the mempool.
QString formatFullVersion() const
QString formatClientStartupTime() const
bool getNetworkActive() const
Return true if network activity in core is enabled.
quint64 getTotalBytesRecv() const
double getVerificationProgress(const CBlockIndex *tip) const
void alertsChanged(const QString &warnings)
std::atomic< int > cachedBestHeaderHeight
void unsubscribeFromCoreSignals()
void bytesChanged(quint64 totalBytesIn, quint64 totalBytesOut)
quint64 getTotalBytesSent() const
void numConnectionsChanged(int count)
QDateTime getLastBlockDate() const
QString clientName() const
OptionsModel * getOptionsModel()
void numBlocksChanged(int count, const QDateTime &blockDate, double nVerificationProgress, bool header)
BanTableModel * getBanTableModel()
int getNumConnections(unsigned int flags=CONNECTIONS_ALL) const
Return number of connections, default is in- and outbound (total)
void networkActiveChanged(bool networkActive)
PeerTableModel * getPeerTableModel()