diff options
author | TheCharlatan <seb.kung@gmail.com> | 2023-04-18 13:48:49 +0200 |
---|---|---|
committer | TheCharlatan <seb.kung@gmail.com> | 2023-05-09 15:49:19 +0200 |
commit | d168458d1ff987e0d741c75ac1d4b63ae0cfb7e7 (patch) | |
tree | 4decc679750e1982cd8491778160861920ed0710 /src/validationinterface.cpp | |
parent | e9ee8aaf3acdf6dce2b339916d4c602484570050 (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/validationinterface.cpp')
0 files changed, 0 insertions, 0 deletions