status-im/status-go

View on GitHub
waku/waku.go

Summary

Maintainability
F
3 days
Test Coverage
C
73%

Waku has 100 methods (exceeds 21 allowed). Consider refactoring.
Open

type Waku struct {
    protocols []p2p.Protocol  // Peer description and parameters
    filters   *common.Filters // Message filters installed with Subscribe function

    privateKeys map[string]*ecdsa.PrivateKey // Private key storage
Severity: Major
Found in waku/waku.go - About 1 day to fix

    File waku.go has 1246 lines of code (exceeds 900 allowed). Consider refactoring.
    Open

    // Copyright 2019 The Waku Library Authors.
    //
    // The Waku library is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Lesser General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    Severity: Major
    Found in waku/waku.go - About 1 day to fix

      There are no issues that match your filters.

      Category
      Status