aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.h
diff options
context:
space:
mode:
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 f5f12fcfd9..7141937441 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);