-
Notifications
You must be signed in to change notification settings - Fork 811
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
Conversation
There was a problem hiding this 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?
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. |
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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this bumped?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some simulations or experiments were saying discovery can run faster just by increasing the parallelism.
I was looking through the configs, and while I was there, figured I'd increase. Happy to leave it as is, if its a concern.
Its just that I've been meaning to mess with it for a while, so figure in the update, might as well do it here.
I've pushed a commit to minimise the update to |
@mergify queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at 8cebc87 |
* Upgrade discv5 to v0.8 * Rename some logs * Improve the NAT reporting with new discv5 metrics * Merge branch 'unstable' into discv5-v8 * Limited Cargo.lock update * Update yanked futures-* crates
This update brings a few changes.
Specifically: