aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-09-08 12:51:43 -0400
committerGavin Andresen <gavinandresen@gmail.com>2011-12-01 13:53:38 -0500
commit10fd7f66893fd62ab65f9302115834c441eb571b (patch)
treef427051302b0f120c99976effdc6761b7ff509aa /src/main.h
parenteb5fff9e16b2c3e94835cd3a8897318472df2374 (diff)
downloadbitcoin-10fd7f66893fd62ab65f9302115834c441eb571b.tar.xz
Orphan block fill-up-memory attack prevention
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index f459d050ce..3870cee864 100644
--- a/src/main.h
+++ b/src/main.h
@@ -99,6 +99,7 @@ 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);
+unsigned int ComputeMinWork(unsigned int nBase, int64 nTime);
int GetNumBlocksOfPeers();
bool IsInitialBlockDownload();
std::string GetWarnings(std::string strFor);