-
Notifications
You must be signed in to change notification settings - Fork 19
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
allow private peers param #580
Conversation
go.mod
Outdated
@@ -4,7 +4,7 @@ go 1.22.10 | |||
|
|||
require ( | |||
github.com/alexliesenfeld/health v0.8.0 | |||
github.com/ava-labs/avalanchego v1.12.0-initial-poc.9.0.20241122192639-7c3ad181c928 | |||
github.com/ava-labs/avalanchego v1.12.1-0.20241203223023-13e07a1b3a1e |
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.
Let's hold off on merging until #580 is merged to master
.
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.
ava-labs/avalanchego#3573 has been merged
peers/app_request_network.go
Outdated
@@ -81,6 +81,7 @@ func NewNetwork( | |||
trackedSubnets set.Set[ids.ID], | |||
manuallyTrackedPeers []info.Peer, | |||
cfg Config, | |||
allowPrivateIPs bool, |
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.
We can add a GetAllowPrivateIPs
method to the peers.Config
interface since it's present in both relayer and signature aggregator configs. That way we don't have to pass in this param.
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.
done
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.
LGTM once the CI passes
Why this should be merged
Adds a param to allow private peers to the app request network, also adding config fields to relayer and aggregator
Depends on ava-labs/avalanchego#3573
How this works
How this was tested
CLI etna flows for fuji and local
How is this documented