aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-03-18 10:10:00 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2017-03-18 10:10:33 +0100
commitaab1e55860dea1e40fc02bc0e535c1d1474a5ae3 (patch)
tree205981723993692548054a044c47ae43b9daefa3 /src/net.h
parent3d857f307be8712b9b251e770d8425717409654b (diff)
parent8dc957ae06366d023e0d23c92279c5fb04b515d0 (diff)
Merge #9987: Remove unused code
8dc957a Remove unused code (practicalswift) Tree-SHA512: c7bb286e3b92e42fec8aa1ac2491fd38be36602efca16b4bdc4e9d5ada75c11d99e7713092ec13794abd69d5ef2c732b86209a6d01710e5ebf6fc51b8a65c92a
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 29b6a44c88..3bbe386173 100644
--- a/src/net.h
+++ b/src/net.h
@@ -207,10 +207,8 @@ public:
size_t GetAddressCount() const;
void SetServices(const CService &addr, ServiceFlags nServices);
void MarkAddressGood(const CAddress& addr);
- void AddNewAddress(const CAddress& addr, const CAddress& addrFrom, int64_t nTimePenalty = 0);
void AddNewAddresses(const std::vector<CAddress>& vAddr, const CAddress& addrFrom, int64_t nTimePenalty = 0);
std::vector<CAddress> GetAddresses();
- void AddressCurrentlyConnected(const CService& addr);
// Denial-of-service detection/prevention
// The idea is to detect peers that are behaving