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
All references below are to the old private-go-libp2p-kad-dht repo, so find the appropriate ones in the private-zikade repo
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.
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).
The text was updated successfully, but these errors were encountered:
All references below are to the old private-go-libp2p-kad-dht repo, so find the appropriate ones in the private-zikade repo
FindPeer
andFindProvidersAsync
methods. (Sidenote: interfaces includes these two methods are defined in the Go LibP2P core repo.) Both methods rund.kad.Query
with the key as an argument and a functionfn
to check whether the node in the last hop has the correct CID.Query
method which does not send the key in the PB message (PIR request).The text was updated successfully, but these errors were encountered: