From bbb4687b54accf447532361e06af632e2c960b0c Mon Sep 17 00:00:00 2001 From: Kittywhiskers Van Gogh <63189531+kwvg@users.noreply.github.com> Date: Sat, 28 Dec 2024 10:00:43 +0000 Subject: [PATCH] refactor: trim some unused headers, group Dash-specific headers together --- src/init.cpp | 38 ++++++++++--------------- src/test/util/setup_common.cpp | 27 ++++++++---------- src/validation.cpp | 7 +---- test/lint/lint-circular-dependencies.py | 3 -- 4 files changed, 28 insertions(+), 47 deletions(-) diff --git a/src/init.cpp b/src/init.cpp index 39f5b1bcc59a3..258be50fee660 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -71,43 +71,37 @@ #include #include #include - #include +#include -#include +#include #include #include -#ifdef ENABLE_WALLET -#include -#include -#endif // ENABLE_WALLET #include #include +#include +#include +#include #include #include +#include +#include +#include +#include #include +#include #include #include #include #include #include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - #include +#ifdef ENABLE_WALLET +#include +#include +#endif // ENABLE_WALLET + #include #include #include @@ -121,8 +115,6 @@ #include #include -#include - #ifndef WIN32 #include #include diff --git a/src/test/util/setup_common.cpp b/src/test/util/setup_common.cpp index 54e911f1e5186..eb34f1d3fa7d7 100644 --- a/src/test/util/setup_common.cpp +++ b/src/test/util/setup_common.cpp @@ -12,18 +12,9 @@ #include #include #include -#include -#include #include #include #include -#include -#include -#include -#include -#include -#include -#include #include #include #include @@ -38,8 +29,6 @@ #include #include