aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-03-17 04:37:43 +0100
committerpracticalswift <practicalswift@users.noreply.github.com>2017-03-17 04:37:43 +0100
commit8dc957ae06366d023e0d23c92279c5fb04b515d0 (patch)
tree88f5add0685b47069022cf6fa64223a1750ade90 /src/net.h
parent8040ae6fc576e9504186f2ae3ff2c8125de1095c (diff)
Remove unused code
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