add GetTotalBlocksEstimate() function, move magic number to constant

This commit is contained in:
Wladimir J. van der Laan
2011-06-19 00:12:02 +02:00
parent eeac8727bc
commit eade213197
2 changed files with 17 additions and 1 deletions
+1
View File
@@ -118,6 +118,7 @@ void FormatHashBuffers(CBlock* pblock, char* pmidstate, char* pdata, char* phash
bool CheckWork(CBlock* pblock, CReserveKey& reservekey);
void BitcoinMiner();
bool CheckProofOfWork(uint256 hash, unsigned int nBits);
int GetTotalBlocksEstimate();
bool IsInitialBlockDownload();
std::string GetWarnings(std::string strFor);