diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-05-29 13:33:27 +0200 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-05-29 13:26:31 +0200 |
commit | fa5680b7520c340952239c4e25ebe505d16c7c39 (patch) | |
tree | 8fe330aef4e31ce289089ef1453891e63cfa9395 /src | |
parent | dddde27f6fbcff7cdb31f7138efc5d8363537b03 (diff) |
fix includes for touched header files (iwyu)
Diffstat (limited to 'src')
-rw-r--r-- | src/addrdb.h | 6 | ||||
-rw-r--r-- | src/kernel/checks.h | 2 | ||||
-rw-r--r-- | src/txdb.h | 5 |
3 files changed, 6 insertions, 7 deletions
diff --git a/src/addrdb.h b/src/addrdb.h index 3da630fff8..0037495d18 100644 --- a/src/addrdb.h +++ b/src/addrdb.h @@ -6,12 +6,11 @@ #ifndef BITCOIN_ADDRDB_H #define BITCOIN_ADDRDB_H -#include <net_types.h> // For banmap_t -#include <univalue.h> +#include <net_types.h> #include <util/fs.h> #include <util/result.h> -#include <optional> +#include <memory> #include <vector> class ArgsManager; @@ -19,7 +18,6 @@ class AddrMan; class CAddress; class CDataStream; class NetGroupManager; -struct bilingual_str; bool DumpPeerAddresses(const ArgsManager& args, const AddrMan& addr); /** Only used by tests. */ diff --git a/src/kernel/checks.h b/src/kernel/checks.h index 216aad7341..fd8c167015 100644 --- a/src/kernel/checks.h +++ b/src/kernel/checks.h @@ -7,8 +7,6 @@ #include <util/result.h> -struct bilingual_str; - namespace kernel { struct Context; diff --git a/src/txdb.h b/src/txdb.h index c65101618c..04d0ecb39f 100644 --- a/src/txdb.h +++ b/src/txdb.h @@ -13,6 +13,9 @@ #include <util/fs.h> #include <util/result.h> +#include <cstddef> +#include <cstdint> +#include <functional> #include <memory> #include <optional> #include <string> @@ -21,11 +24,11 @@ class CBlockFileInfo; class CBlockIndex; +class COutPoint; class uint256; namespace Consensus { struct Params; }; -struct bilingual_str; //! -dbcache default (MiB) static const int64_t nDefaultDbCache = 450; |