Kaynağa Gözat

Re-enable legacy multicast distribution -- still too many pre1.0.0 nodes online.

Adam Ierymenko 11 yıl önce
ebeveyn
işleme
6888c6482c
1 değiştirilmiş dosya ile 0 ekleme ve 2 silme
  1. 0 2
      node/Multicaster.cpp

+ 0 - 2
node/Multicaster.cpp

@@ -304,7 +304,6 @@ void Multicaster::send(
 	// supernode. Our supernode then takes care of relaying it down to <1.0.0
 	// supernode. Our supernode then takes care of relaying it down to <1.0.0
 	// nodes. This code can go away (along with support for P5_MULTICAST_FRAME)
 	// nodes. This code can go away (along with support for P5_MULTICAST_FRAME)
 	// once there are no more such nodes on the network.
 	// once there are no more such nodes on the network.
-#if 0
 	{
 	{
 		SharedPtr<Peer> sn(RR->topology->getBestSupernode());
 		SharedPtr<Peer> sn(RR->topology->getBestSupernode());
 		if (sn) {
 		if (sn) {
@@ -343,7 +342,6 @@ void Multicaster::send(
 			sn->send(RR,outp.data(),outp.size(),now);
 			sn->send(RR,outp.data(),outp.size(),now);
 		}
 		}
 	}
 	}
-#endif
 }
 }
 
 
 void Multicaster::clean(uint64_t now)
 void Multicaster::clean(uint64_t now)