Skip to content

Commit 4654d42

Browse files
authored
Merge pull request 0xPolygon#2516 from 0xsajal/patch-6
Update seed-and-bootnodes.md
2 parents 2006fc5 + 222afbe commit 4654d42

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

docs/pos/reference/seed-and-bootnodes.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,29 @@ bda8943b47d96ccf8f36dc5d306450926906571b@47.128.184.10:26656
8686
46ee7b8d33ade8aa41fd1b96f26a1f275721ee49@52.208.81.179:26656
8787
```
8888

89-
Alternatively, you can find more seeds [here](https://docs.stakepool.dev.br/polygon/live-peers).
89+
Alternatively, you can find more seeds [here](https://docs.stakepool.dev.br/polygon/live-peers).
90+
91+
## Enhancing Bor Peering with DNS Discovery
92+
93+
To further enhance bor peering capabilities, the DNS discovery flag can be utilized. The ENR trees for the mainnet and Amoy testnet are provided below:
94+
95+
* **Mainnet** - `enrtree://AKUEZKN7PSKVNR65FZDHECMKOJQSGPARGTPPBI7WS2VUL4EGR6XPC@pos.polygon-peers.io`
96+
* **Amoy Testnet** - `enrtree://AKUEZKN7PSKVNR65FZDHECMKOJQSGPARGTPPBI7WS2VUL4EGR6XPC@amoy.polygon-peers.io`
97+
98+
### Configuration Steps
99+
100+
To configure DNS discovery, follow these steps:
101+
102+
1. Edit your `config.toml` file:
103+
* Locate the `[p2p]` section.
104+
* Set `maxpeers` to:
105+
* 2000 for Mainnet
106+
* 500 for Amoy Testnet
107+
* Set `maxpendpeers` to:
108+
* 500 for Mainnet
109+
* 100 for Amoy testnet
110+
2. Add the DNS under `[p2p.discovery]` section.
111+
112+
!!! note
113+
114+
Increasing the number of peers can significantly enhance node connectivity, enabling connection to hundreds of peers almost instantly. However, please be aware that this adjustment may lead to increased bandwidth usage. Adjusting maxpeers and maxpendpeers is optional but can improve peering efficiency. Read more [here](https://forum.polygon.technology/t/introducing-our-new-dns-discovery-for-polygon-pos-faster-smarter-more-connected/19871).

0 commit comments

Comments
 (0)