diff options
| author | Wladimir J. van der Laan <[email protected]> | 2011-06-18 21:25:38 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2011-06-18 21:25:38 +0200 |
| commit | 6cab66354d5523ec3f977cfe8c4028a4c42a693d (patch) | |
| tree | 1fc720d6993c08d9e3ad0525e8f40432658eb9b4 /src/qt/clientmodel.h | |
| parent | update bitcoin core from git (eeac8727bc0a951631bd) (diff) | |
| download | discoin-6cab66354d5523ec3f977cfe8c4028a4c42a693d.tar.xz discoin-6cab66354d5523ec3f977cfe8c4028a4c42a693d.zip | |
On initial block chain download, show a progress bar
Diffstat (limited to 'src/qt/clientmodel.h')
| -rw-r--r-- | src/qt/clientmodel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/clientmodel.h b/src/qt/clientmodel.h index f5f12fcfd..714193744 100644 --- a/src/qt/clientmodel.h +++ b/src/qt/clientmodel.h @@ -36,6 +36,8 @@ public: /* Return true if core is doing initial block download */ bool inInitialBlockDownload() const; + /* Return conservative estimate of total number of blocks, or 0 if unknown */ + int getTotalBlocksEstimate() const; /* Set default address */ void setAddress(const QString &defaultAddress); |