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

devp2p: drop pre-EIP8 support, fix snappy negotiation #758

Merged
merged 1 commit into from
Nov 2, 2024

Conversation

arnetheduck
Copy link
Member

Support for previous versions was
removed from geth in 2021 after other clients had migrated - should be safe to remove here also.

  • fix snappy detection - it should use the hello version, not the RLPx handshake
  • simplify generation of auth messages
  • pad 100-300 bytes like spec suggests

TODO: error handling is all over the place - will be addressed in a follow-up PR

Support for previous versions was
[removed](ethereum/go-ethereum@7194c84)
from geth in 2021 after other clients had migrated - should be safe to
remove here also.

* fix snappy detection - it should use the hello version, not the RLPx
handshake
* simplify generation of auth messages
* pad 100-300 bytes like spec suggests

TODO: error handling is all over the place - will be addressed in a
follow-up PR
@arnetheduck arnetheduck merged commit ee845a1 into master Nov 2, 2024
18 checks passed
@arnetheduck arnetheduck deleted the drop-pre-eip8 branch November 2, 2024 07:15
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