5 internal class NetUtils
7 public static readonly uint nLockTimeThreshold = 500000000;
8 private static readonly uint nDrift = 7200;
10 public static uint GetAdjustedTime()
12 return Interop.GetTime();
15 public static uint FutureDrift(uint nTime)
17 return nTime + nDrift; // up to 2 hours from the future
20 public static uint PastDrift(uint nTime)
22 return nTime - nDrift; // up to 2 hours from the past