From d168458d1ff987e0d741c75ac1d4b63ae0cfb7e7 Mon Sep 17 00:00:00 2001 From: TheCharlatan Date: Tue, 18 Apr 2023 13:48:49 +0200 Subject: 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 /d' $( git grep -l 'chainparamsbase.h' | xargs grep -L 'CBaseChainParams\|CreateBaseChainParams\|SetupChainParamsBaseOptions\|BaseParams\|SelectBaseParams\|chainparamsbase.cpp' ) -END VERIFY SCRIPT- --- src/qt/networkstyle.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/qt') 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 -#include #include #include -- cgit v1.2.3