Changeset View
Changeset View
Standalone View
Standalone View
src/validation.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 | ||||
// Copyright (c) 2017-2018 The Bitcoin developers | // Copyright (c) 2017-2018 The Bitcoin 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 "validation.h" | #include <validation.h> | ||||
#include "arith_uint256.h" | #include <arith_uint256.h> | ||||
#include "blockindexworkcomparator.h" | #include <blockindexworkcomparator.h> | ||||
#include "blockvalidity.h" | #include <blockvalidity.h> | ||||
#include "chainparams.h" | #include <chainparams.h> | ||||
#include "checkpoints.h" | #include <checkpoints.h> | ||||
#include "checkqueue.h" | #include <checkqueue.h> | ||||
#include "config.h" | #include <config.h> | ||||
#include "consensus/activation.h" | #include <consensus/activation.h> | ||||
#include "consensus/consensus.h" | #include <consensus/consensus.h> | ||||
#include "consensus/merkle.h" | #include <consensus/merkle.h> | ||||
#include "consensus/tx_verify.h" | #include <consensus/tx_verify.h> | ||||
#include "consensus/validation.h" | #include <consensus/validation.h> | ||||
#include "fs.h" | #include <fs.h> | ||||
#include "hash.h" | #include <hash.h> | ||||
#include "init.h" | #include <init.h> | ||||
#include "policy/fees.h" | #include <policy/fees.h> | ||||
#include "policy/policy.h" | #include <policy/policy.h> | ||||
#include "pow.h" | #include <pow.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 "script/script.h" | #include <script/script.h> | ||||
#include "script/scriptcache.h" | #include <script/scriptcache.h> | ||||
#include "script/sigcache.h" | #include <script/sigcache.h> | ||||
#include "script/standard.h" | #include <script/standard.h> | ||||
#include "timedata.h" | #include <timedata.h> | ||||
#include "tinyformat.h" | #include <tinyformat.h> | ||||
#include "txdb.h" | #include <txdb.h> | ||||
#include "txmempool.h" | #include <txmempool.h> | ||||
#include "ui_interface.h" | #include <ui_interface.h> | ||||
#include "undo.h" | #include <undo.h> | ||||
#include "util.h" | #include <util.h> | ||||
#include "utilmoneystr.h" | #include <utilmoneystr.h> | ||||
#include "utilstrencodings.h" | #include <utilstrencodings.h> | ||||
#include "validationinterface.h" | #include <validationinterface.h> | ||||
#include "warnings.h" | #include <warnings.h> | ||||
#include <boost/algorithm/string/join.hpp> | |||||
#include <boost/algorithm/string/replace.hpp> | |||||
#include <boost/thread.hpp> | |||||
#include <atomic> | #include <atomic> | ||||
#include <future> | #include <future> | ||||
#include <sstream> | #include <sstream> | ||||
#include <thread> | #include <thread> | ||||
#include <boost/algorithm/string/join.hpp> | |||||
#include <boost/algorithm/string/replace.hpp> | |||||
#include <boost/thread.hpp> | |||||
#if defined(NDEBUG) | #if defined(NDEBUG) | ||||
#error "Bitcoin cannot be compiled without assertions." | #error "Bitcoin cannot be compiled without assertions." | ||||
#endif | #endif | ||||
#define MICRO 0.000001 | #define MICRO 0.000001 | ||||
#define MILLI 0.001 | #define MILLI 0.001 | ||||
class ConnectTrace; | class ConnectTrace; | ||||
▲ Show 20 Lines • Show All 5,657 Lines • Show Last 20 Lines |