Changeset View
Changeset View
Standalone View
Standalone View
src/timedata.cpp
// Copyright (c) 2014-2016 The Bitcoin Core developers | // Copyright (c) 2014-2016 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#if defined(HAVE_CONFIG_H) | #if defined(HAVE_CONFIG_H) | ||||
#include <config/bitcoin-config.h> | #include <config/bitcoin-config.h> | ||||
#endif | #endif | ||||
#include <timedata.h> | #include <timedata.h> | ||||
#include <netaddress.h> | #include <netaddress.h> | ||||
#include <sync.h> | #include <sync.h> | ||||
#include <ui_interface.h> | #include <ui_interface.h> | ||||
#include <util/strencodings.h> | #include <util/strencodings.h> | ||||
#include <util/system.h> | #include <util/system.h> | ||||
#include <util/translation.h> | |||||
#include <warnings.h> | #include <warnings.h> | ||||
static RecursiveMutex cs_nTimeOffset; | static RecursiveMutex cs_nTimeOffset; | ||||
static int64_t nTimeOffset = 0; | static int64_t nTimeOffset = 0; | ||||
/** | /** | ||||
* "Never go to sea with two chronometers; take one or three." | * "Never go to sea with two chronometers; take one or three." | ||||
* Our three time sources are: | * Our three time sources are: | ||||
▲ Show 20 Lines • Show All 104 Lines • Show Last 20 Lines |