Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
// 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 The Bitcoin developers | // Copyright (c) 2017 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. | ||||
#ifndef BITCOIN_VALIDATION_H | #ifndef BITCOIN_VALIDATION_H | ||||
#define BITCOIN_VALIDATION_H | #define BITCOIN_VALIDATION_H | ||||
#if defined(HAVE_CONFIG_H) | #if defined(HAVE_CONFIG_H) | ||||
#include "config/bitcoin-config.h" | #include "config/bitcoin-config.h" | ||||
#endif | #endif | ||||
#include "amount.h" | #include "amount.h" | ||||
#include "blockfileinfo.h" | #include "blockfileinfo.h" | ||||
#include "chain.h" | #include "chain.h" | ||||
#include "blockfileinfo.h" | |||||
#include "coins.h" | #include "coins.h" | ||||
#include "consensus/consensus.h" | #include "consensus/consensus.h" | ||||
#include "diskblockpos.h" | |||||
deadalnix: CDiskBlockPos is only used by pointer or ref, please use a forward declaration instead of an… | |||||
nakihitoAuthorUnsubmitted Not Done Inline ActionsAh, you are correct. Consider it fixed. nakihito: Ah, you are correct. Consider it fixed. | |||||
#include "fs.h" | #include "fs.h" | ||||
#include "protocol.h" // For CMessageHeader::MessageMagic | #include "protocol.h" // For CMessageHeader::MessageMagic | ||||
#include "script/script_error.h" | #include "script/script_error.h" | ||||
#include "sync.h" | #include "sync.h" | ||||
#include "versionbits.h" | #include "versionbits.h" | ||||
#include <algorithm> | #include <algorithm> | ||||
#include <atomic> | #include <atomic> | ||||
▲ Show 20 Lines • Show All 737 Lines • Show Last 20 Lines |
CDiskBlockPos is only used by pointer or ref, please use a forward declaration instead of an include.