fix includes for touched header files (iwyu)

pull/27774/head
MarcoFalke 1 year ago
parent dddde27f6f
commit fa5680b752
No known key found for this signature in database

@ -6,12 +6,11 @@
#ifndef BITCOIN_ADDRDB_H #ifndef BITCOIN_ADDRDB_H
#define BITCOIN_ADDRDB_H #define BITCOIN_ADDRDB_H
#include <net_types.h> // For banmap_t #include <net_types.h>
#include <univalue.h>
#include <util/fs.h> #include <util/fs.h>
#include <util/result.h> #include <util/result.h>
#include <optional> #include <memory>
#include <vector> #include <vector>
class ArgsManager; class ArgsManager;
@ -19,7 +18,6 @@ class AddrMan;
class CAddress; class CAddress;
class CDataStream; class CDataStream;
class NetGroupManager; class NetGroupManager;
struct bilingual_str;
bool DumpPeerAddresses(const ArgsManager& args, const AddrMan& addr); bool DumpPeerAddresses(const ArgsManager& args, const AddrMan& addr);
/** Only used by tests. */ /** Only used by tests. */

@ -7,8 +7,6 @@
#include <util/result.h> #include <util/result.h>
struct bilingual_str;
namespace kernel { namespace kernel {
struct Context; struct Context;

@ -13,6 +13,9 @@
#include <util/fs.h> #include <util/fs.h>
#include <util/result.h> #include <util/result.h>
#include <cstddef>
#include <cstdint>
#include <functional>
#include <memory> #include <memory>
#include <optional> #include <optional>
#include <string> #include <string>
@ -21,11 +24,11 @@
class CBlockFileInfo; class CBlockFileInfo;
class CBlockIndex; class CBlockIndex;
class COutPoint;
class uint256; class uint256;
namespace Consensus { namespace Consensus {
struct Params; struct Params;
}; };
struct bilingual_str;
//! -dbcache default (MiB) //! -dbcache default (MiB)
static const int64_t nDefaultDbCache = 450; static const int64_t nDefaultDbCache = 450;

Loading…
Cancel
Save