diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-11-15 13:42:00 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-11-16 10:04:55 +0100 |
commit | fa53e3a58c94731a90514fe92fad365a49adb10c (patch) | |
tree | a275c389e29223ecfe40f440fff535e46d804551 /src/test/util | |
parent | ad09c287cb7033a28f8d0a002c1ca4f194c12f11 (diff) |
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-
Diffstat (limited to 'src/test/util')
-rw-r--r-- | src/test/util/mining.cpp | 2 | ||||
-rw-r--r-- | src/test/util/setup_common.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/util/mining.cpp b/src/test/util/mining.cpp index f6a11bc02e..3fb4c5833a 100644 --- a/src/test/util/mining.cpp +++ b/src/test/util/mining.cpp @@ -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> diff --git a/src/test/util/setup_common.cpp b/src/test/util/setup_common.cpp index 5a0c8e152a..5b613ac189 100644 --- a/src/test/util/setup_common.cpp +++ b/src/test/util/setup_common.cpp @@ -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> |