mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 05:57:59 +01:00
refactor: Remove addrdb.h dependency from node.h
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user