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