node/config: add WithBootstrapPeers option#375
Merged
Bidon15 merged 5 commits intocelestiaorg:mainfrom Jan 24, 2022
Merged
Conversation
Add tests for WithMutualPeers and WithBootstrapPeers for both bridge/light types Remove redundancy in WithMockClient test
renaynay
reviewed
Jan 24, 2022
Co-authored-by: rene <41963722+renaynay@users.noreply.github.com>
renaynay
previously approved these changes
Jan 24, 2022
renaynay
previously approved these changes
Jan 24, 2022
Wondertan
reviewed
Jan 24, 2022
renaynay
approved these changes
Jan 24, 2022
Wondertan
approved these changes
Jan 24, 2022
walldiss
added a commit
to walldiss/celestia-node
that referenced
this pull request
Mar 9, 2026
Upgrade github.com/celestiaorg/go-header from v0.8.1 to v0.8.4-rc. Key fixes in this release: - fix(p2p): return Head() early when enough peers confirm the same header (celestiaorg#372) Light nodes no longer wait for ALL trusted peers to respond — once 2 peers agree on the same header, outstanding requests are cancelled immediately. Fixes mocha startup timeouts caused by a single slow bootstrapper. - fix(p2p): add per-peer timeout to performRequest (celestiaorg#376) Each peer request in GetByHeight/Get now has its own timeout instead of sharing the parent context deadline, preventing a slow peer from consuming the entire remaining budget. - chore: update go-libp2p fork with webtransport-go v0.10.0 compat (celestiaorg#375) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
walldiss
added a commit
to walldiss/celestia-node
that referenced
this pull request
Mar 9, 2026
Upgrade github.com/celestiaorg/go-header from v0.8.1 to v0.8.4-rc. Key fixes in this release: - fix(p2p): return Head() early when enough peers confirm the same header (celestiaorg#372) Light nodes no longer wait for ALL trusted peers to respond — once 2 peers agree on the same header, outstanding requests are cancelled immediately. Fixes mocha startup timeouts caused by a single slow bootstrapper. - fix(p2p): add per-peer timeout to performRequest (celestiaorg#376) Each peer request in GetByHeight/Get now has its own timeout instead of sharing the parent context deadline, preventing a slow peer from consuming the entire remaining budget. - chore: update go-libp2p fork with webtransport-go v0.10.0 compat (celestiaorg#375)
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.
Add tests for WithMutualPeers and WithBootstrapPeers for both bridge/light types
Remove redundancy in WithMockClient test
This is needed for the swamp to initialise the light node with 2+ connections to bridge nodes
Resolves #372