Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zikade: add private client-side handlers #3

Open
dettanym opened this issue Oct 27, 2023 · 0 comments
Open

zikade: add private client-side handlers #3

dettanym opened this issue Oct 27, 2023 · 0 comments
Assignees

Comments

@dettanym
Copy link
Owner

All references below are to the old private-go-libp2p-kad-dht repo, so find the appropriate ones in the private-zikade repo

  1. v2/routing.go: Implements FindPeer and FindProvidersAsync methods. (Sidenote: interfaces includes these two methods are defined in the Go LibP2P core repo.) Both methods run d.kad.Query with the key as an argument and a function fn to check whether the node in the last hop has the correct CID.
  2. DHT co-ordinator Query method: It looks up its own RT for the closest nodes and then currently, sends in a fake PB message with the key. So we need a private implementation of the Query method which does not send the key in the PB message (PIR request).
@dettanym dettanym self-assigned this Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant