mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 15:19:07 +01:00
clarify function signature (GetNumBlocksOfPeers) and use number of 'frozen' blocks as initial value for number of peer blocks
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user