Moved checkpoints out of main, to prep for using them to help prevent DoS attacks

This commit is contained in:
Gavin Andresen
2011-09-08 16:50:58 -04:00
parent a7120a3647
commit eb5fff9e16
13 changed files with 121 additions and 29 deletions

View File

@@ -99,7 +99,6 @@ void IncrementExtraNonce(CBlock* pblock, CBlockIndex* pindexPrev, unsigned int&
void FormatHashBuffers(CBlock* pblock, char* pmidstate, char* pdata, char* phash1);
bool CheckWork(CBlock* pblock, CWallet& wallet, CReserveKey& reservekey);
bool CheckProofOfWork(uint256 hash, unsigned int nBits);
int GetTotalBlocksEstimate();
int GetNumBlocksOfPeers();
bool IsInitialBlockDownload();
std::string GetWarnings(std::string strFor);