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

fix(identify): do not add p2p and relayed addrs to observed addr manager #990

Merged
merged 2 commits into from
Nov 21, 2023

Conversation

diegomrsantos
Copy link
Collaborator

Currently, we use the ObservedAddrManager only to find our dialable external NAT address. Therefore, addresses like "...\p2p-circuit\p2p..." and "\p2p..." are not useful to us.

Currently, we use the ObservedAddrManager only to find our dialable external NAT address. Therefore, addresses like "...\p2p-circuit\p2p\..." and "\p2p\..." are not useful to us.
Copy link

codecov bot commented Nov 21, 2023

Codecov Report

Merging #990 (918dea2) into unstable (1f4b090) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##           unstable     #990      +/-   ##
============================================
+ Coverage     83.18%   83.20%   +0.02%     
============================================
  Files            91       91              
  Lines         15327    15328       +1     
============================================
+ Hits          12750    12754       +4     
+ Misses         2577     2574       -3     
Files Coverage Δ
libp2p/protocols/identify.nim 88.67% <100.00%> (+1.97%) ⬆️

@diegomrsantos diegomrsantos merged commit ce0685c into unstable Nov 21, 2023
10 checks passed
@diegomrsantos diegomrsantos deleted the handle-observed-add-in-relay-conns branch November 21, 2023 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants