* "Never go to sea with two chronometers; take one or three." * Our three time sources are: * - System clock * - Median of other nodes clocks * - The user (asking the user to fix the system clock if the first two disagree) */
| 27 | * - The user (asking the user to fix the system clock if the first two disagree) |
| 28 | */ |
| 29 | int64_t GetTimeOffset() |
| 30 | { |
| 31 | LOCK(g_timeoffset_mutex); |
| 32 | return nTimeOffset; |
| 33 | } |
| 34 | |
| 35 | int64_t GetAdjustedTime() |
| 36 | { |
no outgoing calls