aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
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/rpc
parente9ee8aaf3acdf6dce2b339916d4c602484570050 (diff)
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/rpc')
-rw-r--r--src/rpc/external_signer.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rpc/external_signer.cpp b/src/rpc/external_signer.cpp
index b7d065ad57..ac135ba216 100644
--- a/src/rpc/external_signer.cpp
+++ b/src/rpc/external_signer.cpp
@@ -2,7 +2,6 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
-#include <chainparamsbase.h>
#include <common/args.h>
#include <external_signer.h>
#include <rpc/protocol.h>