aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2020-10-23 10:24:16 +0100
committerJohn Newbery <john@johnnewbery.com>2021-03-20 10:24:40 +0000
commit7c4cc67c0c3c50df004ee53cac5b2884b7fbab29 (patch)
tree46a6057a19abb8d7c21d5c613fedec49c143041c /src/net.h
parentbcd7f30b7944892db7ae37069175804567bb0cdf (diff)
downloadbitcoin-7c4cc67c0c3c50df004ee53cac5b2884b7fbab29.tar.xz
[net] remove CConnman::AddNewAddresses
It just forwards calls to CAddrMan::Add.
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index f2add667d2..820b680c6c 100644
--- a/src/net.h
+++ b/src/net.h
@@ -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