Web request part of supernode resync (not quite done, needs test)
This commit is contained in:
parent
f696299cfc
commit
aa59cfd545
3 changed files with 61 additions and 2 deletions
|
@ -57,6 +57,9 @@ void Topology::setSupernodes(const std::map< Identity,std::vector< std::pair<Ine
|
|||
{
|
||||
Mutex::Lock _l(_supernodes_m);
|
||||
|
||||
if (_supernodes == sn)
|
||||
return; // no change
|
||||
|
||||
_supernodes = sn;
|
||||
_supernodeAddresses.clear();
|
||||
_supernodePeers.clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue