aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2021-08-24 11:31:01 +0100
committerJohn Newbery <john@johnnewbery.com>2021-08-25 13:23:53 +0100
commit593247872decd6d483a76e96d79433247226ad14 (patch)
tree62b2d15a5dddf2c2fb03300855406ac5ffc13c01 /src/net.h
parent50fd77045e2f858a53486b5e02e1798c92ab946c (diff)
[net] Remove CConnMan::SetAsmap()
CAddrMan::m_asmap is now set directly in AppInitMain() so CConnMan::SetAsmap() is no longer required.
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/net.h b/src/net.h
index 28cd635976..316425e677 100644
--- a/src/net.h
+++ b/src/net.h
@@ -949,8 +949,6 @@ public:
*/
std::chrono::microseconds PoissonNextSendInbound(std::chrono::microseconds now, std::chrono::seconds average_interval);
- void SetAsmap(std::vector<bool> asmap) { addrman.m_asmap = std::move(asmap); }
-
/** Return true if we should disconnect the peer for failing an inactivity check. */
bool ShouldRunInactivityChecks(const CNode& node, std::optional<int64_t> now=std::nullopt) const;