diff options
author | hozan23 <hozan23@proton.me> | 2023-11-30 01:53:49 +0300 |
---|---|---|
committer | hozan23 <hozan23@proton.me> | 2023-11-30 01:53:49 +0300 |
commit | 8c70a0d379b21541b5b2d1d37ff7fc61ca311cd4 (patch) | |
tree | f0f85ed503cba8d1411a2fd6d518e14f38845934 /p2p/src/routing_table/mod.rs | |
parent | 58b249773ba4d63a8cdde92ff1cb22719e9b3334 (diff) |
p2p/discovery: Select the first 8 entries from each bucket during the
refresh process
Instead of selecting random entries during the refresh process, choose
the fist 8 entries from each bucket in the routing table. This
ensures that only the oldest entries are refreshed.
Diffstat (limited to 'p2p/src/routing_table/mod.rs')
0 files changed, 0 insertions, 0 deletions