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: always ensure relay connection #1903

Merged
merged 2 commits into from
Mar 20, 2023
Merged

Conversation

corverroos
Copy link
Contributor

@corverroos corverroos commented Mar 20, 2023

Always ensure active connections to relay. This is required since peers can only connect to you via a relay if you are connected to the relay. This reverts the change introduced in #1816. It also mitigates increase in DKG failures and general "not connected to peer" issues.

category: bug
ticket: #1898

@codecov
Copy link

codecov bot commented Mar 20, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.05 ⚠️

Comparison is base (280a764) 55.47% compared to head (5b68cc5) 55.42%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1903      +/-   ##
==========================================
- Coverage   55.47%   55.42%   -0.05%     
==========================================
  Files         172      172              
  Lines       22073    22085      +12     
==========================================
- Hits        12244    12241       -3     
- Misses       8253     8269      +16     
+ Partials     1576     1575       -1     
Impacted Files Coverage Δ
p2p/relay.go 0.00% <0.00%> (ø)

... and 6 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@corverroos corverroos added the merge when ready Indicates bulldozer bot may merge when all checks pass label Mar 20, 2023
@obol-bulldozer obol-bulldozer bot merged commit b333310 into main Mar 20, 2023
@obol-bulldozer obol-bulldozer bot deleted the corver/reconnectrelay12 branch March 20, 2023 09:07
corverroos added a commit that referenced this pull request Mar 21, 2023
Always ensure active connections to relay. This is required since peers can only connect to you via a relay if you are connected to the relay. This reverts the change introduced in #1816. It also mitigates increase in DKG failures and general "not connected to peer" issues.

category: bug
ticket: #1898
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge when ready Indicates bulldozer bot may merge when all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants