refactor: Remove addrdb.h dependency from node.h

This commit is contained in:
Hennadii Stepanov
2019-10-29 10:49:48 +02:00
parent 4c1090c882
commit f44abe4bed
7 changed files with 23 additions and 6 deletions

View File

@@ -7,6 +7,7 @@
#define BITCOIN_ADDRDB_H
#include <fs.h>
#include <net_types.h> // For banmap_t
#include <serialize.h>
#include <string>
@@ -79,8 +80,6 @@ public:
}
};
typedef std::map<CSubNet, CBanEntry> banmap_t;
/** Access to the (IP) address database (peers.dat) */
class CAddrDB
{