aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-09-15 08:55:15 -0400
committerGavin Andresen <gavinandresen@gmail.com>2011-09-21 12:01:56 -0400
commit54d02f158d79b078ed9afdca5e37241101b040cd (patch)
tree1c1afb1dae4adfb6730b59199b325ecde7b46987 /src/util.h
parent700f9426921bac0f1d1a4ba31f26b8f569e2c32e (diff)
SetMockTime() for cleaner unit testing
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 3d7ef108b4..658d10e1eb 100644
--- a/src/util.h
+++ b/src/util.h
@@ -199,6 +199,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();