diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2023-09-07 15:39:30 +0000 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2023-09-08 13:40:15 +0000 |
commit | e73d2a8018def940afadb5d699b18f39e882c1fc (patch) | |
tree | 4f5ab44ccd978592c109679a0b746c10a9184e86 | |
parent | 4240a082b81d8ceb7615b1b4ca0d2857382f317b (diff) |
refactor: remove clientversion include from dbwrapper.h
-rw-r--r-- | src/dbwrapper.h | 1 | ||||
-rw-r--r-- | src/index/blockfilterindex.cpp | 1 | ||||
-rw-r--r-- | src/index/txindex.cpp | 1 | ||||
-rw-r--r-- | src/init.cpp | 1 | ||||
-rw-r--r-- | src/test/blockmanager_tests.cpp | 1 | ||||
-rw-r--r-- | src/validation.cpp | 1 |
6 files changed, 5 insertions, 1 deletions
diff --git a/src/dbwrapper.h b/src/dbwrapper.h index 44366d0033..2f7448e878 100644 --- a/src/dbwrapper.h +++ b/src/dbwrapper.h @@ -6,7 +6,6 @@ #define BITCOIN_DBWRAPPER_H #include <attributes.h> -#include <clientversion.h> #include <serialize.h> #include <span.h> #include <streams.h> diff --git a/src/index/blockfilterindex.cpp b/src/index/blockfilterindex.cpp index b23d66ac1d..21132d9305 100644 --- a/src/index/blockfilterindex.cpp +++ b/src/index/blockfilterindex.cpp @@ -4,6 +4,7 @@ #include <map> +#include <clientversion.h> #include <common/args.h> #include <dbwrapper.h> #include <hash.h> diff --git a/src/index/txindex.cpp b/src/index/txindex.cpp index 2e07a35d0d..0d4de3a53e 100644 --- a/src/index/txindex.cpp +++ b/src/index/txindex.cpp @@ -4,6 +4,7 @@ #include <index/txindex.h> +#include <clientversion.h> #include <common/args.h> #include <index/disktxpos.h> #include <logging.h> diff --git a/src/init.cpp b/src/init.cpp index 96fec92133..f0847bd4f7 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -19,6 +19,7 @@ #include <chain.h> #include <chainparams.h> #include <chainparamsbase.h> +#include <clientversion.h> #include <common/args.h> #include <common/system.h> #include <consensus/amount.h> diff --git a/src/test/blockmanager_tests.cpp b/src/test/blockmanager_tests.cpp index 553bb31ba1..13cb1cc314 100644 --- a/src/test/blockmanager_tests.cpp +++ b/src/test/blockmanager_tests.cpp @@ -3,6 +3,7 @@ // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <chainparams.h> +#include <clientversion.h> #include <node/blockstorage.h> #include <node/context.h> #include <node/kernel_notifications.h> diff --git a/src/validation.cpp b/src/validation.cpp index 0b6327ec55..e3a00e4241 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -11,6 +11,7 @@ #include <arith_uint256.h> #include <chain.h> #include <checkqueue.h> +#include <clientversion.h> #include <consensus/amount.h> #include <consensus/consensus.h> #include <consensus/merkle.h> |