Impl DHT bootnodes support for all nodes#1344
Merged
tmpolaczyk merged 10 commits intomasterfrom Dec 11, 2025
Merged
Conversation
Contributor
WASM runtime size check:Compared to target branchdancebox runtime: 1896 KB (no changes) ✅ flashbox runtime: 1132 KB (no changes) ✅ dancelight runtime: 2672 KB (no changes) 🚨 starlight runtime: 2576 KB (no changes) 🚨 container chain template simple runtime: 1468 KB (no changes) ✅ container chain template frontier runtime: 1824 KB (no changes) ✅ |
Contributor
evgeny-s
reviewed
Oct 29, 2025
evgeny-s
reviewed
Oct 29, 2025
But not for collators nor data preservers
f6e252a to
e8f397f
Compare
girazoki
reviewed
Dec 9, 2025
girazoki
reviewed
Dec 9, 2025
girazoki
approved these changes
Dec 9, 2025
nanocryk
approved these changes
Dec 11, 2025
Contributor
nanocryk
left a comment
There was a problem hiding this comment.
Small nitpick, otherwise looks good :)
7966232 to
451d507
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
paritytech/polkadot-sdk#8072
Latest polkadot-sdk release includes a new feature that allows parachain nodes to advertise their IP address in the relay chain DHT (kademlia). This allows other nodes to discover peers without a centralized peer list.
In this PR we implement it for all nodes, including collators and data preservers. Container chain collators do not advertise their IP address, but they do discover bootnodes for the chain they are assigned to. The reason for not advertising is that collators may rotate frequently, and also that they don't have the full block history. So collators can only be valid targets for warp sync, not for full sync.