Skip to content

Configuring static peers on startup #16347

Answered by mattsse
IvanWeber42 asked this question in Help
Discussion options

You must be logged in to vote

If this is so, simply adding trusted peers should be enough.

yeah this should do it.

Is a trusted peer in Reth a static peer with extra stuff going on?

yes trusted peer is static and more, for trusted we free up slots and always allow incoming connections

Is there a way to setup static peers in config file or CLI parameter?

the distinction is a bit tricky and only really exists because the rpc api distinguishes between static and trusted, so for this usecase you could always use --trusted-peers

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mattsse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants