Merge branch 'totalblocksestimate1' of https://github.com/laanwj/bitcoin
authorGavin Andresen <gavinandresen@gmail.com>
Fri, 24 Jun 2011 15:17:22 +0000 (11:17 -0400)
committerGavin Andresen <gavinandresen@gmail.com>
Fri, 24 Jun 2011 15:17:22 +0000 (11:17 -0400)
1  2 
src/main.cpp
src/main.h

diff --cc src/main.cpp
Simple merge
diff --cc src/main.h
@@@ -96,8 -115,10 +96,9 @@@ void GenerateBitcoins(bool fGenerate, C
  CBlock* CreateNewBlock(CReserveKey& reservekey);
  void IncrementExtraNonce(CBlock* pblock, CBlockIndex* pindexPrev, unsigned int& nExtraNonce, int64& nPrevTime);
  void FormatHashBuffers(CBlock* pblock, char* pmidstate, char* pdata, char* phash1);
 -bool CheckWork(CBlock* pblock, CReserveKey& reservekey);
 -void BitcoinMiner();
 +bool CheckWork(CBlock* pblock, CWallet& wallet, CReserveKey& reservekey);
  bool CheckProofOfWork(uint256 hash, unsigned int nBits);
+ int GetTotalBlocksEstimate();
  bool IsInitialBlockDownload();
  std::string GetWarnings(std::string strFor);