diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-09-11 10:49:30 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-09-11 10:49:30 +0200 |
commit | d33cc2b5e3779033502fedc3f17aeffb4fa8e01c (patch) | |
tree | d168a58d875ec0b3df29fcc6d3691492e046a30a /src/main.h | |
parent | 78b3bf56f7804f3eb1b7cf8b189c5d567be7ca60 (diff) |
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.h | 2 |
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); |