diff --git a/node/Peer.hpp b/node/Peer.hpp index 4bea101bc..ba02bfcaa 100644 --- a/node/Peer.hpp +++ b/node/Peer.hpp @@ -182,6 +182,23 @@ public: */ void attemptToContactAt(const RuntimeEnvironment *RR,const InetAddress &atAddress,unsigned int linkDesperation,uint64_t now); + /** + * Send a HELLO to all active direct paths + * + * @param RR Runtime environment + * @param now Current time + */ + inline void ping(const RuntimeEnvironment *RR,uint64_t now) + { + unsigned int np = _numPaths; + for(unsigned int p=0;pnode->now(),(InetAddress::IpScope)scope); RR->topology->eachPeer<_ResetWithinScope &>(rset);