6 #ifndef RAVEN_QT_CLIENTMODEL_H 7 #define RAVEN_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 // RAVEN_QT_CLIENTMODEL_H QString formatClientStartupTime() const
void message(const QString &title, const QString &message, unsigned int style)
Fired when a message should be reported to the user.
PeerTableModel * peerTableModel
void updateNetworkActive(bool networkActive)
bool inInitialBlockDownload() const
Return true if core is doing initial block download.
QString formatSubVersion() const
long getMempoolSize() const
Return number of transactions in the mempool.
bool getNetworkActive() const
Return true if network activity in core is enabled.
bool isReleaseVersion() const
std::atomic< int64_t > cachedBestHeaderTime
void networkActiveChanged(bool networkActive)
BanTableModel * banTableModel
OptionsModel * getOptionsModel()
quint64 getTotalBytesSent() const
std::atomic< int > cachedBestHeaderHeight
PeerTableModel * getPeerTableModel()
void numConnectionsChanged(int count)
QString getStatusBarWarnings() const
Return warnings to be displayed in status bar.
void alertsChanged(const QString &warnings)
void bytesChanged(quint64 totalBytesIn, quint64 totalBytesOut)
int getNumConnections(unsigned int flags=CONNECTIONS_ALL) const
Return number of connections, default is in- and outbound (total)
double getVerificationProgress(const CBlockIndex *tip) const
enum BlockSource getBlockSource() const
Returns enum BlockSource of the current importing/syncing state.
Qt model providing information about connected peers, similar to the "getpeerinfo" RPC call...
quint64 getTotalBytesRecv() const
void unsubscribeFromCoreSignals()
BanTableModel * getBanTableModel()
void subscribeToCoreSignals()
void numBlocksChanged(int count, const QDateTime &blockDate, double nVerificationProgress, bool header)
Model for Raven network client.
size_t getMempoolDynamicUsage() const
Return the dynamic memory usage of the mempool.
QDateTime getLastBlockDate() const
ClientModel(OptionsModel *optionsModel, QObject *parent=0)
Interface from Qt to configuration data structure for Raven client.
The block chain is a tree shaped structure starting with the genesis block at the root...
Qt model providing information about connected peers, similar to the "getpeerinfo" RPC call...
OptionsModel * optionsModel
void mempoolSizeChanged(long count, size_t mempoolSizeInBytes)
void setNetworkActive(bool active)
Toggle network activity state in core.
void updateNumConnections(int numConnections)
int getHeaderTipHeight() const
int64_t getHeaderTipTime() const
void showProgress(const QString &title, int nProgress)
QString formatFullVersion() const