Skip to content

Conversation

@gr8h
Copy link

@gr8h gr8h commented Dec 5, 2025

This PR adds --max-peers CLI flag for configuring total peer limits splitting into inbound and outbound connections.

Changes

  • Added --max-peers flag that splits total peers into ~2:1 inbound:outbound
  • Mutually exclusive with --max-outbound-peers and --max-inbound-peers

Issue: 6100

@github-project-automation github-project-automation bot moved this to Backlog in Reth Tracker Dec 5, 2025
@gr8h gr8h marked this pull request as ready for review December 5, 2025 13:46
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this does indeed seem useful

th 2:1 ratio makes sense, we could make the ratio configurable as well but I thinkt his should do

@github-project-automation github-project-automation bot moved this from Backlog to In Progress in Reth Tracker Dec 10, 2025
@mattsse mattsse enabled auto-merge December 10, 2025 07:26
@mattsse mattsse added M-changelog This change should be included in the changelog A-cli Related to the reth CLI labels Dec 10, 2025
@gr8h
Copy link
Author

gr8h commented Dec 10, 2025

@mattsse feel free to ping me on other issues

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

Labels

A-cli Related to the reth CLI M-changelog This change should be included in the changelog

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants