mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 02:25:40 +01:00
scripted-diff: Move miner to src/node
-BEGIN VERIFY SCRIPT- # Move module git mv src/miner.cpp src/node/ git mv src/miner.h src/node/ # Replacements sed -i 's:miner\.h:node/miner.h:g' $(git grep -l miner) sed -i 's:miner\.cpp:node/miner.cpp:g' $(git grep -l miner) sed -i 's:MINER_H:NODE_MINER_H:g' $(git grep -l MINER_H) -END VERIFY SCRIPT-
This commit is contained in:
parent
ad09c287cb
commit
fa53e3a58c
@ -166,7 +166,7 @@ BITCOIN_CORE_H = \
|
||||
mapport.h \
|
||||
memusage.h \
|
||||
merkleblock.h \
|
||||
miner.h \
|
||||
node/miner.h \
|
||||
net.h \
|
||||
net_permissions.h \
|
||||
net_processing.h \
|
||||
@ -334,7 +334,7 @@ libbitcoin_server_a_SOURCES = \
|
||||
index/txindex.cpp \
|
||||
init.cpp \
|
||||
mapport.cpp \
|
||||
miner.cpp \
|
||||
node/miner.cpp \
|
||||
net.cpp \
|
||||
net_processing.cpp \
|
||||
node/blockstorage.cpp \
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include <interfaces/init.h>
|
||||
#include <interfaces/node.h>
|
||||
#include <mapport.h>
|
||||
#include <miner.h>
|
||||
#include <node/miner.h>
|
||||
#include <net.h>
|
||||
#include <net_permissions.h>
|
||||
#include <net_processing.h>
|
||||
|
@ -3,7 +3,7 @@
|
||||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <miner.h>
|
||||
#include <node/miner.h>
|
||||
|
||||
#include <chain.h>
|
||||
#include <chainparams.h>
|
@ -3,8 +3,8 @@
|
||||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#ifndef BITCOIN_MINER_H
|
||||
#define BITCOIN_MINER_H
|
||||
#ifndef BITCOIN_NODE_MINER_H
|
||||
#define BITCOIN_NODE_MINER_H
|
||||
|
||||
#include <primitives/block.h>
|
||||
#include <txmempool.h>
|
||||
@ -205,4 +205,4 @@ int64_t UpdateTime(CBlockHeader* pblock, const Consensus::Params& consensusParam
|
||||
/** Update an old GenerateCoinbaseCommitment from CreateNewBlock after the block txs have changed */
|
||||
void RegenerateCommitments(CBlock& block, ChainstateManager& chainman);
|
||||
|
||||
#endif // BITCOIN_MINER_H
|
||||
#endif // BITCOIN_NODE_MINER_H
|
@ -13,7 +13,7 @@
|
||||
#include <deploymentinfo.h>
|
||||
#include <deploymentstatus.h>
|
||||
#include <key_io.h>
|
||||
#include <miner.h>
|
||||
#include <node/miner.h>
|
||||
#include <net.h>
|
||||
#include <node/context.h>
|
||||
#include <policy/fees.h>
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include <chainparams.h>
|
||||
#include <consensus/validation.h>
|
||||
#include <index/blockfilterindex.h>
|
||||
#include <miner.h>
|
||||
#include <node/miner.h>
|
||||
#include <pow.h>
|
||||
#include <script/standard.h>
|
||||
#include <test/util/blockfilter.h>
|
||||
|
@ -3,7 +3,7 @@
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <consensus/validation.h>
|
||||
#include <miner.h>
|
||||
#include <node/miner.h>
|
||||
#include <test/fuzz/FuzzedDataProvider.h>
|
||||
#include <test/fuzz/fuzz.h>
|
||||
#include <test/fuzz/util.h>
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <consensus/consensus.h>
|
||||
#include <consensus/merkle.h>
|
||||
#include <consensus/tx_verify.h>
|
||||
#include <miner.h>
|
||||
#include <node/miner.h>
|
||||
#include <policy/policy.h>
|
||||
#include <script/standard.h>
|
||||
#include <txmempool.h>
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <chainparams.h>
|
||||
#include <consensus/merkle.h>
|
||||
#include <key_io.h>
|
||||
#include <miner.h>
|
||||
#include <node/miner.h>
|
||||
#include <node/context.h>
|
||||
#include <pow.h>
|
||||
#include <script/standard.h>
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include <crypto/sha256.h>
|
||||
#include <init.h>
|
||||
#include <interfaces/chain.h>
|
||||
#include <miner.h>
|
||||
#include <node/miner.h>
|
||||
#include <net.h>
|
||||
#include <net_processing.h>
|
||||
#include <noui.h>
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <chainparams.h>
|
||||
#include <consensus/merkle.h>
|
||||
#include <consensus/validation.h>
|
||||
#include <miner.h>
|
||||
#include <node/miner.h>
|
||||
#include <pow.h>
|
||||
#include <random.h>
|
||||
#include <script/standard.h>
|
||||
|
@ -88,7 +88,7 @@ implicit-signed-integer-truncation:chain.h
|
||||
implicit-signed-integer-truncation:crypto/
|
||||
implicit-signed-integer-truncation:cuckoocache.h
|
||||
implicit-signed-integer-truncation:leveldb/
|
||||
implicit-signed-integer-truncation:miner.cpp
|
||||
implicit-signed-integer-truncation:node/miner.cpp
|
||||
implicit-signed-integer-truncation:net.cpp
|
||||
implicit-signed-integer-truncation:net_processing.cpp
|
||||
implicit-signed-integer-truncation:netaddress.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user