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

Trusted peer setup #3458

Open
5 tasks
arnetheduck opened this issue Mar 2, 2022 · 1 comment
Open
5 tasks

Trusted peer setup #3458

arnetheduck opened this issue Mar 2, 2022 · 1 comment

Comments

@arnetheduck
Copy link
Member

One problem in ethereum is the public proposer election and the ability to map validator to IP and thus DoS all proposers one by one. Also, when upgrading, all peers are lost and it takes time to build up a healthy mesh.

Both these problems can be mitigated by running several beacon nodes in a trusted setup - there are several pieces needed to achieve this:

  • Add command line option to specify trusted peers by ip, libp2p multiaddr or ENR
  • Should not be disconnected because of score issues
  • Should not count towards peer limit
  • Should always be part of mesh, without counting towards D
    • Blocks and attestations in particular should always be sent to the trusted peers so as to ensure multiple egresses to the "public" network
  • Needs documentation to explain how it can be used (with era files, could share era store

We currently have the --direct-peer option - it bits and pieces of the above but needs more work

@arnetheduck
Copy link
Member Author

One way to test this: run two nodes, one without bootnodes/discovery and one "normal" - have them trust each other - both nodes should follow the chain.

bonus: add a third node connected only to the first node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant