Replace addrman.h include with forward decl in net.h

Also, add missing addrman.h includes
This commit is contained in:
MarcoFalke
2021-11-30 14:49:43 +01:00
parent ffdf8ee43e
commit fa815f8473
4 changed files with 6 additions and 3 deletions

View File

@@ -6,7 +6,6 @@
#ifndef BITCOIN_NET_H
#define BITCOIN_NET_H
#include <addrman.h>
#include <chainparams.h>
#include <common/bloom.h>
#include <compat.h>
@@ -37,9 +36,10 @@
#include <thread>
#include <vector>
class CScheduler;
class CNode;
class AddrMan;
class BanMan;
class CNode;
class CScheduler;
struct bilingual_str;
/** Default for -whitelistrelay. */