summaryrefslogtreecommitdiff
path: root/node/Switch.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-01-12 09:33:14 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-01-12 09:33:14 -0800
commit704205c5f7583527f9c9398261f1206c59f1b812 (patch)
tree229e8e1e5326d47578871e75736e92f428ee04cd /node/Switch.hpp
parentbbcc3304a0e917bfa74cd098f3137fbb03078741 (diff)
downloadinfinitytier-704205c5f7583527f9c9398261f1206c59f1b812.tar.gz
infinitytier-704205c5f7583527f9c9398261f1206c59f1b812.zip
Dead code removal.
Diffstat (limited to 'node/Switch.hpp')
-rw-r--r--node/Switch.hpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/node/Switch.hpp b/node/Switch.hpp
index 1964d1ee..a63ec1bb 100644
--- a/node/Switch.hpp
+++ b/node/Switch.hpp
@@ -139,13 +139,6 @@ public:
void requestWhois(const Address &addr);
/**
- * Cancel WHOIS for an address
- *
- * @param addr Address to cancel
- */
- void cancelWhoisRequest(const Address &addr);
-
- /**
* Run any processes that are waiting for this peer's identity
*
* Called when we learn of a peer's identity from HELLO, OK(WHOIS), etc.
@@ -174,7 +167,7 @@ private:
const RuntimeEnvironment *const RR;
uint64_t _lastBeaconResponse;
- // Outsanding WHOIS requests and how many retries they've undergone
+ // Outstanding WHOIS requests and how many retries they've undergone
struct WhoisRequest
{
WhoisRequest() : lastSent(0),retries(0) {}