blockchain/blockchain-interface.go
Function RequestBlockchain
has 69 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func RequestBlockchain(networkIP string, networkTCPPort string) error {
s := "START RequestBlockchain() - Requests the blockchain and the pendingBlock from a Network Node"
log.Debug("BLOCKCHAIN: I/F " + s)
Function RequestBlockchain
has 5 return statements (exceeds 4 allowed). Open
Open
func RequestBlockchain(networkIP string, networkTCPPort string) error {
s := "START RequestBlockchain() - Requests the blockchain and the pendingBlock from a Network Node"
log.Debug("BLOCKCHAIN: I/F " + s)
2: cannot find package "github.com/sirupsen/logrus" in any of: Open
Open
log "github.com/sirupsen/logrus"
- Exclude checks