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 15:48:27 -0500
commitf8c3eb9568fcaff41afb257f6058d1f33ae14358 (patch)
tree6a8870b694e68d0d35310a1d18b6ae3ff86b6b10 /src/main.h
parentd27be1f55777bd502beb6b89513f1a03ed988f1a (diff)
downloadbitcoin-f8c3eb9568fcaff41afb257f6058d1f33ae14358.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);