-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added dns support for the addresses in the config. (#82)
Added dns resolution support for the addresses in the config. Now public_addr and gossip peers' addrs can be specified in `<domain>:<port>` format. Validator address discovery still uses `<IP>:<port>` and validators announce their IP address only after verifying it (by establishing a loopback connection using the public_addr). DNS ecosystem is slightly more centralized (requires authoritative DNS servers) than IP assignment, but not that much. It is useful in case of systems which have problem with providing stable IPs (like kubernetes). We need dns support at the very least for the non-public (stage) environment of zksync-era. This pr also implements some minor related upgrades (like merged ArcMap functionality into Pool, and moved the sampling logic from zksync-era).
- Loading branch information
Showing
36 changed files
with
595 additions
and
318 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.