diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2011-09-26 06:06:16 -0700 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2011-09-26 06:06:16 -0700 |
commit | 17e2c24645a10354849dec917b31f364e9056d58 (patch) | |
tree | 0fc4eda5307bbc9dc99eb3c8fec40b303644cd1c /src/util.h | |
parent | f7f2a36925bb560363f691fc3ca3dec83830dd15 (diff) | |
parent | 806704c237890527ca2a7bab4c97550431eebea0 (diff) |
Merge pull request #517 from gavinandresen/DoSprevention
Denial-of-service prevention
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h index fabcaf9303..dd5c41135e 100644 --- a/src/util.h +++ b/src/util.h @@ -197,6 +197,7 @@ void ShrinkDebugFile(); int GetRandInt(int nMax); uint64 GetRand(uint64 nMax); int64 GetTime(); +void SetMockTime(int64 nMockTimeIn); int64 GetAdjustedTime(); void AddTimeData(unsigned int ip, int64 nTime); std::string FormatFullVersion(); |