Automatically choose between NTP, median peer time and system clock.
[novacoin.git] / src / ntp.h
index 8be3864..6ec9191 100644 (file)
--- a/src/ntp.h
+++ b/src/ntp.h
@@ -4,5 +4,10 @@ int64_t NtpGetTime(CNetAddr& ip);
 // Get time from provided server.
 int64_t NtpGetTime(std::string &strHostName);
 
+extern std::string strTrustedUpstream;
+
 // NTP time samples thread.
 void ThreadNtpSamples(void* parg);
+
+// NTP offset
+int64_t GetNtpOffset();