summaryrefslogtreecommitdiff
path: root/node/Peer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/Peer.hpp')
-rw-r--r--node/Peer.hpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/node/Peer.hpp b/node/Peer.hpp
index e40f576a..7d400196 100644
--- a/node/Peer.hpp
+++ b/node/Peer.hpp
@@ -186,7 +186,7 @@ public:
void pushDirectPaths(Path *path,uint64_t now,bool force);
/**
- * @return All known direct paths to this peer
+ * @return All known direct paths to this peer (active or inactive)
*/
inline std::vector<Path> paths() const
{
@@ -217,11 +217,6 @@ public:
inline uint64_t lastFrame() const throw() { return std::max(_lastUnicastFrame,_lastMulticastFrame); }
/**
- * @return Time we last announced state TO this peer, such as multicast LIKEs
- */
- inline uint64_t lastAnnouncedTo() const throw() { return _lastAnnouncedTo; }
-
- /**
* @return True if this peer has sent us real network traffic recently
*/
inline uint64_t activelyTransferringFrames(uint64_t now) const throw() { return ((now - lastFrame()) < ZT_PEER_ACTIVITY_TIMEOUT); }