Changeset View
Changeset View
Standalone View
Standalone View
src/utiltime.cpp
// Copyright (c) 2009-2010 Satoshi Nakamoto | // Copyright (c) 2009-2010 Satoshi Nakamoto | ||||
// Copyright (c) 2009-2016 The Bitcoin Core developers | // Copyright (c) 2009-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 "utiltime.h" | #include <utiltime.h> | ||||
#include <atomic> | #include <atomic> | ||||
jasonbcox: system lib after boost | |||||
#include <boost/date_time/posix_time/posix_time.hpp> | #include <boost/date_time/posix_time/posix_time.hpp> | ||||
#include <boost/thread.hpp> | #include <boost/thread.hpp> | ||||
//!< For unit testing | //!< For unit testing | ||||
static std::atomic<int64_t> nMockTime(0); | static std::atomic<int64_t> nMockTime(0); | ||||
int64_t GetTime() { | int64_t GetTime() { | ||||
▲ Show 20 Lines • Show All 63 Lines • Show Last 20 Lines |
system lib after boost