Versions in this module Expand all Collapse all v0 v0.1.0 Apr 21, 2023 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()