diff options
author | TheCharlatan <seb.kung@gmail.com> | 2023-03-15 11:18:06 +0100 |
---|---|---|
committer | TheCharlatan <seb.kung@gmail.com> | 2023-03-23 12:55:18 +0100 |
commit | 00e9b97f37e0bdf4c647236838c10b68b7ad5be3 (patch) | |
tree | 6429e09f16e4eece72c9338b06eb528ac24bee6a /src/node | |
parent | 106b46d9d25b5228ef009fbbe6f9a7ae35090d15 (diff) |
refactor: Move fs.* to util/fs.*
The fs.* files are already part of the libbitcoin_util library. With the
introduction of the fs_helpers.* it makes sense to move fs.* into the
util/ directory as well.
Diffstat (limited to 'src/node')
-rw-r--r-- | src/node/blockstorage.cpp | 2 | ||||
-rw-r--r-- | src/node/blockstorage.h | 2 | ||||
-rw-r--r-- | src/node/chainstate.cpp | 2 | ||||
-rw-r--r-- | src/node/mempool_persist_args.cpp | 2 | ||||
-rw-r--r-- | src/node/mempool_persist_args.h | 2 | ||||
-rw-r--r-- | src/node/utxo_snapshot.cpp | 2 | ||||
-rw-r--r-- | src/node/utxo_snapshot.h | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/src/node/blockstorage.cpp b/src/node/blockstorage.cpp index 53721b807c..af84e6d7e7 100644 --- a/src/node/blockstorage.cpp +++ b/src/node/blockstorage.cpp @@ -8,7 +8,6 @@ #include <clientversion.h> #include <consensus/validation.h> #include <flatfile.h> -#include <fs.h> #include <hash.h> #include <logging.h> #include <kernel/chainparams.h> @@ -18,6 +17,7 @@ #include <signet.h> #include <streams.h> #include <undo.h> +#include <util/fs.h> #include <util/syscall_sandbox.h> #include <util/system.h> #include <validation.h> diff --git a/src/node/blockstorage.h b/src/node/blockstorage.h index 5ba0045b8b..3eb27cc72d 100644 --- a/src/node/blockstorage.h +++ b/src/node/blockstorage.h @@ -7,12 +7,12 @@ #include <attributes.h> #include <chain.h> -#include <fs.h> #include <kernel/blockmanager_opts.h> #include <kernel/cs_main.h> #include <protocol.h> #include <sync.h> #include <txdb.h> +#include <util/fs.h> #include <atomic> #include <cstdint> diff --git a/src/node/chainstate.cpp b/src/node/chainstate.cpp index a756fe2508..f60ff83a0d 100644 --- a/src/node/chainstate.cpp +++ b/src/node/chainstate.cpp @@ -16,7 +16,7 @@ #include <tinyformat.h> #include <txdb.h> #include <uint256.h> -#include <fs.h> +#include <util/fs.h> #include <util/time.h> #include <util/translation.h> #include <validation.h> diff --git a/src/node/mempool_persist_args.cpp b/src/node/mempool_persist_args.cpp index 4e775869c6..78e3472644 100644 --- a/src/node/mempool_persist_args.cpp +++ b/src/node/mempool_persist_args.cpp @@ -4,7 +4,7 @@ #include <node/mempool_persist_args.h> -#include <fs.h> +#include <util/fs.h> #include <util/system.h> #include <validation.h> diff --git a/src/node/mempool_persist_args.h b/src/node/mempool_persist_args.h index f719ec62ab..3b101f0930 100644 --- a/src/node/mempool_persist_args.h +++ b/src/node/mempool_persist_args.h @@ -5,7 +5,7 @@ #ifndef BITCOIN_NODE_MEMPOOL_PERSIST_ARGS_H #define BITCOIN_NODE_MEMPOOL_PERSIST_ARGS_H -#include <fs.h> +#include <util/fs.h> class ArgsManager; diff --git a/src/node/utxo_snapshot.cpp b/src/node/utxo_snapshot.cpp index cccf95e552..591c1dad6e 100644 --- a/src/node/utxo_snapshot.cpp +++ b/src/node/utxo_snapshot.cpp @@ -4,13 +4,13 @@ #include <node/utxo_snapshot.h> -#include <fs.h> #include <logging.h> #include <streams.h> #include <sync.h> #include <tinyformat.h> #include <txdb.h> #include <uint256.h> +#include <util/fs.h> #include <util/system.h> #include <validation.h> diff --git a/src/node/utxo_snapshot.h b/src/node/utxo_snapshot.h index c5c018c9e8..44ddd77dc3 100644 --- a/src/node/utxo_snapshot.h +++ b/src/node/utxo_snapshot.h @@ -6,11 +6,11 @@ #ifndef BITCOIN_NODE_UTXO_SNAPSHOT_H #define BITCOIN_NODE_UTXO_SNAPSHOT_H -#include <fs.h> #include <kernel/cs_main.h> #include <serialize.h> #include <sync.h> #include <uint256.h> +#include <util/fs.h> #include <cstdint> #include <optional> |