diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-23 11:07:44 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-24 17:56:12 +0000 |
commit | 28a7d31565cb722e1a388743e2cbc492b6ad3bed (patch) | |
tree | 623e7e6a9f6f77db2103e1890a8512586640965f /utils/python-rpc | |
parent | Merge pull request #5466 (diff) | |
download | monero-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