diff options
author | John Newbery <john@johnnewbery.com> | 2020-10-23 10:24:16 +0100 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2021-03-20 10:24:40 +0000 |
commit | 7c4cc67c0c3c50df004ee53cac5b2884b7fbab29 (patch) | |
tree | 46a6057a19abb8d7c21d5c613fedec49c143041c /src/net.cpp | |
parent | bcd7f30b7944892db7ae37069175804567bb0cdf (diff) | |
download | bitcoin-7c4cc67c0c3c50df004ee53cac5b2884b7fbab29.tar.xz |
[net] remove CConnman::AddNewAddresses
It just forwards calls to CAddrMan::Add.
Diffstat (limited to 'src/net.cpp')
-rw-r--r-- | src/net.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/net.cpp b/src/net.cpp index 0e5909612e..9553bbddfa 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -2635,11 +2635,6 @@ CConnman::~CConnman() Stop(); } -bool CConnman::AddNewAddresses(const std::vector<CAddress>& vAddr, const CAddress& addrFrom, int64_t nTimePenalty) -{ - return addrman.Add(vAddr, addrFrom, nTimePenalty); -} - std::vector<CAddress> CConnman::GetAddresses(size_t max_addresses, size_t max_pct) { std::vector<CAddress> addresses = addrman.GetAddr(max_addresses, max_pct); |