Versions in this module Expand all Collapse all v0 v0.2.3 Jun 20, 2021 Changes in this version + type Service struct + func New(streamer p2p.Streamer, addressbook addressbook.GetPutter, networkID uint64, ...) *Service + func (s *Service) BroadcastPeers(ctx context.Context, addressee swarm.Address, peers ...swarm.Address) error + func (s *Service) Metrics() []prometheus.Collector + func (s *Service) Protocol() p2p.ProtocolSpec + func (s *Service) SetAddPeersHandler(h func(ctx context.Context, addr ...swarm.Address) error)