From 19431560e3e1124979c60f39eca9429c4a0df29f Mon Sep 17 00:00:00 2001 From: John Newbery Date: Tue, 31 Aug 2021 18:40:18 +0100 Subject: [net] Move asmap into NetGroupManager --- src/addrman.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/addrman.h') diff --git a/src/addrman.h b/src/addrman.h index 472282833b..a0063e8a9c 100644 --- a/src/addrman.h +++ b/src/addrman.h @@ -7,6 +7,7 @@ #define BITCOIN_ADDRMAN_H #include +#include #include #include #include @@ -88,7 +89,7 @@ protected: const std::unique_ptr m_impl; public: - explicit AddrMan(std::vector asmap, bool deterministic, int32_t consistency_check_ratio); + explicit AddrMan(const NetGroupManager& netgroupman, bool deterministic, int32_t consistency_check_ratio); ~AddrMan(); @@ -172,8 +173,6 @@ public: //! Update an entry's service bits. void SetServices(const CService& addr, ServiceFlags nServices); - const std::vector& GetAsmap() const; - /** Test-only function * Find the address record in AddrMan and return information about its * position. -- cgit v1.2.3