Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/mining.cpp
// Copyright (c) 2010 Satoshi Nakamoto | // Copyright (c) 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 "rpc/mining.h" | #include <amount.h> | ||||
#include "amount.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/consensus.h> | ||||
#include "consensus/consensus.h" | #include <consensus/params.h> | ||||
#include "consensus/params.h" | #include <consensus/validation.h> | ||||
#include "consensus/validation.h" | #include <core_io.h> | ||||
#include "core_io.h" | #include <dstencode.h> | ||||
#include "dstencode.h" | #include <init.h> | ||||
#include "init.h" | #include <miner.h> | ||||
#include "miner.h" | #include <net.h> | ||||
#include "net.h" | #include <policy/policy.h> | ||||
#include "policy/policy.h" | #include <pow.h> | ||||
#include "pow.h" | #include <rpc/blockchain.h> | ||||
#include "rpc/blockchain.h" | #include <rpc/mining.h> | ||||
#include "rpc/server.h" | #include <rpc/server.h> | ||||
#include "txmempool.h" | #include <txmempool.h> | ||||
#include "util.h" | #include <util.h> | ||||
#include "utilstrencodings.h" | #include <utilstrencodings.h> | ||||
#include "validation.h" | #include <validation.h> | ||||
#include "validationinterface.h" | #include <validationinterface.h> | ||||
#include "warnings.h" | #include <warnings.h> | ||||
#include <univalue.h> | #include <univalue.h> | ||||
#include <cstdint> | #include <cstdint> | ||||
#include <memory> | #include <memory> | ||||
/** | /** | ||||
* Return average network hashes per second based on the last 'lookup' blocks, | * Return average network hashes per second based on the last 'lookup' blocks, | ||||
▲ Show 20 Lines • Show All 779 Lines • Show Last 20 Lines |