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
Backend processes may need to request data from peers, in order to do this, a peer should be randomly selected from the kademlia table.
This can also be extended with #1318 in order to select a random peer that supports a given capability
The text was updated successfully, but these errors were encountered:
**Motivation**
Support syncing via fullsync
<!-- Why does this pull request exist? What are its goals? -->
**Description**
- Implement full sync
- Trigger full sync in fork choice update
- Implement communication between backend and peers in p2p crate via
channels that allow to send and receive messages from the peer data on
the kademlia table to the peer's active connection listen loop. This way
backend processes, such as syncing, can make requests and receive
responses from a chosen peer
Leftover work: #1317#1318
Status:
Succesfully passes `ethereum/sync` test suite when removing V3-specifc
fork choice & payload checks (see commit
[c6d6767](c6d6767))
This PR shares the same basis as snap-sync #1209
<!-- Link to issues: Resolves#111, Resolves#222 -->
Closes: None, but is a good basis for snap sync
---------
Co-authored-by: Esteban Dimitroff Hodi <[email protected]>
Co-authored-by: Martin Paulucci <[email protected]>
Co-authored-by: Francisco Krause Arnim <[email protected]>
Backend processes may need to request data from peers, in order to do this, a peer should be randomly selected from the kademlia table.
This can also be extended with #1318 in order to select a random peer that supports a given capability
The text was updated successfully, but these errors were encountered: