diff options
author | John Newbery <john@johnnewbery.com> | 2020-10-23 10:20:48 +0100 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2021-03-20 10:24:40 +0000 |
commit | bcd7f30b7944892db7ae37069175804567bb0cdf (patch) | |
tree | 78d3a15c0ebd5523701ab2edd4022217f41df6fb /src/net.cpp | |
parent | 8073673dbcb2744fcc9c011edf2d61388ca929cd (diff) | |
download | bitcoin-bcd7f30b7944892db7ae37069175804567bb0cdf.tar.xz |
[net] remove CConnman::MarkAddressGood
It just forwards calls to CAddrMan::Good.
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 27c64a737e..0e5909612e 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -2635,11 +2635,6 @@ CConnman::~CConnman() Stop(); } -void CConnman::MarkAddressGood(const CAddress& addr) -{ - addrman.Good(addr); -} - bool CConnman::AddNewAddresses(const std::vector<CAddress>& vAddr, const CAddress& addrFrom, int64_t nTimePenalty) { return addrman.Add(vAddr, addrFrom, nTimePenalty); |