@cryptotaxi247 / kubo / commits / ab81d7cbd

misc(gcr/s) add doc

Brian Tiger Chow committed Feb 2, 2015 at 02:08 UTC ab81d7cbd17e5990d74679b5c7048b56a4d97f66
1 file changed +3
routing/grandcentral/server.go
+3
@@ -73,6 +73,9 @@ func (s *Server) handleMessage(
73 return p.ID, response
74
75 case dhtpb.Message_ADD_PROVIDER:
76 + // FIXME(btc): do we want to store these locally? I think the
77 + // storeProvidersToPeerstore behavior is straight from the DHT message
78 + // handler.
79 storeProvidersToPeerstore(s.peerstore, p, req.GetProviderPeers())
80
81 if err := putRoutingProviders(s.routingBackend, util.Key(req.GetKey()), req.GetProviderPeers()); err != nil {