Versions in this module Expand all Collapse all v1 v1.999.10 Nov 28, 2022 Changes in this version + var DurationBetweenReconnectAttempts = time.Second * 5 + func NewLibp2pConnectionMonitorSimple(args ArgsConnectionMonitorSimple) (*libp2pConnectionMonitorSimple, error) + type ArgsConnectionMonitorSimple struct + ConnectionsWatcher p2p.ConnectionsWatcher + PreferredPeersHolder p2p.PreferredPeersHolderHandler + Reconnecter p2p.Reconnecter + Sharder Sharder + ThresholdMinConnectedPeers uint32 + type Sharder interface + ComputeEvictionList func(pidList []peer.ID) []peer.ID + Has func(pid peer.ID, list []peer.ID) bool + IsInterfaceNil func() bool + IsSeeder func(pid core.PeerID) bool + SetSeeders func(addresses []string)