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

discovery: swap mdns lib for grandcat/zeroconf #285

Closed
wants to merge 8 commits into from

Commits on Jul 23, 2018

  1. discovery: swap mdns lib for grandcat/zeroconf

    This commit makes the minimal amount of changes to switch us from
    whyrusleeping/mdns to grandcat/zeroconf. Of note, rather than asking the
    host.Host which addrs we're available to listen on, we push this to the
    zeroconf library (which runs across available ifaces).
    rargulati authored and Stebalien committed Jul 23, 2018
    Configuration menu
    Copy the full SHA
    7f7b97b View commit details
    Browse the repository at this point in the history
  2. Address PR feedback.

    1. If we receive multiple ipv4 addresses, ensure that we convert them
    all to multiaddrs and store them in the peerstore.
    2. Ensure we don't allocate a new resolver on every tick. Instead reuse
    this by storing it in our mdns type.
    3. Attempt choosing a port.
    rargulati authored and Stebalien committed Jul 23, 2018
    Configuration menu
    Copy the full SHA
    c5a5cf3 View commit details
    Browse the repository at this point in the history
  3. fix gx imports

    Stebalien committed Jul 23, 2018
    Configuration menu
    Copy the full SHA
    f498105 View commit details
    Browse the repository at this point in the history
  4. try to pick a decent port in mdns

    Ideally, we'd dynamically announce ports based on the current interfaces.
    However, we'd like to merge this ASAP.
    Stebalien committed Jul 23, 2018
    Configuration menu
    Copy the full SHA
    528f157 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    da471d9 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2018

  1. Configuration menu
    Copy the full SHA
    6651bb9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aaa7f87 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a7e8c11 View commit details
    Browse the repository at this point in the history