mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-02 03:28:25 +08:00
misc(gcr/s) add doc
This commit is contained in:
@ -73,6 +73,9 @@ func (s *Server) handleMessage(
|
||||
return p.ID, response
|
||||
|
||||
case dhtpb.Message_ADD_PROVIDER:
|
||||
// FIXME(btc): do we want to store these locally? I think the
|
||||
// storeProvidersToPeerstore behavior is straight from the DHT message
|
||||
// handler.
|
||||
storeProvidersToPeerstore(s.peerstore, p, req.GetProviderPeers())
|
||||
|
||||
if err := putRoutingProviders(s.routingBackend, util.Key(req.GetKey()), req.GetProviderPeers()); err != nil {
|
||||
|
Reference in New Issue
Block a user