Web request part of supernode resync (not quite done, needs test)

This commit is contained in:
Adam Ierymenko 2014-08-15 23:37:35 -04:00
parent f696299cfc
commit aa59cfd545
3 changed files with 61 additions and 2 deletions

View file

@ -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();