aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2013-12-18 09:45:36 +0100
committerWladimir J. van der Laan <[email protected]>2013-12-20 11:18:50 +0100
commit2ea980a77cc28374a55aa1fdce953f9b570e0857 (patch)
treed904a6f5126430fe329509904b2274b3c9dfa74f /src/qt/clientmodel.h
parentMerge pull request #3415 (diff)
downloaddiscoin-2ea980a77cc28374a55aa1fdce953f9b570e0857.tar.xz
discoin-2ea980a77cc28374a55aa1fdce953f9b570e0857.zip
qt: Treat regtest as testnet
No need to do anything special in the GUI for regtest mode, but do treat it at testnet not mainnet to prevent confusion.
Diffstat (limited to 'src/qt/clientmodel.h')
-rw-r--r--src/qt/clientmodel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/clientmodel.h b/src/qt/clientmodel.h
index 05e841252..ca735f14c 100644
--- a/src/qt/clientmodel.h
+++ b/src/qt/clientmodel.h
@@ -46,8 +46,8 @@ public:
double getVerificationProgress() const;
QDateTime getLastBlockDate() const;
- //! Return true if client connected to testnet
- bool isTestNet() const;
+ //! Return network (main, testnet3, regtest)
+ QString getNetworkName() const;
//! Return true if core is doing initial block download
bool inInitialBlockDownload() const;
//! Return true if core is importing blocks