diff options
| author | Scott Ellis <[email protected]> | 2013-08-23 02:09:32 +1000 |
|---|---|---|
| committer | Scott Ellis <[email protected]> | 2013-10-14 19:02:03 +1100 |
| commit | ce14345a89dfa05992f8d2c7c9fe36315d4a67e6 (patch) | |
| tree | 997e08222a82558e8720fa0ce0ba82438f161664 /src/qt/clientmodel.h | |
| parent | Merge pull request #2937 (diff) | |
| download | discoin-ce14345a89dfa05992f8d2c7c9fe36315d4a67e6.tar.xz discoin-ce14345a89dfa05992f8d2c7c9fe36315d4a67e6.zip | |
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 15074300b..925f20acd 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); |