aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorPeter Todd <pete@petertodd.org>2013-01-11 06:11:34 -0500
committerPeter Todd <pete@petertodd.org>2013-01-11 06:11:34 -0500
commit8686f6467c9db2606706baca33842c97ff7621f8 (patch)
treeab45e42d8fa8f0d4278a35e0d1030eadd9d80866 /src/util.h
parent429915bd0dfcdb03b13d9a3c2fb82d5401ef70ce (diff)
Add timeoffset to getinfo RPC call
Provides a method to get the difference between network adjusted time and local time from the RPC interface.
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 8bea0dd2b3..35c2c9c6bb 100644
--- a/src/util.h
+++ b/src/util.h
@@ -212,6 +212,7 @@ uint256 GetRandHash();
int64 GetTime();
void SetMockTime(int64 nMockTimeIn);
int64 GetAdjustedTime();
+int64 GetTimeOffset();
std::string FormatFullVersion();
std::string FormatSubVersion(const std::string& name, int nClientVersion, const std::vector<std::string>& comments);
void AddTimeData(const CNetAddr& ip, int64 nTime);