Preparing report...

Report for github.com/houyanzu/go-ethereum

A+    Excellent!    Found 352 issues across 1019 files

Tweet

gofmt96%

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!


golint77%

Golint is a linter for Go source code.

    • go-ethereum/crypto/crypto.go
    • Line 163: warning: exported function FromECDSAPub should have comment or be unexported (golint)
    • Line 263: warning: exported function PubkeyToAddress should have comment or be unexported (golint)
    • go-ethereum/core/blockchain.go
    • Line 93: warning: exported const TriesInMemory should have comment (or a comment on this block) or be unexported (golint)
    • Line 1088: warning: exported const NonStatTy should have comment (or a comment on this block) or be unexported (golint)
    • go-ethereum/eth/protocols/eth/protocol.go
    • Line 53: warning: comment on exported const StatusMsg should be of the form "StatusMsg ..." (golint)
    • Line 55: warning: exported const NewBlockHashesMsg should have comment (or a comment on this block) or be unexported (golint)
    • Line 67: warning: comment on exported const NewPooledTransactionHashesMsg should be of the form "NewPooledTransactionHashesMsg ..." (golint)
    • Line 236: warning: exported method StatusPacket.Name should have comment or be unexported (golint)
    • Line 237: warning: exported method StatusPacket.Kind should have comment or be unexported (golint)
    • Line 239: warning: exported method NewBlockHashesPacket.Name should have comment or be unexported (golint)
    • Line 240: warning: exported method NewBlockHashesPacket.Kind should have comment or be unexported (golint)
    • Line 242: warning: exported method TransactionsPacket.Name should have comment or be unexported (golint)
    • Line 243: warning: exported method TransactionsPacket.Kind should have comment or be unexported (golint)
    • Line 245: warning: exported method GetBlockHeadersPacket.Name should have comment or be unexported (golint)
    • Line 246: warning: exported method GetBlockHeadersPacket.Kind should have comment or be unexported (golint)
    • Line 248: warning: exported method BlockHeadersPacket.Name should have comment or be unexported (golint)
    • Line 249: warning: exported method BlockHeadersPacket.Kind should have comment or be unexported (golint)
    • Line 251: warning: exported method GetBlockBodiesPacket.Name should have comment or be unexported (golint)
    • Line 252: warning: exported method GetBlockBodiesPacket.Kind should have comment or be unexported (golint)
    • Line 254: warning: exported method BlockBodiesPacket.Name should have comment or be unexported (golint)
    • Line 255: warning: exported method BlockBodiesPacket.Kind should have comment or be unexported (golint)
    • Line 257: warning: exported method NewBlockPacket.Name should have comment or be unexported (golint)
    • Line 258: warning: exported method NewBlockPacket.Kind should have comment or be unexported (golint)
    • Line 260: warning: exported method GetNodeDataPacket.Name should have comment or be unexported (golint)
    • Line 261: warning: exported method GetNodeDataPacket.Kind should have comment or be unexported (golint)
    • Line 263: warning: exported method NodeDataPacket.Name should have comment or be unexported (golint)
    • Line 264: warning: exported method NodeDataPacket.Kind should have comment or be unexported (golint)
    • Line 266: warning: exported method GetReceiptsPacket.Name should have comment or be unexported (golint)
    • Line 267: warning: exported method GetReceiptsPacket.Kind should have comment or be unexported (golint)
    • Line 269: warning: exported method ReceiptsPacket.Name should have comment or be unexported (golint)
    • Line 270: warning: exported method ReceiptsPacket.Kind should have comment or be unexported (golint)
    • Line 272: warning: exported method NewPooledTransactionHashesPacket.Name should have comment or be unexported (golint)
    • Line 273: warning: exported method NewPooledTransactionHashesPacket.Kind should have comment or be unexported (golint)
    • Line 275: warning: exported method GetPooledTransactionsPacket.Name should have comment or be unexported (golint)
    • Line 276: warning: exported method GetPooledTransactionsPacket.Kind should have comment or be unexported (golint)
    • Line 278: warning: exported method PooledTransactionsPacket.Name should have comment or be unexported (golint)
    • Line 279: warning: exported method PooledTransactionsPacket.Kind should have comment or be unexported (golint)
    • go-ethereum/tests/fuzzers/bls12381/bls_fuzzer.go
    • Line 39: warning: exported function FuzzG1Add should have comment or be unexported (golint)
    • Line 40: warning: exported function FuzzG1Mul should have comment or be unexported (golint)
    • Line 41: warning: exported function FuzzG1MultiExp should have comment or be unexported (golint)
    • Line 42: warning: exported function FuzzG2Add should have comment or be unexported (golint)
    • Line 43: warning: exported function FuzzG2Mul should have comment or be unexported (golint)
    • Line 44: warning: exported function FuzzG2MultiExp should have comment or be unexported (golint)
    • Line 45: warning: exported function FuzzPairing should have comment or be unexported (golint)
    • Line 46: warning: exported function FuzzMapG1 should have comment or be unexported (golint)
    • Line 47: warning: exported function FuzzMapG2 should have comment or be unexported (golint)
    • go-ethereum/les/lespay/client/requestbasket.go
    • Line 237: warning: receiver name r should be consistent with previous receiver name b for requestBasket (golint)
    • Line 242: warning: receiver name r should be consistent with previous receiver name b for requestBasket (golint)
    • Line 259: warning: receiver name r should be consistent with previous receiver name b for requestBasket (golint)
    • go-ethereum/cmd/devp2p/internal/v5test/discv5tests.go
    • Line 49: warning: exported method Suite.AllTests should have comment or be unexported (golint)
    • Line 61: warning: comment on exported method Suite.TestPing should be of the form "TestPing ..." (golint)
    • Line 87: warning: comment on exported method Suite.TestPingLargeRequestID should be of the form "TestPingLargeRequestID ..." (golint)
    • Line 106: warning: comment on exported method Suite.TestPingMultiIP should be of the form "TestPingMultiIP ..." (golint)
    • Line 156: warning: comment on exported method Suite.TestPingHandshakeInterrupted should be of the form "TestPingHandshakeInterrupted ..." (golint)
    • Line 183: warning: comment on exported method Suite.TestTalkRequest should be of the form "TestTalkRequest ..." (golint)
    • Line 218: warning: comment on exported method Suite.TestFindnodeZeroDistance should be of the form "TestFindnodeZeroDistance ..." (golint)
    • Line 235: warning: comment on exported method Suite.TestFindnodeResults should be of the form "TestFindnodeResults ..." (golint)
    • go-ethereum/p2p/simulations/test.go
    • Line 34: warning: exported function NewNoopService should have comment or be unexported (golint)
    • Line 40: warning: exported method NoopService.Protocols should have comment or be unexported (golint)
    • Line 65: warning: exported method NoopService.APIs should have comment or be unexported (golint)
    • Line 69: warning: exported method NoopService.Start should have comment or be unexported (golint)
    • Line 73: warning: exported method NoopService.Stop should have comment or be unexported (golint)
    • Line 77: warning: exported function VerifyRing should have comment or be unexported (golint)
    • Line 96: warning: exported function VerifyChain should have comment or be unexported (golint)
    • Line 115: warning: exported function VerifyFull should have comment or be unexported (golint)
    • Line 133: warning: exported function VerifyStar should have comment or be unexported (golint)
    • go-ethereum/consensus/ethash/consensus.go
    • Line 488: warning: comment on exported var FrontierDifficultyCalulator should be of the form "FrontierDifficultyCalulator ..." (golint)
    • Line 490: warning: exported var HomesteadDifficultyCalulator should have comment or be unexported (golint)
    • Line 491: warning: exported var DynamicDifficultyCalculator should have comment or be unexported (golint)
    • go-ethereum/ethclient/ethclient.go
    • Line 45: warning: exported function DialContext should have comment or be unexported (golint)
    • Line 58: warning: exported method Client.Close should have comment or be unexported (golint)
    • Line 64: warning: comment on exported method Client.ChainID should be of the form "ChainID ..." (golint)
    • go-ethereum/eth/backend.go
    • Line 362: warning: exported method Ethereum.ResetWithGenesisBlock should have comment or be unexported (golint)
    • Line 366: warning: exported method Ethereum.Etherbase should have comment or be unexported (golint)
    • Line 512: warning: exported method Ethereum.IsMining should have comment or be unexported (golint)
    • Line 513: warning: exported method Ethereum.Miner should have comment or be unexported (golint)
    • Line 515: warning: exported method Ethereum.AccountManager should have comment or be unexported (golint)
    • Line 516: warning: exported method Ethereum.BlockChain should have comment or be unexported (golint)
    • Line 517: warning: exported method Ethereum.TxPool should have comment or be unexported (golint)
    • Line 518: warning: exported method Ethereum.EventMux should have comment or be unexported (golint)
    • Line 519: warning: exported method Ethereum.Engine should have comment or be unexported (golint)
    • Line 520: warning: exported method Ethereum.ChainDb should have comment or be unexported (golint)
    • Line 521: warning: exported method Ethereum.IsListening should have comment or be unexported (golint)
    • Line 522: warning: exported method Ethereum.Downloader should have comment or be unexported (golint)
    • Line 523: warning: exported method Ethereum.Synced should have comment or be unexported (golint)
    • Line 524: warning: exported method Ethereum.ArchiveMode should have comment or be unexported (golint)
    • Line 525: warning: exported method Ethereum.BloomIndexer should have comment or be unexported (golint)
    • go-ethereum/p2p/simulations/http.go
    • Line 367: warning: comment on exported method Server.GetMockers should be of the form "GetMockers ..." (golint)
    • Line 722: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 737: warning: should not use basic type string as key in context.WithValue (golint)
    • go-ethereum/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 83: warning: exported method Reporter.BuildRequest should have comment or be unexported (golint)
    • go-ethereum/les/server.go
    • Line 54: warning: exported type LesServer should have comment or be unexported (golint)
    • Line 78: warning: exported function NewLesServer should have comment or be unexported (golint)
    • Line 160: warning: exported method LesServer.APIs should have comment or be unexported (golint)
    • Line 183: warning: exported method LesServer.Protocols should have comment or be unexported (golint)
    • go-ethereum/signer/rules/rules.go
    • Line 34: warning: don't use underscores in Go names; var BigNumber_JS should be BigNumberJS (golint)
    • Line 34: warning: exported var BigNumber_JS should have comment or be unexported (golint)
    • Line 56: warning: exported function NewRuleEvaluator should have comment or be unexported (golint)
    • go-ethereum/params/protocol_params.go
    • Line 22: warning: exported const GasLimitBoundDivisor should have comment (or a comment on this block) or be unexported (golint)
    • Line 78: warning: comment on exported const CallGasFrontier should be of the form "CallGasFrontier ..." (golint)
    • Line 94: warning: comment on exported const ExpByteFrontier should be of the form "ExpByteFrontier ..." (golint)
    • Line 98: warning: comment on exported const ExtcodeCopyBaseFrontier should be of the form "ExtcodeCopyBaseFrontier ..." (golint)
    • Line 139: warning: comment on exported var Bls12381MultiExpDiscountTable should be of the form "Bls12381MultiExpDiscountTable ..." (golint)
    • Line 143: warning: exported var DifficultyBoundDivisor should have comment or be unexported (golint)
    • go-ethereum/eth/api_backend.go
    • Line 54: warning: exported method EthAPIBackend.CurrentBlock should have comment or be unexported (golint)
    • Line 58: warning: exported method EthAPIBackend.SetHead should have comment or be unexported (golint)
    • Line 63: warning: exported method EthAPIBackend.HeaderByNumber should have comment or be unexported (golint)
    • Line 76: warning: exported method EthAPIBackend.HeaderByNumberOrHash should have comment or be unexported (golint)
    • Line 93: warning: exported method EthAPIBackend.HeaderByHash should have comment or be unexported (golint)
    • Line 97: warning: exported method EthAPIBackend.BlockByNumber should have comment or be unexported (golint)
    • Line 110: warning: exported method EthAPIBackend.BlockByHash should have comment or be unexported (golint)
    • Line 114: warning: exported method EthAPIBackend.BlockByNumberOrHash should have comment or be unexported (golint)
    • Line 135: warning: exported method EthAPIBackend.StateAndHeaderByNumber should have comment or be unexported (golint)
    • Line 153: warning: exported method EthAPIBackend.StateAndHeaderByNumberOrHash should have comment or be unexported (golint)
    • Line 174: warning: exported method EthAPIBackend.GetReceipts should have comment or be unexported (golint)
    • Line 178: warning: exported method EthAPIBackend.GetLogs should have comment or be unexported (golint)
    • Line 190: warning: exported method EthAPIBackend.GetTd should have comment or be unexported (golint)
    • Line 194: warning: exported method EthAPIBackend.GetEVM should have comment or be unexported (golint)
    • Line 202: warning: exported method EthAPIBackend.SubscribeRemovedLogsEvent should have comment or be unexported (golint)
    • Line 206: warning: exported method EthAPIBackend.SubscribePendingLogsEvent should have comment or be unexported (golint)
    • Line 210: warning: exported method EthAPIBackend.SubscribeChainEvent should have comment or be unexported (golint)
    • Line 214: warning: exported method EthAPIBackend.SubscribeChainHeadEvent should have comment or be unexported (golint)
    • Line 218: warning: exported method EthAPIBackend.SubscribeChainSideEvent should have comment or be unexported (golint)
    • Line 222: warning: exported method EthAPIBackend.SubscribeLogsEvent should have comment or be unexported (golint)
    • Line 226: warning: exported method EthAPIBackend.SendTx should have comment or be unexported (golint)
    • Line 230: warning: exported method EthAPIBackend.GetPoolTransactions should have comment or be unexported (golint)
    • Line 242: warning: exported method EthAPIBackend.GetPoolTransaction should have comment or be unexported (golint)
    • Line 246: warning: exported method EthAPIBackend.GetTransaction should have comment or be unexported (golint)
    • Line 251: warning: exported method EthAPIBackend.GetPoolNonce should have comment or be unexported (golint)
    • Line 255: warning: exported method EthAPIBackend.Stats should have comment or be unexported (golint)
    • Line 259: warning: exported method EthAPIBackend.TxPoolContent should have comment or be unexported (golint)
    • Line 263: warning: exported method EthAPIBackend.TxPool should have comment or be unexported (golint)
    • Line 267: warning: exported method EthAPIBackend.SubscribeNewTxsEvent should have comment or be unexported (golint)
    • Line 271: warning: exported method EthAPIBackend.Downloader should have comment or be unexported (golint)
    • Line 275: warning: exported method EthAPIBackend.SuggestPrice should have comment or be unexported (golint)
    • Line 279: warning: exported method EthAPIBackend.ChainDb should have comment or be unexported (golint)
    • Line 283: warning: exported method EthAPIBackend.EventMux should have comment or be unexported (golint)
    • Line 287: warning: exported method EthAPIBackend.AccountManager should have comment or be unexported (golint)
    • Line 291: warning: exported method EthAPIBackend.ExtRPCEnabled should have comment or be unexported (golint)
    • Line 295: warning: exported method EthAPIBackend.RPCGasCap should have comment or be unexported (golint)
    • Line 299: warning: exported method EthAPIBackend.RPCTxFeeCap should have comment or be unexported (golint)
    • Line 303: warning: exported method EthAPIBackend.BloomStatus should have comment or be unexported (golint)
    • Line 308: warning: exported method EthAPIBackend.ServiceFilter should have comment or be unexported (golint)
    • Line 314: warning: exported method EthAPIBackend.Engine should have comment or be unexported (golint)
    • Line 318: warning: exported method EthAPIBackend.CurrentHeader should have comment or be unexported (golint)
    • Line 322: warning: exported method EthAPIBackend.Miner should have comment or be unexported (golint)
    • Line 326: warning: exported method EthAPIBackend.StartMining should have comment or be unexported (golint)
    • go-ethereum/les/lespay/client/valuetracker.go
    • Line 216: warning: comment on exported method ValueTracker.StatsExpFactor should be of the form "StatsExpFactor ..." (golint)
    • Line 467: warning: exported type ServedRequest should have comment or be unexported (golint)
    • Line 489: warning: exported type RequestStatsItem should have comment or be unexported (golint)
    • go-ethereum/light/postprocess.go
    • Line 107: warning: exported var ChtTablePrefix should have comment or be unexported (golint)
    • Line 256: warning: comment on exported method ChtIndexerBackend.Prune should be of the form "Prune ..." (golint)
    • Line 303: warning: exported var BloomTrieTablePrefix should have comment or be unexported (golint)
    • go-ethereum/p2p/simulations/network.go
    • Line 37: warning: exported var DialBanTimeout should have comment or be unexported (golint)
    • Line 652: warning: comment on exported method Network.InitConn should be of the form "InitConn ..." (golint)
    • Line 892: warning: exported method Network.SnapshotWithServices should have comment or be unexported (golint)
    • go-ethereum/cmd/clef/main.go
    • Line 838: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 839: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 840: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 971: warning: should not use basic type string as key in context.WithValue (golint)
    • go-ethereum/rpc/client.go
    • Line 35: warning: exported var ErrClientQuit should have comment or be unexported (golint)
    • Line 188: warning: comment on exported function ClientFromContext should be of the form "ClientFromContext ..." (golint)
    • Line 335: warning: comment on exported method Client.BatchCallContext should be of the form "BatchCallContext ..." (golint)
    • go-ethereum/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)
    • go-ethereum/signer/core/cliui.go
    • Line 33: warning: exported type CommandlineUI should have comment or be unexported (golint)
    • Line 38: warning: exported function NewCommandlineUI should have comment or be unexported (golint)
    • Line 42: warning: exported method CommandlineUI.RegisterUIServer should have comment or be unexported (golint)
    • Line 61: warning: exported method CommandlineUI.OnInputRequired should have comment or be unexported (golint)
    • Line 221: warning: exported method CommandlineUI.OnApprovedTx should have comment or be unexported (golint)
    • Line 230: warning: exported method CommandlineUI.OnSignerStartup should have comment or be unexported (golint)
    • go-ethereum/core/events.go
    • Line 33: warning: exported type ChainEvent should have comment or be unexported (golint)
    • Line 39: warning: exported type ChainSideEvent should have comment or be unexported (golint)
    • Line 43: warning: exported type ChainHeadEvent should have comment or be unexported (golint)
    • go-ethereum/crypto/ecies/ecies.go
    • Line 46: 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 ErrSharedTooLong should have comment or be unexported (golint)
    • go-ethereum/signer/core/stdioui.go
    • Line 27: warning: exported type StdIOUI should have comment or be unexported (golint)
    • Line 31: warning: exported function NewStdIOUI should have comment or be unexported (golint)
    • Line 40: warning: exported method StdIOUI.RegisterUIServer should have comment or be unexported (golint)
    • Line 63: warning: exported method StdIOUI.ApproveTx should have comment or be unexported (golint)
    • Line 69: warning: exported method StdIOUI.ApproveSignData should have comment or be unexported (golint)
    • Line 75: warning: exported method StdIOUI.ApproveListing should have comment or be unexported (golint)
    • Line 81: warning: exported method StdIOUI.ApproveNewAccount should have comment or be unexported (golint)
    • Line 87: warning: exported method StdIOUI.ShowError should have comment or be unexported (golint)
    • Line 94: warning: exported method StdIOUI.ShowInfo should have comment or be unexported (golint)
    • Line 100: warning: exported method StdIOUI.OnApprovedTx should have comment or be unexported (golint)
    • Line 107: warning: exported method StdIOUI.OnSignerStartup should have comment or be unexported (golint)
    • Line 113: warning: exported method StdIOUI.OnInputRequired should have comment or be unexported (golint)
    • go-ethereum/rpc/types.go
    • Line 69: warning: exported type BlockNumber should have comment or be unexported (golint)
    • Line 72: warning: exported const PendingBlockNumber should have comment (or a comment on this block) or be unexported (golint)
    • Line 112: warning: exported method BlockNumber.Int64 should have comment or be unexported (golint)
    • Line 116: warning: exported type BlockNumberOrHash should have comment or be unexported (golint)
    • Line 122: warning: exported method BlockNumberOrHash.UnmarshalJSON should have comment or be unexported (golint)
    • Line 162: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 177: warning: exported method BlockNumberOrHash.Number should have comment or be unexported (golint)
    • Line 184: warning: exported method BlockNumberOrHash.Hash should have comment or be unexported (golint)
    • Line 191: warning: exported function BlockNumberOrHashWithNumber should have comment or be unexported (golint)
    • Line 199: warning: exported function BlockNumberOrHashWithHash should have comment or be unexported (golint)
    • go-ethereum/les/utils/expiredvalue.go
    • Line 70: warning: comment on exported method ExpiredValue.Value should be of the form "Value ..." (golint)
    • Line 76: warning: comment on exported method ExpiredValue.Add should be of the form "Add ..." (golint)
    • Line 105: warning: comment on exported method ExpiredValue.AddExp should be of the form "AddExp ..." (golint)
    • Line 117: warning: comment on exported method ExpiredValue.SubExp should be of the form "SubExp ..." (golint)
    • Line 146: warning: comment on exported method LinearExpiredValue.Value should be of the form "Value ..." (golint)
    • Line 161: warning: comment on exported method LinearExpiredValue.Add should be of the form "Add ..." (golint)
    • Line 247: warning: comment on exported function Float64ToFixed64 should be of the form "Float64ToFixed64 ..." (golint)
    • Line 252: warning: comment on exported method Fixed64.ToUint64 should be of the form "ToUint64 ..." (golint)
    • Line 257: warning: comment on exported method Fixed64.Fraction should be of the form "Fraction ..." (golint)
    • Line 267: warning: comment on exported method Fixed64.Pow2 should be of the form "Pow2 ..." (golint)
    • go-ethereum/signer/core/api.go
    • Line 130: warning: exported function StartClefAccountManager should have comment or be unexported (golint)
    • Line 220: warning: comment on exported type ListRequest should be of the form "ListRequest ..." (with optional leading article) (golint)
    • Line 220: warning: comment on exported type ListResponse should be of the form "ListResponse ..." (with optional leading article) (golint)
    • Line 220: warning: comment on exported type Message should be of the form "Message ..." (with optional leading article) (golint)
    • Line 220: warning: comment on exported type NewAccountRequest should be of the form "NewAccountRequest ..." (with optional leading article) (golint)
    • Line 220: warning: comment on exported type NewAccountResponse should be of the form "NewAccountResponse ..." (with optional leading article) (golint)
    • Line 220: warning: comment on exported type SignDataRequest should be of the form "SignDataRequest ..." (with optional leading article) (golint)
    • Line 220: warning: comment on exported type SignDataResponse should be of the form "SignDataResponse ..." (with optional leading article) (golint)
    • Line 220: warning: comment on exported type StartupInfo should be of the form "StartupInfo ..." (with optional leading article) (golint)
    • Line 220: warning: comment on exported type UserInputRequest should be of the form "UserInputRequest ..." (with optional leading article) (golint)
    • Line 220: warning: comment on exported type UserInputResponse should be of the form "UserInputResponse ..." (with optional leading article) (golint)
    • Line 275: warning: exported var ErrRequestDenied should have comment or be unexported (golint)
    • Line 590: warning: exported method SignerAPI.SignGnosisSafeTx should have comment or be unexported (golint)
    • Line 617: warning: comment on exported method SignerAPI.Version should be of the form "Version ..." (golint)
    • go-ethereum/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)
    • go-ethereum/internal/jsre/jsre.go
    • Line 69: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 230: warning: comment on exported method JSRE.Stop should be of the form "Stop ..." (golint)
    • Line 239: warning: comment on exported method JSRE.Exec should be of the form "Exec ..." (golint)
    • go-ethereum/tests/fuzzers/trie/trie-fuzzer.go
    • Line 75: 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 86: warning: exported function Generate should have comment or be unexported (golint)
    • Line 125: warning: comment on exported function Fuzz should be of the form "Fuzz ..." (golint)
    • go-ethereum/common/prque/prque.go
    • Line 24: warning: comment on exported type Prque should be of the form "Prque ..." (with optional leading article) (golint)
    • Line 34: warning: comment on exported method Prque.Push should be of the form "Push ..." (golint)
    • Line 45: warning: comment on exported method Prque.Pop should be of the form "Pop ..." (golint)
    • Line 52: warning: comment on exported method Prque.PopItem should be of the form "PopItem ..." (golint)
    • Line 65: warning: comment on exported method Prque.Empty should be of the form "Empty ..." (golint)
    • Line 70: warning: comment on exported method Prque.Size should be of the form "Size ..." (golint)
    • Line 75: warning: comment on exported method Prque.Reset should be of the form "Reset ..." (golint)
    • go-ethereum/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)
    • go-ethereum/graphql/graphql.go
    • Line 44: warning: exported type Long should have comment or be unexported (golint)
    • Line 88: warning: exported method Account.Address should have comment or be unexported (golint)
    • Line 92: warning: exported method Account.Balance should have comment or be unexported (golint)
    • Line 100: warning: exported method Account.TransactionCount should have comment or be unexported (golint)
    • Line 108: warning: exported method Account.Code should have comment or be unexported (golint)
    • Line 116: warning: exported method Account.Storage should have comment or be unexported (golint)
    • Line 131: warning: exported method Log.Transaction should have comment or be unexported (golint)
    • Line 135: warning: exported method Log.Account should have comment or be unexported (golint)
    • Line 143: warning: exported method Log.Index should have comment or be unexported (golint)
    • Line 147: warning: exported method Log.Topics should have comment or be unexported (golint)
    • Line 151: warning: exported method Log.Data should have comment or be unexported (golint)
    • Line 184: warning: exported method Transaction.Hash should have comment or be unexported (golint)
    • Line 188: warning: exported method Transaction.InputData should have comment or be unexported (golint)
    • Line 196: warning: exported method Transaction.Gas should have comment or be unexported (golint)
    • Line 204: warning: exported method Transaction.GasPrice should have comment or be unexported (golint)
    • Line 212: warning: exported method Transaction.Value should have comment or be unexported (golint)
    • Line 220: warning: exported method Transaction.Nonce should have comment or be unexported (golint)
    • Line 228: warning: exported method Transaction.To should have comment or be unexported (golint)
    • Line 244: warning: exported method Transaction.From should have comment or be unexported (golint)
    • Line 262: warning: exported method Transaction.Block should have comment or be unexported (golint)
    • Line 269: warning: exported method Transaction.Index should have comment or be unexported (golint)
    • Line 295: warning: exported method Transaction.Status should have comment or be unexported (golint)
    • Line 304: warning: exported method Transaction.GasUsed should have comment or be unexported (golint)
    • Line 313: warning: exported method Transaction.CumulativeGasUsed should have comment or be unexported (golint)
    • Line 322: warning: exported method Transaction.CreatedContract should have comment or be unexported (golint)
    • Line 334: warning: exported method Transaction.Logs should have comment or be unexported (golint)
    • Line 350: warning: exported method Transaction.R should have comment or be unexported (golint)
    • Line 359: warning: exported method Transaction.S should have comment or be unexported (golint)
    • Line 368: warning: exported method Transaction.V should have comment or be unexported (golint)
    • Line 377: warning: exported type BlockType should have comment or be unexported (golint)
    • Line 451: warning: exported method Block.Number should have comment or be unexported (golint)
    • Line 460: warning: exported method Block.Hash should have comment or be unexported (golint)
    • Line 471: warning: exported method Block.GasLimit should have comment or be unexported (golint)
    • Line 479: warning: exported method Block.GasUsed should have comment or be unexported (golint)
    • Line 487: warning: exported method Block.Parent should have comment or be unexported (golint)
    • Line 505: warning: exported method Block.Difficulty should have comment or be unexported (golint)
    • Line 513: warning: exported method Block.Timestamp should have comment or be unexported (golint)
    • Line 521: warning: exported method Block.Nonce should have comment or be unexported (golint)
    • Line 529: warning: exported method Block.MixHash should have comment or be unexported (golint)
    • Line 537: warning: exported method Block.TransactionsRoot should have comment or be unexported (golint)
    • Line 545: warning: exported method Block.StateRoot should have comment or be unexported (golint)
    • Line 553: warning: exported method Block.ReceiptsRoot should have comment or be unexported (golint)
    • Line 561: warning: exported method Block.OmmerHash should have comment or be unexported (golint)
    • Line 569: warning: exported method Block.OmmerCount should have comment or be unexported (golint)
    • Line 578: warning: exported method Block.Ommers should have comment or be unexported (golint)
    • Line 595: warning: exported method Block.ExtraData should have comment or be unexported (golint)
    • Line 603: warning: exported method Block.LogsBloom should have comment or be unexported (golint)
    • Line 611: warning: exported method Block.TotalDifficulty should have comment or be unexported (golint)
    • Line 647: warning: exported method Block.Miner should have comment or be unexported (golint)
    • Line 659: warning: exported method Block.TransactionCount should have comment or be unexported (golint)
    • Line 668: warning: exported method Block.Transactions should have comment or be unexported (golint)
    • Line 686: warning: exported method Block.TransactionAt should have comment or be unexported (golint)
    • Line 705: warning: exported method Block.OmmerAt should have comment or be unexported (golint)
    • Line 760: warning: exported method Block.Logs should have comment or be unexported (golint)
    • Line 784: warning: exported method Block.Account should have comment or be unexported (golint)
    • Line 818: warning: exported method CallResult.Data should have comment or be unexported (golint)
    • Line 822: warning: exported method CallResult.GasUsed should have comment or be unexported (golint)
    • Line 826: warning: exported method CallResult.Status should have comment or be unexported (golint)
    • Line 830: warning: exported method Block.Call should have comment or be unexported (golint)
    • Line 855: warning: exported method Block.EstimateGas should have comment or be unexported (golint)
    • Line 868: warning: exported type Pending should have comment or be unexported (golint)
    • Line 872: warning: exported method Pending.TransactionCount should have comment or be unexported (golint)
    • Line 877: warning: exported method Pending.Transactions should have comment or be unexported (golint)
    • Line 894: warning: exported method Pending.Account should have comment or be unexported (golint)
    • Line 905: warning: exported method Pending.Call should have comment or be unexported (golint)
    • Line 925: warning: exported method Pending.EstimateGas should have comment or be unexported (golint)
    • Line 938: warning: exported method Resolver.Block should have comment or be unexported (golint)
    • Line 978: warning: exported method Resolver.Blocks should have comment or be unexported (golint)
    • Line 1004: warning: exported method Resolver.Pending should have comment or be unexported (golint)
    • Line 1008: warning: exported method Resolver.Transaction should have comment or be unexported (golint)
    • Line 1023: warning: exported method Resolver.SendRawTransaction should have comment or be unexported (golint)
    • Line 1052: warning: exported method Resolver.Logs should have comment or be unexported (golint)
    • Line 1075: warning: exported method Resolver.GasPrice should have comment or be unexported (golint)
    • Line 1080: warning: exported method Resolver.ChainID should have comment or be unexported (golint)
    • Line 1089: warning: exported method SyncState.StartingBlock should have comment or be unexported (golint)
    • Line 1093: warning: exported method SyncState.CurrentBlock should have comment or be unexported (golint)
    • Line 1097: warning: exported method SyncState.HighestBlock should have comment or be unexported (golint)
    • Line 1101: warning: exported method SyncState.PulledStates should have comment or be unexported (golint)
    • Line 1106: warning: exported method SyncState.KnownStates should have comment or be unexported (golint)
    • go-ethereum/core/state/state_object.go
    • Line 34: warning: exported type Code should have comment or be unexported (golint)
    • Line 40: warning: exported type Storage should have comment or be unexported (golint)
    • Line 50: warning: exported method Storage.Copy should have comment or be unexported (golint)
    • go-ethereum/signer/core/signed_data.go
    • Line 43: warning: exported type SigFormat should have comment or be unexported (golint)
    • Line 49: warning: exported var IntendedValidator should have comment or be unexported (golint)
    • Line 67: warning: exported type ValidatorData should have comment or be unexported (golint)
    • Line 72: warning: exported type TypedData should have comment or be unexported (golint)
    • Line 79: warning: exported type Type should have comment or be unexported (golint)
    • Line 105: warning: exported type Types should have comment or be unexported (golint)
    • Line 107: warning: exported type TypePriority should have comment or be unexported (golint)
    • Line 112: warning: exported type TypedDataMessage should have comment or be unexported (golint)
    • Line 114: warning: exported type TypedDataDomain should have comment or be unexported (golint)
    • Line 267: 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 270: 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 288: warning: comment on exported function SignTextValidator should be of the form "SignTextValidator ..." (golint)
    • Line 617: 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 810: 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 816: 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 829: 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)
    • go-ethereum/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)
    • go-ethereum/p2p/enr/entries.go
    • Line 61: warning: exported method TCP.ENRKey should have comment or be unexported (golint)
    • Line 63: warning: comment on exported type TCP6 should be of the form "TCP6 ..." (with optional leading article) (golint)
    • Line 66: warning: exported method TCP6.ENRKey should have comment or be unexported (golint)
    • Line 71: warning: exported method UDP.ENRKey should have comment or be unexported (golint)
    • Line 73: warning: comment on exported type UDP6 should be of the form "UDP6 ..." (with optional leading article) (golint)
    • Line 76: warning: exported method UDP6.ENRKey should have comment or be unexported (golint)
    • Line 81: warning: exported const IDv4 should have comment or be unexported (golint)
    • Line 83: warning: exported method ID.ENRKey should have comment or be unexported (golint)
    • Line 90: warning: exported method IP.ENRKey should have comment or be unexported (golint)
    • Line 122: warning: exported method IPv4.ENRKey should have comment or be unexported (golint)
    • Line 147: warning: exported method IPv6.ENRKey should have comment or be unexported (golint)
    • go-ethereum/eth/downloader/events.go
    • Line 21: warning: exported type DoneEvent should have comment or be unexported (golint)
    • Line 24: warning: exported type StartEvent should have comment or be unexported (golint)
    • Line 25: warning: exported type FailedEvent should have comment or be unexported (golint)
    • go-ethereum/mobile/interface.go
    • Line 45: warning: exported method Interface.SetBool should have comment or be unexported (golint)
    • Line 46: warning: exported method Interface.SetBools should have comment or be unexported (golint)
    • Line 47: warning: exported method Interface.SetString should have comment or be unexported (golint)
    • Line 48: warning: exported method Interface.SetStrings should have comment or be unexported (golint)
    • Line 49: warning: exported method Interface.SetBinary should have comment or be unexported (golint)
    • Line 50: warning: exported method Interface.SetBinaries should have comment or be unexported (golint)
    • Line 51: warning: exported method Interface.SetAddress should have comment or be unexported (golint)
    • Line 52: warning: exported method Interface.SetAddresses should have comment or be unexported (golint)
    • Line 53: warning: exported method Interface.SetHash should have comment or be unexported (golint)
    • Line 54: warning: exported method Interface.SetHashes should have comment or be unexported (golint)
    • Line 55: warning: exported method Interface.SetInt8 should have comment or be unexported (golint)
    • Line 56: warning: exported method Interface.SetInt16 should have comment or be unexported (golint)
    • Line 57: warning: exported method Interface.SetInt32 should have comment or be unexported (golint)
    • Line 58: warning: exported method Interface.SetInt64 should have comment or be unexported (golint)
    • Line 59: warning: exported method Interface.SetInt8s should have comment or be unexported (golint)
    • Line 66: warning: exported method Interface.SetInt16s should have comment or be unexported (golint)
    • Line 73: warning: exported method Interface.SetInt32s should have comment or be unexported (golint)
    • Line 80: warning: exported method Interface.SetInt64s should have comment or be unexported (golint)
    • Line 87: warning: exported method Interface.SetUint8 should have comment or be unexported (golint)
    • Line 88: warning: exported method Interface.SetUint16 should have comment or be unexported (golint)
    • Line 89: warning: exported method Interface.SetUint32 should have comment or be unexported (golint)
    • Line 90: warning: exported method Interface.SetUint64 should have comment or be unexported (golint)
    • Line 91: warning: exported method Interface.SetUint8s should have comment or be unexported (golint)
    • Line 98: warning: exported method Interface.SetUint16s should have comment or be unexported (golint)
    • Line 105: warning: exported method Interface.SetUint32s should have comment or be unexported (golint)
    • Line 112: warning: exported method Interface.SetUint64s should have comment or be unexported (golint)
    • Line 119: warning: exported method Interface.SetBigInt should have comment or be unexported (golint)
    • Line 120: warning: exported method Interface.SetBigInts should have comment or be unexported (golint)
    • Line 122: warning: exported method Interface.SetDefaultBool should have comment or be unexported (golint)
    • Line 123: warning: exported method Interface.SetDefaultBools should have comment or be unexported (golint)
    • Line 124: warning: exported method Interface.SetDefaultString should have comment or be unexported (golint)
    • Line 125: warning: exported method Interface.SetDefaultStrings should have comment or be unexported (golint)
    • Line 126: warning: exported method Interface.SetDefaultBinary should have comment or be unexported (golint)
    • Line 127: warning: exported method Interface.SetDefaultBinaries should have comment or be unexported (golint)
    • Line 128: warning: exported method Interface.SetDefaultAddress should have comment or be unexported (golint)
    • Line 129: warning: exported method Interface.SetDefaultAddresses should have comment or be unexported (golint)
    • Line 130: warning: exported method Interface.SetDefaultHash should have comment or be unexported (golint)
    • Line 131: warning: exported method Interface.SetDefaultHashes should have comment or be unexported (golint)
    • Line 132: warning: exported method Interface.SetDefaultInt8 should have comment or be unexported (golint)
    • Line 133: warning: exported method Interface.SetDefaultInt8s should have comment or be unexported (golint)
    • Line 134: warning: exported method Interface.SetDefaultInt16 should have comment or be unexported (golint)
    • Line 135: warning: exported method Interface.SetDefaultInt16s should have comment or be unexported (golint)
    • Line 136: warning: exported method Interface.SetDefaultInt32 should have comment or be unexported (golint)
    • Line 137: warning: exported method Interface.SetDefaultInt32s should have comment or be unexported (golint)
    • Line 138: warning: exported method Interface.SetDefaultInt64 should have comment or be unexported (golint)
    • Line 139: warning: exported method Interface.SetDefaultInt64s should have comment or be unexported (golint)
    • Line 140: warning: exported method Interface.SetDefaultUint8 should have comment or be unexported (golint)
    • Line 141: warning: exported method Interface.SetDefaultUint8s should have comment or be unexported (golint)
    • Line 142: warning: exported method Interface.SetDefaultUint16 should have comment or be unexported (golint)
    • Line 143: warning: exported method Interface.SetDefaultUint16s should have comment or be unexported (golint)
    • Line 144: warning: exported method Interface.SetDefaultUint32 should have comment or be unexported (golint)
    • Line 145: warning: exported method Interface.SetDefaultUint32s should have comment or be unexported (golint)
    • Line 146: warning: exported method Interface.SetDefaultUint64 should have comment or be unexported (golint)
    • Line 147: warning: exported method Interface.SetDefaultUint64s should have comment or be unexported (golint)
    • Line 148: warning: exported method Interface.SetDefaultBigInt should have comment or be unexported (golint)
    • Line 149: warning: exported method Interface.SetDefaultBigInts should have comment or be unexported (golint)
    • Line 151: warning: exported method Interface.GetBool should have comment or be unexported (golint)
    • Line 152: warning: exported method Interface.GetBools should have comment or be unexported (golint)
    • Line 153: warning: exported method Interface.GetString should have comment or be unexported (golint)
    • Line 154: warning: exported method Interface.GetStrings should have comment or be unexported (golint)
    • Line 155: warning: exported method Interface.GetBinary should have comment or be unexported (golint)
    • Line 156: warning: exported method Interface.GetBinaries should have comment or be unexported (golint)
    • Line 157: warning: exported method Interface.GetAddress should have comment or be unexported (golint)
    • Line 158: warning: exported method Interface.GetAddresses should have comment or be unexported (golint)
    • Line 159: warning: exported method Interface.GetHash should have comment or be unexported (golint)
    • Line 160: warning: exported method Interface.GetHashes should have comment or be unexported (golint)
    • Line 161: warning: exported method Interface.GetInt8 should have comment or be unexported (golint)
    • Line 162: warning: exported method Interface.GetInt16 should have comment or be unexported (golint)
    • Line 163: warning: exported method Interface.GetInt32 should have comment or be unexported (golint)
    • Line 164: warning: exported method Interface.GetInt64 should have comment or be unexported (golint)
    • Line 165: warning: exported method Interface.GetInt8s should have comment or be unexported (golint)
    • Line 173: warning: exported method Interface.GetInt16s should have comment or be unexported (golint)
    • Line 181: warning: exported method Interface.GetInt32s should have comment or be unexported (golint)
    • Line 189: warning: exported method Interface.GetInt64s should have comment or be unexported (golint)
    • Line 197: warning: exported method Interface.GetUint8 should have comment or be unexported (golint)
    • Line 200: warning: exported method Interface.GetUint16 should have comment or be unexported (golint)
    • Line 203: warning: exported method Interface.GetUint32 should have comment or be unexported (golint)
    • Line 206: warning: exported method Interface.GetUint64 should have comment or be unexported (golint)
    • Line 209: warning: exported method Interface.GetUint8s should have comment or be unexported (golint)
    • Line 217: warning: exported method Interface.GetUint16s should have comment or be unexported (golint)
    • Line 225: warning: exported method Interface.GetUint32s should have comment or be unexported (golint)
    • Line 233: warning: exported method Interface.GetUint64s should have comment or be unexported (golint)
    • Line 241: warning: exported method Interface.GetBigInt should have comment or be unexported (golint)
    • Line 242: warning: exported method Interface.GetBigInts should have comment or be unexported (golint)
    • go-ethereum/cmd/utils/flags.go
    • Line 106: warning: comment on exported var DataDirFlag should be of the form "DataDirFlag ..." (golint)
    • Line 112: warning: exported var AncientFlag should have comment or be unexported (golint)
    • Line 223: warning: comment on exported var LightServeFlag should be of the form "LightServeFlag ..." (golint)
    • Line 262: warning: comment on exported var EthashCacheDirFlag should be of the form "EthashCacheDirFlag ..." (golint)
    • Line 300: warning: comment on exported var TxPoolLocalsFlag should be of the form "TxPoolLocalsFlag ..." (golint)
    • Line 354: warning: comment on exported var CacheFlag should be of the form "CacheFlag ..." (golint)
    • Line 398: warning: comment on exported var MiningEnabledFlag should be of the form "MiningEnabledFlag ..." (golint)
    • Line 445: warning: comment on exported var UnlockedAccountFlag should be of the form "UnlockedAccountFlag ..." (golint)
    • Line 479: warning: comment on exported var EthStatsURLFlag should be of the form "EthStatsURLFlag ..." (golint)
    • Line 492: warning: comment on exported var IPCDisabledFlag should be of the form "IPCDisabledFlag ..." (golint)
    • Line 577: warning: comment on exported var MaxPeersFlag should be of the form "MaxPeersFlag ..." (golint)
    • Line 628: warning: comment on exported var JSpathFlag should be of the form "JSpathFlag ..." (golint)
    • Line 635: warning: comment on exported var GpoBlocksFlag should be of the form "GpoBlocksFlag ..." (golint)
    • Line 670: warning: comment on exported var MetricsEnabledFlag should be of the form "MetricsEnabledFlag ..." (golint)
    • Line 718: warning: comment on exported var MetricsInfluxDBTagsFlag should be of the form "MetricsInfluxDBTagsFlag ..." (golint)
    • Line 1140: warning: exported function SetP2PConfig should have comment or be unexported (golint)
    • Line 1753: warning: exported function SetupMetrics should have comment or be unexported (golint)
    • Line 1781: warning: exported function SplitTagsFlag should have comment or be unexported (golint)
    • Line 1820: warning: exported function MakeGenesis should have comment or be unexported (golint)
    • go-ethereum/core/types/block.go
    • Line 38: warning: exported var EmptyRootHash should have comment or be unexported (golint)
    • Line 195: warning: comment on exported type StorageBlock should be of the form "StorageBlock ..." (with optional leading article) (golint)
    • Line 301: warning: comment on exported method StorageBlock.DecodeRLP should be of the form "DecodeRLP ..." (golint)
    • Line 313: warning: exported method Block.Uncles should have comment or be unexported (golint)
    • Line 314: warning: exported method Block.Transactions should have comment or be unexported (golint)
    • Line 316: warning: exported method Block.Transaction should have comment or be unexported (golint)
    • Line 325: warning: exported method Block.Number should have comment or be unexported (golint)
    • Line 326: warning: exported method Block.GasLimit should have comment or be unexported (golint)
    • Line 327: warning: exported method Block.GasUsed should have comment or be unexported (golint)
    • Line 328: warning: exported method Block.Difficulty should have comment or be unexported (golint)
    • Line 329: warning: exported method Block.Time should have comment or be unexported (golint)
    • Line 331: warning: exported method Block.NumberU64 should have comment or be unexported (golint)
    • Line 332: warning: exported method Block.MixDigest should have comment or be unexported (golint)
    • Line 333: warning: exported method Block.Nonce should have comment or be unexported (golint)
    • Line 334: warning: exported method Block.Bloom should have comment or be unexported (golint)
    • Line 335: warning: exported method Block.Coinbase should have comment or be unexported (golint)
    • Line 336: warning: exported method Block.Root should have comment or be unexported (golint)
    • Line 337: warning: exported method Block.ParentHash should have comment or be unexported (golint)
    • Line 338: warning: exported method Block.TxHash should have comment or be unexported (golint)
    • Line 339: warning: exported method Block.ReceiptHash should have comment or be unexported (golint)
    • Line 340: warning: exported method Block.UncleHash should have comment or be unexported (golint)
    • Line 341: warning: exported method Block.Extra should have comment or be unexported (golint)
    • Line 343: warning: exported method Block.Header should have comment or be unexported (golint)
    • Line 373: warning: exported function CalcUncleHash should have comment or be unexported (golint)
    • Line 417: warning: exported type Blocks should have comment or be unexported (golint)
    • go-ethereum/core/types/transaction.go
    • Line 36: warning: exported var ErrInvalidSig should have comment or be unexported (golint)
    • Line 39: warning: exported type Transaction should have comment or be unexported (golint)
    • Line 77: warning: exported function NewTransaction should have comment or be unexported (golint)
    • Line 81: warning: exported function NewContractCreation should have comment or be unexported (golint)
    • Line 181: warning: exported method Transaction.Data should have comment or be unexported (golint)
    • Line 182: warning: exported method Transaction.Gas should have comment or be unexported (golint)
    • Line 183: warning: exported method Transaction.GasPrice should have comment or be unexported (golint)
    • Line 184: warning: exported method Transaction.GasPriceCmp should have comment or be unexported (golint)
    • Line 187: warning: exported method Transaction.GasPriceIntCmp should have comment or be unexported (golint)
    • Line 190: warning: exported method Transaction.Value should have comment or be unexported (golint)
    • Line 191: warning: exported method Transaction.Nonce should have comment or be unexported (golint)
    • Line 192: warning: exported method Transaction.CheckNonce should have comment or be unexported (golint)
    • Line 334: warning: exported method TxByPriceAndTime.Push should have comment or be unexported (golint)
    • Line 338: warning: exported method TxByPriceAndTime.Pop should have comment or be unexported (golint)
    • Line 422: warning: exported function NewMessage should have comment or be unexported (golint)
    • Line 435: warning: exported method Message.From should have comment or be unexported (golint)
    • Line 436: warning: exported method Message.To should have comment or be unexported (golint)
    • Line 437: warning: exported method Message.GasPrice should have comment or be unexported (golint)
    • Line 438: warning: exported method Message.Value should have comment or be unexported (golint)
    • Line 439: warning: exported method Message.Gas should have comment or be unexported (golint)
    • Line 440: warning: exported method Message.Nonce should have comment or be unexported (golint)
    • Line 441: warning: exported method Message.Data should have comment or be unexported (golint)
    • Line 442: warning: exported method Message.CheckNonce should have comment or be unexported (golint)
    • go-ethereum/signer/core/types.go
    • Line 30: warning: exported type ValidationInfo should have comment or be unexported (golint)
    • Line 34: warning: exported type ValidationMessages should have comment or be unexported (golint)
    • Line 39: warning: exported const WARN should have comment (or a comment on this block) or be unexported (golint)
    • Line 44: warning: exported method ValidationMessages.Crit should have comment or be unexported (golint)
    • Line 47: warning: exported method ValidationMessages.Warn should have comment or be unexported (golint)
    • Line 50: warning: exported method ValidationMessages.Info should have comment or be unexported (golint)
    • Line 55: warning: receiver name v should be consistent with previous receiver name vs for ValidationMessages (golint)
    • go-ethereum/core/tx_pool.go
    • Line 124: warning: exported const TxStatusUnknown should have comment (or a comment on this block) or be unexported (golint)
    • Line 776: warning: comment on exported method TxPool.AddRemotesSync should be of the form "AddRemotesSync ..." (golint)
    • go-ethereum/les/protocol.go
    • Line 47: warning: comment on exported var ProtocolLengths should be of the form "ProtocolLengths ..." (golint)
    • Line 51: warning: exported const NetworkId should have comment (or a comment on this block) or be unexported (golint)
    • Line 144: warning: exported const ErrMsgTooLarge should have comment (or a comment on this block) or be unexported (golint)
    • go-ethereum/crypto/bn256/cloudflare/bn256.go
    • Line 59: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 68: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 77: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 86: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 95: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 104: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 129: warning: receiver name e should be consistent with previous receiver name g for G1 (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 383: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 390: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 432: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • go-ethereum/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)
    • go-ethereum/core/headerchain.go
    • Line 299: warning: exported method HeaderChain.ValidateHeaderChain should have comment or be unexported (golint)
    • Line 526: warning: exported method HeaderChain.GetCanonicalHash should have comment or be unexported (golint)
    • go-ethereum/cmd/utils/flags_legacy.go
    • Line 28: warning: exported var ShowDeprecated should have comment or be unexported (golint)
    • Line 37: warning: exported var DeprecatedFlags should have comment or be unexported (golint)
    • Line 49: warning: comment on exported var LegacyMinerThreadsFlag should be of the form "LegacyMinerThreadsFlag ..." (golint)
    • Line 55: warning: exported var LegacyMinerGasTargetFlag should have comment or be unexported (golint)
    • Line 75: warning: comment on exported var LegacyLightServFlag should be of the form "LegacyLightServFlag ..." (golint)
    • Line 87: warning: comment on exported var LegacyTestnetFlag should be of the form "LegacyTestnetFlag ..." (golint)
    • Line 93: warning: comment on exported var LegacyRPCEnabledFlag should be of the form "LegacyRPCEnabledFlag ..." (golint)
    • Line 164: warning: comment on exported var LegacyGraphQLListenAddrFlag should be of the form "LegacyGraphQLListenAddrFlag ..." (golint)
    • go-ethereum/internal/cmdtest/test_cmd.go
    • Line 39: warning: exported function NewTestCmd should have comment or be unexported (golint)
    • Line 43: warning: exported type TestCmd should have comment or be unexported (golint)
    • Line 93: warning: exported method TestCmd.SetTemplateFunc should have comment or be unexported (golint)
    • Line 191: warning: exported method TestCmd.WaitExit should have comment or be unexported (golint)
    • Line 195: warning: exported method TestCmd.Interrupt should have comment or be unexported (golint)
    • Line 222: warning: exported method TestCmd.CloseStdin should have comment or be unexported (golint)
    • Line 226: warning: exported method TestCmd.Kill should have comment or be unexported (golint)
    • go-ethereum/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)
    • go-ethereum/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)
    • go-ethereum/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)
    • go-ethereum/cmd/utils/customflags.go
    • Line 33: warning: comment on exported type DirectoryString should be of the form "DirectoryString ..." (with optional leading article) (golint)
    • Line 42: warning: exported method DirectoryString.Set should have comment or be unexported (golint)
    • Line 47: warning: comment on exported type DirectoryFlag should be of the form "DirectoryFlag ..." (with optional leading article) (golint)
    • Line 60: warning: comment on exported method DirectoryFlag.Apply should be of the form "Apply ..." (golint)
    • Line 68: warning: exported method DirectoryFlag.GetName should have comment or be unexported (golint)
    • Line 72: warning: exported method DirectoryFlag.Set should have comment or be unexported (golint)
    • Line 84: warning: exported type TextMarshaler should have comment or be unexported (golint)
    • Line 114: warning: exported method TextMarshalerFlag.GetName should have comment or be unexported (golint)
    • Line 122: warning: exported method TextMarshalerFlag.Apply should have comment or be unexported (golint)
    • Line 165: 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 202: warning: exported function HomeDir should have comment or be unexported (golint)
    • go-ethereum/rpc/http.go
    • Line 241: warning: should not use basic type string as key in context.WithValue (golint)
    • 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 245: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 248: warning: should not use basic type string as key in context.WithValue (golint)
    • go-ethereum/cmd/devp2p/internal/v4test/discv4tests.go
    • Line 41: warning: comment on exported var Listen1 should be of the form "Listen1 ..." (golint)
    • Line 43: warning: comment on exported var Listen2 should be of the form "Listen2 ..." (golint)
    • Line 72: warning: comment on exported function BasicPing should be of the form "BasicPing ..." (golint)
    • Line 109: warning: comment on exported function PingWrongTo should be of the form "PingWrongTo ..." (golint)
    • Line 128: warning: comment on exported function PingWrongFrom should be of the form "PingWrongFrom ..." (golint)
    • Line 147: warning: comment on exported function PingExtraData should be of the form "PingExtraData ..." (golint)
    • Line 169: warning: comment on exported function PingExtraDataWrongFrom should be of the form "PingExtraDataWrongFrom ..." (golint)
    • Line 191: warning: comment on exported function PingPastExpiration should be of the form "PingPastExpiration ..." (golint)
    • Line 210: warning: comment on exported function WrongPacketType should be of the form "WrongPacketType ..." (golint)
    • Line 228: warning: comment on exported function BondThenPingWithWrongFrom should be of the form "BondThenPingWithWrongFrom ..." (golint)
    • Line 249: warning: comment on exported function FindnodeWithoutEndpointProof should be of the form "FindnodeWithoutEndpointProof ..." (golint)
    • Line 285: warning: comment on exported function UnsolicitedNeighbors should be of the form "UnsolicitedNeighbors ..." (golint)
    • Line 326: warning: comment on exported function FindnodePastExpiration should be of the form "FindnodePastExpiration ..." (golint)
    • Line 377: warning: comment on exported function FindnodeAmplificationInvalidPongHash should be of the form "FindnodeAmplificationInvalidPongHash ..." (golint)
    • Line 429: warning: comment on exported function FindnodeAmplificationWrongIP should be of the form "FindnodeAmplificationWrongIP ..." (golint)
    • Line 452: warning: exported var AllTests should have comment or be unexported (golint)
    • go-ethereum/contracts/checkpointoracle/oracle_test.go
    • Line 282: 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 305: 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)
    • go-ethereum/les/api_backend.go
    • Line 42: warning: exported type LesApiBackend should have comment or be unexported (golint)
    • Line 48: warning: exported method LesApiBackend.ChainConfig should have comment or be unexported (golint)
    • Line 52: warning: exported method LesApiBackend.CurrentBlock should have comment or be unexported (golint)
    • Line 56: warning: exported method LesApiBackend.SetHead should have comment or be unexported (golint)
    • Line 61: warning: exported method LesApiBackend.HeaderByNumber should have comment or be unexported (golint)
    • Line 68: warning: exported method LesApiBackend.HeaderByNumberOrHash should have comment or be unexported (golint)
    • Line 88: warning: exported method LesApiBackend.HeaderByHash should have comment or be unexported (golint)
    • Line 92: warning: exported method LesApiBackend.BlockByNumber should have comment or be unexported (golint)
    • Line 100: warning: exported method LesApiBackend.BlockByHash should have comment or be unexported (golint)
    • Line 104: warning: exported method LesApiBackend.BlockByNumberOrHash should have comment or be unexported (golint)
    • Line 124: warning: exported method LesApiBackend.StateAndHeaderByNumber should have comment or be unexported (golint)
    • Line 135: warning: exported method LesApiBackend.StateAndHeaderByNumberOrHash should have comment or be unexported (golint)
    • Line 152: warning: exported method LesApiBackend.GetReceipts should have comment or be unexported (golint)
    • Line 159: warning: exported method LesApiBackend.GetLogs should have comment or be unexported (golint)
    • Line 166: warning: exported method LesApiBackend.GetTd should have comment or be unexported (golint)
    • Line 173: warning: exported method LesApiBackend.GetEVM should have comment or be unexported (golint)
    • Line 179: warning: exported method LesApiBackend.SendTx should have comment or be unexported (golint)
    • Line 183: warning: exported method LesApiBackend.RemoveTx should have comment or be unexported (golint)
    • Line 187: warning: exported method LesApiBackend.GetPoolTransactions should have comment or be unexported (golint)
    • Line 191: warning: exported method LesApiBackend.GetPoolTransaction should have comment or be unexported (golint)
    • Line 195: warning: exported method LesApiBackend.GetTransaction should have comment or be unexported (golint)
    • Line 199: warning: exported method LesApiBackend.GetPoolNonce should have comment or be unexported (golint)
    • Line 203: warning: exported method LesApiBackend.Stats should have comment or be unexported (golint)
    • Line 207: warning: exported method LesApiBackend.TxPoolContent should have comment or be unexported (golint)
    • Line 211: warning: exported method LesApiBackend.SubscribeNewTxsEvent should have comment or be unexported (golint)
    • Line 215: warning: exported method LesApiBackend.SubscribeChainEvent should have comment or be unexported (golint)
    • Line 219: warning: exported method LesApiBackend.SubscribeChainHeadEvent should have comment or be unexported (golint)
    • Line 223: warning: exported method LesApiBackend.SubscribeChainSideEvent should have comment or be unexported (golint)
    • Line 227: warning: exported method LesApiBackend.SubscribeLogsEvent should have comment or be unexported (golint)
    • Line 231: warning: exported method LesApiBackend.SubscribePendingLogsEvent should have comment or be unexported (golint)
    • Line 238: warning: exported method LesApiBackend.SubscribeRemovedLogsEvent should have comment or be unexported (golint)
    • Line 242: warning: exported method LesApiBackend.Downloader should have comment or be unexported (golint)
    • Line 246: warning: exported method LesApiBackend.ProtocolVersion should have comment or be unexported (golint)
    • Line 250: warning: exported method LesApiBackend.SuggestPrice should have comment or be unexported (golint)
    • Line 254: warning: exported method LesApiBackend.ChainDb should have comment or be unexported (golint)
    • Line 258: warning: exported method LesApiBackend.AccountManager should have comment or be unexported (golint)
    • Line 262: warning: exported method LesApiBackend.ExtRPCEnabled should have comment or be unexported (golint)
    • Line 266: warning: exported method LesApiBackend.RPCGasCap should have comment or be unexported (golint)
    • Line 270: warning: exported method LesApiBackend.RPCTxFeeCap should have comment or be unexported (golint)
    • Line 274: warning: exported method LesApiBackend.BloomStatus should have comment or be unexported (golint)
    • Line 282: warning: exported method LesApiBackend.ServiceFilter should have comment or be unexported (golint)
    • Line 288: warning: exported method LesApiBackend.Engine should have comment or be unexported (golint)
    • Line 292: warning: exported method LesApiBackend.CurrentHeader should have comment or be unexported (golint)
    • go-ethereum/core/genesis.go
    • Line 70: warning: exported method GenesisAlloc.UnmarshalJSON should have comment or be unexported (golint)
    • Line 383: warning: exported function DefaultYoloV2GenesisBlock should have comment or be unexported (golint)
    • go-ethereum/mobile/vm.go
    • Line 33: warning: exported method Log.GetAddress should have comment or be unexported (golint)
    • Line 34: warning: exported method Log.GetTopics should have comment or be unexported (golint)
    • Line 35: warning: exported method Log.GetData should have comment or be unexported (golint)
    • Line 36: warning: exported method Log.GetBlockNumber should have comment or be unexported (golint)
    • Line 37: warning: exported method Log.GetTxHash should have comment or be unexported (golint)
    • Line 38: warning: exported method Log.GetTxIndex should have comment or be unexported (golint)
    • Line 39: warning: exported method Log.GetBlockHash should have comment or be unexported (golint)
    • Line 40: warning: exported method Log.GetIndex should have comment or be unexported (golint)
    • go-ethereum/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)
    • go-ethereum/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)
    • go-ethereum/core/state/statedb.go
    • Line 189: warning: exported method StateDB.AddLog should have comment or be unexported (golint)
    • Line 200: warning: exported method StateDB.GetLogs should have comment or be unexported (golint)
    • Line 204: warning: exported method StateDB.Logs should have comment or be unexported (golint)
    • Line 265: warning: exported method StateDB.GetNonce should have comment or be unexported (golint)
    • Line 284: warning: exported method StateDB.GetCode should have comment or be unexported (golint)
    • Line 292: warning: exported method StateDB.GetCodeSize should have comment or be unexported (golint)
    • Line 300: warning: exported method StateDB.GetCodeHash should have comment or be unexported (golint)
    • Line 377: warning: exported method StateDB.HasSuicided should have comment or be unexported (golint)
    • Line 405: warning: exported method StateDB.SetBalance should have comment or be unexported (golint)
    • Line 412: warning: exported method StateDB.SetNonce should have comment or be unexported (golint)
    • Line 419: warning: exported method StateDB.SetCode should have comment or be unexported (golint)
    • Line 426: warning: exported method StateDB.SetState should have comment or be unexported (golint)
    • Line 634: warning: exported method StateDB.ForEachStorage should have comment or be unexported (golint)
    • Line 634: warning: receiver name db should be consistent with previous receiver name s for StateDB (golint)
    • go-ethereum/rlp/decode.go
    • Line 36: warning: error var EOL should have name of the form ErrFoo (golint)
    • Line 39: warning: exported var ErrExpectedString should have comment or be unexported (golint)
    • Line 510: warning: exported const Byte should have comment (or a comment on this block) or be unexported (golint)
    • go-ethereum/p2p/discover/v4wire/v4wire.go
    • Line 47: warning: comment on exported type Ping should be of the form "Ping ..." (with optional leading article) (golint)
    • Line 85: warning: comment on exported type ENRRequest should be of the form "ENRRequest ..." (with optional leading article) (golint)
    • Line 92: warning: comment on exported type ENRResponse should be of the form "ENRResponse ..." (with optional leading article) (golint)
    • Line 101: warning: comment on exported const MaxNeighbors should be of the form "MaxNeighbors ..." (golint)
    • Line 159: warning: exported type Packet should have comment or be unexported (golint)
    • Line 165: warning: exported method Ping.Name should have comment or be unexported (golint)
    • Line 166: warning: exported method Ping.Kind should have comment or be unexported (golint)
    • Line 167: warning: exported method Ping.ENRSeq should have comment or be unexported (golint)
    • Line 169: warning: exported method Pong.Name should have comment or be unexported (golint)
    • Line 170: warning: exported method Pong.Kind should have comment or be unexported (golint)
    • Line 171: warning: exported method Pong.ENRSeq should have comment or be unexported (golint)
    • Line 173: warning: exported method Findnode.Name should have comment or be unexported (golint)
    • Line 174: warning: exported method Findnode.Kind should have comment or be unexported (golint)
    • Line 176: warning: exported method Neighbors.Name should have comment or be unexported (golint)
    • Line 177: warning: exported method Neighbors.Kind should have comment or be unexported (golint)
    • Line 179: warning: exported method ENRRequest.Name should have comment or be unexported (golint)
    • Line 180: warning: exported method ENRRequest.Kind should have comment or be unexported (golint)
    • Line 182: warning: exported method ENRResponse.Name should have comment or be unexported (golint)
    • Line 183: warning: exported method ENRResponse.Kind should have comment or be unexported (golint)
    • Line 208: warning: exported var ErrPacketTooSmall should have comment or be unexported (golint)
    • go-ethereum/mobile/types.go
    • Line 129: warning: exported method Header.GetParentHash should have comment or be unexported (golint)
    • Line 130: warning: exported method Header.GetUncleHash should have comment or be unexported (golint)
    • Line 131: warning: exported method Header.GetCoinbase should have comment or be unexported (golint)
    • Line 132: warning: exported method Header.GetRoot should have comment or be unexported (golint)
    • Line 133: warning: exported method Header.GetTxHash should have comment or be unexported (golint)
    • Line 134: warning: exported method Header.GetReceiptHash should have comment or be unexported (golint)
    • Line 135: warning: exported method Header.GetBloom should have comment or be unexported (golint)
    • Line 136: warning: exported method Header.GetDifficulty should have comment or be unexported (golint)
    • Line 137: warning: exported method Header.GetNumber should have comment or be unexported (golint)
    • Line 138: warning: exported method Header.GetGasLimit should have comment or be unexported (golint)
    • Line 139: warning: exported method Header.GetGasUsed should have comment or be unexported (golint)
    • Line 140: warning: exported method Header.GetTime should have comment or be unexported (golint)
    • Line 141: warning: exported method Header.GetExtra should have comment or be unexported (golint)
    • Line 142: warning: exported method Header.GetMixDigest should have comment or be unexported (golint)
    • Line 143: warning: exported method Header.GetNonce should have comment or be unexported (golint)
    • Line 144: warning: exported method Header.GetHash should have comment or be unexported (golint)
    • Line 205: warning: exported method Block.GetParentHash should have comment or be unexported (golint)
    • Line 206: warning: exported method Block.GetUncleHash should have comment or be unexported (golint)
    • Line 207: warning: exported method Block.GetCoinbase should have comment or be unexported (golint)
    • Line 208: warning: exported method Block.GetRoot should have comment or be unexported (golint)
    • Line 209: warning: exported method Block.GetTxHash should have comment or be unexported (golint)
    • Line 210: warning: exported method Block.GetReceiptHash should have comment or be unexported (golint)
    • Line 211: warning: exported method Block.GetBloom should have comment or be unexported (golint)
    • Line 212: warning: exported method Block.GetDifficulty should have comment or be unexported (golint)
    • Line 213: warning: exported method Block.GetNumber should have comment or be unexported (golint)
    • Line 214: warning: exported method Block.GetGasLimit should have comment or be unexported (golint)
    • Line 215: warning: exported method Block.GetGasUsed should have comment or be unexported (golint)
    • Line 216: warning: exported method Block.GetTime should have comment or be unexported (golint)
    • Line 217: warning: exported method Block.GetExtra should have comment or be unexported (golint)
    • Line 218: warning: exported method Block.GetMixDigest should have comment or be unexported (golint)
    • Line 219: warning: exported method Block.GetNonce should have comment or be unexported (golint)
    • Line 220: warning: exported method Block.GetHash should have comment or be unexported (golint)
    • Line 221: warning: exported method Block.GetHeader should have comment or be unexported (golint)
    • Line 222: warning: exported method Block.GetUncles should have comment or be unexported (golint)
    • Line 223: warning: exported method Block.GetTransactions should have comment or be unexported (golint)
    • Line 224: warning: exported method Block.GetTransaction should have comment or be unexported (golint)
    • Line 286: warning: exported method Transaction.GetData should have comment or be unexported (golint)
    • Line 287: warning: exported method Transaction.GetGas should have comment or be unexported (golint)
    • Line 288: warning: exported method Transaction.GetGasPrice should have comment or be unexported (golint)
    • Line 289: warning: exported method Transaction.GetValue should have comment or be unexported (golint)
    • Line 290: warning: exported method Transaction.GetNonce should have comment or be unexported (golint)
    • Line 292: warning: exported method Transaction.GetHash should have comment or be unexported (golint)
    • Line 293: warning: exported method Transaction.GetCost should have comment or be unexported (golint)
    • Line 295: warning: comment on exported method Transaction.GetSigHash should be of the form "GetSigHash ..." (golint)
    • Line 298: warning: comment on exported method Transaction.GetFrom should be of the form "GetFrom ..." (golint)
    • Line 308: warning: exported method Transaction.GetTo should have comment or be unexported (golint)
    • Line 315: warning: exported method Transaction.WithSignature should have comment or be unexported (golint)
    • Line 383: warning: exported method Receipt.GetStatus should have comment or be unexported (golint)
    • Line 384: warning: exported method Receipt.GetPostState should have comment or be unexported (golint)
    • Line 385: warning: exported method Receipt.GetCumulativeGasUsed should have comment or be unexported (golint)
    • Line 386: warning: exported method Receipt.GetBloom should have comment or be unexported (golint)
    • Line 387: warning: exported method Receipt.GetLogs should have comment or be unexported (golint)
    • Line 388: warning: exported method Receipt.GetTxHash should have comment or be unexported (golint)
    • Line 389: warning: exported method Receipt.GetContractAddress should have comment or be unexported (golint)
    • Line 390: warning: exported method Receipt.GetGasUsed should have comment or be unexported (golint)
    • go-ethereum/p2p/discover/v5wire/encoding_test.go
    • Line 253: warning: don't use underscores in Go names; var incorrect_challenge should be incorrectChallenge (golint)
    • Line 259: warning: don't use underscores in Go names; var incorrect_findnode should be incorrectFindnode (golint)
    • Line 260: warning: don't use underscores in Go names; var incorrect_findnode2 should be incorrectFindnode2 (golint)
    • go-ethereum/core/vm/eips.go
    • Line 47: warning: exported function ValidEip should have comment or be unexported (golint)
    • Line 51: warning: exported function ActivateableEips should have comment or be unexported (golint)
    • go-ethereum/trie/stacktrie.go
    • Line 30: warning: exported var ErrCommitDisabled should have comment or be unexported (golint)
    • Line 107: warning: exported method StackTrie.Update should have comment or be unexported (golint)
    • Line 113: warning: exported method StackTrie.Reset should have comment or be unexported (golint)
    • go-ethereum/internal/flags/helpers.go
    • Line 28: warning: exported var CommandHelpTemplate should have comment or be unexported (golint)
    • Line 110: warning: comment on exported type ByCategory should be of the form "ByCategory ..." (with optional leading article) (golint)
    • Line 132: warning: exported function FlagCategory should have comment or be unexported (golint)
    • go-ethereum/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)
    • go-ethereum/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)
    • go-ethereum/accounts/accounts.go
    • Line 39: warning: exported const MimetypeDataWithValidator should have comment (or a comment on this block) or be unexported (golint)
    • Line 215: warning: comment on exported const WalletDropped should be of the form "WalletDropped ..." (golint)
    • go-ethereum/p2p/discover/v5wire/msg.go
    • Line 62: warning: comment on exported type Whoareyou should be of the form "Whoareyou ..." (with optional leading article) (golint)
    • Line 76: warning: comment on exported type Ping should be of the form "Ping ..." (with optional leading article) (golint)
    • Line 82: warning: comment on exported type Pong should be of the form "Pong ..." (with optional leading article) (golint)
    • Line 90: warning: comment on exported type Findnode should be of the form "Findnode ..." (with optional leading article) (golint)
    • Line 96: warning: comment on exported type Nodes should be of the form "Nodes ..." (with optional leading article) (golint)
    • Line 103: warning: comment on exported type TalkRequest should be of the form "TalkRequest ..." (with optional leading article) (golint)
    • Line 110: warning: comment on exported type TalkResponse should be of the form "TalkResponse ..." (with optional leading article) (golint)
    • Line 116: warning: comment on exported type RequestTicket should be of the form "RequestTicket ..." (with optional leading article) (golint)
    • Line 122: warning: comment on exported type Ticket should be of the form "Ticket ..." (with optional leading article) (golint)
    • Line 128: warning: comment on exported type Regtopic should be of the form "Regtopic ..." (with optional leading article) (golint)
    • Line 135: warning: comment on exported type Regconfirmation should be of the form "Regconfirmation ..." (with optional leading article) (golint)
    • Line 141: warning: comment on exported type TopicQuery should be of the form "TopicQuery ..." (with optional leading article) (golint)
    • Line 186: warning: exported method Whoareyou.Name should have comment or be unexported (golint)
    • Line 187: warning: exported method Whoareyou.Kind should have comment or be unexported (golint)
    • Line 188: warning: exported method Whoareyou.RequestID should have comment or be unexported (golint)
    • Line 189: warning: exported method Whoareyou.SetRequestID should have comment or be unexported (golint)
    • Line 191: warning: exported method Unknown.Name should have comment or be unexported (golint)
    • Line 192: warning: exported method Unknown.Kind should have comment or be unexported (golint)
    • Line 193: warning: exported method Unknown.RequestID should have comment or be unexported (golint)
    • Line 194: warning: exported method Unknown.SetRequestID should have comment or be unexported (golint)
    • Line 196: warning: exported method Ping.Name should have comment or be unexported (golint)
    • Line 197: warning: exported method Ping.Kind should have comment or be unexported (golint)
    • Line 198: warning: exported method Ping.RequestID should have comment or be unexported (golint)
    • Line 199: warning: exported method Ping.SetRequestID should have comment or be unexported (golint)
    • Line 201: warning: exported method Pong.Name should have comment or be unexported (golint)
    • Line 202: warning: exported method Pong.Kind should have comment or be unexported (golint)
    • Line 203: warning: exported method Pong.RequestID should have comment or be unexported (golint)
    • Line 204: warning: exported method Pong.SetRequestID should have comment or be unexported (golint)
    • Line 206: warning: exported method Findnode.Name should have comment or be unexported (golint)
    • Line 207: warning: exported method Findnode.Kind should have comment or be unexported (golint)
    • Line 208: warning: exported method Findnode.RequestID should have comment or be unexported (golint)
    • Line 209: warning: exported method Findnode.SetRequestID should have comment or be unexported (golint)
    • Line 211: warning: exported method Nodes.Name should have comment or be unexported (golint)
    • Line 212: warning: exported method Nodes.Kind should have comment or be unexported (golint)
    • Line 213: warning: exported method Nodes.RequestID should have comment or be unexported (golint)
    • Line 214: warning: exported method Nodes.SetRequestID should have comment or be unexported (golint)
    • Line 216: warning: exported method TalkRequest.Name should have comment or be unexported (golint)
    • Line 217: warning: exported method TalkRequest.Kind should have comment or be unexported (golint)
    • Line 218: warning: exported method TalkRequest.RequestID should have comment or be unexported (golint)
    • Line 219: warning: exported method TalkRequest.SetRequestID should have comment or be unexported (golint)
    • Line 221: warning: exported method TalkResponse.Name should have comment or be unexported (golint)
    • Line 222: warning: exported method TalkResponse.Kind should have comment or be unexported (golint)
    • Line 223: warning: exported method TalkResponse.RequestID should have comment or be unexported (golint)
    • Line 224: warning: exported method TalkResponse.SetRequestID should have comment or be unexported (golint)
    • Line 226: warning: exported method RequestTicket.Name should have comment or be unexported (golint)
    • Line 227: warning: exported method RequestTicket.Kind should have comment or be unexported (golint)
    • Line 228: warning: exported method RequestTicket.RequestID should have comment or be unexported (golint)
    • Line 229: warning: exported method RequestTicket.SetRequestID should have comment or be unexported (golint)
    • Line 231: warning: exported method Regtopic.Name should have comment or be unexported (golint)
    • Line 232: warning: exported method Regtopic.Kind should have comment or be unexported (golint)
    • Line 233: warning: exported method Regtopic.RequestID should have comment or be unexported (golint)
    • Line 234: warning: exported method Regtopic.SetRequestID should have comment or be unexported (golint)
    • Line 236: warning: exported method Ticket.Name should have comment or be unexported (golint)
    • Line 237: warning: exported method Ticket.Kind should have comment or be unexported (golint)
    • Line 238: warning: exported method Ticket.RequestID should have comment or be unexported (golint)
    • Line 239: warning: exported method Ticket.SetRequestID should have comment or be unexported (golint)
    • Line 241: warning: exported method Regconfirmation.Name should have comment or be unexported (golint)
    • Line 242: warning: exported method Regconfirmation.Kind should have comment or be unexported (golint)
    • Line 243: warning: exported method Regconfirmation.RequestID should have comment or be unexported (golint)
    • Line 244: warning: exported method Regconfirmation.SetRequestID should have comment or be unexported (golint)
    • Line 246: warning: exported method TopicQuery.Name should have comment or be unexported (golint)
    • Line 247: warning: exported method TopicQuery.Kind should have comment or be unexported (golint)
    • Line 248: warning: exported method TopicQuery.RequestID should have comment or be unexported (golint)
    • Line 249: warning: exported method TopicQuery.SetRequestID should have comment or be unexported (golint)
    • go-ethereum/p2p/enode/node.go
    • Line 124: warning: comment on exported method Node.TCP should be of the form "TCP ..." (golint)
    • Line 202: warning: comment on exported method ID.GoString should be of the form "GoString ..." (golint)
    • Line 238: warning: exported function ParseID should have comment or be unexported (golint)
    • go-ethereum/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)
    • go-ethereum/eth/protocols/snap/protocol.go
    • Line 49: warning: exported const GetAccountRangeMsg should have comment (or a comment on this block) or be unexported (golint)
    • Line 196: warning: exported method GetAccountRangePacket.Name should have comment or be unexported (golint)
    • Line 197: warning: exported method GetAccountRangePacket.Kind should have comment or be unexported (golint)
    • Line 199: warning: exported method AccountRangePacket.Name should have comment or be unexported (golint)
    • Line 200: warning: exported method AccountRangePacket.Kind should have comment or be unexported (golint)
    • Line 202: warning: exported method GetStorageRangesPacket.Name should have comment or be unexported (golint)
    • Line 203: warning: exported method GetStorageRangesPacket.Kind should have comment or be unexported (golint)
    • Line 205: warning: exported method StorageRangesPacket.Name should have comment or be unexported (golint)
    • Line 206: warning: exported method StorageRangesPacket.Kind should have comment or be unexported (golint)
    • Line 208: warning: exported method GetByteCodesPacket.Name should have comment or be unexported (golint)
    • Line 209: warning: exported method GetByteCodesPacket.Kind should have comment or be unexported (golint)
    • Line 211: warning: exported method ByteCodesPacket.Name should have comment or be unexported (golint)
    • Line 212: warning: exported method ByteCodesPacket.Kind should have comment or be unexported (golint)
    • Line 214: warning: exported method GetTrieNodesPacket.Name should have comment or be unexported (golint)
    • Line 215: warning: exported method GetTrieNodesPacket.Kind should have comment or be unexported (golint)
    • Line 217: warning: exported method TrieNodesPacket.Name should have comment or be unexported (golint)
    • Line 218: warning: exported method TrieNodesPacket.Kind should have comment or be unexported (golint)
    • go-ethereum/les/utils/timeutils.go
    • Line 26: warning: exported type UpdateTimer should have comment or be unexported (golint)
    • Line 33: warning: exported function NewUpdateTimer should have comment or be unexported (golint)
    • Line 49: warning: exported method UpdateTimer.Update should have comment or be unexported (golint)
    • Line 53: warning: exported method UpdateTimer.UpdateAt should have comment or be unexported (golint)
    • go-ethereum/les/lespay/client/api.go
    • Line 44: 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 71: 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 89: 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 104: 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)
    • go-ethereum/crypto/blake2b/blake2b.go
    • Line 26: warning: comment on exported const BlockSize should be of the form "BlockSize ..." (golint)
    • Line 28: warning: comment on exported const Size should be of the form "Size ..." (golint)
    • Line 30: warning: comment on exported const Size384 should be of the form "Size384 ..." (golint)
    • Line 32: warning: comment on exported const Size256 should be of the form "Size256 ..." (golint)
    • go-ethereum/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 39: warning: exported const ChequebookJs should have comment or be unexported (golint)
    • Line 70: warning: exported const CliqueJs should have comment or be unexported (golint)
    • Line 121: warning: exported const EthashJs should have comment or be unexported (golint)
    • Line 149: warning: exported const AdminJs should have comment or be unexported (golint)
    • Line 227: warning: exported const DebugJs should have comment or be unexported (golint)
    • Line 478: warning: exported const EthJs should have comment or be unexported (golint)
    • Line 584: warning: exported const MinerJs should have comment or be unexported (golint)
    • Line 629: warning: exported const NetJs should have comment or be unexported (golint)
    • Line 642: warning: exported const PersonalJs should have comment or be unexported (golint)
    • Line 698: warning: exported const RpcJs should have comment or be unexported (golint)
    • Line 711: warning: exported const ShhJs should have comment or be unexported (golint)
    • Line 731: warning: exported const SwarmfsJs should have comment or be unexported (golint)
    • Line 755: warning: exported const TxpoolJs should have comment or be unexported (golint)
    • Line 782: warning: exported const AccountingJs should have comment or be unexported (golint)
    • Line 826: warning: exported const LESJs should have comment or be unexported (golint)
    • Line 880: warning: exported const LESPayJs should have comment or be unexported (golint)
    • go-ethereum/mobile/ethereum.go
    • Line 50: warning: exported method CallMsg.GetFrom should have comment or be unexported (golint)
    • Line 51: warning: exported method CallMsg.GetGas should have comment or be unexported (golint)
    • Line 52: warning: exported method CallMsg.GetGasPrice should have comment or be unexported (golint)
    • Line 53: warning: exported method CallMsg.GetValue should have comment or be unexported (golint)
    • Line 54: warning: exported method CallMsg.GetData should have comment or be unexported (golint)
    • Line 55: warning: exported method CallMsg.GetTo should have comment or be unexported (golint)
    • Line 62: warning: exported method CallMsg.SetFrom should have comment or be unexported (golint)
    • Line 63: warning: exported method CallMsg.SetGas should have comment or be unexported (golint)
    • Line 64: warning: exported method CallMsg.SetGasPrice should have comment or be unexported (golint)
    • Line 65: warning: exported method CallMsg.SetValue should have comment or be unexported (golint)
    • Line 66: warning: exported method CallMsg.SetData should have comment or be unexported (golint)
    • Line 67: warning: exported method CallMsg.SetTo should have comment or be unexported (golint)
    • Line 81: warning: exported method SyncProgress.GetStartingBlock should have comment or be unexported (golint)
    • Line 82: warning: exported method SyncProgress.GetCurrentBlock should have comment or be unexported (golint)
    • Line 83: warning: exported method SyncProgress.GetHighestBlock should have comment or be unexported (golint)
    • Line 84: warning: exported method SyncProgress.GetPulledStates should have comment or be unexported (golint)
    • Line 85: warning: exported method SyncProgress.GetKnownStates should have comment or be unexported (golint)
    • Line 139: warning: exported method FilterQuery.GetFromBlock should have comment or be unexported (golint)
    • Line 140: warning: exported method FilterQuery.GetToBlock should have comment or be unexported (golint)
    • Line 141: warning: exported method FilterQuery.GetAddresses should have comment or be unexported (golint)
    • Line 142: warning: exported method FilterQuery.GetTopics should have comment or be unexported (golint)
    • Line 144: warning: exported method FilterQuery.SetFromBlock should have comment or be unexported (golint)
    • Line 145: warning: exported method FilterQuery.SetToBlock should have comment or be unexported (golint)
    • Line 146: warning: exported method FilterQuery.SetAddresses should have comment or be unexported (golint)
    • Line 147: warning: exported method FilterQuery.SetTopics should have comment or be unexported (golint)
    • go-ethereum/p2p/message.go
    • Line 73: warning: exported type MsgReader should have comment or be unexported (golint)
    • Line 77: warning: exported type MsgWriter should have comment or be unexported (golint)
    • go-ethereum/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)
    • go-ethereum/eth/downloader/modes.go
    • Line 26: warning: exported const FullSync should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: exported method SyncMode.IsValid should have comment or be unexported (golint)
    • Line 52: warning: exported method SyncMode.MarshalText should have comment or be unexported (golint)
    • Line 67: warning: exported method SyncMode.UnmarshalText should have comment or be unexported (golint)
    • go-ethereum/signer/core/auditlog.go
    • Line 29: warning: exported type AuditLogger should have comment or be unexported (golint)
    • Line 34: warning: exported method AuditLogger.List should have comment or be unexported (golint)
    • Line 42: warning: exported method AuditLogger.New should have comment or be unexported (golint)
    • Line 46: warning: exported method AuditLogger.SignTransaction should have comment or be unexported (golint)
    • Line 64: warning: exported method AuditLogger.SignData should have comment or be unexported (golint)
    • Line 73: warning: exported method AuditLogger.SignGnosisSafeTx should have comment or be unexported (golint)
    • Line 91: warning: exported method AuditLogger.SignTypedData should have comment or be unexported (golint)
    • Line 99: warning: exported method AuditLogger.EcRecover should have comment or be unexported (golint)
    • Line 107: warning: exported method AuditLogger.Version should have comment or be unexported (golint)
    • Line 115: warning: exported function NewAuditLogger should have comment or be unexported (golint)
    • go-ethereum/internal/ethapi/api.go
    • Line 206: warning: comment on exported method PrivateAccountAPI.ListAccounts should be of the form "ListAccounts ..." (golint)
    • Line 554: warning: comment on exported type AccountResult should be of the form "AccountResult ..." (with optional leading article) (golint)
    • Line 564: warning: exported type StorageResult should have comment or be unexported (golint)
    • Line 812: warning: exported function DoCall should have comment or be unexported (golint)
    • Line 941: warning: exported function DoEstimateGas should have comment or be unexported (golint)
    • go-ethereum/mobile/bind.go
    • Line 38: warning: exported type MobileSigner should have comment or be unexported (golint)
    • Line 42: warning: exported method MobileSigner.Sign should have comment or be unexported (golint)
    • Line 60: warning: exported method CallOpts.IsPending should have comment or be unexported (golint)
    • Line 61: warning: exported method CallOpts.GetGasLimit should have comment or be unexported (golint)
    • Line 67: warning: exported method CallOpts.SetPending should have comment or be unexported (golint)
    • Line 68: warning: exported method CallOpts.SetGasLimit should have comment or be unexported (golint)
    • Line 69: warning: exported method CallOpts.SetContext should have comment or be unexported (golint)
    • Line 70: warning: exported method CallOpts.SetFrom should have comment or be unexported (golint)
    • Line 97: warning: exported method TransactOpts.GetFrom should have comment or be unexported (golint)
    • Line 98: warning: exported method TransactOpts.GetNonce should have comment or be unexported (golint)
    • Line 99: warning: exported method TransactOpts.GetValue should have comment or be unexported (golint)
    • Line 100: warning: exported method TransactOpts.GetGasPrice should have comment or be unexported (golint)
    • Line 101: warning: exported method TransactOpts.GetGasLimit should have comment or be unexported (golint)
    • Line 110: warning: exported method TransactOpts.SetFrom should have comment or be unexported (golint)
    • Line 111: warning: exported method TransactOpts.SetNonce should have comment or be unexported (golint)
    • Line 112: warning: exported method TransactOpts.SetSigner should have comment or be unexported (golint)
    • Line 121: warning: exported method TransactOpts.SetValue should have comment or be unexported (golint)
    • Line 122: warning: exported method TransactOpts.SetGasPrice should have comment or be unexported (golint)
    • Line 123: warning: exported method TransactOpts.SetGasLimit should have comment or be unexported (golint)
    • Line 124: warning: exported method TransactOpts.SetContext should have comment or be unexported (golint)
    • Line 167: warning: exported method BoundContract.GetAddress should have comment or be unexported (golint)
    • Line 168: warning: exported method BoundContract.GetDeployer should have comment or be unexported (golint)
    • go-ethereum/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)
    • go-ethereum/p2p/discv5/net.go
    • Line 275: warning: exported method Network.RegisterTopic should have comment or be unexported (golint)
    • Line 291: warning: exported method Network.SearchTopic should have comment or be unexported (golint)
    • go-ethereum/light/lightchain.go
    • Line 225: warning: exported method LightChain.StateCache should have comment or be unexported (golint)
    • Line 439: warning: comment on exported method LightChain.GetTdOdr should be of the form "GetTdOdr ..." (golint)
    • Line 469: warning: receiver name bc should be consistent with previous receiver name lc for LightChain (golint)
    • go-ethereum/p2p/peer.go
    • Line 38: warning: exported var ErrShuttingDown should have comment or be unexported (golint)
    • Line 205: warning: exported method Peer.Log should have comment or be unexported (golint)
    • go-ethereum/les/odr.go
    • Line 38: warning: exported function NewLesOdr should have comment or be unexported (golint)
    • Line 85: warning: exported const MsgBlockHeaders should have comment (or a comment on this block) or be unexported (golint)
    • go-ethereum/signer/storage/storage.go
    • Line 29: warning: exported type Storage should have comment or be unexported (golint)
    • Line 72: warning: exported function NewEphemeralStorage should have comment or be unexported (golint)
    • Line 82: warning: exported method NoStorage.Put should have comment or be unexported (golint)
    • Line 83: warning: exported method NoStorage.Del should have comment or be unexported (golint)
    • Line 84: warning: exported method NoStorage.Get should have comment or be unexported (golint)
    • go-ethereum/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)
    • go-ethereum/cmd/evm/internal/t8ntool/transition.go
    • Line 39: warning: exported const ErrorEVM should have comment (or a comment on this block) or be unexported (golint)
    • Line 49: warning: exported type NumberedError should have comment or be unexported (golint)
    • Line 54: warning: exported function NewError should have comment or be unexported (golint)
    • Line 62: warning: exported method NumberedError.Code should have comment or be unexported (golint)
    • Line 72: warning: exported function Main should have comment or be unexported (golint)
    • Line 196: 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 216: warning: exported type Alloc should have comment or be unexported (golint)
    • Line 218: warning: exported method Alloc.OnRoot should have comment or be unexported (golint)
    • Line 220: warning: exported method Alloc.OnAccount should have comment or be unexported (golint)
    • go-ethereum/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 122: warning: exported var DeprecatedFlags should have comment or be unexported (golint)
    • Line 205: warning: exported function StartPProf should have comment or be unexported (golint)
    • go-ethereum/mobile/p2p.go
    • Line 32: warning: exported method NodeInfo.GetID should have comment or be unexported (golint)
    • Line 33: warning: exported method NodeInfo.GetName should have comment or be unexported (golint)
    • Line 34: warning: exported method NodeInfo.GetEnode should have comment or be unexported (golint)
    • Line 35: warning: exported method NodeInfo.GetIP should have comment or be unexported (golint)
    • Line 36: warning: exported method NodeInfo.GetDiscoveryPort should have comment or be unexported (golint)
    • Line 37: warning: exported method NodeInfo.GetListenerPort should have comment or be unexported (golint)
    • Line 38: warning: exported method NodeInfo.GetListenerAddress should have comment or be unexported (golint)
    • Line 39: warning: exported method NodeInfo.GetProtocols should have comment or be unexported (golint)
    • Line 52: warning: exported method PeerInfo.GetID should have comment or be unexported (golint)
    • Line 53: warning: exported method PeerInfo.GetName should have comment or be unexported (golint)
    • Line 54: warning: exported method PeerInfo.GetCaps should have comment or be unexported (golint)
    • Line 55: warning: exported method PeerInfo.GetLocalAddress should have comment or be unexported (golint)
    • Line 56: warning: exported method PeerInfo.GetRemoteAddress should have comment or be unexported (golint)
    • go-ethereum/cmd/devp2p/internal/ethtest/types.go
    • Line 37: warning: exported type Message should have comment or be unexported (golint)
    • Line 41: warning: exported type Error should have comment or be unexported (golint)
    • Line 47: warning: exported method Error.Code should have comment or be unexported (golint)
    • Line 66: warning: exported method Hello.Code should have comment or be unexported (golint)
    • Line 73: warning: exported method Disconnect.Code should have comment or be unexported (golint)
    • Line 75: warning: exported type Ping should have comment or be unexported (golint)
    • Line 77: warning: exported method Ping.Code should have comment or be unexported (golint)
    • Line 79: warning: exported type Pong should have comment or be unexported (golint)
    • Line 81: warning: exported method Pong.Code should have comment or be unexported (golint)
    • Line 93: warning: exported method Status.Code should have comment or be unexported (golint)
    • Line 101: warning: exported method NewBlockHashes.Code should have comment or be unexported (golint)
    • Line 103: warning: exported type Transactions should have comment or be unexported (golint)
    • Line 105: warning: exported method Transactions.Code should have comment or be unexported (golint)
    • Line 115: warning: exported method GetBlockHeaders.Code should have comment or be unexported (golint)
    • Line 117: warning: exported type BlockHeaders should have comment or be unexported (golint)
    • Line 119: warning: exported method BlockHeaders.Code should have comment or be unexported (golint)
    • Line 124: warning: exported method GetBlockBodies.Code should have comment or be unexported (golint)
    • Line 129: warning: exported method BlockBodies.Code should have comment or be unexported (golint)
    • Line 137: warning: exported method NewBlock.Code should have comment or be unexported (golint)
    • Line 142: warning: exported method NewPooledTransactionHashes.Code should have comment or be unexported (golint)
    • go-ethereum/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)
    • go-ethereum/light/trie.go
    • Line 37: warning: exported function NewState should have comment or be unexported (golint)
    • Line 42: warning: exported function NewStateDatabase should have comment or be unexported (golint)
    • go-ethereum/les/odr_requests.go
    • Line 48: warning: exported type LesOdrRequest should have comment or be unexported (golint)
    • Line 55: 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 154: warning: comment on exported method ReceiptsRequest.Validate should be of the form "Validate ..." (golint)
    • Line 185: warning: exported type ProofReq should have comment or be unexported (golint)
    • Line 191: warning: comment on exported type TrieRequest should be of the form "TrieRequest ..." (with optional leading article) (golint)
    • Line 216: warning: comment on exported method TrieRequest.Validate should be of the form "Validate ..." (golint)
    • Line 240: warning: exported type CodeReq should have comment or be unexported (golint)
    • Line 245: warning: comment on exported type CodeRequest should be of the form "CodeRequest ..." (with optional leading article) (golint)
    • Line 269: warning: comment on exported method CodeRequest.Validate should be of the form "Validate ..." (golint)
    • Line 304: warning: exported type HelperTrieReq should have comment or be unexported (golint)
    • Line 311: warning: exported type HelperTrieResps should have comment or be unexported (golint)
    • Line 316: warning: comment on exported type ChtRequest should be of the form "ChtRequest ..." (with optional leading article) (golint)
    • Line 347: warning: comment on exported method ChtRequest.Validate should be of the form "Validate ..." (golint)
    • Line 400: warning: exported type BloomReq should have comment or be unexported (golint)
    • Line 404: warning: comment on exported type BloomRequest should be of the form "BloomRequest ..." (with optional leading article) (golint)
    • Line 443: warning: comment on exported method BloomRequest.Validate should be of the form "Validate ..." (golint)
    • Line 500: warning: comment on exported method TxStatusRequest.Validate should be of the form "Validate ..." (golint)
    • go-ethereum/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)
    • go-ethereum/les/client.go
    • Line 49: warning: exported type LightEthereum should have comment or be unexported (golint)
    • Line 214: warning: exported type LightDummyAPI should have comment or be unexported (golint)
    • Line 276: warning: exported method LightEthereum.ResetWithGenesisBlock should have comment or be unexported (golint)
    • Line 280: warning: exported method LightEthereum.BlockChain should have comment or be unexported (golint)
    • Line 281: warning: exported method LightEthereum.TxPool should have comment or be unexported (golint)
    • Line 282: warning: exported method LightEthereum.Engine should have comment or be unexported (golint)
    • Line 283: warning: exported method LightEthereum.LesVersion should have comment or be unexported (golint)
    • Line 284: warning: exported method LightEthereum.Downloader should have comment or be unexported (golint)
    • Line 285: warning: exported method LightEthereum.EventMux should have comment or be unexported (golint)
    • go-ethereum/crypto/bn256/google/bn256.go
    • Line 169: warning: comment on exported function RandomG2 should be of the form "RandomG2 ..." (golint)
    • Line 227: warning: receiver name n should be consistent with previous receiver name e for G2 (golint)
    • Line 310: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 319: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 328: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 337: warning: receiver name n should be consistent with previous receiver name g for GT (golint)
    • Line 375: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • go-ethereum/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)
    • go-ethereum/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)
    • go-ethereum/metrics/timer.go
    • Line 8: warning: comment on exported type Timer should be of the form "Timer ..." (with optional leading article) (golint)
    • Line 221: warning: comment on exported method StandardTimer.Time should be of the form "Time ..." (golint)
    • Line 228: warning: comment on exported method StandardTimer.Update should be of the form "Update ..." (golint)
    • Line 236: warning: comment on exported method StandardTimer.UpdateSince should be of the form "UpdateSince ..." (golint)
    • go-ethereum/p2p/nat/nat.go
    • Line 32: warning: comment on exported type Interface should be of the form "Interface ..." (with optional leading article) (golint)
    • Line 133: warning: exported method ExtIP.ExternalIP should have comment or be unexported (golint)
    • Line 138: warning: exported method ExtIP.AddMapping should have comment or be unexported (golint)
    • Line 139: warning: exported method ExtIP.DeleteMapping should have comment or be unexported (golint)
    • go-ethereum/signer/core/uiapi.go
    • Line 34: warning: comment on exported type UIServerAPI should be of the form "UIServerAPI ..." (with optional leading article) (golint)
    • Line 51: warning: comment on exported method UIServerAPI.ListAccounts should be of the form "ListAccounts ..." (golint)
    • Line 186: warning: receiver name api should be consistent with previous receiver name s for UIServerAPI (golint)
    • Line 204: warning: receiver name api should be consistent with previous receiver name s for UIServerAPI (golint)
    • go-ethereum/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)
    • go-ethereum/tests/state_test_util.go
    • Line 56: warning: exported method StateTest.UnmarshalJSON should have comment or be unexported (golint)
    • Line 131: 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 223: warning: exported function MakePreState should have comment or be unexported (golint)
    • go-ethereum/p2p/nodestate/nodestate.go
    • Line 36: warning: exported var ErrInvalidField should have comment or be unexported (golint)
    • Line 120: warning: comment on exported type Setup should be of the form "Setup ..." (with optional leading article) (golint)
    • Line 298: warning: receiver name f should be consistent with previous receiver name a for Flags (golint)
    • go-ethereum/accounts/external/backend.go
    • Line 35: warning: exported type ExternalBackend should have comment or be unexported (golint)
    • Line 39: warning: exported method ExternalBackend.Wallets should have comment or be unexported (golint)
    • Line 43: warning: exported function NewExternalBackend should have comment or be unexported (golint)
    • Line 53: warning: exported method ExternalBackend.Subscribe should have comment or be unexported (golint)
    • Line 71: warning: exported function NewExternalSigner should have comment or be unexported (golint)
    • Line 89: warning: exported method ExternalSigner.URL should have comment or be unexported (golint)
    • Line 96: warning: exported method ExternalSigner.Status should have comment or be unexported (golint)
    • Line 100: warning: exported method ExternalSigner.Open should have comment or be unexported (golint)
    • Line 104: warning: exported method ExternalSigner.Close should have comment or be unexported (golint)
    • Line 108: warning: exported method ExternalSigner.Accounts should have comment or be unexported (golint)
    • Line 130: warning: exported method ExternalSigner.Contains should have comment or be unexported (golint)
    • Line 147: warning: exported method ExternalSigner.Derive should have comment or be unexported (golint)
    • Line 151: warning: exported method ExternalSigner.SelfDerive should have comment or be unexported (golint)
    • Line 176: warning: exported method ExternalSigner.SignText should have comment or be unexported (golint)
    • Line 199: warning: exported method ExternalSigner.SignTx should have comment or be unexported (golint)
    • Line 222: warning: exported method ExternalSigner.SignTextWithPassphrase should have comment or be unexported (golint)
    • Line 226: warning: exported method ExternalSigner.SignTxWithPassphrase should have comment or be unexported (golint)
    • Line 229: warning: exported method ExternalSigner.SignDataWithPassphrase should have comment or be unexported (golint)
    • go-ethereum/crypto/ecies/params.go
    • Line 49: warning: exported var DefaultCurve should have comment or be unexported (golint)
    • Line 60: warning: exported type ECIESParams should have comment or be unexported (golint)
    • Line 75: warning: exported var ECIES_AES128_SHA256 should have comment or be unexported (golint)
    • Line 115: warning: exported function AddParamsForCurve should have comment or be unexported (golint)
    • go-ethereum/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)
    • go-ethereum/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)
    • go-ethereum/les/api.go
    • Line 340: warning: comment on exported method PrivateLightAPI.GetCheckpoint should be of the form "GetCheckpoint ..." (golint)
    • go-ethereum/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)
    • go-ethereum/crypto/bls12381/fp_test.go
    • Line 67: warning: don't use underscores in Go names; var big_a should be bigA (golint)
    • Line 68: warning: don't use underscores in Go names; var big_b should be bigB (golint)
    • Line 69: warning: don't use underscores in Go names; var big_c should be bigC (golint)
    • Line 71: warning: don't use underscores in Go names; var out_1 should be out1 (golint)
    • Line 72: warning: don't use underscores in Go names; var out_2 should be out2 (golint)
    • Line 101: warning: don't use underscores in Go names; var big_a should be bigA (golint)
    • Line 101: warning: don't use underscores in Go names; var big_b should be bigB (golint)
    • Line 103: warning: don't use underscores in Go names; var out_1 should be out1 (golint)
    • Line 104: warning: don't use underscores in Go names; var out_2 should be out2 (golint)
    • Line 133: warning: don't use underscores in Go names; var c_1 should be c1 (golint)
    • Line 133: warning: don't use underscores in Go names; var c_2 should be c2 (golint)
    • Line 171: warning: don't use underscores in Go names; var c_x should be cX (golint)
    • Line 223: warning: don't use underscores in Go names; var c_1 should be c1 (golint)
    • Line 223: warning: don't use underscores in Go names; var c_2 should be c2 (golint)
    • Line 306: warning: don't use underscores in Go names; var big_a should be bigA (golint)
    • Line 307: warning: don't use underscores in Go names; var big_b should be bigB (golint)
    • Line 308: warning: don't use underscores in Go names; var big_c should be bigC (golint)
    • Line 310: warning: don't use underscores in Go names; var out_1 should be out1 (golint)
    • Line 311: warning: don't use underscores in Go names; var out_2 should be out2 (golint)
    • Line 323: warning: don't use underscores in Go names; var c_1 should be c1 (golint)
    • Line 323: warning: don't use underscores in Go names; var c_2 should be c2 (golint)
    • Line 337: warning: don't use underscores in Go names; var c_x should be cX (golint)
    • Line 491: warning: don't use underscores in Go names; var c_1 should be c1 (golint)
    • Line 492: warning: don't use underscores in Go names; var c_2 should be c2 (golint)
    • Line 530: warning: don't use underscores in Go names; var c_x should be cX (golint)
    • Line 583: warning: don't use underscores in Go names; var c_1 should be c1 (golint)
    • Line 583: warning: don't use underscores in Go names; var c_2 should be c2 (golint)
    • Line 657: warning: don't use underscores in Go names; var c_1 should be c1 (golint)
    • Line 657: warning: don't use underscores in Go names; var c_2 should be c2 (golint)
    • Line 671: warning: don't use underscores in Go names; var c_x should be cX (golint)
    • Line 874: warning: don't use underscores in Go names; var c_1 should be c1 (golint)
    • Line 875: warning: don't use underscores in Go names; var c_2 should be c2 (golint)
    • Line 913: warning: don't use underscores in Go names; var c_x should be cX (golint)
    • Line 966: warning: don't use underscores in Go names; var c_1 should be c1 (golint)
    • Line 966: warning: don't use underscores in Go names; var c_2 should be c2 (golint)
    • Line 1042: warning: don't use underscores in Go names; var c_1 should be c1 (golint)
    • Line 1042: warning: don't use underscores in Go names; var c_2 should be c2 (golint)
    • Line 1056: warning: don't use underscores in Go names; var c_x should be cX (golint)
    • Line 1183: warning: don't use underscores in Go names; var c_1 should be c1 (golint)
    • Line 1184: warning: don't use underscores in Go names; var c_2 should be c2 (golint)
    • Line 1222: warning: don't use underscores in Go names; var c_x should be cX (golint)
    • Line 1247: warning: don't use underscores in Go names; var c_1 should be c1 (golint)
    • Line 1247: warning: don't use underscores in Go names; var c_2 should be c2 (golint)
    • Line 1261: warning: don't use underscores in Go names; var c_x should be cX (golint)
    • go-ethereum/miner/miner.go
    • Line 67: warning: exported function New should have comment or be unexported (golint)
    • Line 146: warning: exported method Miner.Start should have comment or be unexported (golint)
    • Line 150: warning: exported method Miner.Stop should have comment or be unexported (golint)
    • Line 154: warning: exported method Miner.Close should have comment or be unexported (golint)
    • Line 158: warning: exported method Miner.Mining should have comment or be unexported (golint)
    • Line 162: warning: exported method Miner.HashRate should have comment or be unexported (golint)
    • Line 169: warning: exported method Miner.SetExtra should have comment or be unexported (golint)
    • Line 196: warning: exported method Miner.SetEtherbase should have comment or be unexported (golint)

gocyclo85%

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.

    • go-ethereum/consensus/clique/clique.go
    • Line 245: warning: cyclomatic complexity 22 of function (*Clique).verifyHeader() is high (> 15) (gocyclo)
    • Line 348: warning: cyclomatic complexity 21 of function (*Clique).snapshot() is high (> 15) (gocyclo)
    • Line 583: warning: cyclomatic complexity 16 of function (*Clique).Seal() is high (> 15) (gocyclo)
    • go-ethereum/core/tx_pool.go
    • Line 1272: warning: cyclomatic complexity 21 of function (*TxPool).truncatePending() is high (> 15) (gocyclo)
    • Line 574: warning: cyclomatic complexity 18 of function (*TxPool).add() is high (> 15) (gocyclo)
    • Line 319: warning: cyclomatic complexity 17 of function (*TxPool).loop() is high (> 15) (gocyclo)
    • go-ethereum/core/vm/evm.go
    • Line 436: warning: cyclomatic complexity 25 of function (*EVM).create() is high (> 15) (gocyclo)
    • Line 223: warning: cyclomatic complexity 18 of function (*EVM).Call() is high (> 15) (gocyclo)
    • go-ethereum/console/console.go
    • Line 344: warning: cyclomatic complexity 17 of function (*Console).Interactive() is high (> 15) (gocyclo)
    • Line 431: warning: cyclomatic complexity 16 of function countIndents() is high (> 15) (gocyclo)
    • go-ethereum/eth/protocols/snap/sync.go
    • Line 1638: warning: cyclomatic complexity 33 of function (*Syncer).processStorageResponse() is high (> 15) (gocyclo)
    • Line 2153: warning: cyclomatic complexity 25 of function (*Syncer).OnStorage() is high (> 15) (gocyclo)
    • Line 902: warning: cyclomatic complexity 24 of function (*Syncer).assignStorageTasks() is high (> 15) (gocyclo)
    • Line 505: warning: cyclomatic complexity 23 of function (*Syncer).Sync() is high (> 15) (gocyclo)
    • Line 1944: warning: cyclomatic complexity 20 of function (*Syncer).OnAccounts() is high (> 15) (gocyclo)
    • Line 1142: warning: cyclomatic complexity 17 of function (*Syncer).assignBytecodeHealTasks() is high (> 15) (gocyclo)
    • Line 1858: warning: cyclomatic complexity 17 of function (*Syncer).forwardAccountTask() is high (> 15) (gocyclo)
    • Line 1036: warning: cyclomatic complexity 17 of function (*Syncer).assignTrienodeHealTasks() is high (> 15) (gocyclo)
    • Line 1504: warning: cyclomatic complexity 16 of function (*Syncer).processAccountResponse() is high (> 15) (gocyclo)
    • Line 1240: warning: cyclomatic complexity 16 of function (*Syncer).revertRequests() is high (> 15) (gocyclo)
    • go-ethereum/cmd/utils/flags.go
    • Line 1499: warning: cyclomatic complexity 61 of function SetEthConfig() is high (> 15) (gocyclo)
    • Line 1140: warning: cyclomatic complexity 28 of function SetP2PConfig() is high (> 15) (gocyclo)
    • Line 1838: warning: cyclomatic complexity 16 of function MakeChain() is high (> 15) (gocyclo)
    • go-ethereum/core/tx_pool_test.go
    • Line 880: warning: cyclomatic complexity 29 of function testTransactionQueueTimeLimiting() is high (> 15) (gocyclo)
    • Line 577: warning: cyclomatic complexity 28 of function TestTransactionPostponing() is high (> 15) (gocyclo)
    • Line 1251: warning: cyclomatic complexity 24 of function TestTransactionPoolRepricing() is high (> 15) (gocyclo)
    • Line 1434: warning: cyclomatic complexity 20 of function TestTransactionPoolUnderpricing() is high (> 15) (gocyclo)
    • Line 1754: warning: cyclomatic complexity 19 of function testTransactionJournaling() is high (> 15) (gocyclo)
    • Line 473: warning: cyclomatic complexity 19 of function TestTransactionDropping() is high (> 15) (gocyclo)
    • Line 1671: warning: cyclomatic complexity 17 of function TestTransactionReplacement() is high (> 15) (gocyclo)
    • Line 1605: warning: cyclomatic complexity 17 of function TestTransactionDeduplication() is high (> 15) (gocyclo)
    • go-ethereum/eth/api_tracer.go
    • Line 141: warning: cyclomatic complexity 41 of function (*PrivateDebugAPI).traceChain() is high (> 15) (gocyclo)
    • Line 523: warning: cyclomatic complexity 22 of function (*PrivateDebugAPI).standardTraceBlockToFile() is high (> 15) (gocyclo)
    • go-ethereum/internal/ethapi/api.go
    • Line 941: warning: cyclomatic complexity 27 of function DoEstimateGas() is high (> 15) (gocyclo)
    • Line 1724: warning: cyclomatic complexity 18 of function (*PublicTransactionPoolAPI).Resend() is high (> 15) (gocyclo)
    • Line 812: warning: cyclomatic complexity 17 of function DoCall() is high (> 15) (gocyclo)
    • Line 1479: warning: cyclomatic complexity 16 of function (*SendTxArgs).setDefaults() is high (> 15) (gocyclo)
    • go-ethereum/miner/worker.go
    • Line 854: warning: cyclomatic complexity 30 of function (*worker).commitNewWork() is high (> 15) (gocyclo)
    • Line 430: warning: cyclomatic complexity 28 of function (*worker).mainLoop() is high (> 15) (gocyclo)
    • Line 333: warning: cyclomatic complexity 21 of function (*worker).newWorkLoop() is high (> 15) (gocyclo)
    • Line 740: warning: cyclomatic complexity 21 of function (*worker).commitTransactions() is high (> 15) (gocyclo)
    • go-ethereum/core/blockchain.go
    • Line 1133: warning: cyclomatic complexity 65 of function (*BlockChain).InsertReceiptChain() is high (> 15) (gocyclo)
    • Line 1703: warning: cyclomatic complexity 48 of function (*BlockChain).insertChain() is high (> 15) (gocyclo)
    • Line 220: warning: cyclomatic complexity 35 of function NewBlockChain() is high (> 15) (gocyclo)
    • Line 2113: warning: cyclomatic complexity 33 of function (*BlockChain).reorg() is high (> 15) (gocyclo)
    • Line 1502: warning: cyclomatic complexity 29 of function (*BlockChain).writeBlockWithState() is high (> 15) (gocyclo)
    • Line 496: warning: cyclomatic complexity 22 of function (*BlockChain).SetHeadBeyondRoot() is high (> 15) (gocyclo)
    • Line 1993: warning: cyclomatic complexity 21 of function (*BlockChain).insertSideChain() is high (> 15) (gocyclo)
    • Line 2301: warning: cyclomatic complexity 18 of function (*BlockChain).maintainTxIndex() is high (> 15) (gocyclo)
    • go-ethereum/trie/proof.go
    • Line 457: warning: cyclomatic complexity 28 of function VerifyRangeProof() is high (> 15) (gocyclo)
    • Line 219: warning: cyclomatic complexity 28 of function unsetInternal() is high (> 15) (gocyclo)
    • Line 137: warning: cyclomatic complexity 17 of function proofToPath() is high (> 15) (gocyclo)
    • go-ethereum/metrics/ewma_test.go
    • Line 86: warning: cyclomatic complexity 17 of function TestEWMA5() is high (> 15) (gocyclo)
    • Line 17: warning: cyclomatic complexity 17 of function TestEWMA1() is high (> 15) (gocyclo)
    • Line 155: warning: cyclomatic complexity 17 of function TestEWMA15() is high (> 15) (gocyclo)
    • go-ethereum/trie/stacktrie.go
    • Line 282: warning: cyclomatic complexity 17 of function (*StackTrie).hash() is high (> 15) (gocyclo)
    • Line 136: warning: cyclomatic complexity 16 of function (*StackTrie).insert() is high (> 15) (gocyclo)
    • go-ethereum/core/state/statedb_test.go
    • Line 745: warning: cyclomatic complexity 28 of function TestStateDBAccessList() is high (> 15) (gocyclo)
    • Line 582: warning: cyclomatic complexity 21 of function TestCopyCopyCommitCopy() is high (> 15) (gocyclo)
    • Line 510: warning: cyclomatic complexity 17 of function TestCopyCommitCopy() is high (> 15) (gocyclo)
    • go-ethereum/p2p/discv5/net.go
    • Line 354: warning: cyclomatic complexity 53 of function (*Network).loop() is high (> 15) (gocyclo)
    • Line 867: warning: cyclomatic complexity 28 of function init() is high (> 15) (gocyclo)
    • Line 1146: warning: cyclomatic complexity 18 of function (*Network).handleQueryEvent() is high (> 15) (gocyclo)
    • go-ethereum/p2p/server.go
    • Line 694: warning: cyclomatic complexity 20 of function (*Server).run() is high (> 15) (gocyclo)
    • Line 536: warning: cyclomatic complexity 17 of function (*Server).setupDiscovery() is high (> 15) (gocyclo)
    • go-ethereum/core/blockchain_test.go
    • Line 2072: warning: cyclomatic complexity 28 of function TestTransactionIndices() is high (> 15) (gocyclo)
    • Line 591: warning: cyclomatic complexity 28 of function TestFastVsFullChains() is high (> 15) (gocyclo)
    • Line 2199: warning: cyclomatic complexity 21 of function TestSkipStaleTxIndicesInFastSync() is high (> 15) (gocyclo)
    • Line 2725: warning: cyclomatic complexity 19 of function TestDeleteRecreateSlotsAcrossManyBlocks() is high (> 15) (gocyclo)
    • Line 1831: warning: cyclomatic complexity 18 of function testInsertKnownChainData() is high (> 15) (gocyclo)
    • Line 377: warning: cyclomatic complexity 17 of function testReorg() is high (> 15) (gocyclo)
    • Line 1258: warning: cyclomatic complexity 17 of function TestEIP155Transition() is high (> 15) (gocyclo)
    • Line 823: warning: cyclomatic complexity 17 of function TestChainTxReorgs() is high (> 15) (gocyclo)
    • go-ethereum/trie/trie.go
    • Line 357: warning: cyclomatic complexity 25 of function (*Trie).delete() is high (> 15) (gocyclo)
    • Line 265: warning: cyclomatic complexity 19 of function (*Trie).insert() is high (> 15) (gocyclo)
    • Line 165: warning: cyclomatic complexity 17 of function (*Trie).tryGetNode() is high (> 15) (gocyclo)
    • go-ethereum/les/api.go
    • Line 217: warning: cyclomatic complexity 17 of function (*PrivateLightServerAPI).Benchmark() is high (> 15) (gocyclo)
    • Line 110: warning: cyclomatic complexity 17 of function (*PrivateLightServerAPI).setParams() is high (> 15) (gocyclo)
    • go-ethereum/trie/proof_test.go
    • Line 512: warning: cyclomatic complexity 18 of function TestBadRangeProof() is high (> 15) (gocyclo)
    • Line 194: warning: cyclomatic complexity 17 of function TestRangeProofWithNonExistentProof() is high (> 15) (gocyclo)
    • go-ethereum/eth/downloader/downloader.go
    • Line 770: warning: cyclomatic complexity 46 of function (*Downloader).findAncestor() is high (> 15) (gocyclo)
    • Line 1498: warning: cyclomatic complexity 44 of function (*Downloader).processHeaders() is high (> 15) (gocyclo)
    • Line 1323: warning: cyclomatic complexity 44 of function (*Downloader).fetchParts() is high (> 15) (gocyclo)
    • Line 985: warning: cyclomatic complexity 42 of function (*Downloader).fetchHeaders() is high (> 15) (gocyclo)
    • Line 451: warning: cyclomatic complexity 26 of function (*Downloader).syncWithPeer() is high (> 15) (gocyclo)
    • Line 1725: warning: cyclomatic complexity 22 of function (*Downloader).processFastSyncContent() is high (> 15) (gocyclo)
    • Line 369: warning: cyclomatic complexity 19 of function (*Downloader).synchronise() is high (> 15) (gocyclo)
    • Line 650: warning: cyclomatic complexity 18 of function (*Downloader).fetchHead() 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!