-
Notifications
You must be signed in to change notification settings - Fork 479
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: Introduce profiles for hybridRelay, hybridArchival, and hybridClient. #6062
Conversation
closes #6043 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6062 +/- ##
==========================================
+ Coverage 55.77% 56.20% +0.42%
==========================================
Files 488 488
Lines 69434 69469 +35
==========================================
+ Hits 38730 39046 +316
+ Misses 28017 27783 -234
+ Partials 2687 2640 -47 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good, but had a couple comments.
a20c91e
to
e8feae1
Compare
…isten port for hybridClient profile.
…ten port when NetAddress is not set in p2p mode.
Co-authored-by: Pavel Zbitskiy <[email protected]>
…with 'placeholder' set as if it was empty.
Co-authored-by: Pavel Zbitskiy <[email protected]>
Summary
Introduce configuration profiles for hybrid (WS+P2P support) relays, archival nodes, and part/non-participating role nodes.
Test Plan
Unit tests were added in
profileCommand_test.go
for each new profile. All 3 configurations were tested being generated via algocfg CLI, with each also used on a running local node.