Clean dead paths from peers.

This commit is contained in:
Adam Ierymenko 2014-03-31 11:41:14 -07:00
parent acb056e3b1
commit 8e587ae481
5 changed files with 41 additions and 1 deletions

View file

@ -165,6 +165,11 @@ public:
*/
bool sendPing(const RuntimeEnvironment *_r,uint64_t now,bool firstSinceReset);
/**
* Called periodically by Topology::clean() to remove stale paths and do other cleanup
*/
void clean(uint64_t now);
/**
* @return All known direct paths to this peer
*/