Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ✨ added max peers to Reth (EL) #1985

Merged
merged 2 commits into from
Nov 15, 2024

Conversation

victorelec14
Copy link
Contributor

@victorelec14 victorelec14 commented Nov 13, 2024

Adds the maximum number of peers that can connect to Reth using the `EL_MAX_PEER_COUNT`` variable of the .env

Note: the default value in reth is 100, but I set it to 50 following Geht (EL) configuration, even with the value in my local .env at 40 peers it works fine. If necessary I can change it to 100

docs: https://reth.rs/cli/reth/node.html?highlight=MAX_OUTBOUND_PEERS#reth-node

--max-outbound-peers <MAX_OUTBOUND_PEERS>
          Maximum number of outbound requests. default: 100

image

reth.yml Outdated Show resolved Hide resolved
Copy link
Contributor Author

@victorelec14 victorelec14 left a comment

Choose a reason for hiding this comment

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

I have already made the changes :)

Copy link
Contributor

@yorickdowne yorickdowne left a comment

Choose a reason for hiding this comment

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

Thanks for this!

@yorickdowne yorickdowne merged commit 3f62418 into eth-educators:main Nov 15, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants