aboutsummaryrefslogtreecommitdiff
path: root/utils/python-rpc
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-04-23 11:07:44 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-04-24 17:56:12 +0000
commit28a7d31565cb722e1a388743e2cbc492b6ad3bed (patch)
tree623e7e6a9f6f77db2103e1890a8512586640965f /utils/python-rpc
parentMerge pull request #5466 (diff)
downloadmonero-28a7d31565cb722e1a388743e2cbc492b6ad3bed.tar.xz
p2p: do not send last_seen timestamp to peers
This can be used for fingerprinting and working out the network topology. Instead of sending the first N (which are sorted by last seen time), we sent a random subset of the first N+N/5, which ensures reasonably recent peers are used, while preventing repeated calls from deducing new entries are peers the target node just connected to. The list is also randomly shuffled so the original set of timestamps cannot be approximated.
Diffstat (limited to 'utils/python-rpc')
0 files changed, 0 insertions, 0 deletions