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
#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. */

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

@ -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;

Loading…
Cancel
Save