aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2011-09-11 10:49:30 +0200
committerWladimir J. van der Laan <[email protected]>2011-09-11 10:49:30 +0200
commitd33cc2b5e3779033502fedc3f17aeffb4fa8e01c (patch)
treed168a58d875ec0b3df29fcc6d3691492e046a30a /src/qt/clientmodel.cpp
parentThe synchronization progress bar now compares the amount of total blocks to a... (diff)
downloaddiscoin-d33cc2b5e3779033502fedc3f17aeffb4fa8e01c.tar.xz
discoin-d33cc2b5e3779033502fedc3f17aeffb4fa8e01c.zip
clarify function signature (GetNumBlocksOfPeers) and use number of 'frozen' blocks as initial value for number of peer blocks
Diffstat (limited to 'src/qt/clientmodel.cpp')
-rw-r--r--src/qt/clientmodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp
index 08abaa6b4..2ed3ce51d 100644
--- a/src/qt/clientmodel.cpp
+++ b/src/qt/clientmodel.cpp
@@ -67,9 +67,9 @@ bool ClientModel::inInitialBlockDownload() const
return IsInitialBlockDownload();
}
-int ClientModel::getTotalBlocksEstimate() const
+int ClientModel::getNumBlocksOfPeers() const
{
- return GetMaxBlocksOfOtherNodes();
+ return GetNumBlocksOfPeers();
}
OptionsModel *ClientModel::getOptionsModel()