Skip to content

Commit 042095d

Browse files
committed
gh-148 devp2p discovery peers img added
1 parent 9e7c651 commit 042095d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
118 KB
Loading

docs/wiki/EL/devp2p.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ so they can be able to both confirm the connection before sending the data and h
4747
while the discovery process does not require the reliable connection, since it is enough to let other knows that the node is available to communicate.
4848

4949
### Discovery
50-
The process of how the nodes find each other in the network starts with [the hardcoded bootnodes listed in the specification](https://github.com/ethereum/go-ethereum/blob/master/params/bootnodes.go).
50+
The process of how the nodes find each other in the network starts with [the hard-coded bootnodes listed in the specification](https://github.com/ethereum/go-ethereum/blob/master/params/bootnodes.go).
5151
The bootnodes are nodes that are known by all the other nodes in the networks (both Mainnet and testnets), and they are used to bootstrap the discovery peers process.
5252
Using the Kademlia DHT (Distributed Hash Table) algorithm, the nodes are able to find each other in the network by referring to a routing table where the bootnodes are listed.
5353
The TLDR of the Kademlia is that it is a peer-to-peer protocol that enables nodes to find each other in the network by using a distributed hash table, as Leffew mentioned in his article (2019).
@@ -56,6 +56,8 @@ That is to say, the connection process starts with a PING-PONG game where the ne
5656
If both messages match, then the new node is able to bond with the bootnode. In addition to this, the new node sends a FIND-NEIGHBOURS request to the bootnode, so it can receive a list of neighbours that able to connect with,
5757
so it can repeat the PING-PONG game with them and bond with them as well.
5858

59+
![img.png](../../images/el-architecture/peer-discovery.png)
60+
5961
## ENR: Ethereum Node Records
6062
* Standard format for connectivity for nodes
6163
* Node's identity

0 commit comments

Comments
 (0)