[net] remove CConnman::AddNewAddresses

It just forwards calls to CAddrMan::Add.
This commit is contained in:
John Newbery
2020-10-23 10:24:16 +01:00
parent bcd7f30b79
commit 7c4cc67c0c
5 changed files with 4 additions and 18 deletions

View File

@@ -921,7 +921,6 @@ public:
};
// Addrman functions
bool AddNewAddresses(const std::vector<CAddress>& vAddr, const CAddress& addrFrom, int64_t nTimePenalty = 0);
std::vector<CAddress> GetAddresses(size_t max_addresses, size_t max_pct);
/**
* Cache is used to minimize topology leaks, so it should