diff options
author | Scott Ellis <sje397@gmail.com> | 2013-08-23 02:09:32 +1000 |
---|---|---|
committer | Scott Ellis <sje397@gmail.com> | 2013-10-14 19:02:03 +1100 |
commit | ce14345a89dfa05992f8d2c7c9fe36315d4a67e6 (patch) | |
tree | 997e08222a82558e8720fa0ce0ba82438f161664 /src/qt/clientmodel.h | |
parent | 9269d0e96e621a6e02da8074785ac310ce64db73 (diff) |
Add network traffic graph
Diffstat (limited to 'src/qt/clientmodel.h')
-rw-r--r-- | src/qt/clientmodel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/clientmodel.h b/src/qt/clientmodel.h index 15074300b4..925f20acd9 100644 --- a/src/qt/clientmodel.h +++ b/src/qt/clientmodel.h @@ -35,6 +35,9 @@ public: int getNumBlocks() const; int getNumBlocksAtStartup(); + quint64 getTotalBytesRecv() const; + quint64 getTotalBytesSent() const; + double getVerificationProgress() const; QDateTime getLastBlockDate() const; @@ -74,6 +77,7 @@ signals: void numConnectionsChanged(int count); void numBlocksChanged(int count, int countOfPeers); void alertsChanged(const QString &warnings); + void bytesChanged(quint64 totalBytesIn, quint64 totalBytesOut); //! Asynchronous message notification void message(const QString &title, const QString &message, unsigned int style); |