aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-06-30 19:14:42 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-06-30 19:14:42 +0200
commitd56c6f312c7784e30794ff71eb0b0ec94cdf15ef (patch)
tree78d9d9b24f705e0497523ec32fa77b40c2136fcf /src/qt/clientmodel.h
parentef079e183bf1be9f5a61a05018ee4480db86bc45 (diff)
downloadbitcoin-d56c6f312c7784e30794ff71eb0b0ec94cdf15ef.tar.xz
Make it very clear when on testnet (green icon, add [testnet] to title)
Diffstat (limited to 'src/qt/clientmodel.h')
-rw-r--r--src/qt/clientmodel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/clientmodel.h b/src/qt/clientmodel.h
index a5028ff3b8..18b3ba11e1 100644
--- a/src/qt/clientmodel.h
+++ b/src/qt/clientmodel.h
@@ -22,6 +22,8 @@ public:
int getNumConnections() const;
int getNumBlocks() const;
+ // Return true if client connected to testnet
+ bool isTestNet() const;
// Return true if core is doing initial block download
bool inInitialBlockDownload() const;
// Return conservative estimate of total number of blocks, or 0 if unknown