diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-06-21 10:34:00 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-06-21 10:34:33 +0000 |
commit | 3768db227ce89454590807de3cb86e8340b0ba8c (patch) | |
tree | db41b0df0ef74c2e8c4ad795938fb34518aac5f8 /src/p2p | |
parent | Merge pull request #5641 (diff) | |
download | monero-3768db227ce89454590807de3cb86e8340b0ba8c.tar.xz |
p2p: add a reference to Cao, Tong et al. for the last_seen changes
"Exploring the Monero Peer-to-Peer Network". https://eprint.iacr.org/2019/411
Diffstat (limited to 'src/p2p')
-rw-r--r-- | src/p2p/net_peerlist.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/p2p/net_peerlist.h b/src/p2p/net_peerlist.h index f4fa921e2..df0a83fb8 100644 --- a/src/p2p/net_peerlist.h +++ b/src/p2p/net_peerlist.h @@ -278,6 +278,9 @@ namespace nodetool // was moved to the gray list (if it's not accessibe, which the attacker can check if // the address accepts incoming connections) or it was the oldest to still fit in the 250 items, // so its last_seen is old. + // + // See Cao, Tong et al. "Exploring the Monero Peer-to-Peer Network". https://eprint.iacr.org/2019/411 + // const uint32_t pick_depth = anonymize ? depth + depth / 5 : depth; bs_head.reserve(pick_depth); for(const peers_indexed::value_type& vl: boost::adaptors::reverse(by_time_index)) |