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

Update to latest discovery #6486

Open
wants to merge 4 commits into
base: unstable
Choose a base branch
from
Open

Conversation

AgeManning
Copy link
Member

This update brings a few changes.

Specifically:

  • More accessibility for NAT'd peers to find and discover peers
  • Improved enr-auto-updates for dual-stack nodes

@AgeManning AgeManning added the ready-for-review The code is ready for review label Oct 14, 2024
@AgeManning AgeManning requested a review from jxs October 14, 2024 08:40
@AgeManning AgeManning marked this pull request as ready for review October 14, 2024 08:40
Copy link
Member

@pawanjay176 pawanjay176 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, but I can't test it as I don't have an ipv6 connection at home.
Have you tested auto-enr with ipv6?

@AgeManning
Copy link
Member Author

Yeah. I've been testing with ipv6 using discv5-cli.

There are probably some other changes we might need to introduce for ipv6 however. I've not quite got to them yet.

@michaelsproul michaelsproul added the v6.0.0 New major release for hierarchical state diffs label Oct 21, 2024
@AgeManning
Copy link
Member Author

I've made a new commit. Moves to a whole new discovery.

I think this current version should be fine to support ipv6 and potentially dual-stack by default

.query_peer_timeout(Duration::from_secs(2))
.query_timeout(Duration::from_secs(30))
.request_retries(1)
.enr_peer_update_min(10)
.query_parallelism(5)
.query_parallelism(8)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this bumped?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-review The code is ready for review v6.0.0 New major release for hierarchical state diffs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants