[Ethereum] What’s the difference between node and peer


I'm confused between the two objects.

As I know, peer is the object or node.

But when we create an Ethereum network, at each node, I have to add a peer.

So it means there is a difference between node and peer.

Please help me. Thanks.

Best Answer

It's a language thing about the relationship. It's like "people" and "friends". It's not that friends aren't also people. We might say that people are friends because they have a certain relationship to us.

Ethereum nodes are initially alone, and then they seek out other nodes to talk to. When nodes agree to talk, they become peers to each other.

"Peers" is another word for a person just like me with similar knowledge and abilities. A node's peers are other nodes that work the same way. Nodes talk to the network through their peers, and learn about the network from their peers.

Hope it helps.

Related Topic