summaryrefslogtreecommitdiff
path: root/node/Switch.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/Switch.hpp')
-rw-r--r--node/Switch.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/node/Switch.hpp b/node/Switch.hpp
index d9032a27..3cc6887c 100644
--- a/node/Switch.hpp
+++ b/node/Switch.hpp
@@ -180,6 +180,13 @@ 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
*
* Called when we learn of a peer's identity from HELLO, OK(WHOIS), etc.