Cluster sub-optimal is in fact necessary...
This commit is contained in:
parent
412979ba8f
commit
4992ac2d9f
4 changed files with 22 additions and 41 deletions
|
@ -165,14 +165,6 @@ public:
|
|||
return ( ((unsigned int)_ipScope << 1) | (unsigned int)(_addr.ss_family == AF_INET6) );
|
||||
}
|
||||
|
||||
/**
|
||||
* @return This path's overall quality score (higher is better)
|
||||
*/
|
||||
inline uint64_t score() const
|
||||
{
|
||||
return (_lastIn + (preferenceRank() * (ZT_PEER_PING_PERIOD / ZT_PATH_MAX_PREFERENCE_RANK)));
|
||||
}
|
||||
|
||||
/**
|
||||
* Check whether this address is valid for a ZeroTier path
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue