Skip to content

Conversation

@ElFantasma
Copy link
Contributor

Motivation
From the spec:

node A compares the enr-seq element of the WHOAREYOU challenge against its own node record sequence number. If the sequence number in the challenge is lower, it includes its record into the handshake message packet.

Description

Checks the sequence number and sends the ENR only if the sequences doesn't match.

depends on #5799

Closes #5777

@ElFantasma ElFantasma requested a review from a team as a code owner January 9, 2026 19:09
@github-actions github-actions bot added the L1 Ethereum client label Jan 9, 2026
@github-actions
Copy link

github-actions bot commented Jan 9, 2026

Lines of code report

Total lines added: 3
Total lines removed: 0
Total lines changed: 3

Detailed view
+-----------------------------------------------+-------+------+
| File                                          | Lines | Diff |
+-----------------------------------------------+-------+------+
| ethrex/crates/networking/p2p/discv5/server.rs | 507   | +3   |
+-----------------------------------------------+-------+------+

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

Labels

L1 Ethereum client

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants