-
Notifications
You must be signed in to change notification settings - Fork 20.7k
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
Question: ID or NodeID #20104
Comments
From https://github.com/ethereum/devp2p/wiki/Discovery-Overview#discovery-v4
And then https://github.com/ethereum/devp2p/wiki/Discovery-Overview#discovery-v5-aka-discv5
Further down the page:
and
If you look at the ENR https://eips.ethereum.org/EIPS/eip-778 which references ethereum/devp2p#43 there is good information on the discussion about the EIP. |
Thanks for the detail response. I guess the answer is "both are ok".
go-ethereum/p2p/discover/table.go Lines 164 to 176 in 0568e81
Few things I noticed:
|
Node identifier is mentioned in 2 places:
As 32-byte
ID
type which is returned viaadmin.nodeInfo
go-ethereum/p2p/enode/node.go
Lines 189 to 192 in 63b1802
As 64-byte
NodeID
type which is used in p2pgo-ethereum/p2p/discv5/node.go
Lines 260 to 265 in 4612918
Which one is the real node identifier? I would say
NodeID
. But not sure why there are two.The text was updated successfully, but these errors were encountered: