Fix annoying peer spamming
This commit is contained in:
parent
548d4ed106
commit
22115891f2
@ -324,7 +324,7 @@ class OnionrCommunicatorDaemon:
|
|||||||
def addBootstrapListToPeerList(self, peerList):
|
def addBootstrapListToPeerList(self, peerList):
|
||||||
'''Add the bootstrap list to the peer list (no duplicates)'''
|
'''Add the bootstrap list to the peer list (no duplicates)'''
|
||||||
for i in self._core.bootstrapList:
|
for i in self._core.bootstrapList:
|
||||||
if i not in peerList and i not in self.offlinePeers and i != self._core.hsAddress:
|
if i not in peerList and i not in self.offlinePeers and i != self._core.hsAddress and len(str(i).strip()) > 0:
|
||||||
peerList.append(i)
|
peerList.append(i)
|
||||||
self._core.addAddress(i)
|
self._core.addAddress(i)
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
onionragxuddecmg.onion
|
|
||||||
dgyllprmtmym4gbk.onion
|
|
||||||
eczfevdpirhvbniy.onion
|
|
Loading…
Reference in New Issue
Block a user