Skip to content

Commit

Permalink
devp2p: drop pre-EIP8 support, fix snappy negotiation (#758)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
arnetheduck authored Nov 2, 2024
1 parent 719c0df commit ee845a1
Show file tree
Hide file tree
Showing 5 changed files with 396 additions and 919 deletions.
Loading

0 comments on commit ee845a1

Please sign in to comment.