diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2019-10-29 10:49:48 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2019-10-29 11:30:12 +0200 |
commit | f44abe4bed25a40145ab168adc1589f5df4146f3 (patch) | |
tree | aa977707d7b86d74866e0bc1de2d4ecb79c514b5 /src/addrdb.h | |
parent | 4c1090c882ea15ba4d10a2f7f320f3c0eb490ebd (diff) |
refactor: Remove addrdb.h dependency from node.h
Diffstat (limited to 'src/addrdb.h')
-rw-r--r-- | src/addrdb.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/addrdb.h b/src/addrdb.h index 290b63dd12..ad85224d1f 100644 --- a/src/addrdb.h +++ b/src/addrdb.h @@ -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 { |