radicle-link icon indicating copy to clipboard operation
radicle-link copied to clipboard

PeerApi: Prove a method to "sync" with the currently-connected peers

Open kim opened this issue 5 years ago • 3 comments

This would require protocol support for efficiently computing the intersection of URNs two peers have locally. As a first step, however, we can just implement it as a loop which calls Storage::fetch_repo for each local URN and connected peer, ignoring errors.

kim avatar Jun 24 '20 13:06 kim

So interestingly enough @xla pretty much implemented this in proxy. This is likely one of the components that we should migrate back to link.

FintanH avatar Oct 01 '20 09:10 FintanH

Yes would be good, so we can replace it with a more efficient implementation.

kim avatar Oct 01 '20 13:10 kim

Yes would be good, so we can replace it with a more efficient implementation.

:100:

xla avatar Oct 01 '20 14:10 xla