waku-org/go-waku

View on GitHub
waku/v2/peermanager/peer_discovery.go

Summary

Maintainability
A
1 hr
Test Coverage
B
82%

Method PeerManager.DiscoverAndConnectToPeers has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

func (pm *PeerManager) DiscoverAndConnectToPeers(ctx context.Context, cluster uint16,
    shard uint16, serviceProtocol protocol.ID, maxCount int) error {
Severity: Minor
Found in waku/v2/peermanager/peer_discovery.go - About 35 mins to fix

    Method PeerManager.discoverOnDemand has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    func (pm *PeerManager) discoverOnDemand(cluster uint16,
        shard uint16, wakuProtocol protocol.ID, ctx context.Context, maxCount int) ([]service.PeerData, error) {
    Severity: Minor
    Found in waku/v2/peermanager/peer_discovery.go - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status