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

eth: dial nodes from discv5 #30302

Merged
merged 6 commits into from
Aug 15, 2024
Merged

eth: dial nodes from discv5 #30302

merged 6 commits into from
Aug 15, 2024

Commits on Aug 15, 2024

  1. eth: dial nodes from discv5

    Unlike discv4, the discv5 random nodes iterator will always provide full ENRs. This means
    we can apply filtering to the results and will only try dialing nodes which explictly opt
    into the eth protocol with a matching chain.
    
    I have also removed the dial iterator from snap. We don't have an official DNS list for
    snap anymore, and I doubt anyone else is running one. While we could potentially filter
    for snap on discv5, there will be very few nodes announcing it, and the extra iterator
    would just stall the dialer.
    fjl committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    b402bf6 View commit details
    Browse the repository at this point in the history
  2. eth: gofmt

    fjl committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    0113ceb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    77d9ec9 View commit details
    Browse the repository at this point in the history
  4. eth: discmix timeout 0 zero

    fjl committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    b9be390 View commit details
    Browse the repository at this point in the history
  5. eth: fixup

    fjl committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    f24e8e7 View commit details
    Browse the repository at this point in the history
  6. eth: add comments

    fjl committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    59f9ff5 View commit details
    Browse the repository at this point in the history