feat(peers): automated weekly peers.txt + addrbook.json refresh#550
Draft
rootulp wants to merge 13 commits into
Draft
feat(peers): automated weekly peers.txt + addrbook.json refresh#550rootulp wants to merge 13 commits into
rootulp wants to merge 13 commits into
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…port Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
auto-merge was automatically disabled
June 5, 2026 23:22
Pull request was converted to draft
This was referenced Jun 8, 2026
Closed
Closed
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.
Closes #526
What
Adds a weekly GitHub Actions workflow that refreshes
peers.txtandaddrbook.jsonfor mainnet (celestia/) and mocha-4 (mocha-4/), plus the small Go tool and shell script it relies on.How it works
scripts/peers/fetch-filter.sh): pulls the public Cumulo peer feed and selectstcp_verifiedpeers, sorted by score.scripts/peers/verifypeer, Go): dials each candidate, performs the CometBFT secret-connection handshake, and keeps a peer only if its authenticated node ID matches the claimedid@. An open port advertised under a mismatched ID is dropped and surfaced loudly (possible-poisoning signal). Cumulo is treated as a candidate source, not a trusted authority.addrbook.jsonfrom the verifiedpeers.txtusing the releasedcelestia-appd addrbooksubcommand.peter-evans/create-pull-request) for human review. The job never pushes directly tomaster.Runs weekly (Mondays 00:00 UTC) and on manual
workflow_dispatch.Scope / safety
seeds.txtis intentionally left untouched — those are curated first-party DNS bootstrap seeds, which should stay stable rather than churn from a live peer feed. Onlypeers.txt+addrbook.jsonare auto-updated (add-pathsenforces this).high-churnlabel; any node-ID mismatches are listed in the PR body.Validation
Pipeline run end-to-end against live data before opening this PR:
addrbook.jsongeneration confirmed withcelestia-appd v8.0.3.Notes
verifypeermodule pins the Celestia fork of CometBFT (celestiaorg/celestia-core) so the handshake matches Celestia's p2p protocol.setup-goreadsgo-version-filefrom the module'sgo.modso the Go version always matches the code.🤖 Generated with Claude Code