X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fntp.h;h=8cf3be649819ebea674fdc103b201ba2e3388830;hb=ddd1870fe180230d9f53aeba82c2d6af65803e52;hp=8be3864c99ee16384dba89b4e0fdda045f28e305;hpb=6321f575f98c87bf172b1a451c7bfc3bdb6491dc;p=novacoin.git diff --git a/src/ntp.h b/src/ntp.h index 8be3864..8cf3be6 100644 --- 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();