Skip to content

Commit

Permalink
Merge pull request #2619 from 0xsajal/patch-13
Browse files Browse the repository at this point in the history
Update validator-binaries.md
  • Loading branch information
mitchpolygon authored Feb 27, 2025
2 parents f410aa6 + 45ca1a6 commit 35662e2
Showing 1 changed file with 6 additions and 21 deletions.
27 changes: 6 additions & 21 deletions docs/pos/how-to/validator/validator-binaries.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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:

Expand All @@ -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`:
Expand Down

0 comments on commit 35662e2

Please sign in to comment.