diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-09-13 14:33:52 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-10-20 01:54:10 +0200 |
commit | 66b02c93e69cfeaec6e7fa19a03bfb2649025a56 (patch) | |
tree | 414db7d5088d03e29963974fce490567e25e8649 /src/qt/clientmodel.cpp | |
parent | 485d667748b776a1932e3e14dc1b9dfe2ba841d0 (diff) |
Move external block import to separate thread
Diffstat (limited to 'src/qt/clientmodel.cpp')
-rw-r--r-- | src/qt/clientmodel.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp index b820d16abf..990b364a94 100644 --- a/src/qt/clientmodel.cpp +++ b/src/qt/clientmodel.cpp @@ -103,6 +103,11 @@ bool ClientModel::inInitialBlockDownload() const return IsInitialBlockDownload(); } +bool ClientModel::isImporting() const +{ + return fImporting; +} + int ClientModel::getNumBlocksOfPeers() const { return GetNumBlocksOfPeers(); |