diff options
author | John Newbery <john@johnnewbery.com> | 2021-08-24 11:31:01 +0100 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2021-08-25 13:23:53 +0100 |
commit | 593247872decd6d483a76e96d79433247226ad14 (patch) | |
tree | 62b2d15a5dddf2c2fb03300855406ac5ffc13c01 /src/net.h | |
parent | 50fd77045e2f858a53486b5e02e1798c92ab946c (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.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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; |