So I am looking to dig further into how new nodes join the ethereum network. I am looking at studying this for both the execution and consensus layer.

Specifically I am interested in knowing:

  1. How do new nodes find new peers
  2. When new peers are found, I believe some handshake will have to occur? Where can I find the handshake specification?

1 Answer 1


if you want to study, it is good to start looking at the sources:

here: https://github.com/ethereum/go-ethereum/tree/master/eth/protocols/eth

and here: https://github.com/ethereum/go-ethereum/tree/master/p2p

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.