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

findpeer should work even on peers that are not part of DHT queries #711

Merged
merged 3 commits into from
Apr 5, 2021

Commits on Apr 1, 2021

  1. test: add test for findpeer query on node that does not qualify to be…

    … dialed as part of the query under the queryfilter
    aschmahmann committed Apr 1, 2021
    Configuration menu
    Copy the full SHA
    425d211 View commit details
    Browse the repository at this point in the history
  2. chore: go mod tidy

    aschmahmann committed Apr 1, 2021
    Configuration menu
    Copy the full SHA
    9d4fb46 View commit details
    Browse the repository at this point in the history
  3. fix: query target despite queryfilter

    When performing queries query the next peer if it happens to match
    the target even if it would normally be excluded by the queryfilter.
    
    This is meant for fixing FindPeer, but for ease of implementation
    is applying more broadly to queries like GetClosestPeers as well.
    aschmahmann committed Apr 1, 2021
    Configuration menu
    Copy the full SHA
    0373409 View commit details
    Browse the repository at this point in the history