status-im / nimbus-eth2

Nim implementation of the Ethereum Beacon Chain
https://nimbus.guide
Other
523 stars 227 forks source link

Trusted peer setup #3458

Open arnetheduck opened 2 years ago

arnetheduck commented 2 years ago

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:

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

arnetheduck commented 3 months ago

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.