Refactoring in progress... pardon our dust...
This commit is contained in:
@@ -125,6 +125,15 @@ public:
|
||||
return _supernodePeers;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Number of supernodes
|
||||
*/
|
||||
inline unsigned int numSupernodes() const
|
||||
{
|
||||
Mutex::Lock _l(_supernodes_m);
|
||||
return _supernodePeers.size();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the current favorite supernode
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user