Preparing report...

Report for github.com/simplechain-org/simplechain

(v0.0.0-20191114091039-4654a8e09651)

A+    Excellent!    Found 465 issues across 1046 files

Tweet

gofmt93%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


golint71%

Golint is a linter for Go source code.

    • simplechain/signer/core/stdioui.go
    • Line 29: warning: exported type StdIOUI should have comment or be unexported (golint)
    • Line 34: warning: exported function NewStdIOUI should have comment or be unexported (golint)
    • Line 52: warning: exported method StdIOUI.ApproveTx should have comment or be unexported (golint)
    • Line 58: warning: exported method StdIOUI.ApproveSignData should have comment or be unexported (golint)
    • Line 64: warning: exported method StdIOUI.ApproveExport should have comment or be unexported (golint)
    • Line 70: warning: exported method StdIOUI.ApproveImport should have comment or be unexported (golint)
    • Line 76: warning: exported method StdIOUI.ApproveListing should have comment or be unexported (golint)
    • Line 82: warning: exported method StdIOUI.ApproveNewAccount should have comment or be unexported (golint)
    • Line 88: warning: exported method StdIOUI.ShowError should have comment or be unexported (golint)
    • Line 95: warning: exported method StdIOUI.ShowInfo should have comment or be unexported (golint)
    • Line 101: warning: exported method StdIOUI.OnApprovedTx should have comment or be unexported (golint)
    • Line 108: warning: exported method StdIOUI.OnSignerStartup should have comment or be unexported (golint)
    • Line 114: warning: exported method StdIOUI.OnInputRequired should have comment or be unexported (golint)
    • simplechain/swarm/api/http/middleware.go
    • Line 28: warning: exported type Adapter should have comment or be unexported (golint)
    • Line 30: warning: exported function SetRequestID should have comment or be unexported (golint)
    • Line 40: warning: exported function SetRequestHost should have comment or be unexported (golint)
    • Line 49: warning: exported function ParseURI should have comment or be unexported (golint)
    • Line 75: warning: exported function InitLoggingResponseWriter should have comment or be unexported (golint)
    • Line 89: warning: exported function InstrumentOpenTracing should have comment or be unexported (golint)
    • Line 104: warning: exported function RecoverPanic should have comment or be unexported (golint)
    • simplechain/core/types/transaction.go
    • Line 35: warning: exported var ErrInvalidSig should have comment or be unexported (golint)
    • Line 38: warning: exported type Transaction should have comment or be unexported (golint)
    • Line 74: warning: exported function NewTransaction should have comment or be unexported (golint)
    • Line 78: warning: exported function NewContractCreation should have comment or be unexported (golint)
    • Line 175: warning: exported method Transaction.Data should have comment or be unexported (golint)
    • Line 176: warning: exported method Transaction.Gas should have comment or be unexported (golint)
    • Line 177: warning: exported method Transaction.GasPrice should have comment or be unexported (golint)
    • Line 178: warning: exported method Transaction.Value should have comment or be unexported (golint)
    • Line 179: warning: exported method Transaction.Nonce should have comment or be unexported (golint)
    • Line 180: warning: exported method Transaction.CheckNonce should have comment or be unexported (golint)
    • Line 255: warning: exported method Transaction.RawSignatureValues should have comment or be unexported (golint)
    • Line 309: warning: exported method TxByPrice.Push should have comment or be unexported (golint)
    • Line 313: warning: exported method TxByPrice.Pop should have comment or be unexported (golint)
    • Line 397: warning: exported function NewMessage should have comment or be unexported (golint)
    • Line 410: warning: exported method Message.From should have comment or be unexported (golint)
    • Line 411: warning: exported method Message.To should have comment or be unexported (golint)
    • Line 412: warning: exported method Message.GasPrice should have comment or be unexported (golint)
    • Line 413: warning: exported method Message.Value should have comment or be unexported (golint)
    • Line 414: warning: exported method Message.Gas should have comment or be unexported (golint)
    • Line 415: warning: exported method Message.Nonce should have comment or be unexported (golint)
    • Line 416: warning: exported method Message.Data should have comment or be unexported (golint)
    • Line 417: warning: exported method Message.CheckNonce should have comment or be unexported (golint)
    • simplechain/consensus/scrypt/api.go
    • Line 33: warning: comment on exported method API.GetWork should be of the form "GetWork ..." (golint)
    • Line 89: warning: comment on exported method API.SubmitHashRate should be of the form "SubmitHashRate ..." (golint)
    • simplechain/light/odr_util.go
    • Line 31: warning: don't use underscores in Go names; var sha3_nil should be sha3Nil (golint)
    • Line 33: warning: exported function GetHeaderByNumber should have comment or be unexported (golint)
    • Line 72: warning: exported function GetCanonicalHash should have comment or be unexported (golint)
    • Line 92: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 228: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • simplechain/core/genesis.go
    • Line 68: warning: exported method GenesisAlloc.UnmarshalJSON should have comment or be unexported (golint)
    • Line 156: warning: exported function SetupGenesisBlockWithOverride should have comment or be unexported (golint)
    • simplechain/metrics/sample.go
    • Line 13: warning: comment on exported type Sample should be of the form "Sample ..." (with optional leading article) (golint)
    • Line 217: warning: comment on exported method NilSample.Snapshot should be of the form "Snapshot ..." (golint)
    • Line 271: warning: comment on exported function SamplePercentile should be of the form "SamplePercentile ..." (golint)
    • Line 305: warning: exported function NewSampleSnapshot should have comment or be unexported (golint)
    • Line 397: warning: comment on exported type UniformSample should be of the form "UniformSample ..." (with optional leading article) (golint)
    • simplechain/signer/core/types.go
    • Line 32: warning: exported type Accounts should have comment or be unexported (golint)
    • Line 42: warning: exported type Account should have comment or be unexported (golint)
    • Line 56: warning: exported type ValidationInfo should have comment or be unexported (golint)
    • Line 60: warning: exported type ValidationMessages should have comment or be unexported (golint)
    • Line 65: warning: exported const WARN should have comment (or a comment on this block) or be unexported (golint)
    • Line 81: warning: receiver name v should be consistent with previous receiver name vs for ValidationMessages (golint)
    • simplechain/signer/core/validation.go
    • Line 34: warning: exported type Validator should have comment or be unexported (golint)
    • Line 38: warning: exported function NewValidator should have comment or be unexported (golint)
    • Line 159: warning: exported var Printable7BitAscii should have comment or be unexported (golint)
    • simplechain/swarm/api/inspector.go
    • Line 26: warning: exported type Inspector should have comment or be unexported (golint)
    • Line 32: warning: exported function NewInspector should have comment or be unexported (golint)
    • Line 41: warning: exported type HasInfo should have comment or be unexported (golint)
    • simplechain/rpc/json.go
    • Line 278: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • simplechain/common/prque/prque.go
    • Line 9: warning: comment on exported type Prque should be of the form "Prque ..." (with optional leading article) (golint)
    • Line 14: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 19: warning: comment on exported method Prque.Push should be of the form "Push ..." (golint)
    • Line 24: warning: comment on exported method Prque.Pop should be of the form "Pop ..." (golint)
    • Line 31: warning: comment on exported method Prque.PopItem should be of the form "PopItem ..." (golint)
    • Line 44: warning: comment on exported method Prque.Empty should be of the form "Empty ..." (golint)
    • Line 49: warning: comment on exported method Prque.Size should be of the form "Size ..." (golint)
    • Line 54: warning: comment on exported method Prque.Reset should be of the form "Reset ..." (golint)
    • simplechain/metrics/debug.go
    • Line 22: warning: comment on exported function CaptureDebugGCStats should be of the form "CaptureDebugGCStats ..." (golint)
    • Line 30: warning: comment on exported function CaptureDebugGCStatsOnce should be of the form "CaptureDebugGCStatsOnce ..." (golint)
    • Line 53: warning: comment on exported function RegisterDebugGCStats should be of the form "RegisterDebugGCStats ..." (golint)
    • simplechain/swarm/pss/ping.go
    • Line 31: warning: comment on exported type PingMsg should be of the form "PingMsg ..." (with optional leading article) (golint)
    • Line 38: warning: exported type Ping should have comment or be unexported (golint)
    • Line 60: warning: exported var PingProtocol should have comment or be unexported (golint)
    • Line 69: warning: exported var PingTopic should have comment or be unexported (golint)
    • Line 71: warning: exported function NewPingProtocol should have comment or be unexported (golint)
    • simplechain/swarm/pss/types.go
    • Line 59: warning: comment on exported method Topic.UnmarshalJSON should be of the form "UnmarshalJSON ..." (golint)
    • Line 161: warning: comment on exported type HandlerFunc should be of the form "HandlerFunc ..." (with optional leading article) (golint)
    • simplechain/core/blockchain.go
    • Line 55: warning: exported var ErrNoGenesis should have comment or be unexported (golint)
    • Line 751: warning: exported const NonStatTy should have comment (or a comment on this block) or be unexported (golint)
    • simplechain/swarm/swap/swap.go
    • Line 31: warning: comment on exported type Swap should be of the form "Swap ..." (with optional leading article) (golint)
    • Line 50: warning: comment on exported method Swap.Add should be of the form "Add ..." (golint)
    • Line 73: warning: receiver name swap should be consistent with previous receiver name s for Swap (golint)
    • Line 95: warning: comment on exported method Swap.Close should be of the form "Close ..." (golint)
    • Line 96: warning: receiver name swap should be consistent with previous receiver name s for Swap (golint)
    • simplechain/swarm/storage/error.go
    • Line 24: warning: exported const ErrInit should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported var ErrChunkNotFound should have comment or be unexported (golint)
    • simplechain/light/txpool.go
    • Line 393: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 427: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 446: warning: comment on exported method TxPool.AddBatch should be of the form "AddBatch ..." (golint)
    • Line 448: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 465: warning: receiver name tp should be consistent with previous receiver name pool for TxPool (golint)
    • Line 475: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 490: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 506: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • simplechain/les/txrelay.go
    • Line 32: warning: exported type LesTxRelay should have comment or be unexported (golint)
    • Line 43: warning: exported function NewLesTxRelay should have comment or be unexported (golint)
    • Line 54: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 61: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 70: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 139: warning: exported method LesTxRelay.Send should have comment or be unexported (golint)
    • Line 139: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 146: warning: exported method LesTxRelay.NewHead should have comment or be unexported (golint)
    • Line 146: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 169: warning: exported method LesTxRelay.Discard should have comment or be unexported (golint)
    • Line 169: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • simplechain/swarm/api/client/client.go
    • Line 49: warning: exported var ErrUnauthorized should have comment or be unexported (golint)
    • Line 52: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 427: warning: exported type UploaderFunc should have comment or be unexported (golint)
    • Line 429: warning: exported method UploaderFunc.Upload should have comment or be unexported (golint)
    • Line 745: warning: exported function GetClientTrace should have comment or be unexported (golint)
    • simplechain/swarm/api/uri.go
    • Line 56: warning: exported method URI.MarshalJSON should have comment or be unexported (golint)
    • Line 60: warning: exported method URI.UnmarshalJSON should have comment or be unexported (golint)
    • Line 111: warning: exported method URI.Feed should have comment or be unexported (golint)
    • Line 115: warning: exported method URI.Raw should have comment or be unexported (golint)
    • Line 119: warning: exported method URI.Immutable should have comment or be unexported (golint)
    • Line 123: warning: exported method URI.List should have comment or be unexported (golint)
    • Line 127: warning: exported method URI.Hash should have comment or be unexported (golint)
    • Line 135: warning: exported method URI.Address should have comment or be unexported (golint)
    • simplechain/params/version.go
    • Line 24: warning: exported const VersionMajor should have comment (or a comment on this block) or be unexported (golint)
    • Line 58: warning: exported function VersionWithCommit should have comment or be unexported (golint)
    • simplechain/core/state/state_object.go
    • Line 32: warning: exported type Code should have comment or be unexported (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 38: warning: exported type Storage should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 48: warning: exported method Storage.Copy should have comment or be unexported (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 124: warning: receiver name c should be consistent with previous receiver name s for stateObject (golint)
    • Line 129: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 135: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 139: warning: receiver name c should be consistent with previous receiver name s for stateObject (golint)
    • Line 150: warning: receiver name c should be consistent with previous receiver name s for stateObject (golint)
    • Line 163: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 174: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 198: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 213: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 218: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 241: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 248: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 262: warning: receiver name c should be consistent with previous receiver name s for stateObject (golint)
    • Line 277: warning: receiver name c should be consistent with previous receiver name s for stateObject (golint)
    • Line 284: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 292: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 297: warning: receiver name c should be consistent with previous receiver name s for stateObject (golint)
    • Line 299: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 318: warning: receiver name c should be consistent with previous receiver name s for stateObject (golint)
    • Line 323: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 338: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 348: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 354: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 362: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 366: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 370: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 374: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 381: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • simplechain/core/genesis_alloc.go
    • Line 23: warning: comment on exported const EthTestnetAllocData should be of the form "EthTestnetAllocData ..." (golint)
    • Line 25: warning: exported const SipeTestnetAllocData should have comment or be unexported (golint)
    • Line 26: warning: exported const SipeGenesisBlockExtraData should have comment or be unexported (golint)
    • simplechain/params/protocol_params.go
    • Line 22: warning: exported const GasLimitBoundDivisor should have comment (or a comment on this block) or be unexported (golint)
    • Line 91: warning: exported var DifficultyBoundDivisor should have comment or be unexported (golint)
    • simplechain/swarm/pss/pss.go
    • Line 47: warning: exported const DefaultMsgTTL should have comment (or a comment on this block) or be unexported (golint)
    • Line 88: warning: comment on exported type PssParams should be of the form "PssParams ..." (with optional leading article) (golint)
    • Line 97: warning: comment on exported function NewPssParams should be of the form "NewPssParams ..." (golint)
    • Line 106: warning: exported method PssParams.WithPrivateKey should have comment or be unexported (golint)
    • Line 111: warning: comment on exported type Pss should be of the form "Pss ..." (with optional leading article) (golint)
    • Line 146: warning: comment on exported function NewPss should be of the form "NewPss ..." (golint)
    • Line 195: warning: exported method Pss.Start should have comment or be unexported (golint)
    • Line 231: warning: exported method Pss.Stop should have comment or be unexported (golint)
    • Line 246: warning: exported method Pss.Protocols should have comment or be unexported (golint)
    • Line 257: warning: exported method Pss.Run should have comment or be unexported (golint)
    • Line 265: warning: exported method Pss.APIs should have comment or be unexported (golint)
    • Line 284: warning: comment on exported method Pss.BaseAddr should be of the form "BaseAddr ..." (golint)
    • Line 289: warning: comment on exported method Pss.PublicKey should be of the form "PublicKey ..." (golint)
    • Line 298: warning: comment on exported method Pss.Register should be of the form "Register ..." (golint)
    • Line 525: warning: comment on exported method Pss.SendRaw should be of the form "SendRaw ..." (golint)
    • Line 559: warning: comment on exported method Pss.SendSym should be of the form "SendSym ..." (golint)
    • Line 574: warning: comment on exported method Pss.SendAsym should be of the form "SendAsym ..." (golint)
    • simplechain/crypto/ecies/ecies.go
    • Line 45: warning: exported var ErrImport should have comment or be unexported (golint)
    • Line 61: warning: comment on exported method PublicKey.ExportECDSA should be of the form "ExportECDSA ..." (golint)
    • Line 66: warning: comment on exported function ImportECDSAPublic should be of the form "ImportECDSAPublic ..." (golint)
    • Line 82: warning: comment on exported method PrivateKey.ExportECDSA should be of the form "ExportECDSA ..." (golint)
    • Line 89: warning: comment on exported function ImportECDSA should be of the form "ImportECDSA ..." (golint)
    • Line 95: warning: comment on exported function GenerateKey should be of the form "GenerateKey ..." (golint)
    • Line 120: warning: comment on exported method PrivateKey.GenerateShared should be of the form "GenerateShared ..." (golint)
    • Line 141: warning: exported var ErrKeyDataTooLong should have comment or be unexported (golint)
    • simplechain/swarm/spancontext/spancontext.go
    • Line 9: warning: exported function WithContext should have comment or be unexported (golint)
    • Line 10: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 13: warning: exported function FromContext should have comment or be unexported (golint)
    • Line 22: warning: exported function StartSpan should have comment or be unexported (golint)
    • Line 36: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 41: warning: exported function StartSpanFrom should have comment or be unexported (golint)
    • simplechain/swarm/api/act.go
    • Line 27: warning: exported var ErrDecrypt should have comment or be unexported (golint)
    • Line 36: warning: exported const EMPTY_CREDENTIALS should have comment or be unexported (golint)
    • Line 38: warning: exported type AccessEntry should have comment or be unexported (golint)
    • Line 46: warning: exported type DecryptFunc should have comment or be unexported (golint)
    • Line 48: warning: exported method AccessEntry.MarshalJSON should have comment or be unexported (golint)
    • Line 66: warning: exported method AccessEntry.UnmarshalJSON should have comment or be unexported (golint)
    • Line 93: warning: exported type KdfParams should have comment or be unexported (golint)
    • Line 99: warning: exported type AccessType should have comment or be unexported (golint)
    • Line 101: warning: exported const AccessTypePass should have comment or be unexported (golint)
    • Line 102: warning: exported const AccessTypePK should have comment or be unexported (golint)
    • Line 103: warning: exported const AccessTypeACT should have comment or be unexported (golint)
    • Line 156: warning: exported var DefaultKdfParams should have comment or be unexported (golint)
    • Line 365: warning: exported function GenerateAccessControlManifest should have comment or be unexported (golint)
    • simplechain/les/odr.go
    • Line 37: warning: exported function NewLesOdr should have comment or be unexported (golint)
    • Line 84: warning: exported const MsgBlockBodies should have comment (or a comment on this block) or be unexported (golint)
    • simplechain/swarm/pss/client/client.go
    • Line 43: warning: comment on exported type Client should be of the form "Client ..." (with optional leading article) (golint)
    • Line 189: warning: comment on exported function NewClient should be of the form "NewClient ..." (golint)
    • Line 205: warning: comment on exported function NewClientWithRPC should be of the form "NewClientWithRPC ..." (golint)
    • Line 227: warning: comment on exported method Client.RunProtocol should be of the form "RunProtocol ..." (golint)
    • Line 302: warning: comment on exported method Client.Close should be of the form "Close ..." (golint)
    • Line 310: warning: comment on exported method Client.AddPssPeer should be of the form "AddPssPeer ..." (golint)
    • Line 342: warning: comment on exported method Client.RemovePssPeer should be of the form "RemovePssPeer ..." (golint)
    • simplechain/core/state/database.go
    • Line 29: warning: comment on exported var MaxTrieCacheGen should be of the form "MaxTrieCacheGen ..." (golint)
    • Line 81: warning: comment on exported function NewDatabaseWithCache should be of the form "NewDatabaseWithCache ..." (golint)
    • simplechain/log/logger.go
    • Line 18: warning: exported type Lvl should have comment or be unexported (golint)
    • Line 21: warning: exported const LvlCrit should have comment (or a comment on this block) or be unexported (golint)
    • simplechain/les/api_backend.go
    • Line 41: warning: exported type LesApiBackend should have comment or be unexported (golint)
    • Line 46: warning: exported method LesApiBackend.ChainConfig should have comment or be unexported (golint)
    • Line 50: warning: exported method LesApiBackend.CurrentBlock should have comment or be unexported (golint)
    • Line 54: warning: exported method LesApiBackend.SetHead should have comment or be unexported (golint)
    • Line 59: warning: exported method LesApiBackend.HeaderByNumber should have comment or be unexported (golint)
    • Line 66: warning: exported method LesApiBackend.HeaderByHash should have comment or be unexported (golint)
    • Line 70: warning: exported method LesApiBackend.BlockByNumber should have comment or be unexported (golint)
    • Line 78: warning: exported method LesApiBackend.StateAndHeaderByNumber should have comment or be unexported (golint)
    • Line 86: warning: exported method LesApiBackend.GetBlock should have comment or be unexported (golint)
    • Line 90: warning: exported method LesApiBackend.GetReceipts should have comment or be unexported (golint)
    • Line 97: warning: exported method LesApiBackend.GetLogs should have comment or be unexported (golint)
    • Line 104: warning: exported method LesApiBackend.GetTd should have comment or be unexported (golint)
    • Line 108: warning: exported method LesApiBackend.GetEVM should have comment or be unexported (golint)
    • Line 114: warning: exported method LesApiBackend.SendTx should have comment or be unexported (golint)
    • Line 118: warning: exported method LesApiBackend.RemoveTx should have comment or be unexported (golint)
    • Line 122: warning: exported method LesApiBackend.GetPoolTransactions should have comment or be unexported (golint)
    • Line 126: warning: exported method LesApiBackend.GetPoolTransaction should have comment or be unexported (golint)
    • Line 130: warning: exported method LesApiBackend.GetPoolNonce should have comment or be unexported (golint)
    • Line 134: warning: exported method LesApiBackend.Stats should have comment or be unexported (golint)
    • Line 138: warning: exported method LesApiBackend.TxPoolContent should have comment or be unexported (golint)
    • Line 142: warning: exported method LesApiBackend.SubscribeNewTxsEvent should have comment or be unexported (golint)
    • Line 146: warning: exported method LesApiBackend.SubscribeChainEvent should have comment or be unexported (golint)
    • Line 150: warning: exported method LesApiBackend.SubscribeChainHeadEvent should have comment or be unexported (golint)
    • Line 154: warning: exported method LesApiBackend.SubscribeChainSideEvent should have comment or be unexported (golint)
    • Line 158: warning: exported method LesApiBackend.SubscribeLogsEvent should have comment or be unexported (golint)
    • Line 162: warning: exported method LesApiBackend.SubscribeRemovedLogsEvent should have comment or be unexported (golint)
    • Line 166: warning: exported method LesApiBackend.Downloader should have comment or be unexported (golint)
    • Line 170: warning: exported method LesApiBackend.ProtocolVersion should have comment or be unexported (golint)
    • Line 174: warning: exported method LesApiBackend.SuggestPrice should have comment or be unexported (golint)
    • Line 178: warning: exported method LesApiBackend.ChainDb should have comment or be unexported (golint)
    • Line 182: warning: exported method LesApiBackend.EventMux should have comment or be unexported (golint)
    • Line 186: warning: exported method LesApiBackend.AccountManager should have comment or be unexported (golint)
    • Line 190: warning: exported method LesApiBackend.RPCGasCap should have comment or be unexported (golint)
    • Line 194: warning: exported method LesApiBackend.BloomStatus should have comment or be unexported (golint)
    • Line 202: warning: exported method LesApiBackend.ServiceFilter should have comment or be unexported (golint)
    • simplechain/swarm/fuse/swarmfs_unix.go
    • Line 65: warning: exported function NewMountInfo should have comment or be unexported (golint)
    • Line 80: warning: exported method SwarmFS.Mount should have comment or be unexported (golint)
    • Line 231: warning: exported method SwarmFS.Unmount should have comment or be unexported (golint)
    • Line 269: warning: exported method SwarmFS.Listmounts should have comment or be unexported (golint)
    • Line 279: warning: exported method SwarmFS.Stop should have comment or be unexported (golint)
    • simplechain/swarm/network/stream/peer.go
    • Line 71: warning: exported type WrappedPriorityMsg should have comment or be unexported (golint)
    • Line 110: warning: don't use underscores in Go names; var len_maxi should be lenMaxi (golint)
    • Line 111: warning: don't use underscores in Go names; var cap_maxi should be capMaxi (golint)
    • simplechain/crypto/ecies/params.go
    • Line 49: warning: exported var DefaultCurve should have comment or be unexported (golint)
    • Line 54: warning: exported type ECIESParams should have comment or be unexported (golint)
    • Line 69: warning: exported var ECIES_AES128_SHA256 should have comment or be unexported (golint)
    • Line 109: warning: exported function AddParamsForCurve should have comment or be unexported (golint)
    • simplechain/swarm/network/stream/syncer.go
    • Line 30: warning: exported const BatchSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 52: warning: exported function RegisterSwarmSyncerServer should have comment or be unexported (golint)
    • Line 84: warning: comment on exported method SwarmSyncerServer.SetNextBatch should be of the form "SetNextBatch ..." (golint)
    • Line 128: warning: comment on exported type SwarmSyncerClient should be of the form "SwarmSyncerClient ..." (with optional leading article) (golint)
    • Line 188: warning: comment on exported method SwarmSyncerClient.NeedData should be of the form "NeedData ..." (golint)
    • Line 193: warning: comment on exported method SwarmSyncerClient.BatchDone should be of the form "BatchDone ..." (golint)
    • Line 202: warning: exported method SwarmSyncerClient.Close should have comment or be unexported (golint)
    • simplechain/core/state/statedb.go
    • Line 54: warning: comment on exported type StateDB should be of the form "StateDB ..." (with optional leading article) (golint)
    • Line 91: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 109: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 115: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 121: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 139: warning: exported method StateDB.AddLog should have comment or be unexported (golint)
    • Line 139: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 150: warning: exported method StateDB.GetLogs should have comment or be unexported (golint)
    • Line 150: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 154: warning: exported method StateDB.Logs should have comment or be unexported (golint)
    • Line 154: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 163: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 173: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 178: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 185: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 195: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 201: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 206: warning: comment on exported method StateDB.GetBalance should be of the form "GetBalance ..." (golint)
    • Line 207: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 215: warning: exported method StateDB.GetNonce should have comment or be unexported (golint)
    • Line 215: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 224: warning: exported method StateDB.GetCode should have comment or be unexported (golint)
    • Line 224: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 232: warning: exported method StateDB.GetCodeSize should have comment or be unexported (golint)
    • Line 232: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 247: warning: exported method StateDB.GetCodeHash should have comment or be unexported (golint)
    • Line 247: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 256: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 265: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 271: warning: comment on exported method StateDB.GetStorageProof should be of the form "GetStorageProof ..." (golint)
    • Line 272: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 283: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 292: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 298: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 307: warning: exported method StateDB.HasSuicided should have comment or be unexported (golint)
    • Line 307: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 320: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 328: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 335: warning: exported method StateDB.SetBalance should have comment or be unexported (golint)
    • Line 335: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 342: warning: exported method StateDB.SetNonce should have comment or be unexported (golint)
    • Line 342: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 349: warning: exported method StateDB.SetCode should have comment or be unexported (golint)
    • Line 349: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 356: warning: exported method StateDB.SetState should have comment or be unexported (golint)
    • Line 356: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 368: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 389: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 399: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 406: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 432: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 436: warning: comment on exported method StateDB.GetOrNewStateObject should be of the form "GetOrNewStateObject ..." (golint)
    • Line 437: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 447: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 470: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 477: warning: exported method StateDB.ForEachStorage should have comment or be unexported (golint)
    • Line 495: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 543: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 551: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 567: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 573: warning: receiver name s should be consistent with previous receiver name db for StateDB (golint)
    • Line 601: warning: receiver name s should be consistent with previous receiver name db for StateDB (golint)
    • Line 608: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 614: warning: receiver name s should be consistent with previous receiver name db for StateDB (golint)
    • Line 621: warning: receiver name s should be consistent with previous receiver name db for StateDB (golint)
    • simplechain/signer/rules/rules.go
    • Line 35: warning: don't use underscores in Go names; var BigNumber_JS should be BigNumberJS (golint)
    • Line 35: warning: exported var BigNumber_JS should have comment or be unexported (golint)
    • Line 58: warning: exported function NewRuleEvaluator should have comment or be unexported (golint)
    • simplechain/les/protocol.go
    • Line 48: warning: comment on exported var ProtocolLengths should be of the form "ProtocolLengths ..." (golint)
    • Line 52: warning: exported const NetworkId should have comment (or a comment on this block) or be unexported (golint)
    • Line 87: warning: exported const ErrMsgTooLarge should have comment (or a comment on this block) or be unexported (golint)
    • simplechain/swarm/pss/handshake.go
    • Line 38: warning: exported const IsActiveHandshake should have comment (or a comment on this block) or be unexported (golint)
    • Line 77: warning: comment on exported type HandshakeParams should be of the form "HandshakeParams ..." (with optional leading article) (golint)
    • Line 94: warning: comment on exported function NewHandshakeParams should be of the form "NewHandshakeParams ..." (golint)
    • Line 104: warning: comment on exported type HandshakeController should be of the form "HandshakeController ..." (with optional leading article) (golint)
    • Line 119: warning: comment on exported function SetHandshakeController should be of the form "SetHandshakeController ..." (golint)
    • Line 434: warning: exported type HandshakeAPI should have comment or be unexported (golint)
    • Line 439: warning: comment on exported method HandshakeAPI.Handshake should be of the form "Handshake ..." (golint)
    • Line 485: warning: comment on exported method HandshakeAPI.AddHandshake should be of the form "AddHandshake ..." (golint)
    • Line 491: warning: comment on exported method HandshakeAPI.RemoveHandshake should be of the form "RemoveHandshake ..." (golint)
    • Line 499: warning: comment on exported method HandshakeAPI.GetHandshakeKeys should be of the form "GetHandshakeKeys ..." (golint)
    • Line 519: warning: comment on exported method HandshakeAPI.GetHandshakeKeyCapacity should be of the form "GetHandshakeKeyCapacity ..." (golint)
    • Line 529: warning: comment on exported method HandshakeAPI.GetHandshakePublicKey should be of the form "GetHandshakePublicKey ..." (golint)
    • Line 539: warning: comment on exported method HandshakeAPI.ReleaseHandshakeKey should be of the form "ReleaseHandshakeKey ..." (golint)
    • Line 552: warning: comment on exported method HandshakeAPI.SendSym should be of the form "SendSym ..." (golint)
    • simplechain/cmd/swarm/config.go
    • Line 42: warning: comment on exported var DumpConfigCommand should be of the form "DumpConfigCommand ..." (golint)
    • Line 53: warning: comment on exported var SwarmTomlConfigPathFlag should be of the form "SwarmTomlConfigPathFlag ..." (golint)
    • simplechain/core/state/managed_state.go
    • Line 31: warning: exported type ManagedState should have comment or be unexported (golint)
    • Line 39: warning: comment on exported function ManageState should be of the form "ManageState ..." (golint)
    • Line 95: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • simplechain/light/lightchain.go
    • Line 121: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 136: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 141: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 147: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 176: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 220: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 241: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 268: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 284: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 294: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 317: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 332: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 357: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 398: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 404: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 410: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 416: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 422: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 434: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 452: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 458: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 466: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 468: warning: exported method LightChain.SyncCht should have comment or be unexported (golint)
    • Line 468: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 501: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 506: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 511: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 516: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 521: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 527: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 533: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • simplechain/metrics/metrics.go
    • Line 1: warning: package comment should be of the form "Package metrics ..." (golint)
    • Line 26: warning: exported const DashboardEnabledFlag should have comment or be unexported (golint)
    • simplechain/swarm/api/config.go
    • Line 39: warning: exported const DefaultHTTPListenAddr should have comment (or a comment on this block) or be unexported (golint)
    • Line 43: warning: comment on exported type Config should be of the form "Config ..." (with optional leading article) (golint)
    • Line 78: warning: comment on exported function NewConfig should be of the form "NewConfig ..." (golint)
    • Line 106: warning: comment on exported method Config.Init should be of the form "Init ..." (golint)
    • Line 137: warning: exported method Config.ShiftPrivateKey should have comment or be unexported (golint)
    • simplechain/p2p/protocols/accounting_api.go
    • Line 7: warning: comment on exported const AccountingVersion should be of the form "AccountingVersion ..." (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 40: warning: comment on exported method AccountingApi.BalanceDebit should be of the form "BalanceDebit ..." (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 56: warning: comment on exported method AccountingApi.BytesDebit should be of the form "BytesDebit ..." (golint)
    • Line 57: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 65: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 73: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 81: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 89: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • simplechain/swarm/fuse/fuse_file.go
    • Line 35: warning: exported const MaxAppendFileSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 49: warning: exported type SwarmFile should have comment or be unexported (golint)
    • Line 61: warning: exported function NewSwarmFile should have comment or be unexported (golint)
    • Line 76: warning: exported method SwarmFile.Attr should have comment or be unexported (golint)
    • simplechain/internal/web3ext/web3ext.go
    • Line 17: warning: package comment should be of the form "Package web3ext ..." (golint)
    • Line 20: warning: exported var Modules should have comment or be unexported (golint)
    • Line 37: warning: don't use underscores in Go names; const Chequebook_JS should be ChequebookJS (golint)
    • Line 37: warning: exported const Chequebook_JS should have comment or be unexported (golint)
    • Line 68: warning: don't use underscores in Go names; const Clique_JS should be CliqueJS (golint)
    • Line 68: warning: exported const Clique_JS should have comment or be unexported (golint)
    • Line 114: warning: don't use underscores in Go names; const Scrypt_JS should be ScryptJS (golint)
    • Line 114: warning: exported const Scrypt_JS should have comment or be unexported (golint)
    • Line 142: warning: don't use underscores in Go names; const Admin_JS should be AdminJS (golint)
    • Line 142: warning: exported const Admin_JS should have comment or be unexported (golint)
    • Line 220: warning: don't use underscores in Go names; const Debug_JS should be DebugJS (golint)
    • Line 220: warning: exported const Debug_JS should have comment or be unexported (golint)
    • Line 451: warning: don't use underscores in Go names; const Eth_JS should be EthJS (golint)
    • Line 451: warning: exported const Eth_JS should have comment or be unexported (golint)
    • Line 521: warning: don't use underscores in Go names; const Miner_JS should be MinerJS (golint)
    • Line 521: warning: exported const Miner_JS should have comment or be unexported (golint)
    • Line 566: warning: don't use underscores in Go names; const Net_JS should be NetJS (golint)
    • Line 566: warning: exported const Net_JS should have comment or be unexported (golint)
    • Line 579: warning: don't use underscores in Go names; const Personal_JS should be PersonalJS (golint)
    • Line 579: warning: exported const Personal_JS should have comment or be unexported (golint)
    • Line 625: warning: exported const RPC_JS should have comment or be unexported (golint)
    • Line 638: warning: don't use underscores in Go names; const Shh_JS should be ShhJS (golint)
    • Line 638: warning: exported const Shh_JS should have comment or be unexported (golint)
    • Line 658: warning: exported const SWARMFS_JS should have comment or be unexported (golint)
    • Line 682: warning: don't use underscores in Go names; const TxPool_JS should be TxPoolJS (golint)
    • Line 682: warning: exported const TxPool_JS should have comment or be unexported (golint)
    • Line 709: warning: don't use underscores in Go names; const Accounting_JS should be AccountingJS (golint)
    • Line 709: warning: exported const Accounting_JS should have comment or be unexported (golint)
    • simplechain/p2p/peer_error.go
    • Line 57: warning: exported type DiscReason should have comment or be unexported (golint)
    • Line 60: warning: exported const DiscRequested should have comment (or a comment on this block) or be unexported (golint)
    • simplechain/metrics/gauge_float64.go
    • Line 5: warning: comment on exported type GaugeFloat64 should be of the form "GaugeFloat64 ..." (with optional leading article) (golint)
    • Line 41: warning: comment on exported function NewFunctionalGaugeFloat64 should be of the form "NewFunctionalGaugeFloat64 ..." (golint)
    • Line 49: warning: comment on exported function NewRegisteredFunctionalGaugeFloat64 should be of the form "NewRegisteredFunctionalGaugeFloat64 ..." (golint)
    • Line 73: warning: comment on exported type NilGaugeFloat64 should be of the form "NilGaugeFloat64 ..." (with optional leading article) (golint)
    • simplechain/metrics/resetting_timer.go
    • Line 10: warning: comment on exported const InitialResettingTimerSliceCap should be of the form "InitialResettingTimerSliceCap ..." (golint)
    • Line 120: warning: comment on exported method StandardResettingTimer.Time should be of the form "Time ..." (golint)
    • Line 127: warning: comment on exported method StandardResettingTimer.Update should be of the form "Update ..." (golint)
    • Line 134: warning: comment on exported method StandardResettingTimer.UpdateSince should be of the form "UpdateSince ..." (golint)
    • simplechain/rpc/types.go
    • Line 119: warning: exported type BlockNumber should have comment or be unexported (golint)
    • Line 122: warning: exported const PendingBlockNumber should have comment (or a comment on this block) or be unexported (golint)
    • Line 163: warning: exported method BlockNumber.Int64 should have comment or be unexported (golint)
    • simplechain/les/flowcontrol/control.go
    • Line 29: warning: exported type ServerParams should have comment or be unexported (golint)
    • Line 33: warning: exported type ClientNode should have comment or be unexported (golint)
    • Line 42: warning: exported function NewClientNode should have comment or be unexported (golint)
    • Line 53: warning: exported method ClientNode.Remove should have comment or be unexported (golint)
    • Line 69: warning: exported method ClientNode.AcceptRequest should have comment or be unexported (golint)
    • Line 78: warning: exported method ClientNode.RequestProcessed should have comment or be unexported (golint)
    • Line 95: warning: exported type ServerNode should have comment or be unexported (golint)
    • Line 104: warning: exported function NewServerNode should have comment or be unexported (golint)
    • simplechain/internal/debug/flags.go
    • Line 23: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 36: warning: exported var Memsize should have comment or be unexported (golint)
    • Line 156: warning: exported function StartPProf should have comment or be unexported (golint)
    • simplechain/metrics/librato/client.go
    • Line 11: warning: exported const Operations should have comment or be unexported (golint)
    • Line 12: warning: exported const OperationsShort should have comment or be unexported (golint)
    • Line 14: warning: exported type LibratoClient should have comment or be unexported (golint)
    • Line 58: warning: exported type Measurement should have comment or be unexported (golint)
    • Line 59: warning: exported type Metric should have comment or be unexported (golint)
    • Line 61: warning: exported type Batch should have comment or be unexported (golint)
    • Line 68: warning: exported method LibratoClient.PostMetrics should have comment or be unexported (golint)
    • simplechain/les/server.go
    • Line 41: warning: exported type LesServer should have comment or be unexported (golint)
    • Line 52: warning: exported function NewLesServer should have comment or be unexported (golint)
    • Line 110: warning: exported method LesServer.Protocols should have comment or be unexported (golint)
    • Line 133: warning: exported method LesServer.SetBloomBitsIndexer should have comment or be unexported (golint)
    • Line 155: warning: exported type RequestCostList should have comment or be unexported (golint)
    • simplechain/accounts/keystore/key.go
    • Line 42: warning: exported type Key should have comment or be unexported (golint)
    • Line 81: warning: exported type CryptoJSON should have comment or be unexported (golint)
    • Line 94: warning: exported method Key.MarshalJSON should have comment or be unexported (golint)
    • Line 105: warning: exported method Key.UnmarshalJSON should have comment or be unexported (golint)
    • simplechain/ethdb/memory_database.go
    • Line 26: warning: comment on exported type MemDatabase should be of the form "MemDatabase ..." (with optional leading article) (golint)
    • Line 34: warning: exported function NewMemDatabase should have comment or be unexported (golint)
    • Line 40: warning: exported function NewMemDatabaseWithCap should have comment or be unexported (golint)
    • Line 46: warning: exported method MemDatabase.Put should have comment or be unexported (golint)
    • Line 54: warning: exported method MemDatabase.Has should have comment or be unexported (golint)
    • Line 62: warning: exported method MemDatabase.Get should have comment or be unexported (golint)
    • Line 72: warning: exported method MemDatabase.Keys should have comment or be unexported (golint)
    • Line 83: warning: exported method MemDatabase.Delete should have comment or be unexported (golint)
    • Line 91: warning: exported method MemDatabase.Close should have comment or be unexported (golint)
    • Line 93: warning: exported method MemDatabase.NewBatch should have comment or be unexported (golint)
    • Line 97: warning: exported method MemDatabase.Len should have comment or be unexported (golint)
    • simplechain/contracts/chequebook/api.go
    • Line 26: warning: exported const Version should have comment or be unexported (golint)
    • Line 30: warning: exported type API should have comment or be unexported (golint)
    • Line 34: warning: exported function NewAPI should have comment or be unexported (golint)
    • Line 38: warning: exported method API.Balance should have comment or be unexported (golint)
    • Line 46: warning: exported method API.Issue should have comment or be unexported (golint)
    • Line 54: warning: exported method API.Cash should have comment or be unexported (golint)
    • Line 62: warning: exported method API.Deposit should have comment or be unexported (golint)
    • simplechain/internal/jsre/jsre.go
    • Line 35: warning: don't use underscores in Go names; var BigNumber_JS should be BigNumberJS (golint)
    • Line 35: warning: exported var BigNumber_JS should have comment or be unexported (golint)
    • Line 36: warning: don't use underscores in Go names; var Web3_JS should be Web3JS (golint)
    • Line 69: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 233: warning: comment on exported method JSRE.Stop should be of the form "Stop ..." (golint)
    • Line 242: warning: comment on exported method JSRE.Exec should be of the form "Exec ..." (golint)
    • simplechain/eth/protocol.go
    • Line 46: warning: exported const ProtocolMaxMsgSize should have comment or be unexported (golint)
    • Line 70: warning: exported const ErrMsgTooLarge should have comment (or a comment on this block) or be unexported (golint)
    • simplechain/p2p/metrics.go
    • Line 36: warning: exported const MetricsInboundConnects should have comment (or a comment on this block) or be unexported (golint)
    • Line 50: warning: exported var PeerIngressRegistry should have comment or be unexported (golint)
    • simplechain/swarm/pss/api.go
    • Line 31: warning: comment on exported type APIMsg should be of the form "APIMsg ..." (with optional leading article) (golint)
    • Line 39: warning: comment on exported type API should be of the form "API ..." (with optional leading article) (golint)
    • Line 44: warning: exported function NewAPI should have comment or be unexported (golint)
    • Line 48: warning: comment on exported method API.Receive should be of the form "Receive ..." (golint)
    • Line 94: warning: exported method API.GetAddress should have comment or be unexported (golint)
    • Line 113: warning: comment on exported method API.BaseAddr should be of the form "BaseAddr ..." (golint)
    • Line 118: warning: comment on exported method API.GetPublicKey should be of the form "GetPublicKey ..." (golint)
    • Line 125: warning: comment on exported method API.SetPeerPublicKey should be of the form "SetPeerPublicKey ..." (golint)
    • Line 138: warning: exported method API.GetSymmetricKey should have comment or be unexported (golint)
    • Line 143: warning: exported method API.GetSymmetricAddressHint should have comment or be unexported (golint)
    • Line 147: warning: exported method API.GetAsymmetricAddressHint should have comment or be unexported (golint)
    • Line 151: warning: exported method API.StringToTopic should have comment or be unexported (golint)
    • Line 159: warning: exported method API.SendAsym should have comment or be unexported (golint)
    • Line 166: warning: exported method API.SendSym should have comment or be unexported (golint)
    • Line 173: warning: exported method API.SendRaw should have comment or be unexported (golint)
    • Line 180: warning: exported method API.GetPeerTopics should have comment or be unexported (golint)
    • Line 186: warning: exported method API.GetPeerAddress should have comment or be unexported (golint)
    • simplechain/p2p/simulations/mocker.go
    • Line 39: warning: comment on exported function LookupMocker should be of the form "LookupMocker ..." (golint)
    • Line 44: warning: comment on exported function GetMockerList should be of the form "GetMockerList ..." (golint)
    • simplechain/cmd/clef/main.go
    • Line 616: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 617: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 618: warning: should not use basic type string as key in context.WithValue (golint)
    • simplechain/swarm/network/stream/streamer_test.go
    • Line 98: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 114: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 119: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 137: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 141: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 145: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • simplechain/internal/build/archive.go
    • Line 30: warning: exported type Archive should have comment or be unexported (golint)
    • Line 44: warning: exported function NewArchive should have comment or be unexported (golint)
    • Line 107: warning: exported type ZipArchive should have comment or be unexported (golint)
    • Line 113: warning: exported function NewZipArchive should have comment or be unexported (golint)
    • Line 117: warning: exported method ZipArchive.Directory should have comment or be unexported (golint)
    • Line 122: warning: exported method ZipArchive.Header should have comment or be unexported (golint)
    • Line 136: warning: exported method ZipArchive.Close should have comment or be unexported (golint)
    • Line 143: warning: exported type TarballArchive should have comment or be unexported (golint)
    • Line 150: warning: exported function NewTarballArchive should have comment or be unexported (golint)
    • Line 156: warning: exported method TarballArchive.Directory should have comment or be unexported (golint)
    • Line 165: warning: exported method TarballArchive.Header should have comment or be unexported (golint)
    • Line 177: warning: exported method TarballArchive.Close should have comment or be unexported (golint)
    • simplechain/p2p/enr/enr.go
    • Line 46: warning: exported const SizeLimit should have comment or be unexported (golint)
    • Line 49: warning: exported var ErrInvalidSig should have comment or be unexported (golint)
    • Line 68: warning: exported method SchemeMap.Verify should have comment or be unexported (golint)
    • Line 76: warning: exported method SchemeMap.NodeAddr should have comment or be unexported (golint)
    • simplechain/p2p/protocols/accounting.go
    • Line 53: warning: exported type Payer should have comment or be unexported (golint)
    • Line 56: warning: exported const Sender should have comment (or a comment on this block) or be unexported (golint)
    • Line 103: warning: exported function NewAccounting should have comment or be unexported (golint)
    • simplechain/swarm/network/bitvector/bitvector.go
    • Line 25: warning: exported type BitVector should have comment or be unexported (golint)
    • Line 30: warning: exported function New should have comment or be unexported (golint)
    • Line 34: warning: exported function NewFromBytes should have comment or be unexported (golint)
    • Line 47: warning: exported method BitVector.Get should have comment or be unexported (golint)
    • Line 52: warning: exported method BitVector.Set should have comment or be unexported (golint)
    • Line 60: warning: exported method BitVector.Bytes should have comment or be unexported (golint)
    • simplechain/swarm/sctx/sctx.go
    • Line 6: warning: exported type HTTPRequestIDKey should have comment or be unexported (golint)
    • Line 10: warning: exported function SetHost should have comment or be unexported (golint)
    • Line 14: warning: exported function GetHost should have comment or be unexported (golint)
    • simplechain/ethdb/database.go
    • Line 42: warning: exported var OpenFileLimit should have comment or be unexported (golint)
    • Line 44: warning: exported type LDBDatabase should have comment or be unexported (golint)
    • Line 106: warning: exported method LDBDatabase.Has should have comment or be unexported (golint)
    • Line 124: warning: exported method LDBDatabase.NewIterator should have comment or be unexported (golint)
    • Line 133: warning: exported method LDBDatabase.Close should have comment or be unexported (golint)
    • Line 154: warning: exported method LDBDatabase.LDB should have comment or be unexported (golint)
    • Line 351: warning: exported method LDBDatabase.NewBatch should have comment or be unexported (golint)
    • simplechain/light/txpool_test.go
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • simplechain/swarm/api/http/sctx.go
    • Line 12: warning: exported function GetRUID should have comment or be unexported (golint)
    • Line 20: warning: exported function SetRUID should have comment or be unexported (golint)
    • Line 24: warning: exported function GetURI should have comment or be unexported (golint)
    • Line 32: warning: exported function SetURI should have comment or be unexported (golint)
    • simplechain/core/types/block.go
    • Line 36: warning: exported var EmptyRootHash should have comment or be unexported (golint)
    • Line 152: warning: comment on exported type StorageBlock should be of the form "StorageBlock ..." (with optional leading article) (golint)
    • Line 258: warning: comment on exported method StorageBlock.DecodeRLP should be of the form "DecodeRLP ..." (golint)
    • Line 270: warning: exported method Block.Uncles should have comment or be unexported (golint)
    • Line 271: warning: exported method Block.Transactions should have comment or be unexported (golint)
    • Line 273: warning: exported method Block.Transaction should have comment or be unexported (golint)
    • Line 282: warning: exported method Block.Number should have comment or be unexported (golint)
    • Line 283: warning: exported method Block.GasLimit should have comment or be unexported (golint)
    • Line 284: warning: exported method Block.GasUsed should have comment or be unexported (golint)
    • Line 285: warning: exported method Block.Difficulty should have comment or be unexported (golint)
    • Line 286: warning: exported method Block.Time should have comment or be unexported (golint)
    • Line 288: warning: exported method Block.NumberU64 should have comment or be unexported (golint)
    • Line 289: warning: exported method Block.MixDigest should have comment or be unexported (golint)
    • Line 290: warning: exported method Block.Nonce should have comment or be unexported (golint)
    • Line 291: warning: exported method Block.Bloom should have comment or be unexported (golint)
    • Line 292: warning: exported method Block.Coinbase should have comment or be unexported (golint)
    • Line 293: warning: exported method Block.Root should have comment or be unexported (golint)
    • Line 294: warning: exported method Block.ParentHash should have comment or be unexported (golint)
    • Line 295: warning: exported method Block.TxHash should have comment or be unexported (golint)
    • Line 296: warning: exported method Block.ReceiptHash should have comment or be unexported (golint)
    • Line 297: warning: exported method Block.UncleHash should have comment or be unexported (golint)
    • Line 298: warning: exported method Block.Extra should have comment or be unexported (golint)
    • Line 300: warning: exported method Block.Header should have comment or be unexported (golint)
    • Line 324: warning: exported function CalcUncleHash should have comment or be unexported (golint)
    • Line 365: warning: exported type Blocks should have comment or be unexported (golint)
    • Line 367: warning: exported type BlockBy should have comment or be unexported (golint)
    • Line 369: warning: exported method BlockBy.Sort should have comment or be unexported (golint)
    • Line 369: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 382: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 383: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 386: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 388: warning: exported function Number should have comment or be unexported (golint)
    • simplechain/rlp/decode.go
    • Line 34: warning: error var EOL should have name of the form ErrFoo (golint)
    • Line 36: warning: comment on exported var ErrExpectedString should be of the form "ErrExpectedString ..." (golint)
    • Line 38: warning: exported var ErrExpectedList should have comment or be unexported (golint)
    • Line 556: warning: exported const Byte should have comment (or a comment on this block) or be unexported (golint)
    • simplechain/swarm/api/http/server.go
    • Line 17: warning: package comment should be of the form "Package http ..." (golint)
    • Line 74: warning: exported function NewServer should have comment or be unexported (golint)
    • Line 163: warning: exported method Server.ListenAndServe should have comment or be unexported (golint)
    • Line 168: warning: comment on exported type Server should be of the form "Server ..." (with optional leading article) (golint)
    • Line 178: warning: exported method Server.HandleBzzGet should have comment or be unexported (golint)
    • Line 211: warning: exported method Server.HandleRootPaths should have comment or be unexported (golint)
    • Line 451: warning: comment on exported method Server.HandlePostFeed should be of the form "HandlePostFeed ..." (golint)
    • simplechain/swarm/api/api.go
    • Line 240: warning: comment on exported method API.ResolveURI should be of the form "ResolveURI ..." (golint)
    • Line 427: warning: exported method API.Delete should have comment or be unexported (golint)
    • Line 588: warning: exported method API.UpdateManifest should have comment or be unexported (golint)
    • Line 687: warning: exported method API.UploadTar should have comment or be unexported (golint)
    • simplechain/swarm/storage/chunker.go
    • Line 1: warning: package comment should be of the form "Package storage ..." (golint)
    • Line 68: warning: exported type ChunkerParams should have comment or be unexported (golint)
    • Line 73: warning: exported type SplitterParams should have comment or be unexported (golint)
    • Line 80: warning: exported type TreeSplitterParams should have comment or be unexported (golint)
    • Line 85: warning: exported type JoinerParams should have comment or be unexported (golint)
    • Line 94: warning: exported type TreeChunker should have comment or be unexported (golint)
    • Line 115: warning: comment on exported function TreeJoin should be of the form "TreeJoin ..." (golint)
    • Line 142: warning: comment on exported function TreeSplit should be of the form "TreeSplit ..." (golint)
    • Line 161: warning: exported function NewTreeJoiner should have comment or be unexported (golint)
    • Line 180: warning: exported function NewTreeSplitter should have comment or be unexported (golint)
    • Line 223: warning: exported method TreeChunker.Split should have comment or be unexported (golint)
    • Line 376: warning: exported method TreeChunker.Join should have comment or be unexported (golint)
    • Line 388: warning: exported method LazyChunkReader.Context should have comment or be unexported (golint)
    • Line 421: warning: comment on exported method LazyChunkReader.ReadAt should be of the form "ReadAt ..." (golint)
    • Line 583: warning: exported method LazyChunkReader.Seek should have comment or be unexported (golint)
    • simplechain/core/types/bloom9.go
    • Line 71: warning: exported method Bloom.Bytes should have comment or be unexported (golint)
    • Line 75: warning: exported method Bloom.Test should have comment or be unexported (golint)
    • Line 79: warning: exported method Bloom.TestBytes should have comment or be unexported (golint)
    • Line 94: warning: exported function CreateBloom should have comment or be unexported (golint)
    • Line 103: warning: exported function LogsBloom should have comment or be unexported (golint)
    • Line 129: warning: exported var Bloom9 should have comment or be unexported (golint)
    • Line 131: warning: exported function BloomLookup should have comment or be unexported (golint)
    • simplechain/consensus/scrypt/scrypt.go
    • Line 35: warning: comment on exported var ScryptMode should be of the form "ScryptMode ..." (golint)
    • Line 43: warning: exported const ModeNormal should have comment (or a comment on this block) or be unexported (golint)
    • Line 112: warning: comment on exported function NewScrypt should be of the form "NewScrypt ..." (golint)
    • simplechain/swarm/swarm.go
    • Line 66: warning: comment on exported type Swarm should be of the form "Swarm ..." (with optional leading article) (golint)
    • Line 422: warning: comment on exported method Swarm.Stop should be of the form "Stop ..." (golint)
    • Line 481: warning: comment on exported method Swarm.APIs should be of the form "APIs ..." (golint)
    • Line 544: warning: comment on exported type Info should be of the form "Info ..." (with optional leading article) (golint)
    • Line 550: warning: exported method Info.Info should have comment or be unexported (golint)
    • simplechain/swarm/api/http/roundtripper.go
    • Line 49: warning: exported type RoundTripper should have comment or be unexported (golint)
    • Line 54: warning: exported method RoundTripper.RoundTrip should have comment or be unexported (golint)
    • Line 54: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • simplechain/accounts/abi/bind/backend.go
    • Line 35: warning: comment on exported var ErrNoPendingState should be of the form "ErrNoPendingState ..." (golint)
    • Line 39: warning: comment on exported var ErrNoCodeAfterDeploy should be of the form "ErrNoCodeAfterDeploy ..." (golint)
    • simplechain/core/state/dump.go
    • Line 28: warning: exported type DumpAccount should have comment or be unexported (golint)
    • Line 37: warning: exported type Dump should have comment or be unexported (golint)
    • Line 42: warning: exported method StateDB.RawDump should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 74: warning: exported method StateDB.Dump should have comment or be unexported (golint)
    • Line 74: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • simplechain/internal/ethapi/api.go
    • Line 511: warning: comment on exported type AccountResult should be of the form "AccountResult ..." (with optional leading article) (golint)
    • Line 521: warning: exported type StorageResult should have comment or be unexported (golint)
    • Line 837: warning: comment on exported function FormatLogs should be of the form "FormatLogs ..." (golint)
    • Line 1534: warning: exported method PrivateDebugAPI.ChaindbCompact should have comment or be unexported (golint)
    • simplechain/swarm/pss/protocol.go
    • Line 34: warning: exported const IsActiveProtocol should have comment (or a comment on this block) or be unexported (golint)
    • Line 37: warning: comment on exported type ProtocolMsg should be of the form "ProtocolMsg ..." (with optional leading article) (golint)
    • Line 45: warning: comment on exported function NewProtocolMsg should be of the form "NewProtocolMsg ..." (golint)
    • Line 63: warning: comment on exported type ProtocolParams should be of the form "ProtocolParams ..." (with optional leading article) (golint)
    • Line 85: warning: comment on exported method PssReadWriter.ReadMsg should be of the form "ReadMsg ..." (golint)
    • Line 92: warning: comment on exported method PssReadWriter.WriteMsg should be of the form "WriteMsg ..." (golint)
    • Line 118: warning: comment on exported type Protocol should be of the form "Protocol ..." (with optional leading article) (golint)
    • Line 131: warning: comment on exported function RegisterProtocol should be of the form "RegisterProtocol ..." (golint)
    • Line 154: warning: comment on exported method Protocol.Handle should be of the form "Handle ..." (golint)
    • Line 210: warning: comment on exported function ToP2pMsg should be of the form "ToP2pMsg ..." (golint)
    • Line 225: warning: comment on exported method Protocol.AddPeer should be of the form "AddPeer ..." (golint)
    • Line 265: warning: exported method Protocol.RemovePeer should have comment or be unexported (golint)
    • Line 280: warning: comment on exported function ProtocolTopic should be of the form "ProtocolTopic ..." (golint)
    • simplechain/swarm/network/stream/messages.go
    • Line 45: warning: exported function NewStream should have comment or be unexported (golint)
    • Line 62: warning: comment on exported type SubscribeMsg should be of the form "SubscribeMsg ..." (with optional leading article) (golint)
    • Line 156: warning: exported type SubscribeErrorMsg should have comment or be unexported (golint)
    • Line 165: warning: exported type UnsubscribeMsg should have comment or be unexported (golint)
    • Line 173: warning: exported type QuitMsg should have comment or be unexported (golint)
    • Line 226: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 386: warning: comment on exported type TakeoverProof should be of the form "TakeoverProof ..." (with optional leading article) (golint)
    • simplechain/core/types/transaction_signing.go
    • Line 31: warning: exported var ErrInvalidChainId should have comment or be unexported (golint)
    • Line 105: warning: comment on exported type EIP155Signer should be of the form "EIP155Signer ..." (with optional leading article) (golint)
    • Line 110: warning: exported function NewEIP155Signer should have comment or be unexported (golint)
    • Line 120: warning: exported method EIP155Signer.Equal should have comment or be unexported (golint)
    • Line 127: warning: exported method EIP155Signer.Sender should have comment or be unexported (golint)
    • Line 167: warning: comment on exported type HomesteadSigner should be of the form "HomesteadSigner ..." (with optional leading article) (golint)
    • Line 171: warning: exported method HomesteadSigner.Equal should have comment or be unexported (golint)
    • Line 178: warning: receiver name hs should be consistent with previous receiver name s for HomesteadSigner (golint)
    • Line 182: warning: exported method HomesteadSigner.Sender should have comment or be unexported (golint)
    • Line 182: warning: receiver name hs should be consistent with previous receiver name s for HomesteadSigner (golint)
    • Line 186: warning: exported type FrontierSigner should have comment or be unexported (golint)
    • Line 188: warning: exported method FrontierSigner.Equal should have comment or be unexported (golint)
    • Line 195: warning: receiver name fs should be consistent with previous receiver name s for FrontierSigner (golint)
    • Line 207: warning: receiver name fs should be consistent with previous receiver name s for FrontierSigner (golint)
    • Line 218: warning: exported method FrontierSigner.Sender should have comment or be unexported (golint)
    • Line 218: warning: receiver name fs should be consistent with previous receiver name s for FrontierSigner (golint)
    • simplechain/swarm/fuse/fuse_dir.go
    • Line 41: warning: exported type SwarmDir should have comment or be unexported (golint)
    • Line 52: warning: exported function NewSwarmDir should have comment or be unexported (golint)
    • Line 66: warning: exported method SwarmDir.Attr should have comment or be unexported (golint)
    • Line 76: warning: exported method SwarmDir.Lookup should have comment or be unexported (golint)
    • Line 91: warning: exported method SwarmDir.ReadDirAll should have comment or be unexported (golint)
    • Line 103: warning: exported method SwarmDir.Create should have comment or be unexported (golint)
    • Line 116: warning: exported method SwarmDir.Remove should have comment or be unexported (golint)
    • Line 153: warning: exported method SwarmDir.Mkdir should have comment or be unexported (golint)
    • simplechain/swarm/api/manifest.go
    • Line 38: warning: exported const ManifestType should have comment (or a comment on this block) or be unexported (golint)
    • Line 83: warning: comment on exported method API.NewFeedManifest should be of the form "NewFeedManifest ..." (golint)
    • Line 111: warning: exported method API.NewManifestWriter should have comment or be unexported (golint)
    • Line 160: warning: exported method API.NewManifestWalker should have comment or be unexported (golint)
    • Line 565: warning: comment on exported function RegularSlashes should be of the form "RegularSlashes ..." (golint)
    • simplechain/metrics/meter.go
    • Line 8: warning: comment on exported type Meter should be of the form "Meter ..." (with optional leading article) (golint)
    • Line 152: warning: comment on exported method NilMeter.Rate15 should be of the form "Rate15 ..." (golint)
    • simplechain/p2p/simulations/http.go
    • Line 367: warning: comment on exported method Server.GetMockers should be of the form "GetMockers ..." (golint)
    • Line 723: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 738: warning: should not use basic type string as key in context.WithValue (golint)
    • simplechain/p2p/peer.go
    • Line 37: warning: exported var ErrShuttingDown should have comment or be unexported (golint)
    • Line 193: warning: exported method Peer.Log should have comment or be unexported (golint)
    • simplechain/p2p/testing/peerpool.go
    • Line 27: warning: exported type TestPeer should have comment or be unexported (golint)
    • Line 38: warning: exported function NewTestPeerPool should have comment or be unexported (golint)
    • Line 42: warning: exported method TestPeerPool.Add should have comment or be unexported (golint)
    • Line 50: warning: exported method TestPeerPool.Remove should have comment or be unexported (golint)
    • Line 56: warning: exported method TestPeerPool.Has should have comment or be unexported (golint)
    • Line 63: warning: exported method TestPeerPool.Get should have comment or be unexported (golint)
    • simplechain/p2p/discv5/node.go
    • Line 271: warning: comment on exported method NodeID.GoString should be of the form "GoString ..." (golint)
    • Line 329: warning: receiver name id should be consistent with previous receiver name n for NodeID (golint)
    • simplechain/p2p/enode/idscheme.go
    • Line 31: warning: comment on exported var ValidSchemes should be of the form "ValidSchemes ..." (golint)
    • Line 36: warning: exported var ValidSchemesForTesting should have comment or be unexported (golint)
    • Line 41: warning: comment on exported type V4ID should be of the form "V4ID ..." (with optional leading article) (golint)
    • Line 64: warning: exported method V4ID.Verify should have comment or be unexported (golint)
    • Line 80: warning: exported method V4ID.NodeAddr should have comment or be unexported (golint)
    • Line 95: warning: exported method Secp256k1.ENRKey should have comment or be unexported (golint)
    • Line 143: warning: exported method NullID.Verify should have comment or be unexported (golint)
    • Line 147: warning: exported method NullID.NodeAddr should have comment or be unexported (golint)
    • Line 153: warning: exported function SignNull should have comment or be unexported (golint)
    • simplechain/swarm/network/protocol.go
    • Line 37: warning: exported const DefaultNetworkID should have comment (or a comment on this block) or be unexported (golint)
    • Line 255: warning: exported function NewBzzPeer should have comment or be unexported (golint)
    • Line 267: warning: comment on exported type HandshakeMsg should be of the form "HandshakeMsg ..." (with optional leading article) (golint)
    • Line 313: warning: comment on exported method Bzz.GetOrCreateHandshake should be of the form "GetOrCreateHandshake ..." (golint)
    • simplechain/swarm/storage/netstore.go
    • Line 33: warning: exported type NewNetFetcherFunc should have comment or be unexported (golint)
    • Line 36: warning: exported type NetFetcher should have comment or be unexported (golint)
    • Line 106: warning: exported method NetStore.BinIndex should have comment or be unexported (golint)
    • Line 110: warning: exported method NetStore.Iterator should have comment or be unexported (golint)
    • simplechain/metrics/librato/librato.go
    • Line 24: warning: exported type Reporter should have comment or be unexported (golint)
    • Line 35: warning: exported function NewReporter should have comment or be unexported (golint)
    • Line 39: warning: exported function Librato should have comment or be unexported (golint)
    • Line 43: warning: exported method Reporter.Run should have comment or be unexported (golint)
    • Line 82: warning: exported method Reporter.BuildRequest should have comment or be unexported (golint)
    • simplechain/light/trie.go
    • Line 32: warning: exported function NewState should have comment or be unexported (golint)
    • Line 37: warning: exported function NewStateDatabase should have comment or be unexported (golint)
    • simplechain/swarm/pss/notify/notify.go
    • Line 17: warning: comment on exported const MsgCodeStart should be of the form "MsgCodeStart ..." (golint)
    • Line 20: warning: comment on exported const MsgCodeNotifyWithKey should be of the form "MsgCodeNotifyWithKey ..." (golint)
    • Line 23: warning: comment on exported const MsgCodeNotify should be of the form "MsgCodeNotify ..." (golint)
    • Line 26: warning: comment on exported const MsgCodeStop should be of the form "MsgCodeStop ..." (golint)
    • Line 28: warning: exported const MsgCodeMax should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: exported const DefaultAddressLength should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: comment on exported type Msg should be of the form "Msg ..." (with optional leading article) (golint)
    • Line 159: warning: comment on exported method Controller.Unsubscribe should be of the form "Unsubscribe ..." (golint)
    • simplechain/swarm/api/storage.go
    • Line 26: warning: exported type Response should have comment or be unexported (golint)
    • Line 34: warning: comment on exported type Storage should be of the form "Storage ..." (with optional leading article) (golint)
    • Line 41: warning: exported function NewStorage should have comment or be unexported (golint)
    • simplechain/consensus/scrypt/consensus.go
    • Line 325: warning: don't use underscores in Go names; var y_uncle should be yUncle (golint)
    • Line 474: warning: exported function CalculateFixedRewards should have comment or be unexported (golint)
    • Line 486: warning: exported function CalculateFoundationRewards should have comment or be unexported (golint)
    • simplechain/p2p/discv5/net.go
    • Line 284: warning: exported method Network.RegisterTopic should have comment or be unexported (golint)
    • Line 300: warning: exported method Network.SearchTopic should have comment or be unexported (golint)
    • simplechain/swarm/fuse/swarmfs.go
    • Line 27: warning: don't use underscores in Go names; const Swarmfs_Version should be SwarmfsVersion (golint)
    • Line 27: warning: exported const Swarmfs_Version should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: exported type SwarmFS should have comment or be unexported (golint)
    • Line 47: warning: exported function NewSwarmFS should have comment or be unexported (golint)
    • Line 59: warning: comment on exported function NewInode should be of the form "NewInode ..." (golint)
    • simplechain/swarm/storage/ldbstore.go
    • Line 70: warning: exported var ErrDBClosed should have comment or be unexported (golint)
    • Line 73: warning: exported type LDBStoreParams should have comment or be unexported (golint)
    • Line 98: warning: exported type LDBStore should have comment or be unexported (golint)
    • Line 138: warning: comment on exported function NewLDBStore should be of the form "NewLDBStore ..." (golint)
    • Line 238: warning: exported function BytesToU64 should have comment or be unexported (golint)
    • Line 245: warning: exported function U64ToBytes should have comment or be unexported (golint)
    • Line 429: warning: comment on exported method LDBStore.Import should be of the form "Import ..." (golint)
    • Line 768: warning: exported method LDBStore.BinIndex should have comment or be unexported (golint)
    • Line 1011: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 1043: warning: exported method LDBStore.Close should have comment or be unexported (golint)
    • Line 1053: warning: comment on exported method LDBStore.SyncIterator should be of the form "SyncIterator ..." (golint)
    • simplechain/signer/core/auditlog.go
    • Line 31: warning: exported type AuditLogger should have comment or be unexported (golint)
    • Line 36: warning: exported method AuditLogger.List should have comment or be unexported (golint)
    • Line 44: warning: exported method AuditLogger.New should have comment or be unexported (golint)
    • Line 48: warning: exported method AuditLogger.SignTransaction should have comment or be unexported (golint)
    • Line 66: warning: exported method AuditLogger.Sign should have comment or be unexported (golint)
    • Line 74: warning: exported method AuditLogger.Export should have comment or be unexported (golint)
    • Line 92: warning: exported function NewAuditLogger should have comment or be unexported (golint)
    • simplechain/crypto/crypto.go
    • Line 142: warning: exported function FromECDSAPub should have comment or be unexported (golint)
    • Line 184: warning: exported function GenerateKey should have comment or be unexported (golint)
    • Line 203: warning: exported function PubkeyToAddress should have comment or be unexported (golint)
    • simplechain/p2p/message.go
    • Line 69: warning: exported type MsgReader should have comment or be unexported (golint)
    • Line 73: warning: exported type MsgWriter should have comment or be unexported (golint)
    • simplechain/cmd/utils/customflags.go
    • Line 34: warning: comment on exported type DirectoryString should be of the form "DirectoryString ..." (with optional leading article) (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 45: warning: exported method DirectoryString.Set should have comment or be unexported (golint)
    • Line 45: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 50: warning: comment on exported type DirectoryFlag should be of the form "DirectoryFlag ..." (with optional leading article) (golint)
    • Line 58: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 74: warning: comment on exported method DirectoryFlag.Apply should be of the form "Apply ..." (golint)
    • Line 76: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 82: warning: exported type TextMarshaler should have comment or be unexported (golint)
    • Line 111: warning: exported method TextMarshalerFlag.GetName should have comment or be unexported (golint)
    • Line 119: warning: exported method TextMarshalerFlag.Apply should have comment or be unexported (golint)
    • Line 161: warning: exported method BigFlag.GetName should have comment or be unexported (golint)
    • Line 173: warning: exported method BigFlag.Apply should have comment or be unexported (golint)
    • Line 210: warning: exported method DirectoryFlag.GetName should have comment or be unexported (golint)
    • Line 210: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 214: warning: exported method DirectoryFlag.Set should have comment or be unexported (golint)
    • Line 214: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • simplechain/signer/storage/storage.go
    • Line 24: warning: exported type Storage should have comment or be unexported (golint)
    • Line 38: warning: exported method EphemeralStorage.Put should have comment or be unexported (golint)
    • Line 46: warning: exported method EphemeralStorage.Get should have comment or be unexported (golint)
    • Line 57: warning: exported function NewEphemeralStorage should have comment or be unexported (golint)
    • simplechain/whisper/whisperv5/envelope.go
    • Line 85: warning: exported method Envelope.IsSymmetric should have comment or be unexported (golint)
    • Line 93: warning: exported method Envelope.Ver should have comment or be unexported (golint)
    • Line 138: warning: exported method Envelope.PoW should have comment or be unexported (golint)
    • simplechain/p2p/simulations/test.go
    • Line 18: warning: exported function NewNoopService should have comment or be unexported (golint)
    • Line 24: warning: exported method NoopService.Protocols should have comment or be unexported (golint)
    • Line 49: warning: exported method NoopService.APIs should have comment or be unexported (golint)
    • Line 53: warning: exported method NoopService.Start should have comment or be unexported (golint)
    • Line 57: warning: exported method NoopService.Stop should have comment or be unexported (golint)
    • Line 61: warning: exported function VerifyRing should have comment or be unexported (golint)
    • Line 80: warning: exported function VerifyChain should have comment or be unexported (golint)
    • Line 99: warning: exported function VerifyFull should have comment or be unexported (golint)
    • Line 117: warning: exported function VerifyStar should have comment or be unexported (golint)
    • simplechain/rpc/http.go
    • Line 242: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 243: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 244: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 246: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 249: warning: should not use basic type string as key in context.WithValue (golint)
    • simplechain/swarm/network/stream/delivery.go
    • Line 47: warning: exported type Delivery should have comment or be unexported (golint)
    • Line 53: warning: exported function NewDelivery should have comment or be unexported (golint)
    • Line 104: warning: comment on exported method SwarmChunkServer.SetNextBatch should be of the form "SetNextBatch ..." (golint)
    • Line 156: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 157: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 194: warning: comment on exported type ChunkDeliveryMsg should be of the form "ChunkDeliveryMsg ..." (with optional leading article) (golint)
    • Line 204: warning: comment on exported type ChunkDeliveryMsgRetrieval should be of the form "ChunkDeliveryMsgRetrieval ..." (with optional leading article) (golint)
    • Line 207: warning: comment on exported type ChunkDeliveryMsgSyncing should be of the form "ChunkDeliveryMsgSyncing ..." (with optional leading article) (golint)
    • simplechain/swarm/storage/memstore.go
    • Line 27: warning: exported type MemStore should have comment or be unexported (golint)
    • Line 56: warning: exported method MemStore.Get should have comment or be unexported (golint)
    • Line 68: warning: exported method MemStore.Put should have comment or be unexported (golint)
    • Line 92: warning: exported method MemStore.Close should have comment or be unexported (golint)
    • Line 92: warning: receiver name s should be consistent with previous receiver name m for MemStore (golint)
    • simplechain/eth/downloader/modes.go
    • Line 25: warning: exported const FullSync should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: exported method SyncMode.IsValid should have comment or be unexported (golint)
    • Line 48: warning: exported method SyncMode.MarshalText should have comment or be unexported (golint)
    • Line 61: warning: exported method SyncMode.UnmarshalText should have comment or be unexported (golint)
    • simplechain/metrics/runtime.go
    • Line 55: warning: comment on exported function CaptureRuntimeMemStats should be of the form "CaptureRuntimeMemStats ..." (golint)
    • Line 63: warning: comment on exported function CaptureRuntimeMemStatsOnce should be of the form "CaptureRuntimeMemStatsOnce ..." (golint)
    • Line 145: warning: comment on exported function RegisterRuntimeMemStats should be of the form "RegisterRuntimeMemStats ..." (golint)
    • simplechain/swarm/api/http/test_server.go
    • Line 31: warning: exported type TestServer should have comment or be unexported (golint)
    • Line 35: warning: exported function NewTestSwarmServer should have comment or be unexported (golint)
    • Line 82: warning: exported type TestSwarmServer should have comment or be unexported (golint)
    • Line 91: warning: exported method TestSwarmServer.Close should have comment or be unexported (golint)
    • Line 95: warning: exported method TestSwarmServer.Now should have comment or be unexported (golint)
    • simplechain/swarm/network/stream/stream.go
    • Line 41: warning: exported const Low should have comment (or a comment on this block) or be unexported (golint)
    • Line 50: warning: comment on exported type SyncingOption should be of the form "SyncingOption ..." (with optional leading article) (golint)
    • Line 52: warning: exported type RetrievalOption should have comment or be unexported (golint)
    • Line 65: warning: comment on exported const RetrievalDisabled should be of the form "RetrievalDisabled ..." (golint)
    • Line 67: warning: comment on exported const RetrievalClientOnly should be of the form "RetrievalClientOnly ..." (golint)
    • Line 71: warning: comment on exported const RetrievalEnabled should be of the form "RetrievalEnabled ..." (golint)
    • Line 258: warning: comment on exported method Registry.RegisterClientFunc should be of the form "RegisterClientFunc ..." (golint)
    • Line 266: warning: comment on exported method Registry.RegisterServerFunc should be of the form "RegisterServerFunc ..." (golint)
    • Line 274: warning: comment on exported method Registry.GetClientFunc should be of the form "GetClientFunc ..." (golint)
    • Line 286: warning: comment on exported method Registry.GetServerFunc should be of the form "GetServerFunc ..." (golint)
    • Line 298: warning: exported method Registry.RequestSubscription should have comment or be unexported (golint)
    • Line 365: warning: exported method Registry.Unsubscribe should have comment or be unexported (golint)
    • Line 400: warning: exported method Registry.Close should have comment or be unexported (golint)
    • Line 818: warning: comment on exported type StreamerPrices should be of the form "StreamerPrices ..." (with optional leading article) (golint)
    • Line 864: warning: exported method Registry.Protocols should have comment or be unexported (golint)
    • Line 875: warning: exported method Registry.APIs should have comment or be unexported (golint)
    • Line 886: warning: exported method Registry.Start should have comment or be unexported (golint)
    • Line 891: warning: exported method Registry.Stop should have comment or be unexported (golint)
    • Line 895: warning: exported type Range should have comment or be unexported (golint)
    • Line 899: warning: exported function NewRange should have comment or be unexported (golint)
    • Line 921: warning: exported type API should have comment or be unexported (golint)
    • Line 925: warning: exported function NewAPI should have comment or be unexported (golint)
    • Line 931: warning: exported method API.SubscribeStream should have comment or be unexported (golint)
    • Line 935: warning: exported method API.UnsubscribeStream should have comment or be unexported (golint)
    • simplechain/metrics/timer.go
    • Line 8: warning: comment on exported type Timer should be of the form "Timer ..." (with optional leading article) (golint)
    • Line 224: warning: comment on exported method StandardTimer.Time should be of the form "Time ..." (golint)
    • Line 231: warning: comment on exported method StandardTimer.Update should be of the form "Update ..." (golint)
    • Line 239: warning: comment on exported method StandardTimer.UpdateSince should be of the form "UpdateSince ..." (golint)
    • simplechain/core/events.go
    • Line 38: warning: exported type ChainEvent should have comment or be unexported (golint)
    • Line 44: warning: exported type ChainSideEvent should have comment or be unexported (golint)
    • Line 48: warning: exported type ChainHeadEvent should have comment or be unexported (golint)
    • simplechain/p2p/enode/node.go
    • Line 85: warning: comment on exported method Node.TCP should be of the form "TCP ..." (golint)
    • Line 108: warning: comment on exported method Node.ValidateComplete should be of the form "ValidateComplete ..." (golint)
    • Line 158: warning: comment on exported method ID.GoString should be of the form "GoString ..." (golint)
    • simplechain/eth/downloader/events.go
    • Line 19: warning: exported type DoneEvent should have comment or be unexported (golint)
    • Line 20: warning: exported type StartEvent should have comment or be unexported (golint)
    • Line 21: warning: exported type FailedEvent should have comment or be unexported (golint)
    • simplechain/rlp/encode.go
    • Line 28: warning: comment on exported var EmptyString should be of the form "EmptyString ..." (golint)
    • Line 31: warning: exported var EmptyList should have comment or be unexported (golint)
    • simplechain/les/backend.go
    • Line 48: warning: exported type LightEthereum should have comment or be unexported (golint)
    • Line 80: warning: exported function New should have comment or be unexported (golint)
    • Line 164: warning: exported type LightDummyAPI should have comment or be unexported (golint)
    • Line 214: warning: exported method LightEthereum.ResetWithGenesisBlock should have comment or be unexported (golint)
    • Line 218: warning: exported method LightEthereum.BlockChain should have comment or be unexported (golint)
    • Line 219: warning: exported method LightEthereum.TxPool should have comment or be unexported (golint)
    • Line 220: warning: exported method LightEthereum.Engine should have comment or be unexported (golint)
    • Line 221: warning: exported method LightEthereum.LesVersion should have comment or be unexported (golint)
    • Line 222: warning: exported method LightEthereum.Downloader should have comment or be unexported (golint)
    • Line 223: warning: exported method LightEthereum.EventMux should have comment or be unexported (golint)
    • simplechain/swarm/storage/swarmhasher.go
    • Line 24: warning: exported const BMTHash should have comment (or a comment on this block) or be unexported (golint)
    • Line 29: warning: exported type SwarmHash should have comment or be unexported (golint)
    • Line 34: warning: exported type HashWithLength should have comment or be unexported (golint)
    • Line 38: warning: exported method HashWithLength.ResetWithLength should have comment or be unexported (golint)
    • simplechain/core/asm/asm.go
    • Line 17: warning: package comment should be of the form "Package asm ..." (golint)
    • Line 37: warning: comment on exported function NewInstructionIterator should be of the form "NewInstructionIterator ..." (golint)
    • Line 102: warning: comment on exported function PrintDisassembled should be of the form "PrintDisassembled ..." (golint)
    • Line 120: warning: comment on exported function Disassemble should be of the form "Disassemble ..." (golint)
    • simplechain/eth/backend.go
    • Line 55: warning: exported type LesServer should have comment or be unexported (golint)
    • Line 98: warning: exported method Ethereum.AddLesServer should have comment or be unexported (golint)
    • Line 330: warning: exported method Ethereum.ResetWithGenesisBlock should have comment or be unexported (golint)
    • Line 334: warning: exported method Ethereum.Etherbase should have comment or be unexported (golint)
    • Line 480: warning: exported method Ethereum.IsMining should have comment or be unexported (golint)
    • Line 481: warning: exported method Ethereum.Miner should have comment or be unexported (golint)
    • Line 483: warning: exported method Ethereum.AccountManager should have comment or be unexported (golint)
    • Line 484: warning: exported method Ethereum.BlockChain should have comment or be unexported (golint)
    • Line 485: warning: exported method Ethereum.TxPool should have comment or be unexported (golint)
    • Line 486: warning: exported method Ethereum.EventMux should have comment or be unexported (golint)
    • Line 487: warning: exported method Ethereum.Engine should have comment or be unexported (golint)
    • Line 488: warning: exported method Ethereum.ChainDb should have comment or be unexported (golint)
    • Line 489: warning: exported method Ethereum.IsListening should have comment or be unexported (golint)
    • Line 490: warning: exported method Ethereum.EthVersion should have comment or be unexported (golint)
    • Line 491: warning: exported method Ethereum.NetVersion should have comment or be unexported (golint)
    • Line 492: warning: exported method Ethereum.Downloader should have comment or be unexported (golint)
    • simplechain/swarm/pss/keystore.go
    • Line 32: warning: exported type KeyStore should have comment or be unexported (golint)
    • Line 82: warning: comment on exported method KeyStore.SetPeerPublicKey should be of the form "SetPeerPublicKey ..." (golint)
    • Line 126: warning: comment on exported method KeyStore.GetPublickeyPeers should be of the form "GetPublickeyPeers ..." (golint)
    • Line 242: warning: comment on exported method KeyStore.GenerateSymmetricKey should be of the form "GenerateSymmetricKey ..." (golint)
    • Line 251: warning: comment on exported method KeyStore.GetSymmetricKey should be of the form "GetSymmetricKey ..." (golint)
    • Line 257: warning: comment on exported method KeyStore.SetSymmetricKey should be of the form "SetSymmetricKey ..." (golint)
    • simplechain/swarm/storage/database.go
    • Line 31: warning: exported type LDBDatabase should have comment or be unexported (golint)
    • Line 35: warning: exported function NewLDBDatabase should have comment or be unexported (golint)
    • Line 47: warning: exported method LDBDatabase.Put should have comment or be unexported (golint)
    • Line 53: warning: exported method LDBDatabase.Get should have comment or be unexported (golint)
    • Line 63: warning: exported method LDBDatabase.Delete should have comment or be unexported (golint)
    • Line 67: warning: exported method LDBDatabase.NewIterator should have comment or be unexported (golint)
    • Line 79: warning: exported method LDBDatabase.Close should have comment or be unexported (golint)
    • simplechain/core/asm/lexer.go
    • Line 56: warning: exported const Numbers should have comment (or a comment on this block) or be unexported (golint)
    • Line 96: warning: comment on exported function Lex should be of the form "Lex ..." (golint)
    • simplechain/event/event.go
    • Line 174: warning: exported method TypeMuxSubscription.Chan should have comment or be unexported (golint)
    • Line 178: warning: exported method TypeMuxSubscription.Unsubscribe should have comment or be unexported (golint)
    • Line 183: warning: exported method TypeMuxSubscription.Closed should have comment or be unexported (golint)
    • simplechain/swarm/version/version.go
    • Line 24: warning: exported const VersionMajor should have comment (or a comment on this block) or be unexported (golint)
    • Line 44: warning: comment on exported var GitCommit should be of the form "GitCommit ..." (golint)
    • Line 61: warning: exported function VersionWithCommit should have comment or be unexported (golint)
    • simplechain/swarm/storage/pyramid.go
    • Line 70: warning: exported const ChunkProcessors should have comment (or a comment on this block) or be unexported (golint)
    • Line 74: warning: exported type PyramidSplitterParams should have comment or be unexported (golint)
    • Line 79: warning: exported function NewPyramidSplitterParams should have comment or be unexported (golint)
    • Line 95: warning: comment on exported function PyramidSplit should be of the form "PyramidSplit ..." (golint)
    • Line 103: warning: exported function PyramidAppend should have comment or be unexported (golint)
    • Line 107: warning: comment on exported type TreeEntry should be of the form "TreeEntry ..." (with optional leading article) (golint)
    • Line 118: warning: exported function NewTreeEntry should have comment or be unexported (golint)
    • Line 137: warning: exported type PyramidChunker should have comment or be unexported (golint)
    • Line 155: warning: exported function NewPyramidSplitter should have comment or be unexported (golint)
    • Line 174: warning: exported method PyramidChunker.Join should have comment or be unexported (golint)
    • Line 203: warning: exported method PyramidChunker.Split should have comment or be unexported (golint)
    • Line 235: warning: exported method PyramidChunker.Append should have comment or be unexported (golint)
    • simplechain/swarm/storage/types.go
    • Line 34: warning: exported const MaxPO should have comment or be unexported (golint)
    • Line 35: warning: exported const AddressLength should have comment or be unexported (golint)
    • Line 37: warning: exported type SwarmHasher should have comment or be unexported (golint)
    • Line 39: warning: exported type Address should have comment or be unexported (golint)
    • Line 41: warning: comment on exported function Proximity should be of the form "Proximity ..." (golint)
    • Line 71: warning: exported var ZeroAddr should have comment or be unexported (golint)
    • Line 73: warning: exported function MakeHashFunc should have comment or be unexported (golint)
    • Line 91: warning: exported method Address.Hex should have comment or be unexported (golint)
    • Line 95: warning: exported method Address.Log should have comment or be unexported (golint)
    • Line 106: warning: exported method Address.MarshalJSON should have comment or be unexported (golint)
    • Line 110: warning: exported method Address.UnmarshalJSON should have comment or be unexported (golint)
    • Line 118: warning: exported type AddressCollection should have comment or be unexported (golint)
    • Line 120: warning: exported function NewAddressCollection should have comment or be unexported (golint)
    • Line 148: warning: exported function NewChunk should have comment or be unexported (golint)
    • Line 165: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 169: warning: exported function GenerateRandomChunk should have comment or be unexported (golint)
    • Line 179: warning: exported function GenerateRandomChunks should have comment or be unexported (golint)
    • Line 187: warning: comment on exported type LazySectionReader should be of the form "LazySectionReader ..." (with optional leading article) (golint)
    • Line 196: warning: exported type LazyTestSectionReader should have comment or be unexported (golint)
    • Line 200: warning: exported method LazyTestSectionReader.Size should have comment or be unexported (golint)
    • Line 204: warning: exported method LazyTestSectionReader.Context should have comment or be unexported (golint)
    • Line 208: warning: exported type StoreParams should have comment or be unexported (golint)
    • Line 215: warning: exported function NewDefaultStoreParams should have comment or be unexported (golint)
    • Line 219: warning: exported function NewStoreParams should have comment or be unexported (golint)
    • Line 234: warning: exported type ChunkData should have comment or be unexported (golint)
    • Line 236: warning: exported type Reference should have comment or be unexported (golint)
    • Line 254: warning: comment on exported method ChunkData.Size should be of the form "Size ..." (golint)
    • Line 259: warning: exported type ChunkValidator should have comment or be unexported (golint)
    • Line 263: warning: comment on exported type ContentAddressValidator should be of the form "ContentAddressValidator ..." (with optional leading article) (golint)
    • Line 269: warning: comment on exported function NewContentAddressValidator should be of the form "NewContentAddressValidator ..." (golint)
    • Line 292: warning: exported type ChunkStore should have comment or be unexported (golint)
    • simplechain/les/peer.go
    • Line 623: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • simplechain/rpc/subscription.go
    • Line 28: warning: comment on exported var ErrSubscriptionNotFound should be of the form "ErrSubscriptionNotFound ..." (golint)
    • Line 35: warning: comment on exported type Subscription should be of the form "Subscription ..." (with optional leading article) (golint)
    • simplechain/miner/miner.go
    • Line 55: warning: exported function New should have comment or be unexported (golint)
    • Line 73: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 108: warning: exported method Miner.Start should have comment or be unexported (golint)
    • Line 108: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 119: warning: exported method Miner.Stop should have comment or be unexported (golint)
    • Line 119: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 124: warning: exported method Miner.Close should have comment or be unexported (golint)
    • Line 124: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 129: warning: exported method Miner.Mining should have comment or be unexported (golint)
    • Line 129: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 133: warning: exported method Miner.HashRate should have comment or be unexported (golint)
    • Line 133: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 140: warning: exported method Miner.SetExtra should have comment or be unexported (golint)
    • Line 140: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 149: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 154: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 163: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 167: warning: exported method Miner.SetEtherbase should have comment or be unexported (golint)
    • Line 167: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • simplechain/metrics/log.go
    • Line 7: warning: exported type Logger should have comment or be unexported (golint)
    • Line 11: warning: exported function Log should have comment or be unexported (golint)
    • Line 15: warning: comment on exported function LogScaled should be of the form "LogScaled ..." (golint)
    • simplechain/swarm/storage/schema.go
    • Line 3: warning: comment on exported const CurrentDbSchema should be of the form "CurrentDbSchema ..." (golint)
    • Line 7: warning: comment on exported const DbSchemaNone should be of the form "DbSchemaNone ..." (golint)
    • Line 10: warning: comment on exported const DbSchemaPurity should be of the form "DbSchemaPurity ..." (golint)
    • Line 13: warning: comment on exported const DbSchemaHalloween should be of the form "DbSchemaHalloween ..." (golint)
    • simplechain/crypto/bn256/cloudflare/bn256.go
    • Line 54: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 63: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 72: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 81: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 90: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 99: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 120: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 338: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 347: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 356: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 365: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 374: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 381: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 418: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • simplechain/swarm/storage/filestore.go
    • Line 44: warning: exported type FileStore should have comment or be unexported (golint)
    • Line 49: warning: exported type FileStoreParams should have comment or be unexported (golint)
    • Line 53: warning: exported function NewFileStoreParams should have comment or be unexported (golint)
    • Line 59: warning: comment on exported function NewLocalFileStore should be of the form "NewLocalFileStore ..." (golint)
    • Line 71: warning: exported function NewFileStore should have comment or be unexported (golint)
    • Line 98: warning: exported method FileStore.HashSize should have comment or be unexported (golint)
    • simplechain/internal/cmdtest/test_cmd.go
    • Line 38: warning: exported function NewTestCmd should have comment or be unexported (golint)
    • Line 42: warning: exported type TestCmd should have comment or be unexported (golint)
    • Line 89: warning: exported method TestCmd.SetTemplateFunc should have comment or be unexported (golint)
    • Line 187: warning: exported method TestCmd.WaitExit should have comment or be unexported (golint)
    • Line 191: warning: exported method TestCmd.Interrupt should have comment or be unexported (golint)
    • Line 218: warning: exported method TestCmd.CloseStdin should have comment or be unexported (golint)
    • Line 222: warning: exported method TestCmd.Kill should have comment or be unexported (golint)
    • simplechain/eth/handler.go
    • Line 68: warning: exported type ProtocolManager should have comment or be unexported (golint)
    • Line 216: warning: exported method ProtocolManager.Start should have comment or be unexported (golint)
    • Line 233: warning: exported method ProtocolManager.Stop should have comment or be unexported (golint)
    • simplechain/p2p/enr/entries.go
    • Line 61: warning: exported method TCP.ENRKey should have comment or be unexported (golint)
    • Line 66: warning: exported method UDP.ENRKey should have comment or be unexported (golint)
    • Line 71: warning: exported const IDv4 should have comment or be unexported (golint)
    • Line 73: warning: exported method ID.ENRKey should have comment or be unexported (golint)
    • Line 78: warning: exported method IP.ENRKey should have comment or be unexported (golint)
    • simplechain/p2p/simulations/network.go
    • Line 36: warning: exported var DialBanTimeout should have comment or be unexported (golint)
    • Line 412: warning: comment on exported method Network.GetNodeByName should be of the form "GetNodeByName ..." (golint)
    • Line 553: warning: comment on exported method Network.InitConn should be of the form "InitConn ..." (golint)
    • Line 630: warning: exported method Node.Up should have comment or be unexported (golint)
    • Line 636: warning: exported method Node.SetUp should have comment or be unexported (golint)
    • Line 778: warning: exported method Network.SnapshotWithServices should have comment or be unexported (golint)
    • Line 984: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • simplechain/cmd/utils/flags.go
    • Line 64: warning: exported var CommandHelpTemplate should have comment or be unexported (golint)
    • Line 116: warning: comment on exported var DataDirFlag should be of the form "DataDirFlag ..." (golint)
    • Line 122: warning: exported var KeyStoreDirFlag should have comment or be unexported (golint)
    • Line 185: warning: comment on exported var EthashCacheDirFlag should be of the form "EthashCacheDirFlag ..." (golint)
    • Line 215: warning: comment on exported var TxPoolLocalsFlag should be of the form "TxPoolLocalsFlag ..." (golint)
    • Line 269: warning: comment on exported var CacheFlag should be of the form "CacheFlag ..." (golint)
    • Line 295: warning: comment on exported var MiningEnabledFlag should be of the form "MiningEnabledFlag ..." (golint)
    • Line 366: warning: comment on exported var UnlockedAccountFlag should be of the form "UnlockedAccountFlag ..." (golint)
    • Line 386: warning: comment on exported var EthStatsURLFlag should be of the form "EthStatsURLFlag ..." (golint)
    • Line 399: warning: comment on exported var RPCEnabledFlag should be of the form "RPCEnabledFlag ..." (golint)
    • Line 470: warning: comment on exported var MaxPeersFlag should be of the form "MaxPeersFlag ..." (golint)
    • Line 527: warning: comment on exported var JSpathFlag should be of the form "JSpathFlag ..." (golint)
    • Line 534: warning: comment on exported var GpoBlocksFlag should be of the form "GpoBlocksFlag ..." (golint)
    • Line 564: warning: comment on exported var MetricsEnabledFlag should be of the form "MetricsEnabledFlag ..." (golint)
    • Line 593: warning: comment on exported var MetricsInfluxDBTagsFlag should be of the form "MetricsInfluxDBTagsFlag ..." (golint)
    • Line 879: warning: exported function SetP2PConfig should have comment or be unexported (golint)
    • Line 1306: warning: exported function SetupMetrics should have comment or be unexported (golint)
    • Line 1327: warning: exported function SplitTagsFlag should have comment or be unexported (golint)
    • Line 1361: warning: exported function MakeGenesis should have comment or be unexported (golint)
    • simplechain/signer/core/cliui.go
    • Line 34: warning: exported type CommandlineUI should have comment or be unexported (golint)
    • Line 39: warning: exported function NewCommandlineUI should have comment or be unexported (golint)
    • Line 86: warning: exported method CommandlineUI.OnInputRequired should have comment or be unexported (golint)
    • Line 262: warning: exported method CommandlineUI.OnApprovedTx should have comment or be unexported (golint)
    • Line 267: warning: exported method CommandlineUI.OnSignerStartup should have comment or be unexported (golint)
    • simplechain/swarm/api/encrypt.go
    • Line 27: warning: exported type RefEncryption should have comment or be unexported (golint)
    • Line 32: warning: exported function NewRefEncryption should have comment or be unexported (golint)
    • Line 41: warning: exported method RefEncryption.Encrypt should have comment or be unexported (golint)
    • Line 59: warning: exported method RefEncryption.Decrypt should have comment or be unexported (golint)
    • simplechain/les/handler.go
    • Line 54: warning: exported const MaxHeaderFetch should have comment (or a comment on this block) or be unexported (golint)
    • Line 70: warning: exported type BlockChain should have comment or be unexported (golint)
    • Line 91: warning: exported type ProtocolManager should have comment or be unexported (golint)
    • Line 174: warning: exported method ProtocolManager.Start should have comment or be unexported (golint)
    • Line 188: warning: exported method ProtocolManager.Stop should have comment or be unexported (golint)
    • simplechain/swarm/network/fetcher.go
    • Line 36: warning: comment on exported var RequestTimeout should be of the form "RequestTimeout ..." (golint)
    • Line 40: warning: exported type RequestFunc should have comment or be unexported (golint)
    • Line 58: warning: exported type Request should have comment or be unexported (golint)
    • simplechain/contracts/ens/ens.go
    • Line 34: warning: exported var MainNetAddress should have comment or be unexported (golint)
    • Line 93: warning: exported function EnsNode should have comment or be unexported (golint)
    • Line 158: warning: comment on exported method ENS.SetAddr should be of the form "SetAddr ..." (golint)
    • simplechain/swarm/tracing/tracing.go
    • Line 15: warning: exported var Enabled should have comment or be unexported (golint)
    • Line 21: warning: exported var Closer should have comment or be unexported (golint)
    • Line 25: warning: exported var TracingFlag should have comment or be unexported (golint)
    • Line 57: warning: exported function Setup should have comment or be unexported (golint)
    • simplechain/crypto/bn256/google/bn256.go
    • Line 168: warning: comment on exported function RandomG2 should be of the form "RandomG2 ..." (golint)
    • Line 226: warning: receiver name n should be consistent with previous receiver name e for G2 (golint)
    • Line 309: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 318: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 327: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 336: warning: receiver name n should be consistent with previous receiver name g for GT (golint)
    • Line 374: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • simplechain/les/flowcontrol/manager.go
    • Line 70: warning: exported type ClientManager should have comment or be unexported (golint)
    • Line 80: warning: exported function NewClientManager should have comment or be unexported (golint)
    • Line 92: warning: exported method ClientManager.Stop should have comment or be unexported (golint)
    • Line 92: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 101: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 117: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 128: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 146: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 167: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 171: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 187: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 209: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 218: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • simplechain/signer/core/api.go
    • Line 139: warning: comment on exported type ImportResponse should be of the form "ImportResponse ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported type ListRequest should be of the form "ListRequest ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported type ListResponse should be of the form "ListResponse ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported type Message should be of the form "Message ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported type NewAccountRequest should be of the form "NewAccountRequest ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported type NewAccountResponse should be of the form "NewAccountResponse ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported type PasswordRequest should be of the form "PasswordRequest ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported type PasswordResponse should be of the form "PasswordResponse ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported type SignDataRequest should be of the form "SignDataRequest ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported type SignDataResponse should be of the form "SignDataResponse ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported type StartupInfo should be of the form "StartupInfo ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported type UserInputRequest should be of the form "UserInputRequest ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported type UserInputResponse should be of the form "UserInputResponse ..." (with optional leading article) (golint)
    • Line 219: warning: exported var ErrRequestDenied should have comment or be unexported (golint)
    • simplechain/p2p/protocols/reporter.go
    • Line 29: warning: comment on exported type AccountingMetrics should be of the form "AccountingMetrics ..." (with optional leading article) (golint)
    • Line 51: warning: comment on exported function NewAccountingMetrics should be of the form "NewAccountingMetrics ..." (golint)
    • simplechain/p2p/nat/nat.go
    • Line 32: warning: comment on exported type Interface should be of the form "Interface ..." (with optional leading article) (golint)
    • Line 134: warning: exported method ExtIP.ExternalIP should have comment or be unexported (golint)
    • Line 139: warning: exported method ExtIP.AddMapping should have comment or be unexported (golint)
    • Line 140: warning: exported method ExtIP.DeleteMapping should have comment or be unexported (golint)
    • Line 223: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • simplechain/swarm/storage/localstore.go
    • Line 29: warning: exported type LocalStoreParams should have comment or be unexported (golint)
    • Line 35: warning: exported function NewDefaultLocalStoreParams should have comment or be unexported (golint)
    • Line 41: warning: comment on exported method LocalStoreParams.Init should be of the form "Init ..." (golint)
    • Line 58: warning: comment on exported function NewLocalStore should be of the form "NewLocalStore ..." (golint)
    • Line 72: warning: exported function NewTestLocalStoreForAddr should have comment or be unexported (golint)
    • Line 142: warning: comment on exported method LocalStore.Get should be of the form "Get ..." (golint)
    • Line 178: warning: exported method LocalStore.FetchFunc should have comment or be unexported (golint)
    • Line 191: warning: exported method LocalStore.BinIndex should have comment or be unexported (golint)
    • Line 195: warning: exported method LocalStore.Iterator should have comment or be unexported (golint)
    • simplechain/whisper/whisperv5/filter.go
    • Line 29: warning: exported type Filter should have comment or be unexported (golint)
    • Line 42: warning: exported type Filters should have comment or be unexported (golint)
    • Line 48: warning: exported function NewFilters should have comment or be unexported (golint)
    • Line 55: warning: exported method Filters.Install should have comment or be unexported (golint)
    • Line 80: warning: exported method Filters.Uninstall should have comment or be unexported (golint)
    • Line 90: warning: exported method Filters.Get should have comment or be unexported (golint)
    • Line 96: warning: exported method Filters.NotifyWatchers should have comment or be unexported (golint)
    • Line 139: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 156: warning: exported method Filter.Trigger should have comment or be unexported (golint)
    • Line 165: warning: exported method Filter.Retrieve should have comment or be unexported (golint)
    • Line 178: warning: exported method Filter.MatchMessage should have comment or be unexported (golint)
    • Line 191: warning: exported method Filter.MatchEnvelope should have comment or be unexported (golint)
    • Line 204: warning: exported method Filter.MatchTopic should have comment or be unexported (golint)
    • Line 235: warning: exported function IsPubKeyEqual should have comment or be unexported (golint)
    • simplechain/consensus/scrypt/algorithm.go
    • Line 23: warning: exported function ScryptHash should have comment or be unexported (golint)
    • Line 40: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • simplechain/core/headerchain.go
    • Line 207: warning: exported method HeaderChain.ValidateHeaderChain should have comment or be unexported (golint)
    • Line 336: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • simplechain/swarm/metrics/flags.go
    • Line 30: warning: exported var MetricsEnableInfluxDBExportFlag should have comment or be unexported (golint)
    • Line 58: warning: comment on exported var MetricsInfluxDBTagsFlag should be of the form "MetricsInfluxDBTagsFlag ..." (golint)
    • Line 81: warning: exported function Setup should have comment or be unexported (golint)
    • simplechain/metrics/registry.go
    • Line 53: warning: comment on exported type StandardRegistry should be of the form "StandardRegistry ..." (with optional leading article) (golint)
    • Line 60: warning: comment on exported function NewRegistry should be of the form "NewRegistry ..." (golint)
    • Line 65: warning: comment on exported method StandardRegistry.Each should be of the form "Each ..." (golint)
    • Line 79: warning: comment on exported method StandardRegistry.GetOrRegister should be of the form "GetOrRegister ..." (golint)
    • Line 104: warning: comment on exported method StandardRegistry.RunHealthchecks should be of the form "RunHealthchecks ..." (golint)
    • Line 184: warning: comment on exported method StandardRegistry.UnregisterAll should be of the form "UnregisterAll ..." (golint)
    • Line 228: warning: exported type PrefixedRegistry should have comment or be unexported (golint)
    • Line 233: warning: exported function NewPrefixedRegistry should have comment or be unexported (golint)
    • Line 240: warning: exported function NewPrefixedChildRegistry should have comment or be unexported (golint)
    • Line 247: warning: comment on exported method PrefixedRegistry.Each should be of the form "Each ..." (golint)
    • Line 279: warning: comment on exported method PrefixedRegistry.GetOrRegister should be of the form "GetOrRegister ..." (golint)
    • Line 293: warning: comment on exported method PrefixedRegistry.RunHealthchecks should be of the form "RunHealthchecks ..." (golint)
    • Line 309: warning: comment on exported method PrefixedRegistry.UnregisterAll should be of the form "UnregisterAll ..." (golint)
    • Line 315: warning: exported var DefaultRegistry should have comment or be unexported (golint)
    • Line 320: warning: comment on exported function Each should be of the form "Each ..." (golint)
    • Line 330: warning: comment on exported function GetOrRegister should be of the form "GetOrRegister ..." (golint)
    • Line 342: warning: comment on exported function MustRegister should be of the form "MustRegister ..." (golint)
    • Line 350: warning: comment on exported function RunHealthchecks should be of the form "RunHealthchecks ..." (golint)
    • simplechain/les/odr_requests.go
    • Line 17: warning: package comment should be of the form "Package les ..." (golint)
    • Line 50: warning: exported type LesOdrRequest should have comment or be unexported (golint)
    • Line 57: warning: exported function LesRequest should have comment or be unexported (golint)
    • Line 96: warning: comment on exported method BlockRequest.Validate should be of the form "Validate ..." (golint)
    • Line 152: warning: comment on exported method ReceiptsRequest.Validate should be of the form "Validate ..." (golint)
    • Line 181: warning: exported type ProofReq should have comment or be unexported (golint)
    • Line 187: warning: comment on exported type TrieRequest should be of the form "TrieRequest ..." (with optional leading article) (golint)
    • Line 219: warning: comment on exported method TrieRequest.Validate should be of the form "Validate ..." (golint)
    • Line 259: warning: exported type CodeReq should have comment or be unexported (golint)
    • Line 264: warning: comment on exported type CodeRequest should be of the form "CodeRequest ..." (with optional leading article) (golint)
    • Line 288: warning: comment on exported method CodeRequest.Validate should be of the form "Validate ..." (golint)
    • Line 323: warning: exported type HelperTrieReq should have comment or be unexported (golint)
    • Line 330: warning: exported type HelperTrieResps should have comment or be unexported (golint)
    • Line 335: warning: comment on exported type ChtReq should be of the form "ChtReq ..." (with optional leading article) (golint)
    • Line 341: warning: comment on exported type ChtResp should be of the form "ChtResp ..." (with optional leading article) (golint)
    • Line 347: warning: comment on exported type ChtRequest should be of the form "ChtRequest ..." (with optional leading article) (golint)
    • Line 399: warning: comment on exported method ChtRequest.Validate should be of the form "Validate ..." (golint)
    • Line 480: warning: exported type BloomReq should have comment or be unexported (golint)
    • Line 484: warning: comment on exported type BloomRequest should be of the form "BloomRequest ..." (with optional leading article) (golint)
    • Line 523: warning: comment on exported method BloomRequest.Validate should be of the form "Validate ..." (golint)
    • simplechain/cmd/utils/cmd.go
    • Line 66: warning: exported function StartNode should have comment or be unexported (golint)
    • Line 88: warning: exported function ImportChain should have comment or be unexported (golint)
    • simplechain/eth/api_backend.go
    • Line 50: warning: exported method EthAPIBackend.CurrentBlock should have comment or be unexported (golint)
    • Line 54: warning: exported method EthAPIBackend.SetHead should have comment or be unexported (golint)
    • Line 59: warning: exported method EthAPIBackend.HeaderByNumber should have comment or be unexported (golint)
    • Line 72: warning: exported method EthAPIBackend.HeaderByHash should have comment or be unexported (golint)
    • Line 76: warning: exported method EthAPIBackend.BlockByNumber should have comment or be unexported (golint)
    • Line 89: warning: exported method EthAPIBackend.StateAndHeaderByNumber should have comment or be unexported (golint)
    • Line 104: warning: exported method EthAPIBackend.GetBlock should have comment or be unexported (golint)
    • Line 108: warning: exported method EthAPIBackend.GetReceipts should have comment or be unexported (golint)
    • Line 112: warning: exported method EthAPIBackend.GetLogs should have comment or be unexported (golint)
    • Line 124: warning: exported method EthAPIBackend.GetTd should have comment or be unexported (golint)
    • Line 128: warning: exported method EthAPIBackend.GetEVM should have comment or be unexported (golint)
    • Line 136: warning: exported method EthAPIBackend.SubscribeRemovedLogsEvent should have comment or be unexported (golint)
    • Line 140: warning: exported method EthAPIBackend.SubscribeChainEvent should have comment or be unexported (golint)
    • Line 144: warning: exported method EthAPIBackend.SubscribeChainHeadEvent should have comment or be unexported (golint)
    • Line 148: warning: exported method EthAPIBackend.SubscribeChainSideEvent should have comment or be unexported (golint)
    • Line 152: warning: exported method EthAPIBackend.SubscribeLogsEvent should have comment or be unexported (golint)
    • Line 156: warning: exported method EthAPIBackend.SendTx should have comment or be unexported (golint)
    • Line 160: warning: exported method EthAPIBackend.GetPoolTransactions should have comment or be unexported (golint)
    • Line 172: warning: exported method EthAPIBackend.GetPoolTransaction should have comment or be unexported (golint)
    • Line 176: warning: exported method EthAPIBackend.GetPoolNonce should have comment or be unexported (golint)
    • Line 180: warning: exported method EthAPIBackend.Stats should have comment or be unexported (golint)
    • Line 184: warning: exported method EthAPIBackend.TxPoolContent should have comment or be unexported (golint)
    • Line 188: warning: exported method EthAPIBackend.SubscribeNewTxsEvent should have comment or be unexported (golint)
    • Line 192: warning: exported method EthAPIBackend.Downloader should have comment or be unexported (golint)
    • Line 196: warning: exported method EthAPIBackend.ProtocolVersion should have comment or be unexported (golint)
    • Line 200: warning: exported method EthAPIBackend.SuggestPrice should have comment or be unexported (golint)
    • Line 204: warning: exported method EthAPIBackend.ChainDb should have comment or be unexported (golint)
    • Line 208: warning: exported method EthAPIBackend.EventMux should have comment or be unexported (golint)
    • Line 212: warning: exported method EthAPIBackend.AccountManager should have comment or be unexported (golint)
    • Line 216: warning: exported method EthAPIBackend.RPCGasCap should have comment or be unexported (golint)
    • Line 220: warning: exported method EthAPIBackend.BloomStatus should have comment or be unexported (golint)
    • Line 225: warning: exported method EthAPIBackend.ServiceFilter should have comment or be unexported (golint)
    • simplechain/rpc/client.go
    • Line 39: warning: exported var ErrClientQuit should have comment or be unexported (golint)
    • Line 294: warning: comment on exported method Client.BatchCallContext should be of the form "BatchCallContext ..." (golint)
    • Line 750: warning: error should be the last type when returning multiple items (golint)

gocyclo82%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.

    • simplechain/swarm/pot/pot.go
    • Line 318: warning: cyclomatic complexity 30 of function union() is high (> 15) (gocyclo)
    • Line 623: warning: cyclomatic complexity 21 of function (*Pot).eachNeighbourAsync() is high (> 15) (gocyclo)
    • simplechain/swarm/storage/pyramid.go
    • Line 382: warning: cyclomatic complexity 24 of function (*PyramidChunker).prepareChunks() is high (> 15) (gocyclo)
    • Line 528: warning: cyclomatic complexity 19 of function (*PyramidChunker).buildTree() is high (> 15) (gocyclo)
    • simplechain/core/vm/evm.go
    • Line 374: warning: cyclomatic complexity 24 of function (*EVM).create() is high (> 15) (gocyclo)
    • Line 181: warning: cyclomatic complexity 16 of function (*EVM).Call() is high (> 15) (gocyclo)
    • simplechain/console/console.go
    • Line 109: warning: cyclomatic complexity 27 of function (*Console).init() is high (> 15) (gocyclo)
    • Line 310: warning: cyclomatic complexity 19 of function (*Console).Interactive() is high (> 15) (gocyclo)
    • Line 386: warning: cyclomatic complexity 16 of function countIndents() is high (> 15) (gocyclo)
    • simplechain/les/fetcher.go
    • Line 130: warning: cyclomatic complexity 23 of function (*lightFetcher).syncLoop() is high (> 15) (gocyclo)
    • Line 250: warning: cyclomatic complexity 23 of function (*lightFetcher).announce() is high (> 15) (gocyclo)
    • Line 412: warning: cyclomatic complexity 19 of function (*lightFetcher).nextRequest() is high (> 15) (gocyclo)
    • Line 567: warning: cyclomatic complexity 17 of function (*lightFetcher).checkAnnouncedHeaders() is high (> 15) (gocyclo)
    • simplechain/miner/worker.go
    • Line 819: warning: cyclomatic complexity 29 of function (*worker).commitNewWork() is high (> 15) (gocyclo)
    • Line 402: warning: cyclomatic complexity 25 of function (*worker).mainLoop() is high (> 15) (gocyclo)
    • Line 290: warning: cyclomatic complexity 22 of function (*worker).newWorkLoop() is high (> 15) (gocyclo)
    • Line 705: warning: cyclomatic complexity 21 of function (*worker).commitTransactions() is high (> 15) (gocyclo)
    • simplechain/p2p/discv5/net.go
    • Line 363: warning: cyclomatic complexity 54 of function (*Network).loop() is high (> 15) (gocyclo)
    • Line 872: warning: cyclomatic complexity 28 of function init() is high (> 15) (gocyclo)
    • Line 1148: warning: cyclomatic complexity 18 of function (*Network).handleQueryEvent() is high (> 15) (gocyclo)
    • simplechain/swarm/shed/index_test.go
    • Line 435: warning: cyclomatic complexity 24 of function TestIndex_Iterate_withPrefix() is high (> 15) (gocyclo)
    • Line 255: warning: cyclomatic complexity 21 of function TestIndex_Iterate() is high (> 15) (gocyclo)
    • Line 53: warning: cyclomatic complexity 20 of function TestIndex() is high (> 15) (gocyclo)
    • Line 618: warning: cyclomatic complexity 19 of function TestIndex_count() is high (> 15) (gocyclo)
    • simplechain/eth/api_tracer.go
    • Line 140: warning: cyclomatic complexity 41 of function (*PrivateDebugAPI).traceChain() is high (> 15) (gocyclo)
    • Line 526: warning: cyclomatic complexity 20 of function (*PrivateDebugAPI).standardTraceBlockToFile() is high (> 15) (gocyclo)
    • simplechain/core/tx_pool.go
    • Line 942: warning: cyclomatic complexity 43 of function (*TxPool).promoteExecutables() is high (> 15) (gocyclo)
    • Line 286: warning: cyclomatic complexity 18 of function (*TxPool).loop() is high (> 15) (gocyclo)
    • simplechain/les/handler.go
    • Line 338: warning: cyclomatic complexity 156 of function (*ProtocolManager).handleMsg() is high (> 15) (gocyclo)
    • Line 245: warning: cyclomatic complexity 22 of function (*ProtocolManager).handle() is high (> 15) (gocyclo)
    • simplechain/metrics/ewma_test.go
    • Line 83: warning: cyclomatic complexity 17 of function TestEWMA5() is high (> 15) (gocyclo)
    • Line 14: warning: cyclomatic complexity 17 of function TestEWMA1() is high (> 15) (gocyclo)
    • Line 152: warning: cyclomatic complexity 17 of function TestEWMA15() is high (> 15) (gocyclo)
    • simplechain/core/blockchain.go
    • Line 1110: warning: cyclomatic complexity 35 of function (*BlockChain).insertChain() is high (> 15) (gocyclo)
    • Line 926: warning: cyclomatic complexity 27 of function (*BlockChain).WriteBlockWithState() is high (> 15) (gocyclo)
    • Line 1397: warning: cyclomatic complexity 26 of function (*BlockChain).reorg() is high (> 15) (gocyclo)
    • Line 1287: warning: cyclomatic complexity 19 of function (*BlockChain).insertSidechain() is high (> 15) (gocyclo)
    • Line 822: warning: cyclomatic complexity 16 of function (*BlockChain).InsertReceiptChain() is high (> 15) (gocyclo)
    • simplechain/cmd/swarm/manifest.go
    • Line 215: warning: cyclomatic complexity 20 of function updateEntryInManifest() is high (> 15) (gocyclo)
    • Line 292: warning: cyclomatic complexity 16 of function removeEntryFromManifest() is high (> 15) (gocyclo)
    • simplechain/eth/downloader/downloader.go
    • Line 657: warning: cyclomatic complexity 45 of function (*Downloader).findAncestor() is high (> 15) (gocyclo)
    • Line 1132: warning: cyclomatic complexity 43 of function (*Downloader).fetchParts() is high (> 15) (gocyclo)
    • Line 1295: warning: cyclomatic complexity 41 of function (*Downloader).processHeaders() is high (> 15) (gocyclo)
    • Line 865: warning: cyclomatic complexity 34 of function (*Downloader).fetchHeaders() is high (> 15) (gocyclo)
    • Line 1513: warning: cyclomatic complexity 23 of function (*Downloader).processFastSyncContent() is high (> 15) (gocyclo)
    • simplechain/trie/trie.go
    • Line 307: warning: cyclomatic complexity 25 of function (*Trie).delete() is high (> 15) (gocyclo)
    • Line 216: warning: cyclomatic complexity 19 of function (*Trie).insert() is high (> 15) (gocyclo)
    • simplechain/cmd/swarm/access_test.go
    • Line 376: warning: cyclomatic complexity 28 of function testACT() is high (> 15) (gocyclo)
    • Line 77: warning: cyclomatic complexity 23 of function testPassword() is high (> 15) (gocyclo)
    • Line 229: warning: cyclomatic complexity 17 of function testPK() is high (> 15) (gocyclo)
    • simplechain/whisper/whisperv5/whisper_test.go
    • Line 272: warning: cyclomatic complexity 55 of function TestWhisperSymKeyManagement() is high (> 15) (gocyclo)
    • Line 154: warning: cyclomatic complexity 32 of function TestWhisperIdentityManagement() is high (> 15) (gocyclo)
    • Line 29: warning: cyclomatic complexity 24 of function TestWhisperBasic() is high (> 15) (gocyclo)
    • Line 541: warning: cyclomatic complexity 17 of function TestCustomization() is high (> 15) (gocyclo)
    • simplechain/consensus/clique/clique.go
    • Line 275: warning: cyclomatic complexity 22 of function (*Clique).verifyHeader() is high (> 15) (gocyclo)
    • Line 378: warning: cyclomatic complexity 20 of function (*Clique).snapshot() is high (> 15) (gocyclo)
    • Line 603: warning: cyclomatic complexity 16 of function (*Clique).Seal() is high (> 15) (gocyclo)
    • simplechain/whisper/whisperv5/filter_test.go
    • Line 258: warning: cyclomatic complexity 26 of function TestMatchEnvelope() is high (> 15) (gocyclo)
    • Line 621: warning: cyclomatic complexity 26 of function TestWatchers() is high (> 15) (gocyclo)
    • Line 415: warning: cyclomatic complexity 16 of function TestMatchMessageSym() is high (> 15) (gocyclo)
    • simplechain/whisper/whisperv6/filter_test.go
    • Line 639: warning: cyclomatic complexity 26 of function TestWatchers() is high (> 15) (gocyclo)
    • Line 288: warning: cyclomatic complexity 23 of function TestMatchEnvelope() is high (> 15) (gocyclo)
    • Line 431: warning: cyclomatic complexity 16 of function TestMatchMessageSym() is high (> 15) (gocyclo)
    • simplechain/core/tx_pool_test.go
    • Line 553: warning: cyclomatic complexity 28 of function TestTransactionPostponing() is high (> 15) (gocyclo)
    • Line 1138: warning: cyclomatic complexity 24 of function TestTransactionPoolRepricing() is high (> 15) (gocyclo)
    • Line 1321: warning: cyclomatic complexity 20 of function TestTransactionPoolUnderpricing() is high (> 15) (gocyclo)
    • Line 1575: warning: cyclomatic complexity 19 of function testTransactionJournaling() is high (> 15) (gocyclo)
    • Line 458: warning: cyclomatic complexity 19 of function TestTransactionDropping() is high (> 15) (gocyclo)
    • Line 1493: warning: cyclomatic complexity 17 of function TestTransactionReplacement() is high (> 15) (gocyclo)
    • simplechain/swarm/api/http/server_test.go
    • Line 196: warning: cyclomatic complexity 44 of function TestBzzFeed() is high (> 15) (gocyclo)
    • Line 452: warning: cyclomatic complexity 42 of function testBzzGetPath() is high (> 15) (gocyclo)
    • Line 711: warning: cyclomatic complexity 26 of function testBzzTar() is high (> 15) (gocyclo)
    • Line 1174: warning: cyclomatic complexity 16 of function TestBzzGetFileWithResolver() is high (> 15) (gocyclo)
    • simplechain/core/blockchain_test.go
    • Line 932: warning: cyclomatic complexity 24 of function TestLogRebirth() is high (> 15) (gocyclo)
    • Line 603: warning: cyclomatic complexity 18 of function TestFastVsFullChains() is high (> 15) (gocyclo)
    • Line 389: warning: cyclomatic complexity 17 of function testReorg() is high (> 15) (gocyclo)
    • Line 771: warning: cyclomatic complexity 17 of function TestChainTxReorgs() is high (> 15) (gocyclo)
    • Line 1266: warning: cyclomatic complexity 17 of function TestEIP155Transition() is high (> 15) (gocyclo)
    • simplechain/swarm/pss/pss_test.go
    • Line 1400: warning: cyclomatic complexity 33 of function testNetwork() is high (> 15) (gocyclo)
    • Line 634: warning: cyclomatic complexity 29 of function TestMessageProcessing() is high (> 15) (gocyclo)
    • Line 306: warning: cyclomatic complexity 20 of function TestProxShortCircuit() is high (> 15) (gocyclo)
    • Line 446: warning: cyclomatic complexity 20 of function TestAddressMatchProx() is high (> 15) (gocyclo)
    • Line 1129: warning: cyclomatic complexity 17 of function testSendSym() is high (> 15) (gocyclo)
    • Line 1244: warning: cyclomatic complexity 17 of function testSendAsym() is high (> 15) (gocyclo)
    • simplechain/whisper/whisperv6/whisper_test.go
    • Line 262: warning: cyclomatic complexity 51 of function TestWhisperSymKeyManagement() is high (> 15) (gocyclo)
    • Line 144: warning: cyclomatic complexity 32 of function TestWhisperIdentityManagement() is high (> 15) (gocyclo)
    • Line 31: warning: cyclomatic complexity 21 of function TestWhisperBasic() is high (> 15) (gocyclo)
    • Line 833: warning: cyclomatic complexity 17 of function TestBloom() is high (> 15) (gocyclo)
    • Line 519: warning: cyclomatic complexity 16 of function TestCustomization() is high (> 15) (gocyclo)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!