Skip to content

Commit 97bf4f9

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 97bf4f9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/network/bmproto.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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)