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: relay discovery supports external ip and host #1604

Merged
merged 7 commits into from
Jan 9, 2023

Conversation

corverroos
Copy link
Contributor

Add support for external IP and external hostname to relay discovery.

category: feature
ticket: #1590

@codecov
Copy link

codecov bot commented Jan 9, 2023

Codecov Report

Base: 54.28% // Head: 54.31% // Increases project coverage by +0.02% 🎉

Coverage data is based on head (5776263) compared to base (f796153).
Patch coverage: 50.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1604      +/-   ##
==========================================
+ Coverage   54.28%   54.31%   +0.02%     
==========================================
  Files         157      156       -1     
  Lines       19953    19961       +8     
==========================================
+ Hits        10831    10841      +10     
- Misses       7665     7677      +12     
+ Partials     1457     1443      -14     
Impacted Files Coverage Δ
cluster/definition.go 64.16% <0.00%> (+4.01%) ⬆️
p2p/p2p.go 15.38% <0.00%> (-4.23%) ⬇️
app/app.go 63.50% <100.00%> (ø)
core/aggsigdb/memory.go 84.44% <100.00%> (+3.88%) ⬆️
app/vmock.go 72.53% <0.00%> (-3.11%) ⬇️
core/priority/prioritiser.go 58.87% <0.00%> (-1.62%) ⬇️
core/qbft/qbft.go 83.82% <0.00%> (+1.47%) ⬆️

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 at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

}

var resp []ma.Multiaddr

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: can remove newline

Copy link
Contributor Author

@corverroos corverroos Jan 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added new line since we append to it in two different if blocks

p2p/p2p.go Outdated Show resolved Hide resolved
Co-authored-by: Abhishek Kumar <43061995+xenowits@users.noreply.github.com>
@corverroos corverroos added the merge when ready Indicates bulldozer bot may merge when all checks pass label Jan 9, 2023
corverroos and others added 4 commits January 9, 2023 17:56
Removes partial definition concept. Supports "solo flow" cluster definition with signed creator and empty operators. 

category: refactor
ticket: #1591
Delete expired data in aggsigdb when duty expires. Also delete abandoned queries to avoid memory leaks.

category: feature 
ticket: #1582
Fixes flapping [test](https://github.com/ObolNetwork/charon/actions/runs/3873088789/jobs/6602699504) due to race condition between context cancel and storing data.

category: test
ticket: none
@obol-bulldozer obol-bulldozer bot merged commit 4ec7480 into main Jan 9, 2023
@obol-bulldozer obol-bulldozer bot deleted the corver/libp2pexternal branch January 9, 2023 12:31
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.

None yet

2 participants