Changeset View
Changeset View
Standalone View
Standalone View
src/chain.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 | ||||
// 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_CHAIN_H | #ifndef BITCOIN_CHAIN_H | ||||
#define BITCOIN_CHAIN_H | #define BITCOIN_CHAIN_H | ||||
#include "arith_uint256.h" | #include <arith_uint256.h> | ||||
#include "blockstatus.h" | #include <blockstatus.h> | ||||
#include "blockvalidity.h" | #include <blockvalidity.h> | ||||
#include "consensus/params.h" | #include <consensus/params.h> | ||||
#include "diskblockpos.h" | #include <diskblockpos.h> | ||||
#include "pow.h" | #include <pow.h> | ||||
#include "primitives/block.h" | #include <primitives/block.h> | ||||
#include "sync.h" | #include <sync.h> | ||||
#include "tinyformat.h" | #include <tinyformat.h> | ||||
#include "uint256.h" | #include <uint256.h> | ||||
#include <unordered_map> | #include <unordered_map> | ||||
#include <vector> | #include <vector> | ||||
/** | /** | ||||
* Maximum amount of time that a block timestamp is allowed to exceed the | * Maximum amount of time that a block timestamp is allowed to exceed the | ||||
* current network-adjusted time before the block will be accepted. | * current network-adjusted time before the block will be accepted. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 393 Lines • Show Last 20 Lines |