Typo fixed
[novacoin.git] / src / ntp.h
index 4963124..8cf3be6 100644 (file)
--- a/src/ntp.h
+++ b/src/ntp.h
@@ -1,3 +1,13 @@
-int64_t NtpGetTime();
-int64_t NtpGetTime(std::string &strHostName);
+// Get time from random server and return server address.
+int64_t NtpGetTime(CNetAddr& ip);
 
+// Get time from provided server.
+int64_t NtpGetTime(const std::string &strHostName);
+
+extern std::string strTrustedUpstream;
+
+// NTP time samples thread.
+void ThreadNtpSamples(void* parg);
+
+// NTP offset
+int64_t GetNtpOffset();