Refactoring in progress... pardon our dust...
This commit is contained in:
parent
6b4346d1ac
commit
1d37204a37
18 changed files with 1041 additions and 282 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue