You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a tracking issue for the next discv5 protocol version.
Development of Discovery v5.2 will happen in the discv5-v5.2 branch. To contribute, please send PRs to that branch instead of the main branch.
Spec changes
Here is the list of spec changes expected for the new protocol version:
Update the protocol version number.
Remove description of topic index and related messages. These will be brought back later (likely in v5.3), but should be removed for now, since they are not part of the actively-used protocol.
Add spec text to define handling of protocol version upgrades.
It's not yet clear how the upgrade will work. The protocol version will increase, and some implementations might reject packets with a mismatching version even though the spec doesn't say they should.
We could add spec text to the effect that protocol versions higher than the local version should be dealt with by responding with the local version (unless the packet can't be decoded).
Might be best to handle this upgrade with an ENR key. I claim dibs on key d5.
Specifically, for the NAT hole punching scheme, there is a need to introduce a new packet type that does not trigger a handshake in case the packet cannot be decrypted. The new type can also be used for response messages like NODES, TALKRESP, etc.
There might not be any spec changes resulting from this, I just want to make sure Portal Network can work with v5.2 as-is without depending on spec/implementation mods.
This is a tracking issue for the next discv5 protocol version.
Development of Discovery v5.2 will happen in the discv5-v5.2 branch. To contribute, please send PRs to that branch instead of the main branch.
Spec changes
Here is the list of spec changes expected for the new protocol version:
versioneven though the spec doesn't say they should.d5.id-noncehandling in handshake packets. discv5: include plain id-nonce into HANDSHAKE packet #164Implementations
collect information about v5.2 implementation status here
Interop testing