Repository navigation
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Replaces the hardcoded list of community peer IPs with the Sei Labs seed nodes, and corrects the P2P config schema, which documented keys that do not exist in sei-tendermint. The old snippets/random-peers.jsx shipped 17 hardcoded addresses — mostly bare IPs of nodes we do not operate — and handed each reader a random five. Those rot silently as operators re-key or renumber, and a wrong NodeID is rejected at the handshake rather than degraded, so the failure is opaque. The seeds are stable identities behind stable DNS, three per network across three regions. Schema corrections (verified against sei-tendermint/config/toml.go): - seeds -> bootstrap-peers (the documented key does not exist) - persistent_peers -> persistent-peers, and the other underscore spellings - max_num_inbound_peers / max_num_outbound_peers / allowed_pools removed; the real keys are max-connections and max-incoming-connection-attempts - addr_book_strict removed from the validator sentry example — no such key exists, so that config would not have applied as written
e0ca2cc to
eb97b93
Compare
|
Closing in favour of #96. This PR predates the seed documentation that has since landed on It would also have regressed two values that #96 is built fresh off |
Important
Draft — do not merge until sei-chain#3885 ships in a seid release.
This page tells operators that
seid initpopulatesbootstrap-peersautomatically. That is only true once the release carrying sei-chain#3885 is out. Merging earlier documents behaviour the shipped binary does not have. Once that release lands, mark ready and merge.The schema corrections below are correct today and independent of the release — they can be split out if we want them sooner.
Why
snippets/random-peers.jsxshipped 17 hardcoded peer addresses — mostly bare IPs of nodes we do not operate — and handed each reader a random five:Those rot silently as operators re-key or renumber, and a wrong NodeID is rejected at the secret-connection handshake rather than degraded — so the failure is opaque to the operator following our docs. Handing out a hand-maintained peer list is also the practice we are trying to retire.
The Sei Labs seeds replace it: stable identities behind stable DNS, three per network across three regions, gossiping the rest of the network over PEX.
What changed
snippets/seeds.jsx(new) replacessnippets/random-peers.jsx(deleted). Shows all three seeds — no shuffle, since the set is small and stable — and emitsbootstrap-peersrather thanpersistent_peers.node/index.mdx— a new Peer discovery section explaining that init does this for you, with the manual values kept for nodes initialised before seeds shipped.node/troubleshooting.mdx— the peer-handshake section now points at the seeds and explains thatexpected to connect with peer X, got Ymeans the ID/address pair is wrong and should be replaced, not retried.Schema corrections
The documented
[p2p]block listed keys that do not exist in sei-tendermint. Verified againstsei-tendermint/config/toml.go:seedsbootstrap-peerspersistent_peerspersistent-peersmax_num_inbound_peers,max_num_outbound_peersmax-connections,max-incoming-connection-attemptsallowed_poolsaddr_book_strictThe last one matters beyond tidiness: it appears in the validator sentry-node example in
node/validators.mdx, alongside four underscore-spelled keys. As written that config would not have applied. Fixed there too.Note
llms-full.txtstill contains the old content — it is a generated artifact (scripts/generate-llms.mjs) and will refresh on its next regeneration; I have not hand-edited it.Why
bootstrap-peersand notpersistent-peersSeeds populate the address book via PEX and may then be dropped.
persistent-peersholds connections open indefinitely, which is only appropriate for nodes an operator runs themselves — and pointing every operator's persistent connections at our seeds would be a load multiplier for us.