Changeset View
Changeset View
Standalone View
Standalone View
src/net_processing.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. | ||||
#include "net_processing.h" | #include <net_processing.h> | ||||
#include "addrman.h" | #include <addrman.h> | ||||
#include "arith_uint256.h" | #include <arith_uint256.h> | ||||
#include "blockencodings.h" | #include <blockencodings.h> | ||||
#include "blockvalidity.h" | #include <blockvalidity.h> | ||||
#include "chain.h" | #include <chain.h> | ||||
#include "chainparams.h" | #include <chainparams.h> | ||||
#include "config.h" | #include <config.h> | ||||
#include "consensus/validation.h" | #include <consensus/validation.h> | ||||
#include "hash.h" | #include <hash.h> | ||||
#include "init.h" | #include <init.h> | ||||
#include "merkleblock.h" | #include <merkleblock.h> | ||||
#include "net.h" | #include <net.h> | ||||
#include "netbase.h" | #include <netbase.h> | ||||
#include "netmessagemaker.h" | #include <netmessagemaker.h> | ||||
#include "policy/fees.h" | #include <policy/fees.h> | ||||
#include "policy/policy.h" | #include <policy/policy.h> | ||||
#include "primitives/block.h" | #include <primitives/block.h> | ||||
#include "primitives/transaction.h" | #include <primitives/transaction.h> | ||||
#include "random.h" | #include <random.h> | ||||
#include "reverse_iterator.h" | #include <reverse_iterator.h> | ||||
#include "scheduler.h" | #include <scheduler.h> | ||||
#include "tinyformat.h" | #include <tinyformat.h> | ||||
#include "txmempool.h" | #include <txmempool.h> | ||||
#include "ui_interface.h" | #include <ui_interface.h> | ||||
#include "util.h" | #include <util.h> | ||||
#include "utilmoneystr.h" | #include <utilmoneystr.h> | ||||
#include "utilstrencodings.h" | #include <utilstrencodings.h> | ||||
#include "validation.h" | #include <validation.h> | ||||
#include "validationinterface.h" | #include <validationinterface.h> | ||||
#if defined(NDEBUG) | #if defined(NDEBUG) | ||||
#error "Bitcoin cannot be compiled without assertions." | #error "Bitcoin cannot be compiled without assertions." | ||||
#endif | #endif | ||||
// Used only to inform the wallet of when we last received a block. | // Used only to inform the wallet of when we last received a block. | ||||
std::atomic<int64_t> nTimeBestReceived(0); | std::atomic<int64_t> nTimeBestReceived(0); | ||||
▲ Show 20 Lines • Show All 4,311 Lines • Show Last 20 Lines |