Get periodical time samples through NTP
[novacoin.git] / src / ntp.h
index 4963124..aa48864 100644 (file)
--- a/src/ntp.h
+++ b/src/ntp.h
@@ -1,3 +1,11 @@
+// Get time from random server.
 int64_t NtpGetTime();
+
+// Get time from random server and return server address.
+int64_t NtpGetTime(CNetAddr& ip);
+
+// Get time from provided server.
 int64_t NtpGetTime(std::string &strHostName);
 
+// NTP time samples thread.
+void ThreadNtpSamples(void* parg);