Skip to content

Conversation

@cdiielsi
Copy link
Contributor

Motivation

Description

Closes #issue_number

@github-actions github-actions bot added the L1 Ethereum client label Nov 12, 2025
@github-actions
Copy link

github-actions bot commented Nov 12, 2025

Lines of code report

Total lines added: 5
Total lines removed: 5
Total lines changed: 10

Detailed view
+---------------------------------------------------+-------+------+
| File                                              | Lines | Diff |
+---------------------------------------------------+-------+------+
| ethrex/crates/networking/p2p/discv4/peer_table.rs | 911   | +5   |
+---------------------------------------------------+-------+------+
| ethrex/crates/networking/p2p/discv4/server.rs     | 493   | -2   |
+---------------------------------------------------+-------+------+
| ethrex/crates/networking/p2p/rlpx/initiator.rs    | 108   | -3   |
+---------------------------------------------------+-------+------+

} else {
debug!("Reached target number of peers. Using longer lookup interval.");
self.lookup_interval
if num_peers + num_contacts > self.target_peers + TARGET_CONTACTS as u64 {
Copy link
Contributor Author

@cdiielsi cdiielsi Nov 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue?: target_peers isn't necessarily the same used in Discovery

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

L1 Ethereum client

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants