aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-09-11 10:49:30 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-09-11 10:49:30 +0200
commitd33cc2b5e3779033502fedc3f17aeffb4fa8e01c (patch)
treed168a58d875ec0b3df29fcc6d3691492e046a30a /src/main.h
parent78b3bf56f7804f3eb1b7cf8b189c5d567be7ca60 (diff)
downloadbitcoin-d33cc2b5e3779033502fedc3f17aeffb4fa8e01c.tar.xz
clarify function signature (GetNumBlocksOfPeers) and use number of 'frozen' blocks as initial value for number of peer blocks
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index 238cb5d8c2..d1dc72d5d9 100644
--- a/src/main.h
+++ b/src/main.h
@@ -99,7 +99,7 @@ void FormatHashBuffers(CBlock* pblock, char* pmidstate, char* pdata, char* phash
bool CheckWork(CBlock* pblock, CWallet& wallet, CReserveKey& reservekey);
bool CheckProofOfWork(uint256 hash, unsigned int nBits);
int GetTotalBlocksEstimate();
-int GetMaxBlocksOfOtherNodes();
+int GetNumBlocksOfPeers();
bool IsInitialBlockDownload();
std::string GetWarnings(std::string strFor);