diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-08-15 17:27:30 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-08-15 17:27:30 -0500 |
| commit | 017162b5b22ef25d4fe56464933cb5fbc8b94047 (patch) | |
| tree | 0682d31625944b34fce5210a607613f25898e675 /src | |
| parent | 6dcd57342eeecfe149f5a24e9ea48174123391ce (diff) | |
| parent | 3768db227ce89454590807de3cb86e8340b0ba8c (diff) | |
| download | monzero-core-017162b5b22ef25d4fe56464933cb5fbc8b94047.tar.gz monzero-core-017162b5b22ef25d4fe56464933cb5fbc8b94047.tar.xz monzero-core-017162b5b22ef25d4fe56464933cb5fbc8b94047.zip | |
Merge pull request #5682
3768db2 p2p: add a reference to Cao, Tong et al. for the last_seen changes (moneromooo-monero)
Diffstat (limited to 'src')
| -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 883997fd6..68627375a 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)) |
