aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorGregory Maxwell <[email protected]>2016-08-25 23:42:40 +0000
committerGregory Maxwell <[email protected]>2016-08-25 23:48:59 +0000
commiteb3596f7c220685fe6203178d5535c6775a789df (patch)
tree39cdd177e50b7b69273171c69120a8d4568889d2 /src/init.cpp
parentMerge #8462: Move AdvertiseLocal debug output to net category (diff)
downloaddiscoin-eb3596f7c220685fe6203178d5535c6775a789df.tar.xz
discoin-eb3596f7c220685fe6203178d5535c6775a789df.zip
Do not add random inbound peers to addrman.
We should learn about new peers via address messages. An inbound peer connecting to us tells us nothing about its ability to accept incoming connections from us, so we shouldn't assume that we can connect to it based on this. The vast majority of nodes on the network do not accept incoming connections, adding them will only slow down the process of making a successful connection in the future. Nodes which have configured themselves to not announce would prefer we not violate their privacy by announcing them in GETADDR responses.
Diffstat (limited to 'src/init.cpp')
0 files changed, 0 insertions, 0 deletions