diff options
author | Jeff Garzik <jgarzik@exmulti.com> | 2012-10-20 13:36:36 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@exmulti.com> | 2012-10-20 13:36:36 -0700 |
commit | 38ac953b9df1f7a884c1ef0e94301e14c4e7477d (patch) | |
tree | 03ba74b23e9ccf077fc234e02af068cf40397fd1 /src/qt/clientmodel.cpp | |
parent | dee0ee2ac9d6feb49eac9683c01a0eeed4389449 (diff) | |
parent | 66b02c93e69cfeaec6e7fa19a03bfb2649025a56 (diff) |
Merge pull request #1880 from sipa/threadimport
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(); |