aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-06-18 13:13:48 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-06-18 13:13:48 +0200
commit7df70c000a5f687953335a5ab397ab4c74a40dd4 (patch)
treedb0968764275db6a04b6ce26bdc2e007b5436374 /src/qt/clientmodel.h
parent0f3981bea94cea957f0de4b128f7feffbfc2d9c6 (diff)
Prevent notification balloon-spam on initial block download, const-correctness in client model
Diffstat (limited to 'src/qt/clientmodel.h')
-rw-r--r--src/qt/clientmodel.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/qt/clientmodel.h b/src/qt/clientmodel.h
index 09d1fc921e..f5f12fcfd9 100644
--- a/src/qt/clientmodel.h
+++ b/src/qt/clientmodel.h
@@ -28,11 +28,14 @@ public:
AddressTableModel *getAddressTableModel();
TransactionTableModel *getTransactionTableModel();
- qint64 getBalance();
- QString getAddress();
- int getNumConnections();
- int getNumBlocks();
- int getNumTransactions();
+ qint64 getBalance() const;
+ QString getAddress() const;
+ int getNumConnections() const;
+ int getNumBlocks() const;
+ int getNumTransactions() const;
+
+ /* Return true if core is doing initial block download */
+ bool inInitialBlockDownload() const;
/* Set default address */
void setAddress(const QString &defaultAddress);