-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2619 from 0xsajal/patch-13
Update validator-binaries.md
- Loading branch information
Showing
1 changed file
with
6 additions
and
21 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -131,18 +131,7 @@ vi /var/lib/heimdall/config/config.toml | |
In `config.toml`, change the following parameters: | ||
|
||
* `moniker` — any name. Example: `moniker = "my-sentry-node"`. | ||
* `seeds` — the seed node addresses consisting of a node ID, an IP address, and a port. | ||
|
||
Use the following values for mainnet: | ||
|
||
```toml | ||
seeds="[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656" | ||
``` | ||
|
||
!!! info "Amoy node seeds" | ||
|
||
The Heimdall and Bor seeds don't need to be configured manually for Amoy testnet since they've already been included at genesis. | ||
|
||
* `seeds` — the seed node addresses consisting of a node ID, an IP address, and a port. The seeds are provided in the next section. | ||
* `pex` — set the value to `true` to enable the peer exchange. Example: `pex = true`. | ||
* `private_peer_ids` — the node ID of Heimdall set up on the validator machine. | ||
|
||
|
@@ -171,15 +160,7 @@ vi /var/lib/bor/config.toml | |
``` | ||
|
||
In `config.toml`, add the boot node addresses consisting of a node ID, an IP address, and a port | ||
by adding them under bootnodes in [p2p.discovery] section: | ||
|
||
```config | ||
--bootnodes "enode://b8f1cc9c5d4403703fbf377116469667d2b1823c0daf16b7250aa576bacf399e42c3930ccfcb02c5df6879565a2b8931335565f0e8d3f8e72385ecf4a4bf160a@3.36.224.80:30303", "enode://8729e0c825f3d9cad382555f3e46dcff21af323e89025a0e6312df541f4a9e73abfa562d64906f5e59c51fe6f0501b3e61b07979606c56329c020ed739910759@54.194.245.5:30303" | ||
``` | ||
|
||
!!! info "Amoy node seeds" | ||
|
||
The Heimdall and Bor seeds don't need to be configured manually for Amoy testnet since they've already been included at genesis. | ||
by adding them under bootnodes in [p2p.discovery] section, shared in the next section. | ||
|
||
Now, add the following in the `config.toml` file: | ||
|
||
|
@@ -201,6 +182,10 @@ To fetch the Node ID of Bor on the validator machine: | |
|
||
Finally, save the changes in `config.toml`. | ||
|
||
### Seeds and Bootnodes | ||
|
||
The latest bor and heimdall seeds can be found [here](https://docs.polygon.technology/pos/reference/seed-and-bootnodes/). Adding them will ensure your node connects to the peers. | ||
|
||
### Configuring a firewall | ||
|
||
The sentry machine must have the following ports open to the world `0.0.0.0/0`: | ||
|