Skip to content

Commit 11bec55

Browse files
committed
Don't put addresses into queue
- attempt to fix #1598 - seems to work - addresses won't be uploaded/announced anymore other than after connecting, Later I need to find out how to announce them without causing problems, but for the time disabling this seems an acceptable drawback
1 parent 6f35da4 commit 11bec55

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/network/bmproto.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
from network.proxy import ProxyError
3232
from node import Node, Peer
3333
from objectracker import ObjectTracker, missingObjects
34-
from queues import addrQueue, invQueue, objectProcessorQueue, portCheckerQueue
34+
from queues import invQueue, objectProcessorQueue, portCheckerQueue
3535
from randomtrackingdict import RandomTrackingDict
3636

3737
logger = logging.getLogger('default')
@@ -466,8 +466,9 @@ def bm_command_addr(self):
466466
}
467467
# since we don't track peers outside of knownnodes,
468468
# only spread if in knownnodes to prevent flood
469-
addrQueue.put((stream, peer, seenTime,
470-
self.destination))
469+
# DISABLED TO WORKAROUND FLOOD/LEAK
470+
# addrQueue.put((stream, peer, seenTime,
471+
# self.destination))
471472
return True
472473

473474
def bm_command_portcheck(self):

0 commit comments

Comments
 (0)