aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-09-13 14:33:52 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2012-10-20 01:54:10 +0200
commit66b02c93e69cfeaec6e7fa19a03bfb2649025a56 (patch)
tree414db7d5088d03e29963974fce490567e25e8649 /src/qt/clientmodel.h
parent485d667748b776a1932e3e14dc1b9dfe2ba841d0 (diff)
Move external block import to separate thread
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 70d816ba9d..926390a07a 100644
--- a/src/qt/clientmodel.h
+++ b/src/qt/clientmodel.h
@@ -33,6 +33,8 @@ public:
bool isTestNet() const;
//! Return true if core is doing initial block download
bool inInitialBlockDownload() const;
+ //! Return true if core is importing blocks
+ bool isImporting() const;
//! Return conservative estimate of total number of blocks, or 0 if unknown
int getNumBlocksOfPeers() const;
//! Return warnings to be displayed in status bar