Update ntp.h
[novacoin.git] / src / ntp.h
index 8be3864..8cf3be6 100644 (file)
--- a/src/ntp.h
+++ b/src/ntp.h
@@ -2,7 +2,12 @@
 int64_t NtpGetTime(CNetAddr& ip);
 
 // Get time from provided server.
-int64_t NtpGetTime(std::string &strHostName);
+int64_t NtpGetTime(const std::string &strHostName);
+
+extern std::string strTrustedUpstream;
 
 // NTP time samples thread.
 void ThreadNtpSamples(void* parg);
+
+// NTP offset
+int64_t GetNtpOffset();