aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-09-08 12:51:43 -0400
committerLuke Dashjr <luke-jr+git@utopios.org>2011-12-01 23:20:32 -0500
commit5d901f1ba0b2f4444e484b9cb3db8d86c428af3f (patch)
tree4e4a49112ebe6ba6f2cfcc8442de1e410a13732a /src/main.h
parent0e6425da4a29d6944e7edce85535725e1f963e2c (diff)
downloadbitcoin-5d901f1ba0b2f4444e484b9cb3db8d86c428af3f.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 f5e7f6c3e3..876a35d9cc 100644
--- a/src/main.h
+++ b/src/main.h
@@ -98,6 +98,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);
bool IsInitialBlockDownload();
std::string GetWarnings(std::string strFor);