git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
SetMockTime() for cleaner unit testing
[novacoin.git]
/
src
/
util.h
diff --git
a/src/util.h
b/src/util.h
index
3d7ef10
..
658d10e
100644
(file)
--- 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();