aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-12-04 21:22:55 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-01-29 14:39:56 +0000
commit2fbbc4a2d3ebfd6fca1d9d7687cef261491c0e1f (patch)
tree105e6c15cef7be8a535d571259fb294324d645f0 /README.md
parentepee: remove backward compatible endian specific address serialization (diff)
downloadmonero-2fbbc4a2d3ebfd6fca1d9d7687cef261491c0e1f.tar.xz
p2p: avoid sending the same peer list over and over
Nodes remember which connections have been sent which peer addresses and won't send it again. This causes more addresses to be sent as the connection lifetime grows, since there is no duplication anymore, which increases the diffusion speed of peer addresses. The whole white list is now considered for sending, not just the most recent seen peers. This further hardens against topology discovery, though it will more readily send peers that have been last seen earlier than it otherwise would. While this does save a fair amount of net bandwidth, it makes heavy use of std::set lookups, which does bring network_address::less up the profile, though not too aggressively.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions