Versions in this module Expand all Collapse all v1 v1.0.3 Feb 27, 2025 Changes in this version + type DiscoveryService struct + func NewDiscoveryService(server networkingServer, routingTable *kb.RoutingTable, logger hclog.Logger) *DiscoveryService + func (d *DiscoveryService) Close() + func (d *DiscoveryService) ConnectToBootnodes(bootnodes []*peer.AddrInfo) + func (d *DiscoveryService) FindPeers(ctx context.Context, req *proto.FindPeersReq) (*proto.FindPeersResp, error) + func (d *DiscoveryService) HandleNetworkEvent(peerEvent *event.PeerEvent) + func (d *DiscoveryService) RoutingTablePeers() []peer.ID + func (d *DiscoveryService) RoutingTableSize() int + func (d *DiscoveryService) Start()