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

refactor(iroh-net): Keep connection name, remove connection count #2779

Merged
merged 7 commits into from
Oct 3, 2024

Commits on Oct 3, 2024

  1. refactor(iroh-net): Keep connection name, remove connection count

    These are two cleanups in the relay client:
    
    - The `relay::Client` hands out a connection object when asked to
      connect.  This `Conn` was imported with rename to `RelayClient`
      which was a bit confusing as this was already the relay client.  It
      is now renamed to `RelayConn` which makes a lot more sense.  The
      related builder struct etc are renamed to match.
    
    - The `relay::Client` had a counter for the number of connections made
      to the relay.  That seems fun, but was entirely unused.  If this is
      a useful thing to have it should probably be a counter metric
      instead but let's not add anything that no one is using.  Removing
      this makes a lot of APIs a bit simpler and removes some state
      tracking.
    flub committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    544b933 View commit details
    Browse the repository at this point in the history
  2. small doc fixup

    flub committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    b1ea4b2 View commit details
    Browse the repository at this point in the history
  3. Apply suggestions from code review

    Co-authored-by: Divma <[email protected]>
    flub and divagant-martian authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    62c7421 View commit details
    Browse the repository at this point in the history
  4. fixup some more names

    flub committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    60ebe40 View commit details
    Browse the repository at this point in the history
  5. don't rename anything

    flub committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    b38cf2f View commit details
    Browse the repository at this point in the history
  6. docs style

    flub committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    a22c2d3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b344622 View commit details
    Browse the repository at this point in the history