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

P2P: Disable circuit relaying via libp2p.NoListenAddrs #6064

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

gmalouf
Copy link
Contributor

@gmalouf gmalouf commented Jul 11, 2024

Summary

This PR simply disables circuit relaying via libp2p.NoListenAddrs in either p2p or hybrid operating modes. More information on circuit relaying can be found at https://docs.libp2p.io/concepts/nat/circuit-relay/.

Test Plan

Existing tests should pass.

Copy link

codecov bot commented Jul 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.15%. Comparing base (5869a00) to head (e959cfc).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6064      +/-   ##
==========================================
+ Coverage   56.11%   56.15%   +0.03%     
==========================================
  Files         488      488              
  Lines       69437    69434       -3     
==========================================
+ Hits        38966    38990      +24     
+ Misses      27821    27798      -23     
+ Partials     2650     2646       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gmalouf gmalouf marked this pull request as ready for review July 12, 2024 13:49
@gmalouf gmalouf requested a review from onetechnical July 12, 2024 14:48
@gmalouf gmalouf merged commit 1493410 into algorand:master Jul 12, 2024
19 checks passed
@gmalouf gmalouf deleted the disable-p2p-relay branch July 12, 2024 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants