Skip to content

Commit 6de8539

Browse files
qubelabsioGAtom22
andauthored
docs: update peers info (#104)
Co-authored-by: Tom <54514587+GAtom22@users.noreply.github.com>
1 parent 26883d9 commit 6de8539

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

docs/validate/mainnet.mdx

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -121,22 +121,7 @@ For more information on seeds and peers, you can the Tendermint [P2P documentati
121121

122122
We can set the [`persistent_peers`](https://docs.tendermint.com/v0.34/tendermint-core/using-tendermint.html#persistent-peer)
123123
field in `~/.evmosd/config/config.toml` to specify peers that your node will maintain persistent
124-
connections with. You can retrieve them from the list of
125-
available peers on the [`mainnet`](https://github.com/evmos/mainnet) repo.
126-
127-
A list of available persistent peers is also available in the `#find-peers` channel in the [Evmos Discord](https://discord.gg/evmos).
128-
You can get a random 10 entries from the `peers.txt` file in the `PEERS` variable by running
129-
the following command:
130-
131-
```bash
132-
PEERS=`curl -sL https://raw.githubusercontent.com/evmos/mainnet/main/evmos_9001-2/peers.txt | sort -R | head -n 10 | awk '{print $1}' | paste -s -d, -`
133-
```
134-
135-
Use `sed` to include them into the configuration. You can also add them manually:
136-
137-
```bash
138-
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" ~/.evmosd/config/config.toml
139-
```
124+
connections with.
140125

141126
## Run a Mainnet Validator
142127

0 commit comments

Comments
 (0)