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
{{ message }}
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.
This should be done as part of the simple-fetchers branch.
The functionality that decides who the next eligible peer is based on a given Kademlia table is not tested thoroughly and we should add tests to it.
// FindPeer is returning the closest peer from Kademlia that a chunk
// request hasn't already been sent to
func (d *Delivery) FindPeer(ctx context.Context, req *storage.Request) (*Peer, error) {
Feel free to modify the interface of this method and suggest alternatives, but ultimately we should have good coverage on the algorithm that decides who is the next selected Peer for a given request.
The text was updated successfully, but these errors were encountered:
This should be done as part of the
simple-fetchers
branch.The functionality that decides who the next eligible peer is based on a given Kademlia table is not tested thoroughly and we should add tests to it.
Feel free to modify the interface of this method and suggest alternatives, but ultimately we should have good coverage on the algorithm that decides who is the next selected Peer for a given request.
The text was updated successfully, but these errors were encountered: