You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where the neighbours are the list of 16 nodes that are able to connect with the new node.
96
+
97
+
**ENRRequest packet structure**
98
+
```
99
+
packet-data = [expiration]
100
+
```
101
+
102
+
**ENRResponse packet structure**
103
+
```
104
+
packet-data = [request-hash, ENR]
105
+
```
106
+
Where ENR is the Ethereum Node Record, a standard format for connectivity for nodes. Which it is explained below.
107
+
108
+
---
109
+
Currently, the execution clients are using the [Discv4 protocol](https://github.com/ethereum/devp2p/blob/master/discv4.md) for the discovery process, although it is planned to be migrated to [Discv5](https://github.com/ethereum/devp2p/blob/master/discv5/discv5.md) in the future.
110
+
This Kademlia-like discovery protocol includes the routing table, which keeps information about other nodes in the neighbourhood consisting of *k-buckets* (where *k* is the number of nodes in the bucket, currently defined as 16).
111
+
Worth mentioning that all the table entries are sorted by *last seen/least-recently seen* at the head, and most-recently seen at the tail.
112
+
If one of the entities has not been responded to in 12 hours, it is removed from the table, and the next encounter node is added to the tail of the list.
0 commit comments