aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorTheCharlatan <seb.kung@gmail.com>2023-04-18 13:48:49 +0200
committerTheCharlatan <seb.kung@gmail.com>2023-05-09 15:49:19 +0200
commitd168458d1ff987e0d741c75ac1d4b63ae0cfb7e7 (patch)
tree4decc679750e1982cd8491778160861920ed0710 /src/qt
parente9ee8aaf3acdf6dce2b339916d4c602484570050 (diff)
downloadbitcoin-d168458d1ff987e0d741c75ac1d4b63ae0cfb7e7.tar.xz
scripted-diff: Remove unused chainparamsbase includes
This is a follow-up to previous commits moving the chain constants out of chainparamsbase. The script removes the chainparamsbase header in all files where it is included, but not used. This is done by filtering against all defined symbols of the header as well as its respective .cpp file. The kernel chainparams now no longer relies on chainparamsbase. -BEGIN VERIFY SCRIPT- sed -i '/#include <chainparamsbase.h>/d' $( git grep -l 'chainparamsbase.h' | xargs grep -L 'CBaseChainParams\|CreateBaseChainParams\|SetupChainParamsBaseOptions\|BaseParams\|SelectBaseParams\|chainparamsbase.cpp' ) -END VERIFY SCRIPT-
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/networkstyle.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qt/networkstyle.cpp b/src/qt/networkstyle.cpp
index e9ec4349b5..b6314f5533 100644
--- a/src/qt/networkstyle.cpp
+++ b/src/qt/networkstyle.cpp
@@ -6,7 +6,6 @@
#include <qt/guiconstants.h>
-#include <chainparamsbase.h>
#include <tinyformat.h>
#include <util/chaintype.h>