Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EIP-868: Node Discovery v4 ENR Extension #44

Closed
fjl opened this issue Sep 20, 2018 · 8 comments
Closed

EIP-868: Node Discovery v4 ENR Extension #44

fjl opened this issue Sep 20, 2018 · 8 comments
Labels

Comments

@fjl
Copy link
Collaborator

fjl commented Sep 20, 2018

https://eips.ethereum.org/EIPS/eip-868

This issue is for discussions of the discovery v4 ENR extension.

This was referenced Sep 21, 2018
@fjl fjl added the eip label Mar 14, 2019
@gumb0
Copy link
Member

gumb0 commented Apr 16, 2019

Note: test vectors for extending Ping and Pong packets listed in EIP-8 I think are invalid from the point of view of this extension, because they have RLP-list in place of the new extension field, not integer like here.

I mean these vectors:

ping packet with version 555, additional list elements and additional random data:
	577be4349c4dd26768081f58de4c6f375a7a22f3f7adda654d1428637412c3d7fe917cadc56d4e5e
	7ffae1dbe3efffb9849feb71b262de37977e7c7a44e677295680e9e38ab26bee2fcbae207fba3ff3
	d74069a50b902a82c9903ed37cc993c50001f83e82022bd79020010db83c4d001500000000abcdef
	12820cfa8215a8d79020010db885a308d313198a2e037073488208ae82823a8443b9a355c5010203
	040531b9019afde696e582a78fa8d95ea13ce3297d4afb8ba6433e4154caa5ac6431af1b80ba7602
	3fa4090c408f6b4bc3701562c031041d4702971d102c9ab7fa5eed4cd6bab8f7af956f7d565ee191
	7084a95398b6a21eac920fe3dd1345ec0a7ef39367ee69ddf092cbfe5b93e5e568ebc491983c09c7
	6d922dc3

pong packet with additional list elements and additional random data:
	09b2428d83348d27cdf7064ad9024f526cebc19e4958f0fdad87c15eb598dd61d08423e0bf66b206
	9869e1724125f820d851c136684082774f870e614d95a2855d000f05d1648b2d5945470bc187c2d2
	216fbe870f43ed0909009882e176a46b0102f846d79020010db885a308d313198a2e037073488208
	ae82823aa0fbc914b16819237dcd8801d7e53f69e9719adecb3cc0e790c57e91ca4461c9548443b9
	a355c6010203c2040506a0c969a58f6f9095004c0177a6b47f451530cab38966a25cca5cb58f0555
	42124e

Not sure if we should update EIP-8.

@fjl
Copy link
Collaborator Author

fjl commented May 8, 2019

Geth implementation: ethereum/go-ethereum#19540

@atoulme
Copy link
Contributor

atoulme commented May 28, 2019

I have made a first pass at implementing this with Apache Tuweni.
How can I test this against geth easily?

@fjl
Copy link
Collaborator Author

fjl commented May 28, 2019

Just connect your node to it on discovery. Geth will ask for the record after a while. Maybe use --netrestrict 127.0.0.1/24 with geth so it doesn't fill the table with Internet nodes.

@fjl
Copy link
Collaborator Author

fjl commented Oct 22, 2019

discv4 spec updated in #119. Closing this now because implementations of the spec have been live in Geth and Aleth for a while.

@fjl fjl closed this as completed Oct 22, 2019
@fulldecent
Copy link

Can this please be implemented in two or more competing implementations, and referenced in the EIP, before this is published as final status?

@atoulme
Copy link
Contributor

atoulme commented May 14, 2021

Implemented in Tuweni and Besu.

@fulldecent
Copy link

Excellent, thank you. Can this please be noted in the EIP text?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants