Skip to content

feat(node): Add Peers Script to Entrypoints#1031

Draft
refcell wants to merge 1 commit intomainfrom
rf/feat/add-peers-script-entrypoints
Draft

feat(node): Add Peers Script to Entrypoints#1031
refcell wants to merge 1 commit intomainfrom
rf/feat/add-peers-script-entrypoints

Conversation

@refcell
Copy link
Copy Markdown
Contributor

@refcell refcell commented Apr 24, 2026

Summary

Adds a new add-peers.sh script that fetches public peer records from chains.base.org/<chainName>/peers and registers them with both the execution and consensus layers. Each execution entrypoint (geth, reth, nethermind) runs the script in the background with --execution-only before handing off to the binary, and each consensus entrypoint (op-node, base-consensus) does the same with --consensus-only. The script loops every 300 seconds so peers are continuously refreshed. For reth, peer fetching is gated on the optional RETH_NETWORK env var since RETH_CHAIN may be a file path rather than a human-readable chain name.

@refcell refcell added the type: enhancement New feature or request label Apr 24, 2026
@refcell refcell self-assigned this Apr 24, 2026
@cb-heimdall
Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants