Esempio n. 1
0
 def connect_peers(self):
     logger.info('<<<Reconnecting to peer list: %s', self.peer_addresses)
     for peer_address in self.peer_addresses:
         if self.is_banned(peer_address):
             continue
         self._p2pfactory.connect_peer(peer_address)
Esempio n. 2
0
File: qrlnode.py Progetto: fanff/QRL
 def connect_peers(self):
     logger.info('<<<Reconnecting to peer list: %s', self.peer_addresses)
     for peer_address in self.peer_addresses:
         if self.is_banned(peer_address):
             continue
         self._p2pfactory.connect_peer(peer_address)