Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

client: Introduce --sentry-nodes flag #4285

Merged
merged 5 commits into from
Dec 3, 2019

Conversation

mxinden
Copy link
Contributor

@mxinden mxinden commented Dec 3, 2019

Enable operators to specify the public addresses of sentry nodes infront of a validator node so that the validator node can announce the sentry node addresses instead of its own public addresses on the DHT via the authority discovery module.

Commit structure

This pull request is based on #4274, thus it should only be merged after #4274. One can ignore the first two commits when reviewing this pull request.

Commit 3 (updating .maintain/sentry-node/docker-compose.yml) and commit 5 (shortening line length to 100 instead of 120 char) should not need much review.

Commit 4 (a5b5db7) is the core of this pull request.

Polkadot

Given that this changes the signature of AuthorityDiscovery::new, it will break Polkadot. I will follow up with another pull request on github.com/pairtytech/polkadot.

Enable operators to specify the public addresses of sentry nodes infront
of a validator node so that the validator node can announce the sentry
node addresses instead of its own public addresses on the DHT via the
authority discovery module.
Limit line length to 100 instead of 120 characters.
@mxinden
Copy link
Contributor Author

mxinden commented Dec 3, 2019

Corresponding Polkadot pull request: paritytech/polkadot#648.

@gavofyork gavofyork merged commit e2e3c24 into paritytech:master Dec 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants