Skip to content

discv5: re-send existing WHOAREYOU challenge when handshake is in progress - #278

Open
ackintosh wants to merge 1 commit into
ethereum:masterfrom
ackintosh:discv5-theory
Open

discv5: re-send existing WHOAREYOU challenge when handshake is in progress#278
ackintosh wants to merge 1 commit into
ethereum:masterfrom
ackintosh:discv5-theory

Conversation

@ackintosh

Copy link
Copy Markdown
Contributor

The spec currently tells implementations to respond with a new WHOAREYOU challenge when an ordinary message packet arrives while a challenge is already in progress. This invalidates the handshake the remote end may already be computing against the earlier challenge.

go-ethereum has re-sent the existing challenge since ethereum/go-ethereum#31356. The need for a spec change was noted in ethereum/go-ethereum#31111 but never made.

@jxs jxs left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

cc @fjl

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants