Preparing report...

Report for github.com/eth-classic/go-ethereum

A+    Excellent!    Found 195 issues across 434 files

Tweet

gofmt98%

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!


gocyclo86%

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/core/blockchain.go
    • Line 1536: warning: cyclomatic complexity 39 of function (*BlockChain).InsertChain() is high (> 15) (gocyclo)
    • Line 1777: warning: cyclomatic complexity 33 of function (*BlockChain).reorg() is high (> 15) (gocyclo)
    • Line 561: warning: cyclomatic complexity 31 of function (*BlockChain).LoadLastState() is high (> 15) (gocyclo)
    • Line 1229: warning: cyclomatic complexity 29 of function (*BlockChain).InsertReceiptChain() is high (> 15) (gocyclo)
    • Line 273: warning: cyclomatic complexity 29 of function (*BlockChain).blockIsInvalid() is high (> 15) (gocyclo)
    • Line 775: warning: cyclomatic complexity 24 of function (*BlockChain).SetHead() is high (> 15) (gocyclo)
    • go-ethereum/console/console.go
    • Line 103: warning: cyclomatic complexity 23 of function (*Console).init() is high (> 15) (gocyclo)
    • Line 283: warning: cyclomatic complexity 19 of function (*Console).Interactive() is high (> 15) (gocyclo)
    • Line 359: warning: cyclomatic complexity 16 of function countIndents() is high (> 15) (gocyclo)
    • go-ethereum/eth/handler.go
    • Line 367: warning: cyclomatic complexity 103 of function (*ProtocolManager).handleMsg() is high (> 15) (gocyclo)
    • Line 100: warning: cyclomatic complexity 16 of function NewProtocolManager() is high (> 15) (gocyclo)
    • go-ethereum/trie/trie.go
    • Line 326: warning: cyclomatic complexity 25 of function (*Trie).delete() is high (> 15) (gocyclo)
    • Line 235: warning: cyclomatic complexity 19 of function (*Trie).insert() is high (> 15) (gocyclo)
    • go-ethereum/cmd/geth/migrate_datadir.go
    • Line 75: warning: cyclomatic complexity 20 of function migrateExistingDirToClassicNamingScheme() is high (> 15) (gocyclo)
    • Line 206: warning: cyclomatic complexity 19 of function migrateToChainSubdirIfNecessary() is high (> 15) (gocyclo)
    • go-ethereum/eth/downloader/downloader.go
    • Line 1087: warning: cyclomatic complexity 42 of function (*Downloader).fetchParts() is high (> 15) (gocyclo)
    • Line 694: warning: cyclomatic complexity 42 of function (*Downloader).findAncestor() is high (> 15) (gocyclo)
    • Line 1244: warning: cyclomatic complexity 41 of function (*Downloader).processHeaders() is high (> 15) (gocyclo)
    • Line 860: warning: cyclomatic complexity 26 of function (*Downloader).fetchHeaders() is high (> 15) (gocyclo)
    • Line 1460: warning: cyclomatic complexity 21 of function (*Downloader).processFastSyncContent() is high (> 15) (gocyclo)
    • Line 474: warning: cyclomatic complexity 17 of function (*Downloader).syncWithPeer() is high (> 15) (gocyclo)
    • go-ethereum/core/chain_pow_test.go
    • Line 113: warning: cyclomatic complexity 23 of function testPowConcurrentVerification() is high (> 15) (gocyclo)
    • Line 58: warning: cyclomatic complexity 19 of function TestPowVerification() is high (> 15) (gocyclo)
    • go-ethereum/miner/worker.go
    • Line 252: warning: cyclomatic complexity 19 of function (*worker).wait() is high (> 15) (gocyclo)
    • Line 610: warning: cyclomatic complexity 17 of function (*Work).commitTransactions() is high (> 15) (gocyclo)
    • go-ethereum/core/blockchain_test.go
    • Line 1222: warning: cyclomatic complexity 33 of function testChainTxReorgs() is high (> 15) (gocyclo)
    • Line 891: warning: cyclomatic complexity 26 of function TestFastVsFullChainsATXI() is high (> 15) (gocyclo)
    • Line 791: warning: cyclomatic complexity 24 of function TestFastVsFullChains() is high (> 15) (gocyclo)
    • Line 1620: warning: cyclomatic complexity 21 of function TestEIP155Transition() is high (> 15) (gocyclo)
    • Line 1101: warning: cyclomatic complexity 18 of function TestLightVsFastVsFullChainHeads() is high (> 15) (gocyclo)
    • Line 1479: warning: cyclomatic complexity 16 of function TestReorgSideEvent() is high (> 15) (gocyclo)
    • Line 1015: warning: cyclomatic complexity 16 of function TestRmAddrTx() is high (> 15) (gocyclo)
    • go-ethereum/core/vm/vm.go
    • Line 183: warning: cyclomatic complexity 45 of function calculateGasAndSize() is high (> 15) (gocyclo)
    • Line 63: warning: cyclomatic complexity 24 of function (*EVM).Run() is high (> 15) (gocyclo)
    • go-ethereum/core/headerchain.go
    • Line 243: warning: cyclomatic complexity 20 of function (*HeaderChain).InsertHeaderChain() is high (> 15) (gocyclo)
    • Line 132: warning: cyclomatic complexity 17 of function (*HeaderChain).WriteHeader() is high (> 15) (gocyclo)
    • go-ethereum/core/atxi.go
    • Line 293: warning: cyclomatic complexity 29 of function GetAddrTxs() is high (> 15) (gocyclo)
    • Line 169: warning: cyclomatic complexity 20 of function BuildAddrTxIndex() is high (> 15) (gocyclo)

golint63%

Golint is a linter for Go source code.

    • go-ethereum/accounts/cachedb.go
    • Line 44: warning: exported var ErrCacheDBNoUpdateStamp should have comment or be unexported (golint)
    • Line 470: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-ethereum/p2p/nat/nat.go
    • Line 34: warning: comment on exported type Interface should be of the form "Interface ..." (with optional leading article) (golint)
    • Line 263: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-ethereum/crypto/ecies/ecies.go
    • Line 45: warning: exported var ErrImport should have comment or be unexported (golint)
    • Line 61: warning: comment on exported method PublicKey.ExportECDSA should be of the form "ExportECDSA ..." (golint)
    • Line 66: warning: comment on exported function ImportECDSAPublic should be of the form "ImportECDSAPublic ..." (golint)
    • Line 82: warning: comment on exported method PrivateKey.ExportECDSA should be of the form "ExportECDSA ..." (golint)
    • Line 89: warning: comment on exported function ImportECDSA should be of the form "ImportECDSA ..." (golint)
    • Line 95: warning: comment on exported function GenerateKey should be of the form "GenerateKey ..." (golint)
    • Line 120: warning: comment on exported method PrivateKey.GenerateShared should be of the form "GenerateShared ..." (golint)
    • Line 141: warning: exported var ErrKeyDataTooLong should have comment or be unexported (golint)
    • go-ethereum/event/filter/generic_filter.go
    • Line 19: warning: exported type Generic should have comment or be unexported (golint)
    • Line 26: warning: comment on exported method Generic.Compare should be of the form "Compare ..." (golint)
    • Line 27: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: exported method Generic.Trigger should have comment or be unexported (golint)
    • Line 46: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/core/vm/contracts.go
    • Line 46: warning: exported const EcrecoverGas should have comment (or a comment on this block) or be unexported (golint)
    • Line 67: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 71: warning: comment on exported var PrecompiledPreAtlantis should be of the form "PrecompiledPreAtlantis ..." (golint)
    • Line 73: warning: exported var PrecompiledAtlantis should have comment or be unexported (golint)
    • Line 86: warning: comment on exported function PrecompiledContracts should be of the form "PrecompiledContracts ..." (golint)
    • go-ethereum/common/size.go
    • Line 24: warning: exported type StorageSize should have comment or be unexported (golint)
    • Line 26: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 36: warning: exported method StorageSize.Int64 should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 53: warning: comment on exported function CurrencyToString should be of the form "CurrencyToString ..." (golint)
    • go-ethereum/ethdb/database.go
    • Line 35: warning: exported var OpenFileLimit should have comment or be unexported (golint)
    • Line 51: warning: exported function SetCacheRatio should have comment or be unexported (golint)
    • Line 55: warning: exported function SetHandleRatio should have comment or be unexported (golint)
    • Line 59: warning: exported type LDBDatabase should have comment or be unexported (golint)
    • Line 107: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 112: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 121: warning: exported method LDBDatabase.Has should have comment or be unexported (golint)
    • Line 126: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 131: warning: exported method LDBDatabase.NewIterator should have comment or be unexported (golint)
    • Line 131: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 135: warning: exported method LDBDatabase.NewIteratorRange should have comment or be unexported (golint)
    • Line 135: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 139: warning: exported function NewBytesPrefix should have comment or be unexported (golint)
    • Line 143: warning: exported method LDBDatabase.Close should have comment or be unexported (golint)
    • Line 143: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 149: warning: exported method LDBDatabase.LDB should have comment or be unexported (golint)
    • Line 149: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 155: warning: exported method LDBDatabase.NewBatch should have comment or be unexported (golint)
    • go-ethereum/crypto/ecies/asn1.go
    • Line 55: warning: exported var ErrInvalidPrivateKey should have comment or be unexported (golint)
    • Line 266: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 288: warning: don't use underscores in Go names; var dhSinglePass_stdDH_sha1kdf should be dhSinglePassStdDHSha1kdf (golint)
    • Line 291: warning: don't use underscores in Go names; var dhSinglePass_stdDH_sha256kdf should be dhSinglePassStdDHSha256kdf (golint)
    • Line 294: warning: don't use underscores in Go names; var dhSinglePass_stdDH_sha384kdf should be dhSinglePassStdDHSha384kdf (golint)
    • Line 297: warning: don't use underscores in Go names; var dhSinglePass_stdDH_sha224kdf should be dhSinglePassStdDHSha224kdf (golint)
    • Line 300: warning: don't use underscores in Go names; var dhSinglePass_stdDH_sha512kdf should be dhSinglePassStdDHSha512kdf (golint)
    • Line 421: warning: comment on exported function MarshalPublic should be of the form "MarshalPublic ..." (golint)
    • Line 430: warning: comment on exported function UnmarshalPublic should be of the form "UnmarshalPublic ..." (golint)
    • Line 475: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 484: warning: comment on exported function MarshalPrivate should be of the form "MarshalPrivate ..." (golint)
    • Line 493: warning: comment on exported function UnmarshalPrivate should be of the form "UnmarshalPrivate ..." (golint)
    • Line 515: 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 522: warning: comment on exported function ExportPublicPEM should be of the form "ExportPublicPEM ..." (golint)
    • Line 537: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 543: warning: comment on exported function ExportPrivatePEM should be of the form "ExportPrivatePEM ..." (golint)
    • Line 558: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 564: warning: comment on exported function ImportPublicPEM should be of the form "ImportPublicPEM ..." (golint)
    • Line 575: warning: comment on exported function ImportPrivatePEM should be of the form "ImportPrivatePEM ..." (golint)
    • go-ethereum/whisper/api.go
    • Line 80: warning: exported type NewFilterArgs should have comment or be unexported (golint)
    • Line 86: warning: comment on exported method PublicWhisperAPI.NewFilter should be of the form "NewFilter ..." (golint)
    • Line 164: warning: exported type PostArgs should have comment or be unexported (golint)
    • Line 218: warning: exported method PostArgs.UnmarshalJSON should have comment or be unexported (golint)
    • go-ethereum/accounts/abi/method.go
    • Line 27: warning: comment on exported type Method should be of the form "Method ..." (with optional leading article) (golint)
    • Line 116: warning: exported method Method.Id should have comment or be unexported (golint)
    • go-ethereum/core/types/transaction_signing.go
    • Line 29: warning: exported var ErrInvalidChainId should have comment or be unexported (golint)
    • Line 75: warning: comment on exported function Sender should be of the form "Sender ..." (golint)
    • Line 107: warning: exported type Signer should have comment or be unexported (golint)
    • Line 120: warning: comment on exported type ChainIdSigner should be of the form "ChainIdSigner ..." (with optional leading article) (golint)
    • Line 128: warning: exported function NewChainIdSigner should have comment or be unexported (golint)
    • Line 135: warning: exported method ChainIdSigner.Equal should have comment or be unexported (golint)
    • Line 147: warning: exported method ChainIdSigner.SignECDSA should have comment or be unexported (golint)
    • Line 156: warning: exported method ChainIdSigner.PublicKey should have comment or be unexported (golint)
    • Line 222: warning: exported method ChainIdSigner.SigECDSA should have comment or be unexported (golint)
    • Line 231: warning: exported type BasicSigner should have comment or be unexported (golint)
    • Line 233: warning: exported method BasicSigner.Equal should have comment or be unexported (golint)
    • Line 240: warning: receiver name fs should be consistent with previous receiver name s for BasicSigner (golint)
    • Line 251: warning: exported method BasicSigner.SignECDSA should have comment or be unexported (golint)
    • Line 251: warning: receiver name fs should be consistent with previous receiver name s for BasicSigner (golint)
    • Line 262: warning: receiver name fs should be consistent with previous receiver name s for BasicSigner (golint)
    • Line 273: warning: exported method BasicSigner.PublicKey should have comment or be unexported (golint)
    • Line 273: warning: receiver name fs should be consistent with previous receiver name s for BasicSigner (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 33: warning: don't use underscores in Go names; const Admin_JS should be AdminJS (golint)
    • Line 33: warning: exported const Admin_JS should have comment or be unexported (golint)
    • Line 153: warning: don't use underscores in Go names; const Geth_JS should be GethJS (golint)
    • Line 153: warning: exported const Geth_JS should have comment or be unexported (golint)
    • Line 186: warning: don't use underscores in Go names; const Debug_JS should be DebugJS (golint)
    • Line 186: warning: exported const Debug_JS should have comment or be unexported (golint)
    • Line 249: warning: don't use underscores in Go names; const Eth_JS should be EthJS (golint)
    • Line 249: warning: exported const Eth_JS should have comment or be unexported (golint)
    • Line 308: warning: don't use underscores in Go names; const Miner_JS should be MinerJS (golint)
    • Line 308: warning: exported const Miner_JS should have comment or be unexported (golint)
    • Line 361: warning: don't use underscores in Go names; const Net_JS should be NetJS (golint)
    • Line 361: warning: exported const Net_JS should have comment or be unexported (golint)
    • Line 375: warning: don't use underscores in Go names; const Personal_JS should be PersonalJS (golint)
    • Line 375: warning: exported const Personal_JS should have comment or be unexported (golint)
    • Line 407: warning: exported const RPC_JS should have comment or be unexported (golint)
    • Line 421: warning: don't use underscores in Go names; const Shh_JS should be ShhJS (golint)
    • Line 421: warning: exported const Shh_JS should have comment or be unexported (golint)
    • Line 436: warning: don't use underscores in Go names; const TxPool_JS should be TxPoolJS (golint)
    • Line 436: warning: exported const TxPool_JS should have comment or be unexported (golint)
    • go-ethereum/core/state_transition.go
    • Line 30: warning: exported var TxGas should have comment or be unexported (golint)
    • Line 36: warning: comment on exported type StateTransition should be of the form "StateTransition ..." (with optional leading article) (golint)
    • Line 78: warning: exported function MessageCreatesContract should have comment or be unexported (golint)
    • Line 137: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 152: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 167: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 176: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 180: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 200: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 224: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 271: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 288: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/common/path.go
    • Line 25: warning: exported function EnsurePathAbsoluteOrRelativeTo should have comment or be unexported (golint)
    • Line 32: warning: exported function HomeDir 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 54: warning: exported type ECIESParams should have comment or be unexported (golint)
    • Line 69: warning: exported var ECIES_AES128_SHA256 should have comment or be unexported (golint)
    • Line 109: warning: exported function AddParamsForCurve should have comment or be unexported (golint)
    • go-ethereum/core/vm/vm.go
    • Line 32: warning: error var OutOfGasError should have name of the form ErrFoo (golint)
    • Line 32: warning: exported var OutOfGasError should have comment or be unexported (golint)
    • Line 33: warning: error var CodeStoreOutOfGasError should have name of the form ErrFoo (golint)
    • Line 413: warning: comment on exported method EVM.RunPrecompiled should be of the form "RunPrecompiled ..." (golint)
    • Line 418: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-ethereum/core/block_validator.go
    • Line 34: warning: exported var DurationLimit should have comment or be unexported (golint)
    • Line 43: warning: comment on exported type DifficultyConfig should be of the form "DifficultyConfig ..." (with optional leading article) (golint)
    • Line 213: warning: comment on exported function ValidateHeader should be of the form "ValidateHeader ..." (golint)
    • Line 299: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-ethereum/metrics/metrics.go
    • Line 37: warning: exported var MsgTXNIn should have comment or be unexported (golint)
    • Line 72: warning: exported var DLHeaders should have comment or be unexported (golint)
    • Line 94: warning: exported var FetchBlocks should have comment or be unexported (golint)
    • Line 117: warning: exported var P2PIn should have comment or be unexported (golint)
    • Line 124: warning: exported var MemAllocs should have comment or be unexported (golint)
    • Line 140: warning: exported function UpdateSysMetrics should have comment or be unexported (golint)
    • Line 151: warning: exported function CollectToJSON should have comment or be unexported (golint)
    • go-ethereum/trie/secure_trie.go
    • Line 150: warning: exported method SecureTrie.Hash should have comment or be unexported (golint)
    • Line 154: warning: exported method SecureTrie.Root should have comment or be unexported (golint)
    • Line 158: warning: exported method SecureTrie.Copy should have comment or be unexported (golint)
    • go-ethereum/logger/glog/glog.go
    • Line 169: warning: exported function ParseInterval should have comment or be unexported (golint)
    • Line 251: warning: exported function SetD should have comment or be unexported (golint)
    • Line 286: warning: exported function GetDisplayable should have comment or be unexported (golint)
    • Line 495: warning: comment on exported type TraceLocation should be of the form "TraceLocation ..." (with optional leading article) (golint)
    • Line 535: warning: comment on exported method TraceLocation.Set should be of the form "Set ..." (golint)
    • Line 1328: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 1522: warning: exported type Displayable should have comment or be unexported (golint)
    • Line 1566: warning: exported function D should have comment or be unexported (golint)
    • Line 1594: warning: exported method Displayable.Infoln should have comment or be unexported (golint)
    • Line 1600: warning: exported method Displayable.Infof should have comment or be unexported (golint)
    • Line 1606: warning: exported method Displayable.Warnln should have comment or be unexported (golint)
    • Line 1612: warning: exported method Displayable.Warnf should have comment or be unexported (golint)
    • Line 1618: warning: exported method Displayable.Errorln should have comment or be unexported (golint)
    • Line 1624: warning: exported method Displayable.Errorf should have comment or be unexported (golint)
    • Line 1630: warning: comment on exported method Verbose.Info should be of the form "Info ..." (golint)
    • Line 1655: warning: comment on exported method Verbose.Warn should be of the form "Warn ..." (golint)
    • go-ethereum/eth/downloader/api.go
    • Line 30: warning: exported type DoneEvent should have comment or be unexported (golint)
    • Line 35: warning: exported type StartEvent should have comment or be unexported (golint)
    • Line 40: warning: exported type FailedEvent should have comment or be unexported (golint)
    • go-ethereum/p2p/peer_error.go
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: exported type DiscReason should have comment or be unexported (golint)
    • Line 57: warning: exported const DiscRequested should have comment (or a comment on this block) or be unexported (golint)
    • go-ethereum/rpc/json.go
    • Line 33: warning: exported const JSONRPCVersion should have comment (or a comment on this block) or be unexported (golint)
    • Line 40: warning: comment on exported type JSONRequest should be of the form "JSONRequest ..." (with optional leading article) (golint)
    • Line 48: warning: comment on exported type JSONResponse should be of the form "JSONResponse ..." (with optional leading article) (golint)
    • Line 56: warning: comment on exported type JSONError should be of the form "JSONError ..." (with optional leading article) (golint)
    • Line 253: 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/core/types/transaction.go
    • Line 33: warning: exported var ErrInvalidSig should have comment or be unexported (golint)
    • Line 35: warning: exported type Transaction should have comment or be unexported (golint)
    • Line 53: warning: exported function NewContractCreation should have comment or be unexported (golint)
    • Line 74: warning: exported function NewTransaction should have comment or be unexported (golint)
    • Line 101: warning: exported method Transaction.SetSigner should have comment or be unexported (golint)
    • Line 115: warning: exported method Transaction.EncodeRLP should have comment or be unexported (golint)
    • Line 123: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 128: warning: exported method Transaction.DecodeRLP should have comment or be unexported (golint)
    • Line 142: warning: exported method Transaction.Data should have comment or be unexported (golint)
    • Line 143: warning: exported method Transaction.Gas should have comment or be unexported (golint)
    • Line 144: warning: exported method Transaction.GasPrice should have comment or be unexported (golint)
    • Line 145: warning: exported method Transaction.Value should have comment or be unexported (golint)
    • Line 146: warning: exported method Transaction.Nonce should have comment or be unexported (golint)
    • Line 148: warning: exported method Transaction.To should have comment or be unexported (golint)
    • Line 151: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 174: warning: exported method Transaction.Size should have comment or be unexported (golint)
    • Line 184: warning: exported method Transaction.From should have comment or be unexported (golint)
    • Line 195: warning: exported method Transaction.SignatureValues should have comment or be unexported (golint)
    • Line 199: warning: exported method Transaction.RawSignatureValues should have comment or be unexported (golint)
    • Line 203: warning: exported method Transaction.WithSigner should have comment or be unexported (golint)
    • Line 208: warning: exported method Transaction.WithSignature should have comment or be unexported (golint)
    • Line 212: warning: exported method Transaction.SignECDSA should have comment or be unexported (golint)
    • Line 261: warning: comment on exported type Transactions should be of the form "Transactions ..." (with optional leading article) (golint)
    • Line 276: warning: comment on exported function TxDifference should be of the form "TxDifference ..." (golint)
    • Line 311: warning: exported method TxByPrice.Push should have comment or be unexported (golint)
    • Line 315: warning: exported method TxByPrice.Pop should have comment or be unexported (golint)
    • go-ethereum/core/vm/log.go
    • Line 28: warning: exported type Log should have comment or be unexported (golint)
    • Line 42: warning: exported function NewLog should have comment or be unexported (golint)
    • Line 46: warning: exported method Log.EncodeRLP should have comment or be unexported (golint)
    • Line 50: warning: exported method Log.DecodeRLP should have comment or be unexported (golint)
    • Line 67: warning: exported method Log.MarshalJSON should have comment or be unexported (golint)
    • Line 67: warning: receiver name r should be consistent with previous receiver name l for Log (golint)
    • Line 82: warning: exported type Logs should have comment or be unexported (golint)
    • go-ethereum/params/protocol_params.go
    • Line 6: warning: exported const QuadCoeffDiv should have comment (or a comment on this block) or be unexported (golint)
    • Line 13: warning: exported var DifficultyBoundDivisor should have comment or be unexported (golint)
    • go-ethereum/core/state/managed_state.go
    • Line 31: warning: exported type ManagedState should have comment or be unexported (golint)
    • Line 39: warning: comment on exported function ManageState should be of the form "ManageState ..." (golint)
    • Line 93: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-ethereum/core/state/statedb.go
    • Line 35: warning: comment on exported var StartingNonce should be of the form "StartingNonce ..." (golint)
    • Line 50: warning: comment on exported const DefaultTestnetStartingNonce should be of the form "DefaultTestnetStartingNonce ..." (golint)
    • Line 59: warning: comment on exported type StateDB should be of the form "StateDB ..." (with optional leading article) (golint)
    • Line 99: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 117: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 124: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 130: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 148: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 160: warning: exported method StateDB.StartRecord should have comment or be unexported (golint)
    • Line 160: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 166: warning: exported method StateDB.AddLog should have comment or be unexported (golint)
    • Line 166: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 177: warning: exported method StateDB.GetLogs should have comment or be unexported (golint)
    • Line 177: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 181: warning: exported method StateDB.Logs should have comment or be unexported (golint)
    • Line 181: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 189: warning: exported method StateDB.AddRefund should have comment or be unexported (golint)
    • Line 189: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 196: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 202: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 206: warning: exported method StateDB.GetAccount should have comment or be unexported (golint)
    • Line 206: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 210: warning: comment on exported method StateDB.GetBalance should be of the form "GetBalance ..." (golint)
    • Line 211: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 219: warning: exported method StateDB.GetNonce should have comment or be unexported (golint)
    • Line 219: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 228: warning: exported method StateDB.GetCode should have comment or be unexported (golint)
    • Line 228: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 236: warning: exported method StateDB.GetCodeSize should have comment or be unexported (golint)
    • Line 236: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 251: warning: exported method StateDB.GetCodeHash should have comment or be unexported (golint)
    • Line 251: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 259: warning: exported method StateDB.GetState should have comment or be unexported (golint)
    • Line 259: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 267: warning: exported method StateDB.HasSuicided should have comment or be unexported (golint)
    • Line 267: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 279: warning: exported method StateDB.AddBalance should have comment or be unexported (golint)
    • Line 279: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 286: warning: exported method StateDB.SetBalance should have comment or be unexported (golint)
    • Line 286: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 293: warning: exported method StateDB.SetNonce should have comment or be unexported (golint)
    • Line 293: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 300: warning: exported method StateDB.SetCode should have comment or be unexported (golint)
    • Line 300: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 307: warning: exported method StateDB.SetState should have comment or be unexported (golint)
    • Line 307: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 319: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 339: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 349: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 356: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 385: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 391: warning: comment on exported method StateDB.GetOrNewStateObject should be of the form "GetOrNewStateObject ..." (golint)
    • Line 392: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 402: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 408: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 446: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 456: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 487: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 495: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 518: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 613: warning: exported method StateDB.ForEachStorage should have comment or be unexported (golint)
    • Line 613: warning: receiver name db should be consistent with previous receiver name s for StateDB (golint)
    • go-ethereum/eth/api.go
    • Line 299: warning: comment on exported method PrivateMinerAPI.SetExtra should be of the form "SetExtra ..." (golint)
    • Line 1731: warning: comment on exported type PublicGethAPI should be of the form "PublicGethAPI ..." (with optional leading article) (golint)
    • Line 1737: warning: comment on exported function NewPublicGethAPI should be of the form "NewPublicGethAPI ..." (golint)
    • Line 1749: warning: comment on exported method PublicGethAPI.GetAddressTransactions should be of the form "GetAddressTransactions ..." (golint)
    • Line 1787: warning: exported method PublicGethAPI.BuildATXI should have comment or be unexported (golint)
    • Line 1820: warning: exported method PublicGethAPI.GetATXIBuildStatus should have comment or be unexported (golint)
    • Line 1913: warning: exported method PublicDebugAPI.SetHead should have comment or be unexported (golint)
    • Line 2085: warning: receiver name s should be consistent with previous receiver name api for PublicDebugAPI (golint)
    • Line 2106: warning: receiver name s should be consistent with previous receiver name api for PublicDebugAPI (golint)
    • go-ethereum/core/types/block.go
    • Line 44: warning: exported function EncodeNonce should have comment or be unexported (golint)
    • Line 50: warning: exported method BlockNonce.Uint64 should have comment or be unexported (golint)
    • Line 54: warning: exported method BlockNonce.MarshalJSON should have comment or be unexported (golint)
    • Line 58: warning: exported type Header should have comment or be unexported (golint)
    • Line 76: warning: exported method Header.Hash should have comment or be unexported (golint)
    • Line 80: warning: exported method Header.HashNoNonce should have comment or be unexported (golint)
    • Line 98: warning: exported method Header.UnmarshalJSON should have comment or be unexported (golint)
    • Line 136: warning: exported type Block should have comment or be unexported (golint)
    • Line 162: warning: comment on exported type StorageBlock should be of the form "StorageBlock ..." (with optional leading article) (golint)
    • Line 185: warning: exported var EmptyRootHash should have comment or be unexported (golint)
    • Line 261: warning: exported method Block.ValidateFields should have comment or be unexported (golint)
    • Line 278: warning: exported method Block.DecodeRLP should have comment or be unexported (golint)
    • Line 289: warning: exported method Block.EncodeRLP should have comment or be unexported (golint)
    • Line 297: warning: comment on exported method StorageBlock.DecodeRLP should be of the form "DecodeRLP ..." (golint)
    • Line 307: warning: comment on exported method Block.Uncles should be of the form "Uncles ..." (golint)
    • Line 309: warning: exported method Block.Transactions should have comment or be unexported (golint)
    • Line 311: warning: exported method Block.Transaction should have comment or be unexported (golint)
    • Line 320: warning: exported method Block.Number should have comment or be unexported (golint)
    • Line 321: warning: exported method Block.GasLimit should have comment or be unexported (golint)
    • Line 322: warning: exported method Block.GasUsed should have comment or be unexported (golint)
    • Line 323: warning: exported method Block.Difficulty should have comment or be unexported (golint)
    • Line 324: warning: exported method Block.Time should have comment or be unexported (golint)
    • Line 326: warning: exported method Block.NumberU64 should have comment or be unexported (golint)
    • Line 327: warning: exported method Block.MixDigest should have comment or be unexported (golint)
    • Line 328: warning: exported method Block.Nonce should have comment or be unexported (golint)
    • Line 329: warning: exported method Block.Bloom should have comment or be unexported (golint)
    • Line 330: warning: exported method Block.Coinbase should have comment or be unexported (golint)
    • Line 331: warning: exported method Block.Root should have comment or be unexported (golint)
    • Line 332: warning: exported method Block.ParentHash should have comment or be unexported (golint)
    • Line 333: warning: exported method Block.TxHash should have comment or be unexported (golint)
    • Line 334: warning: exported method Block.ReceiptHash should have comment or be unexported (golint)
    • Line 335: warning: exported method Block.UncleHash should have comment or be unexported (golint)
    • Line 336: warning: exported method Block.Extra should have comment or be unexported (golint)
    • Line 338: warning: exported method Block.Header should have comment or be unexported (golint)
    • Line 343: warning: exported method Block.HashNoNonce should have comment or be unexported (golint)
    • Line 347: warning: exported method Block.Size should have comment or be unexported (golint)
    • Line 364: warning: exported function CalcUncleHash should have comment or be unexported (golint)
    • Line 397: warning: exported method Block.Hash should have comment or be unexported (golint)
    • Line 440: warning: exported type Blocks should have comment or be unexported (golint)
    • Line 442: warning: exported type BlockBy should have comment or be unexported (golint)
    • Line 444: warning: exported method BlockBy.Sort should have comment or be unexported (golint)
    • Line 444: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 457: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 458: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 461: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 463: warning: exported function Number should have comment or be unexported (golint)
    • go-ethereum/core/chain_manager.go
    • Line 55: warning: exported function MakeDiehardChainConfig should have comment or be unexported (golint)
    • Line 91: warning: exported method FakePow.Search should have comment or be unexported (golint)
    • Line 94: warning: exported method FakePow.Verify should have comment or be unexported (golint)
    • Line 95: warning: exported method FakePow.GetHashrate should have comment or be unexported (golint)
    • Line 96: warning: exported method FakePow.Turbo should have comment or be unexported (golint)
    • Line 164: warning: comment on exported method BlockGen.AddUncheckedReceipt should be of the form "AddUncheckedReceipt ..." (golint)
    • go-ethereum/whisper/peer.go
    • Line 55: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 61: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 68: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 102: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 126: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 131: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 137: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 159: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/tests/block_test_util.go
    • Line 41: warning: comment on exported type BlockTest should be of the form "BlockTest ..." (with optional leading article) (golint)
    • Line 107: warning: exported function RunBlockTestWithReader should have comment or be unexported (golint)
    • Line 124: warning: exported function RunBlockTest should have comment or be unexported (golint)
    • Line 246: warning: comment on exported method BlockTest.TryBlocksInsert should be of the form "TryBlocksInsert ..." (golint)
    • Line 371: warning: exported method BlockTest.ValidatePostState should have comment or be unexported (golint)
    • Line 409: warning: exported method BlockTest.ValidateImportedHeaders should have comment or be unexported (golint)
    • Line 409: warning: receiver name test should be consistent with previous receiver name t for BlockTest (golint)
    • Line 547: warning: exported function LoadBlockTests should have comment or be unexported (golint)
    • go-ethereum/tests/state_test_util.go
    • Line 57: warning: exported function RunStateTestWithReader should have comment or be unexported (golint)
    • Line 70: warning: exported function RunStateTest should have comment or be unexported (golint)
    • Line 84: warning: exported function CreateStateTests should have comment or be unexported (golint)
    • Line 92: warning: exported function BenchStateTest should have comment or be unexported (golint)
    • Line 309: warning: exported function RunState should have comment or be unexported (golint)
    • go-ethereum/accounts/abi/abi.go
    • Line 227: warning: don't use underscores in Go names; var r_interSlice should be rInterSlice (golint)
    • Line 228: warning: don't use underscores in Go names; var r_byte should be rByte (golint)
    • Line 324: warning: exported method ABI.UnmarshalJSON should have comment or be unexported (golint)
    • go-ethereum/common/bytes.go
    • Line 22: warning: exported function ToHex should have comment or be unexported (golint)
    • Line 31: warning: exported function FromHex should have comment or be unexported (golint)
    • Line 44: warning: comment on exported function CopyBytes should be of the form "CopyBytes ..." (golint)
    • Line 54: warning: exported function IsHex should have comment or be unexported (golint)
    • Line 59: warning: exported function Bytes2Hex should have comment or be unexported (golint)
    • Line 63: warning: exported function Hex2Bytes should have comment or be unexported (golint)
    • Line 69: warning: exported function Hex2BytesFixed should have comment or be unexported (golint)
    • Line 73: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 76: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 84: warning: exported function RightPadBytes should have comment or be unexported (golint)
    • Line 95: warning: exported function LeftPadBytes should have comment or be unexported (golint)
    • go-ethereum/crypto/bn256/cloudflare/bn256.go
    • Line 54: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 63: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 72: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 81: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 90: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 99: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 120: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 338: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 347: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 356: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 365: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 374: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 381: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 418: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • go-ethereum/crypto/secp256k1/curve.go
    • Line 69: warning: exported method BitCurve.Params should have comment or be unexported (golint)
    • Line 80: warning: comment on exported method BitCurve.IsOnCurve should be of the form "IsOnCurve ..." (golint)
    • Line 221: warning: exported method BitCurve.ScalarMult should have comment or be unexported (golint)
    • Line 262: warning: comment on exported method BitCurve.GenerateKey should be of the form "GenerateKey ..." (golint)
    • go-ethereum/eth/downloader/downloader.go
    • Line 39: warning: exported const EpochDuration should have comment (or a comment on this block) or be unexported (golint)
    • Line 43: warning: exported var MaxHashFetch should have comment or be unexported (golint)
    • Line 97: warning: exported function ErrWasRequested should have comment or be unexported (golint)
    • Line 121: warning: exported const FullSync should have comment (or a comment on this block) or be unexported (golint)
    • Line 139: warning: exported type Downloader should have comment or be unexported (golint)
    • Line 305: warning: exported method Downloader.Qos should have comment or be unexported (golint)
    • Line 312: warning: exported method Downloader.GetMode should have comment or be unexported (golint)
    • Line 316: warning: exported method Downloader.GetPeers should have comment or be unexported (golint)
    • go-ethereum/ethdb/interface.go
    • Line 19: warning: comment on exported const IdealBatchSize should be of the form "IdealBatchSize ..." (golint)
    • Line 28: warning: exported type Database should have comment or be unexported (golint)
    • Line 37: warning: exported type Batch should have comment or be unexported (golint)
    • go-ethereum/logger/logsystem.go
    • Line 42: warning: exported function NewMLogSystem should have comment or be unexported (golint)
    • Line 47: warning: exported type MLogSystem should have comment or be unexported (golint)
    • Line 53: warning: exported method MLogSystem.GetLogger should have comment or be unexported (golint)
    • Line 57: warning: exported method MLogSystem.NewFile should have comment or be unexported (golint)
    • Line 65: warning: exported type StdLogSystem should have comment or be unexported (golint)
    • Line 75: warning: exported method MLogSystem.LogPrint should have comment or be unexported (golint)
    • Line 88: warning: exported method StdLogSystem.LogPrint should have comment or be unexported (golint)
    • Line 97: warning: exported method StdLogSystem.SetLogLevel should have comment or be unexported (golint)
    • Line 101: warning: exported method StdLogSystem.GetLogLevel should have comment or be unexported (golint)
    • Line 105: warning: exported method MLogSystem.GetLogLevel should have comment or be unexported (golint)
    • Line 109: warning: comment on exported function NewJsonLogSystem should be of the form "NewJsonLogSystem ..." (golint)
    • go-ethereum/eth/protocol.go
    • Line 35: warning: comment on exported var ProtocolName should be of the form "ProtocolName ..." (golint)
    • Line 38: warning: comment on exported var ProtocolVersions should be of the form "ProtocolVersions ..." (golint)
    • Line 41: warning: comment on exported var ProtocolLengths should be of the form "ProtocolLengths ..." (golint)
    • Line 45: warning: exported const NetworkId should have comment (or a comment on this block) or be unexported (golint)
    • Line 68: warning: exported function ProtocolMessageStringer should have comment or be unexported (golint)
    • Line 102: warning: exported const ErrMsgTooLarge should have comment (or a comment on this block) or be unexported (golint)
    • go-ethereum/tests/init.go
    • Line 43: warning: exported var BlockSkipTests should have comment or be unexported (golint)
    • Line 45: warning: comment on exported var TransSkipTests should be of the form "TransSkipTests ..." (golint)
    • Line 70: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-ethereum/core/blockchain.go
    • Line 53: warning: exported var ErrNoGenesis should have comment or be unexported (golint)
    • Line 65: warning: comment on exported const BlockChainVersion should be of the form "BlockChainVersion ..." (golint)
    • Line 118: warning: exported type ChainInsertResult should have comment or be unexported (golint)
    • Line 124: warning: exported type ReceiptChainInsertResult should have comment or be unexported (golint)
    • Line 130: warning: exported type HeaderChainInsertResult should have comment or be unexported (golint)
    • Line 136: warning: exported method BlockChain.GetHeaderByHash should have comment or be unexported (golint)
    • Line 140: warning: exported method BlockChain.GetBlockByHash should have comment or be unexported (golint)
    • Line 195: warning: exported function NewBlockChainDryrun should have comment or be unexported (golint)
    • Line 559: warning: comment on exported method BlockChain.LoadLastState should be of the form "LoadLastState ..." (golint)
    • Line 1071: warning: comment on exported method BlockChain.Genesis should be of the form "Genesis ..." (golint)
    • Line 1153: warning: comment on exported method BlockChain.GetBlocksFromHash should be of the form "GetBlocksFromHash ..." (golint)
    • Line 1192: warning: exported type WriteStatus should have comment or be unexported (golint)
    • Line 1195: warning: exported const NonStatTy should have comment (or a comment on this block) or be unexported (golint)
    • Line 1431: 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/tests/transaction_test_util.go
    • Line 32: warning: comment on exported type TtTransaction should be of the form "TtTransaction ..." (with optional leading article) (golint)
    • Line 45: warning: exported type TransactionTest should have comment or be unexported (golint)
    • Line 52: warning: exported function RunTransactionTestsWithReader should have comment or be unexported (golint)
    • Line 79: warning: exported function RunTransactionTests should have comment or be unexported (golint)
    • Line 122: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 133: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 144: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-ethereum/core/data_gastable.go
    • Line 27: warning: exported var DefaultHomeSteadGasTable should have comment or be unexported (golint)
    • Line 38: warning: exported var DefaultGasRepriceGasTable should have comment or be unexported (golint)
    • Line 49: warning: exported var DefaultDiehardGasTable should have comment or be unexported (golint)
    • go-ethereum/crypto/crypto.go
    • Line 38: warning: exported function Keccak256 should have comment or be unexported (golint)
    • Line 46: warning: exported function Keccak256Hash should have comment or be unexported (golint)
    • Line 55: warning: comment on exported function Sha3 should be of the form "Sha3 ..." (golint)
    • Line 57: warning: exported function Sha3Hash should have comment or be unexported (golint)
    • Line 59: warning: comment on exported function CreateAddress should be of the form "CreateAddress ..." (golint)
    • Line 65: warning: exported function Sha256 should have comment or be unexported (golint)
    • Line 71: warning: exported function Ripemd160 should have comment or be unexported (golint)
    • Line 78: warning: exported function Ecrecover should have comment or be unexported (golint)
    • Line 82: warning: comment on exported function ToECDSA should be of the form "ToECDSA ..." (golint)
    • Line 95: warning: exported function FromECDSA should have comment or be unexported (golint)
    • Line 102: warning: exported function ToECDSAPub should have comment or be unexported (golint)
    • Line 110: warning: exported function FromECDSAPub should have comment or be unexported (golint)
    • Line 152: warning: exported function GenerateKey should have comment or be unexported (golint)
    • Line 156: warning: exported function ValidateSignatureValues should have comment or be unexported (golint)
    • Line 172: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 177: warning: exported function SigToPub should have comment or be unexported (golint)
    • Line 187: warning: exported function Sign should have comment or be unexported (golint)
    • Line 198: warning: exported function Encrypt should have comment or be unexported (golint)
    • Line 202: warning: exported function Decrypt should have comment or be unexported (golint)
    • Line 207: warning: exported function PubkeyToAddress should have comment or be unexported (golint)
    • go-ethereum/accounts/manager.go
    • Line 40: warning: exported var ErrLocked should have comment or be unexported (golint)
    • Line 68: warning: exported method Account.MarshalJSON should have comment or be unexported (golint)
    • Line 72: warning: exported method Account.UnmarshalJSON should have comment or be unexported (golint)
    • Line 90: warning: comment on exported const StandardScryptN should be of the form "StandardScryptN ..." (golint)
    • Line 92: warning: exported const StandardScryptP should have comment (or a comment on this block) or be unexported (golint)
    • Line 94: warning: comment on exported const LightScryptN should be of the form "LightScryptN ..." (golint)
    • Line 137: warning: exported method Manager.BuildIndexDB should have comment or be unexported (golint)
    • Line 243: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-ethereum/core/vm/common.go
    • Line 29: warning: exported const StdVmTy should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported var Pow256 should have comment or be unexported (golint)
    • go-ethereum/eth/filters/filter_system.go
    • Line 17: warning: package comment should be of the form "Package filters ..." (golint)
    • Line 36: warning: exported const ChainFilter should have comment (or a comment on this block) or be unexported (golint)
    • Line 85: warning: comment on exported method FilterSystem.Lock should be of the form "Lock ..." (golint)
    • Line 91: warning: comment on exported method FilterSystem.Unlock should be of the form "Unlock ..." (golint)
    • Line 134: warning: exported method FilterSystem.Get should have comment or be unexported (golint)
    • go-ethereum/logger/loggers.go
    • Line 37: warning: exported type LogLevel should have comment or be unexported (golint)
    • Line 40: warning: comment on exported const Silence should be of the form "Silence ..." (golint)
    • Line 42: warning: exported const ErrorLevel should have comment (or a comment on this block) or be unexported (golint)
    • Line 56: warning: exported function NewLogger should have comment or be unexported (golint)
    • Line 65: warning: exported method Logger.Sendln should have comment or be unexported (golint)
    • Line 69: warning: exported method Logger.Sendf should have comment or be unexported (golint)
    • Line 137: warning: exported type JsonLogger should have comment or be unexported (golint)
    • Line 141: warning: exported function NewJsonLogger should have comment or be unexported (golint)
    • Line 145: warning: exported method JsonLogger.LogJson should have comment or be unexported (golint)
    • go-ethereum/whisper/topic.go
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 91: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/miner/miner.go
    • Line 39: warning: exported type Miner should have comment or be unexported (golint)
    • Line 56: warning: exported function New should have comment or be unexported (golint)
    • Line 67: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 95: warning: exported method Miner.SetGasPrice should have comment or be unexported (golint)
    • Line 111: warning: exported method Miner.Start should have comment or be unexported (golint)
    • Line 111: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 139: warning: exported method Miner.Stop should have comment or be unexported (golint)
    • Line 139: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 151: warning: exported method Miner.Register should have comment or be unexported (golint)
    • Line 151: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 158: warning: exported method Miner.Unregister should have comment or be unexported (golint)
    • Line 158: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 162: warning: exported method Miner.Mining should have comment or be unexported (golint)
    • Line 162: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 166: warning: exported method Miner.HashRate should have comment or be unexported (golint)
    • Line 166: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 178: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 182: warning: exported method Miner.SetEtherbase should have comment or be unexported (golint)
    • Line 182: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/eth/backend.go
    • Line 60: warning: exported type Config should have comment or be unexported (golint)
    • Line 98: warning: exported type Ethereum should have comment or be unexported (golint)
    • Line 143: warning: exported function New should have comment or be unexported (golint)
    • Line 394: warning: exported method Ethereum.ResetWithGenesisBlock should have comment or be unexported (golint)
    • Line 398: warning: exported method Ethereum.Etherbase should have comment or be unexported (golint)
    • Line 410: warning: comment on exported method Ethereum.SetEtherbase should be of the form "SetEtherbase ..." (golint)
    • Line 411: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 416: warning: exported method Ethereum.StopMining should have comment or be unexported (golint)
    • Line 417: warning: exported method Ethereum.IsMining should have comment or be unexported (golint)
    • Line 418: warning: exported method Ethereum.Miner should have comment or be unexported (golint)
    • Line 420: warning: exported method Ethereum.AccountManager should have comment or be unexported (golint)
    • Line 421: warning: exported method Ethereum.BlockChain should have comment or be unexported (golint)
    • Line 422: warning: exported method Ethereum.TxPool should have comment or be unexported (golint)
    • Line 423: warning: exported method Ethereum.EventMux should have comment or be unexported (golint)
    • Line 424: warning: exported method Ethereum.ChainDb should have comment or be unexported (golint)
    • Line 425: warning: exported method Ethereum.DappDb should have comment or be unexported (golint)
    • Line 426: warning: exported method Ethereum.IsListening should have comment or be unexported (golint)
    • Line 427: warning: exported method Ethereum.EthVersion should have comment or be unexported (golint)
    • Line 428: warning: exported method Ethereum.NetVersion should have comment or be unexported (golint)
    • Line 429: warning: exported method Ethereum.ChainConfig should have comment or be unexported (golint)
    • Line 430: warning: exported method Ethereum.Downloader should have comment or be unexported (golint)
    • Line 467: warning: comment on exported method Ethereum.WaitForShutdown should be of the form "WaitForShutdown ..." (golint)
    • Line 472: warning: comment on exported method Ethereum.StartAutoDAG should be of the form "StartAutoDAG ..." (golint)
    • Line 481: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 526: warning: comment on exported method Ethereum.StopAutoDAG should be of the form "StopAutoDAG ..." (golint)
    • Line 527: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 537: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 541: warning: exported method Ethereum.Solc should have comment or be unexported (golint)
    • Line 541: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 549: warning: comment on exported method Ethereum.SetSolc should be of the form "SetSolc ..." (golint)
    • Line 550: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/p2p/server.go
    • Line 279: warning: comment on exported method Server.SubscribeEvents should be of the form "SubscribeEvents ..." (golint)
    • Line 799: warning: comment on exported method Server.NodeInfo should be of the form "NodeInfo ..." (golint)
    • go-ethereum/common/registrar/registrar_test.go
    • Line 44: 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)
    • Line 60: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 69: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 73: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/core/vm/gas.go
    • Line 28: warning: exported var GasQuickStep should have comment or be unexported (golint)
    • Line 43: warning: exported type GasTable should have comment or be unexported (golint)
    • go-ethereum/core/vm/opcodes.go
    • Line 26: warning: exported method OpCode.IsPush should have comment or be unexported (golint)
    • Line 34: warning: exported method OpCode.IsStaticJump should have comment or be unexported (golint)
    • Line 39: warning: comment on exported const STOP should be of the form "STOP ..." (golint)
    • Line 41: warning: exported const ADD should have comment (or a comment on this block) or be unexported (golint)
    • Line 55: warning: exported const LT should have comment (or a comment on this block) or be unexported (golint)
    • Line 71: warning: comment on exported const ADDRESS should be of the form "ADDRESS ..." (golint)
    • Line 73: warning: exported const BALANCE should have comment (or a comment on this block) or be unexported (golint)
    • Line 91: warning: comment on exported const BLOCKHASH should be of the form "BLOCKHASH ..." (golint)
    • Line 93: warning: exported const COINBASE should have comment (or a comment on this block) or be unexported (golint)
    • Line 101: warning: comment on exported const POP should be of the form "POP ..." (golint)
    • Line 103: warning: exported const MLOAD should have comment (or a comment on this block) or be unexported (golint)
    • Line 117: warning: comment on exported const PUSH1 should be of the form "PUSH1 ..." (golint)
    • Line 119: warning: exported const PUSH2 should have comment (or a comment on this block) or be unexported (golint)
    • Line 185: warning: exported const LOG0 should have comment (or a comment on this block) or be unexported (golint)
    • Line 200: warning: comment on exported const CREATE should be of the form "CREATE ..." (golint)
    • Line 202: warning: exported const CALL should have comment (or a comment on this block) or be unexported (golint)
    • Line 373: warning: receiver name o should be consistent with previous receiver name op for OpCode (golint)
    • Line 519: warning: exported function StringToOp should have comment or be unexported (golint)
    • go-ethereum/core/state/state_object.go
    • Line 35: warning: exported type Code should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 41: warning: exported type Storage should have comment or be unexported (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 51: warning: exported method Storage.Copy should have comment or be unexported (golint)
    • Line 51: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 130: warning: receiver name c should be consistent with previous receiver name s for StateObject (golint)
    • Line 135: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 141: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 149: warning: receiver name c should be consistent with previous receiver name s for StateObject (golint)
    • Line 162: warning: receiver name c should be consistent with previous receiver name s for StateObject (golint)
    • Line 175: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 200: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 209: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 220: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 236: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 243: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 257: warning: receiver name c should be consistent with previous receiver name s for StateObject (golint)
    • Line 283: warning: receiver name c should be consistent with previous receiver name s for StateObject (golint)
    • Line 301: warning: exported method StateObject.SetBalance should have comment or be unexported (golint)
    • Line 301: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 309: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 317: warning: comment on exported method StateObject.ReturnGas should be of the form "ReturnGas ..." (golint)
    • Line 318: warning: receiver name c should be consistent with previous receiver name s for StateObject (golint)
    • Line 320: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 338: warning: comment on exported method StateObject.Address should be of the form "Address ..." (golint)
    • Line 339: warning: receiver name c should be consistent with previous receiver name s for StateObject (golint)
    • Line 344: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 359: warning: exported method StateObject.SetCode should have comment or be unexported (golint)
    • Line 359: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 369: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 379: warning: exported method StateObject.SetNonce should have comment or be unexported (golint)
    • Line 379: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 387: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 395: warning: exported method StateObject.CodeHash should have comment or be unexported (golint)
    • Line 395: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 399: warning: exported method StateObject.Balance should have comment or be unexported (golint)
    • Line 399: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 403: warning: exported method StateObject.Nonce should have comment or be unexported (golint)
    • Line 403: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 407: warning: comment on exported method StateObject.Value should be of the form "Value ..." (golint)
    • Line 410: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 414: warning: exported method StateObject.ForEachStorage should have comment or be unexported (golint)
    • Line 414: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/internal/jsre/jsre.go
    • Line 63: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 99: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 220: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 227: warning: comment on exported method JSRE.Stop should be of the form "Stop ..." (golint)
    • Line 228: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 236: warning: comment on exported method JSRE.Exec should be of the form "Exec ..." (golint)
    • Line 238: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 256: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 261: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 267: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 273: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 279: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 302: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 318: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/cmd/geth/flagdir.go
    • Line 30: warning: comment on exported type DirectoryString should be of the form "DirectoryString ..." (with optional leading article) (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 41: warning: exported method DirectoryString.Set should have comment or be unexported (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: comment on exported type DirectoryFlag should be of the form "DirectoryFlag ..." (with optional leading article) (golint)
    • Line 56: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 77: warning: comment on exported method DirectoryFlag.Apply should be of the form "Apply ..." (golint)
    • Line 79: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 125: warning: exported method DirectoryFlag.Set should have comment or be unexported (golint)
    • Line 125: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/cmd/geth/cmd.go
    • Line 75: warning: exported function StartNode should have comment or be unexported (golint)
    • Line 170: warning: comment on exported function ImportChain should be of the form "ImportChain ..." (golint)
    • Line 255: warning: exported function ExportChain should have comment or be unexported (golint)
    • Line 269: warning: exported function ExportAppendChain should have comment or be unexported (golint)
    • go-ethereum/whisper/message.go
    • Line 82: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 109: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 116: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 133: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 139: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 148: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 154: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/miner/worker.go
    • Line 59: warning: comment on exported type Work should be of the form "Work ..." (with optional leading article) (golint)
    • Line 85: warning: exported type Result should have comment or be unexported (golint)
    • Line 152: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 158: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 173: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 185: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 205: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 212: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 219: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 252: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 351: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 364: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 414: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 434: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 451: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 582: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 692: warning: error should be the last type when returning multiple items (golint)
    • Line 718: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/core/database_util.go
    • Line 49: warning: exported var MIPMapLevels should have comment or be unexported (golint)
    • Line 523: warning: comment on exported function GetBlockByHashOld should be of the form "GetBlockByHashOld ..." (golint)
    • Line 552: warning: comment on exported function WriteMipmapBloom should be of the form "WriteMipmapBloom ..." (golint)
    • go-ethereum/core/tx_pool.go
    • Line 36: warning: comment on exported var ErrInvalidSender should be of the form "ErrInvalidSender ..." (golint)
    • Line 38: warning: exported var ErrNonce should have comment or be unexported (golint)
    • Line 80: warning: exported function NewTxPool should have comment or be unexported (golint)
    • Line 162: warning: exported method TxPool.Stop should have comment or be unexported (golint)
    • Line 168: warning: exported method TxPool.State should have comment or be unexported (golint)
    • Line 175: warning: exported method TxPool.Stats should have comment or be unexported (golint)
    • Line 302: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 343: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 372: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 384: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 403: warning: receiver name tp should be consistent with previous receiver name pool for TxPool (golint)
    • Line 422: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 441: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 456: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 645: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 652: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/ethdb/memory_database.go
    • Line 26: warning: comment on exported type MemDatabase should be of the form "MemDatabase ..." (with optional leading article) (golint)
    • Line 34: warning: exported function NewMemDatabase should have comment or be unexported (golint)
    • Line 40: warning: exported method MemDatabase.Put should have comment or be unexported (golint)
    • Line 48: warning: exported method MemDatabase.Set should have comment or be unexported (golint)
    • Line 55: warning: exported method MemDatabase.Get should have comment or be unexported (golint)
    • Line 65: warning: exported method MemDatabase.Has should have comment or be unexported (golint)
    • Line 73: warning: exported method MemDatabase.Keys should have comment or be unexported (golint)
    • Line 92: warning: exported method MemDatabase.Delete should have comment or be unexported (golint)
    • Line 100: warning: exported method MemDatabase.Close should have comment or be unexported (golint)
    • Line 102: warning: exported method MemDatabase.NewBatch should have comment or be unexported (golint)
    • go-ethereum/core/vm/contract.go
    • Line 147: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 154: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 160: warning: comment on exported method Contract.ForEachStorage should be of the form "ForEachStorage ..." (golint)
    • Line 162: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/eth/events.go
    • Line 3: warning: exported type PMHandlerAddEvent should have comment or be unexported (golint)
    • Line 9: warning: exported type PMHandlerRemoveEvent should have comment or be unexported (golint)
    • go-ethereum/common/defaults.go
    • Line 25: warning: exported const DefaultIPCSocket should have comment (or a comment on this block) or be unexported (golint)
    • Line 74: 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 83: 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/whisper/whisper.go
    • Line 51: warning: exported const DefaultTTL should have comment (or a comment on this block) or be unexported (golint)
    • Line 55: warning: exported type MessageEvent should have comment or be unexported (golint)
    • Line 116: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 121: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 127: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 139: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 144: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 150: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 163: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 169: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 175: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 183: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 190: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 206: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 253: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 286: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 295: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 331: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 349: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 369: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/core/events.go
    • Line 52: warning: comment on exported type RemovedLogsEvent should be of the form "RemovedLogsEvent ..." (with optional leading article) (golint)
    • Line 55: warning: comment on exported type ChainSplitEvent should be of the form "ChainSplitEvent ..." (with optional leading article) (golint)
    • Line 61: warning: exported type ChainEvent should have comment or be unexported (golint)
    • Line 67: warning: exported type ChainSideEvent should have comment or be unexported (golint)
    • Line 72: warning: comment on exported type PendingBlockEvent should be of the form "PendingBlockEvent ..." (with optional leading article) (golint)
    • Line 78: warning: exported type ChainInsertEvent should have comment or be unexported (golint)
    • Line 89: warning: exported type ReceiptChainInsertEvent should have comment or be unexported (golint)
    • Line 100: warning: exported type HeaderChainInsertEvent should have comment or be unexported (golint)
    • Line 108: warning: comment on exported type ChainUncleEvent should be of the form "ChainUncleEvent ..." (with optional leading article) (golint)
    • Line 113: warning: exported type ChainHeadEvent should have comment or be unexported (golint)
    • Line 115: warning: exported type GasPriceChanged should have comment or be unexported (golint)
    • Line 117: warning: comment on exported type StartMining should be of the form "StartMining ..." (with optional leading article) (golint)
    • Line 119: warning: exported type StopMining should have comment or be unexported (golint)
    • go-ethereum/core/helper_test.go
    • Line 58: warning: receiver name tm should be consistent with previous receiver name s for TestManager (golint)
    • Line 66: warning: receiver name tm should be consistent with previous receiver name s for TestManager (golint)
    • Line 74: warning: receiver name tm should be consistent with previous receiver name s for TestManager (golint)
    • go-ethereum/core/multivm_fake_processor.go
    • Line 13: warning: exported const SputnikVMExists should have comment or be unexported (golint)
    • Line 15: warning: exported var UseSputnikVM should have comment or be unexported (golint)
    • Line 17: warning: exported function ApplyMultiVmTransaction should have comment or be unexported (golint)
    • go-ethereum/common/registrar/registrar.go
    • Line 74: warning: exported var HashRegName should have comment or be unexported (golint)
    • Line 86: warning: comment on exported type Backend should be of the form "Backend ..." (with optional leading article) (golint)
    • Line 93: warning: comment on exported type VersionedRegistrar should be of the form "VersionedRegistrar ..." (with optional leading article) (golint)
    • Line 100: warning: exported type Registrar should have comment or be unexported (golint)
    • Line 104: warning: exported function New should have comment or be unexported (golint)
    • Line 109: warning: exported method Registrar.SetGlobalRegistrar should have comment or be unexported (golint)
    • Line 109: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 118: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 129: warning: exported method Registrar.SetHashReg should have comment or be unexported (golint)
    • Line 129: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 164: warning: exported method Registrar.SetUrlHint should have comment or be unexported (golint)
    • Line 164: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 198: warning: comment on exported method Registrar.SetOwner should be of the form "SetOwner ..." (golint)
    • Line 199: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 211: warning: comment on exported method Registrar.SetHashToHash should be of the form "SetHashToHash ..." (golint)
    • Line 214: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 236: warning: comment on exported method Registrar.SetUrlToHash should be of the form "SetUrlToHash ..." (golint)
    • Line 241: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 279: warning: comment on exported method Registrar.HashToHash should be of the form "HashToHash ..." (golint)
    • Line 282: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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)
    • Line 95: warning: comment on exported function EncodeToBytes should be of the form "EncodeToBytes ..." (golint)
    • Line 107: warning: comment on exported function EncodeToReader should be of the form "EncodeToReader ..." (golint)
    • Line 154: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 325: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 579: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-ethereum/whisper/filter.go
    • Line 61: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 86: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/tests/util.go
    • Line 43: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 55: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 72: warning: exported type Account should have comment or be unexported (golint)
    • Line 79: warning: exported type Log should have comment or be unexported (golint)
    • Line 86: warning: exported method Log.Address should have comment or be unexported (golint)
    • Line 86: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 87: warning: exported method Log.Data should have comment or be unexported (golint)
    • Line 87: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 88: warning: exported method Log.RlpData should have comment or be unexported (golint)
    • Line 88: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 89: warning: exported method Log.Topics should have comment or be unexported (golint)
    • Line 89: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 129: warning: exported type VmEnv should have comment or be unexported (golint)
    • Line 138: warning: exported type VmTest should have comment or be unexported (golint)
    • Line 152: warning: exported type RuleSet should have comment or be unexported (golint)
    • Line 198: warning: exported method RuleSet.IsHomestead should have comment or be unexported (golint)
    • Line 202: warning: exported method RuleSet.IsAtlantis should have comment or be unexported (golint)
    • Line 206: warning: exported method RuleSet.GasTable should have comment or be unexported (golint)
    • Line 244: warning: exported type Env should have comment or be unexported (golint)
    • Line 267: warning: exported function NewEnv should have comment or be unexported (golint)
    • Line 275: warning: exported function NewEnvFromMap should have comment or be unexported (golint)
    • Line 304: warning: exported method Env.RuleSet should have comment or be unexported (golint)
    • Line 304: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 305: warning: exported method Env.Vm should have comment or be unexported (golint)
    • Line 305: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 306: warning: exported method Env.Origin should have comment or be unexported (golint)
    • Line 306: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 307: warning: exported method Env.BlockNumber should have comment or be unexported (golint)
    • Line 307: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 308: warning: exported method Env.Coinbase should have comment or be unexported (golint)
    • Line 308: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 309: warning: exported method Env.Time should have comment or be unexported (golint)
    • Line 309: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 310: warning: exported method Env.Difficulty should have comment or be unexported (golint)
    • Line 310: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 311: warning: exported method Env.Db should have comment or be unexported (golint)
    • Line 311: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 312: warning: exported method Env.GasLimit should have comment or be unexported (golint)
    • Line 312: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 313: warning: exported method Env.VmType should have comment or be unexported (golint)
    • Line 313: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 314: warning: exported method Env.GetHash should have comment or be unexported (golint)
    • Line 314: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 317: warning: exported method Env.AddLog should have comment or be unexported (golint)
    • Line 317: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 320: warning: exported method Env.Depth should have comment or be unexported (golint)
    • Line 320: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 321: warning: exported method Env.SetDepth should have comment or be unexported (golint)
    • Line 321: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 322: warning: exported method Env.ReturnData should have comment or be unexported (golint)
    • Line 322: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 323: warning: exported method Env.SetReturnData should have comment or be unexported (golint)
    • Line 323: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 324: warning: exported method Env.CanTransfer should have comment or be unexported (golint)
    • Line 324: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 334: warning: exported method Env.SnapshotDatabase should have comment or be unexported (golint)
    • Line 334: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 337: warning: exported method Env.RevertToSnapshot should have comment or be unexported (golint)
    • Line 337: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 341: warning: exported method Env.Transfer should have comment or be unexported (golint)
    • Line 341: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 348: warning: exported method Env.Call should have comment or be unexported (golint)
    • Line 348: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 360: warning: exported method Env.CallCode should have comment or be unexported (golint)
    • Line 360: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 369: warning: exported method Env.DelegateCall should have comment or be unexported (golint)
    • Line 369: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 378: warning: exported method Env.StaticCall should have comment or be unexported (golint)
    • Line 378: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 387: warning: exported method Env.Create should have comment or be unexported (golint)
    • Line 387: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 395: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 400: warning: exported type Message should have comment or be unexported (golint)
    • Line 408: warning: exported function NewMessage should have comment or be unexported (golint)
    • Line 412: warning: exported method Message.Hash should have comment or be unexported (golint)
    • Line 412: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 413: warning: exported method Message.From should have comment or be unexported (golint)
    • Line 413: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 414: warning: exported method Message.FromFrontier should have comment or be unexported (golint)
    • Line 414: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 415: warning: exported method Message.To should have comment or be unexported (golint)
    • Line 415: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 416: warning: exported method Message.GasPrice should have comment or be unexported (golint)
    • Line 416: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 417: warning: exported method Message.Gas should have comment or be unexported (golint)
    • Line 417: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 418: warning: exported method Message.Value should have comment or be unexported (golint)
    • Line 418: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 419: warning: exported method Message.Nonce should have comment or be unexported (golint)
    • Line 419: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 420: warning: exported method Message.Data should have comment or be unexported (golint)
    • Line 420: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/core/atxi.go
    • Line 31: warning: exported type AtxiT should have comment or be unexported (golint)
    • Line 38: warning: exported type AtxiProgressT should have comment or be unexported (golint)
    • Line 52: warning: exported method AtxiT.GetATXIBookmark should have comment or be unexported (golint)
    • Line 62: warning: exported method AtxiT.SetATXIBookmark should have comment or be unexported (golint)
    • Line 169: warning: exported function BuildAddrTxIndex should have comment or be unexported (golint)
    • Line 284: warning: exported method BlockChain.GetATXIBuildProgress should have comment or be unexported (golint)
    • go-ethereum/core/error.go
    • Line 28: warning: error var BlockNumberErr should have name of the form ErrFoo (golint)
    • Line 28: warning: exported var BlockNumberErr should have comment or be unexported (golint)
    • Line 29: warning: error var BlockFutureErr should have name of the form ErrFoo (golint)
    • Line 30: warning: error var BlockTSTooBigErr should have name of the form ErrFoo (golint)
    • Line 31: warning: error var BlockEqualTSErr should have name of the form ErrFoo (golint)
    • Line 34: warning: comment on exported type ParentErr should be of the form "ParentErr ..." (with optional leading article) (golint)
    • Line 44: warning: exported function ParentError should have comment or be unexported (golint)
    • Line 48: warning: exported function IsParentErr should have comment or be unexported (golint)
    • Line 53: warning: exported type UncleErr should have comment or be unexported (golint)
    • Line 61: warning: exported function UncleError should have comment or be unexported (golint)
    • Line 65: warning: exported function IsUncleErr should have comment or be unexported (golint)
    • Line 83: warning: exported type NonceErr should have comment or be unexported (golint)
    • Line 92: warning: exported function NonceError should have comment or be unexported (golint)
    • Line 96: warning: exported function IsNonceErr should have comment or be unexported (golint)
    • Line 118: warning: exported type InvalidTxErr should have comment or be unexported (golint)
    • Line 126: warning: exported function InvalidTxError should have comment or be unexported (golint)
    • Line 130: warning: exported function IsInvalidTxErr should have comment or be unexported (golint)
    • Line 135: warning: exported type TDError should have comment or be unexported (golint)
    • Line 139: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 142: warning: exported function IsTDError should have comment or be unexported (golint)
    • Line 147: warning: exported type KnownBlockError should have comment or be unexported (golint)
    • Line 152: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 155: warning: exported function IsKnownBlockErr should have comment or be unexported (golint)
    • Line 160: warning: exported type ValueTransferError should have comment or be unexported (golint)
    • Line 164: warning: exported function ValueTransferErr should have comment or be unexported (golint)
    • Line 168: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 171: warning: exported function IsValueTransferErr should have comment or be unexported (golint)
    • Line 176: warning: exported type GasLimitErr should have comment or be unexported (golint)
    • Line 180: warning: exported function IsGasLimitErr should have comment or be unexported (golint)
    • go-ethereum/eth/filters/filter.go
    • Line 30: warning: exported type AccountChange should have comment or be unexported (golint)
    • Line 34: warning: comment on exported type Filter should be of the form "Filter ..." (with optional leading article) (golint)
    • Line 48: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 54: warning: comment on exported method Filter.SetBeginBlock should be of the form "SetBeginBlock ..." (golint)
    • Line 57: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 61: warning: exported method Filter.SetEndBlock should have comment or be unexported (golint)
    • Line 61: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 65: warning: exported method Filter.SetAddresses should have comment or be unexported (golint)
    • Line 65: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 69: warning: exported method Filter.SetTopics should have comment or be unexported (golint)
    • Line 69: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 73: warning: comment on exported method Filter.Find should be of the form "Find ..." (golint)
    • Line 74: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 97: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 127: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 166: warning: exported method Filter.FilterLogs should have comment or be unexported (golint)
    • Line 166: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 207: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/logger/glog/glog_file.go
    • Line 44: warning: exported function SetLogDir should have comment or be unexported (golint)
    • Line 48: warning: exported function GetLogDir should have comment or be unexported (golint)
    • Line 52: warning: exported function GetLogDirs should have comment or be unexported (golint)
    • go-ethereum/p2p/discover/node.go
    • Line 225: warning: comment on exported method NodeID.GoString should be of the form "GoString ..." (golint)
    • Line 270: warning: receiver name id should be consistent with previous receiver name n for NodeID (golint)
    • go-ethereum/common/compiler/solidity.go
    • Line 61: warning: exported type Contract should have comment or be unexported (golint)
    • Line 66: warning: exported type ContractInfo should have comment or be unexported (golint)
    • Line 77: warning: exported type Solidity should have comment or be unexported (golint)
    • Line 84: warning: exported function New should have comment or be unexported (golint)
    • Line 116: warning: exported method Solidity.Info should have comment or be unexported (golint)
    • Line 120: warning: exported method Solidity.Version should have comment or be unexported (golint)
    • Line 215: warning: exported function SaveInfo should have comment or be unexported (golint)
    • go-ethereum/cmd/geth/flag.go
    • Line 82: warning: comment on exported var ErrInvalidFlag should be of the form "ErrInvalidFlag ..." (golint)
    • Line 85: warning: exported var ErrDirectoryStructure should have comment or be unexported (golint)
    • Line 821: warning: exported function MakeIndexDatabase should have comment or be unexported (golint)
    • go-ethereum/eth/handler.go
    • Line 65: warning: exported type ProtocolManager should have comment or be unexported (golint)
    • Line 225: warning: exported method ProtocolManager.Start should have comment or be unexported (golint)
    • Line 240: warning: exported method ProtocolManager.Stop should have comment or be unexported (golint)
    • Line 293: 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 843: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 854: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 872: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/rpc/types.go
    • Line 157: warning: exported method HexNumber.UnmarshalJSON should have comment or be unexported (golint)
    • Line 183: warning: exported method HexNumber.Int should have comment or be unexported (golint)
    • Line 188: warning: exported method HexNumber.Int64 should have comment or be unexported (golint)
    • Line 193: warning: exported method HexNumber.Uint should have comment or be unexported (golint)
    • Line 198: warning: exported method HexNumber.Uint64 should have comment or be unexported (golint)
    • Line 203: warning: exported method HexNumber.BigInt should have comment or be unexported (golint)
    • Line 214: warning: exported type BlockNumber should have comment or be unexported (golint)
    • Line 217: warning: exported const PendingBlockNumber should have comment (or a comment on this block) or be unexported (golint)
    • Line 270: warning: exported method BlockNumber.Int64 should have comment or be unexported (golint)
    • go-ethereum/tests/vm_test_util.go
    • Line 34: warning: exported function RunVmTestWithReader should have comment or be unexported (golint)
    • Line 58: warning: exported function BenchVmTest should have comment or be unexported (golint)
    • Line 99: warning: exported function RunVmTest should have comment or be unexported (golint)
    • Line 163: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 201: warning: exported function RunVm should have comment or be unexported (golint)
    • go-ethereum/core/vm_env.go
    • Line 43: warning: exported type VMEnv should have comment or be unexported (golint)
    • Line 56: warning: exported function NewEnv should have comment or be unexported (golint)
    • Line 70: warning: exported method VMEnv.RuleSet should have comment or be unexported (golint)
    • Line 70: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 71: warning: exported method VMEnv.Vm should have comment or be unexported (golint)
    • Line 71: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 72: warning: exported method VMEnv.Origin should have comment or be unexported (golint)
    • Line 72: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 73: warning: exported method VMEnv.BlockNumber should have comment or be unexported (golint)
    • Line 73: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 74: warning: exported method VMEnv.Coinbase should have comment or be unexported (golint)
    • Line 74: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 75: warning: exported method VMEnv.Time should have comment or be unexported (golint)
    • Line 75: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 76: warning: exported method VMEnv.Difficulty should have comment or be unexported (golint)
    • Line 76: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 77: warning: exported method VMEnv.GasLimit should have comment or be unexported (golint)
    • Line 77: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 78: warning: exported method VMEnv.Value should have comment or be unexported (golint)
    • Line 78: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 79: warning: exported method VMEnv.Db should have comment or be unexported (golint)
    • Line 79: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 80: warning: exported method VMEnv.Depth should have comment or be unexported (golint)
    • Line 80: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 81: warning: exported method VMEnv.SetDepth should have comment or be unexported (golint)
    • Line 81: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 82: warning: exported method VMEnv.ReturnData should have comment or be unexported (golint)
    • Line 82: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 83: warning: exported method VMEnv.SetReturnData should have comment or be unexported (golint)
    • Line 83: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 84: warning: exported method VMEnv.GetHash should have comment or be unexported (golint)
    • Line 84: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 88: warning: exported method VMEnv.AddLog should have comment or be unexported (golint)
    • Line 88: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 91: warning: exported method VMEnv.CanTransfer should have comment or be unexported (golint)
    • Line 91: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 95: warning: exported method VMEnv.SnapshotDatabase should have comment or be unexported (golint)
    • Line 95: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 99: warning: exported method VMEnv.RevertToSnapshot should have comment or be unexported (golint)
    • Line 99: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 103: warning: exported method VMEnv.Transfer should have comment or be unexported (golint)
    • Line 103: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 107: warning: exported method VMEnv.Call should have comment or be unexported (golint)
    • Line 107: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 110: warning: exported method VMEnv.CallCode should have comment or be unexported (golint)
    • Line 110: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 114: warning: exported method VMEnv.DelegateCall should have comment or be unexported (golint)
    • Line 114: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 118: warning: exported method VMEnv.StaticCall should have comment or be unexported (golint)
    • Line 118: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 122: warning: exported method VMEnv.Create should have comment or be unexported (golint)
    • Line 122: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/cmd/evm/main.go
    • Line 46: warning: exported var DebugFlag should have comment or be unexported (golint)
    • Line 199: warning: exported type VMEnv should have comment or be unexported (golint)
    • Line 214: warning: exported function NewEnv should have comment or be unexported (golint)
    • Line 249: warning: exported method VMEnv.RuleSet should have comment or be unexported (golint)
    • Line 249: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 250: warning: exported method VMEnv.Vm should have comment or be unexported (golint)
    • Line 250: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 251: warning: exported method VMEnv.Db should have comment or be unexported (golint)
    • Line 251: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 252: warning: exported method VMEnv.SnapshotDatabase should have comment or be unexported (golint)
    • Line 252: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 253: warning: exported method VMEnv.RevertToSnapshot should have comment or be unexported (golint)
    • Line 253: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 254: warning: exported method VMEnv.Origin should have comment or be unexported (golint)
    • Line 254: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 255: warning: exported method VMEnv.BlockNumber should have comment or be unexported (golint)
    • Line 255: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 256: warning: exported method VMEnv.Coinbase should have comment or be unexported (golint)
    • Line 256: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 257: warning: exported method VMEnv.Time should have comment or be unexported (golint)
    • Line 257: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 258: warning: exported method VMEnv.Difficulty should have comment or be unexported (golint)
    • Line 258: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 259: warning: exported method VMEnv.BlockHash should have comment or be unexported (golint)
    • Line 259: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 260: warning: exported method VMEnv.Value should have comment or be unexported (golint)
    • Line 260: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 261: warning: exported method VMEnv.GasLimit should have comment or be unexported (golint)
    • Line 261: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 262: warning: exported method VMEnv.VmType should have comment or be unexported (golint)
    • Line 262: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 263: warning: exported method VMEnv.Depth should have comment or be unexported (golint)
    • Line 263: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 264: warning: exported method VMEnv.SetDepth should have comment or be unexported (golint)
    • Line 264: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 265: warning: exported method VMEnv.ReturnData should have comment or be unexported (golint)
    • Line 265: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 266: warning: exported method VMEnv.SetReturnData should have comment or be unexported (golint)
    • Line 266: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 267: warning: exported method VMEnv.GetHash should have comment or be unexported (golint)
    • Line 267: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 273: warning: exported method VMEnv.AddLog should have comment or be unexported (golint)
    • Line 273: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 276: warning: exported method VMEnv.CanTransfer should have comment or be unexported (golint)
    • Line 276: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 279: warning: exported method VMEnv.Transfer should have comment or be unexported (golint)
    • Line 279: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 283: warning: exported method VMEnv.Call should have comment or be unexported (golint)
    • Line 283: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 288: warning: exported method VMEnv.CallCode should have comment or be unexported (golint)
    • Line 288: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 292: warning: exported method VMEnv.DelegateCall should have comment or be unexported (golint)
    • Line 292: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 296: warning: exported method VMEnv.StaticCall should have comment or be unexported (golint)
    • Line 296: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 300: warning: exported method VMEnv.Create should have comment or be unexported (golint)
    • Line 300: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/common/httpclient/httpclient.go
    • Line 29: warning: exported type HTTPClient should have comment or be unexported (golint)
    • Line 35: warning: exported function New should have comment or be unexported (golint)
    • Line 49: warning: exported method HTTPClient.Client should have comment or be unexported (golint)
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 55: warning: exported method HTTPClient.RegisterScheme should have comment or be unexported (golint)
    • Line 55: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 60: warning: exported method HTTPClient.HasScheme should have comment or be unexported (golint)
    • Line 60: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 69: warning: exported method HTTPClient.GetAuthContent should have comment or be unexported (golint)
    • Line 69: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 86: warning: comment on exported method HTTPClient.Get should be of the form "Get ..." (golint)
    • Line 88: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/eth/cpu_mining.go
    • Line 31: warning: exported method Ethereum.StartMining should have comment or be unexported (golint)
    • Line 48: warning: exported function GPUBench should have comment or be unexported (golint)
    • Line 52: warning: exported function PrintOpenCLDevices should have comment or be unexported (golint)
    • go-ethereum/core/types/bloom9.go
    • Line 30: warning: exported type Bloom should have comment or be unexported (golint)
    • Line 32: warning: exported function BytesToBloom should have comment or be unexported (golint)
    • Line 38: warning: exported method Bloom.SetBytes should have comment or be unexported (golint)
    • Line 46: warning: exported method Bloom.Add should have comment or be unexported (golint)
    • Line 52: warning: exported method Bloom.Bytes should have comment or be unexported (golint)
    • Line 56: warning: exported method Bloom.MarshalJSON should have comment or be unexported (golint)
    • Line 60: warning: exported function CreateBloom should have comment or be unexported (golint)
    • Line 69: warning: exported function LogsBloom should have comment or be unexported (golint)
    • Line 101: warning: exported var Bloom9 should have comment or be unexported (golint)
    • Line 103: warning: exported function BloomLookup should have comment or be unexported (golint)
    • go-ethereum/core/types/receipt.go
    • Line 35: warning: exported type ReceiptStatus should have comment or be unexported (golint)
    • Line 38: warning: exported const TxFailure should have comment (or a comment on this block) or be unexported (golint)
    • go-ethereum/logger/types.go
    • Line 35: warning: exported type JsonLog should have comment or be unexported (golint)
    • Line 39: warning: exported type LogEvent should have comment or be unexported (golint)
    • Line 45: warning: exported type LogStarting should have comment or be unexported (golint)
    • Line 51: warning: exported method LogStarting.EventName should have comment or be unexported (golint)
    • Line 55: warning: exported type P2PConnected should have comment or be unexported (golint)
    • Line 63: warning: exported method P2PConnected.EventName should have comment or be unexported (golint)
    • Line 67: warning: exported type P2PDisconnected should have comment or be unexported (golint)
    • Line 73: warning: exported method P2PDisconnected.EventName should have comment or be unexported (golint)
    • Line 77: warning: exported type EthMinerNewBlock should have comment or be unexported (golint)
    • Line 85: warning: exported method EthMinerNewBlock.EventName should have comment or be unexported (golint)
    • Line 89: warning: exported type EthChainReceivedNewBlock should have comment or be unexported (golint)
    • Line 98: warning: exported method EthChainReceivedNewBlock.EventName should have comment or be unexported (golint)
    • Line 102: warning: exported type EthChainNewHead should have comment or be unexported (golint)
    • Line 110: warning: exported method EthChainNewHead.EventName should have comment or be unexported (golint)
    • Line 114: warning: exported type EthTxReceived should have comment or be unexported (golint)
    • Line 120: warning: exported method EthTxReceived.EventName should have comment or be unexported (golint)
    • go-ethereum/miner/agent.go
    • Line 30: warning: exported type CpuAgent should have comment or be unexported (golint)
    • Line 44: warning: exported function NewCpuAgent should have comment or be unexported (golint)
    • Line 53: warning: exported method CpuAgent.Work should have comment or be unexported (golint)
    • Line 53: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: exported method CpuAgent.Pow should have comment or be unexported (golint)
    • Line 54: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 55: warning: exported method CpuAgent.SetReturnCh should have comment or be unexported (golint)
    • Line 55: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 57: warning: exported method CpuAgent.Stop should have comment or be unexported (golint)
    • Line 57: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 64: warning: exported method CpuAgent.Start should have comment or be unexported (golint)
    • Line 64: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 80: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 117: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 130: warning: exported method CpuAgent.GetHashRate should have comment or be unexported (golint)
    • Line 130: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/cmd/geth/flags.go
    • Line 27: warning: comment on exported var PprofFlag should be of the form "PprofFlag ..." (golint)
    • Line 33: warning: exported var PprofIntervalFlag should have comment or be unexported (golint)
    • Line 113: warning: comment on exported var ETFChain should be of the form "ETFChain ..." (golint)
    • Line 118: warning: comment on exported var MiningEnabledFlag should be of the form "MiningEnabledFlag ..." (golint)
    • Line 157: warning: comment on exported var UnlockedAccountFlag should be of the form "UnlockedAccountFlag ..." (golint)
    • Line 168: warning: comment on exported var NeckbeardFlag should be of the form "NeckbeardFlag ..." (golint)
    • Line 263: warning: comment on exported var RPCEnabledFlag should be of the form "RPCEnabledFlag ..." (golint)
    • Line 337: warning: comment on exported var MaxPeersFlag should be of the form "MaxPeersFlag ..." (golint)
    • Line 379: warning: comment on exported var JSpathFlag should be of the form "JSpathFlag ..." (golint)
    • Line 391: warning: comment on exported var GpoMinGasPriceFlag should be of the form "GpoMinGasPriceFlag ..." (golint)
    • go-ethereum/rlp/decode.go
    • Line 273: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 536: warning: exported const Byte should have comment (or a comment on this block) or be unexported (golint)
    • Line 557: warning: error var EOL should have name of the form ErrFoo (golint)
    • Line 559: warning: comment on exported var ErrExpectedString should be of the form "ErrExpectedString ..." (golint)
    • Line 561: warning: exported var ErrExpectedList should have comment or be unexported (golint)
    • Line 567: warning: comment on exported var ErrMoreThanOneValue should be of the form "ErrMoreThanOneValue ..." (golint)
    • go-ethereum/p2p/message.go
    • Line 67: warning: exported type MsgReader should have comment or be unexported (golint)
    • Line 71: warning: exported type MsgWriter should have comment or be unexported (golint)
    • Line 231: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-ethereum/accounts/abi/numbers.go
    • Line 27: warning: don't use underscores in Go names; var big_t should be bigT (golint)
    • Line 28: warning: don't use underscores in Go names; var ubig_t should be ubigT (golint)
    • Line 29: warning: don't use underscores in Go names; var int_t should be intT (golint)
    • Line 30: warning: don't use underscores in Go names; var int8_t should be int8T (golint)
    • Line 31: warning: don't use underscores in Go names; var int16_t should be int16T (golint)
    • Line 32: warning: don't use underscores in Go names; var int32_t should be int32T (golint)
    • Line 33: warning: don't use underscores in Go names; var int64_t should be int64T (golint)
    • Line 34: warning: don't use underscores in Go names; var address_t should be addressT (golint)
    • Line 36: warning: don't use underscores in Go names; var int_ts should be intTs (golint)
    • Line 37: warning: don't use underscores in Go names; var int8_ts should be int8Ts (golint)
    • Line 38: warning: don't use underscores in Go names; var int16_ts should be int16Ts (golint)
    • Line 39: warning: don't use underscores in Go names; var int32_ts should be int32Ts (golint)
    • Line 40: warning: don't use underscores in Go names; var int64_ts should be int64Ts (golint)
    • go-ethereum/event/filter/filter.go
    • Line 22: warning: exported type Filter should have comment or be unexported (golint)
    • Line 27: warning: exported type FilterEvent should have comment or be unexported (golint)
    • Line 32: warning: exported type Filters should have comment or be unexported (golint)
    • Line 40: warning: exported function New should have comment or be unexported (golint)
    • Line 48: warning: exported method Filters.Start should have comment or be unexported (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 52: warning: exported method Filters.Stop should have comment or be unexported (golint)
    • Line 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 56: warning: exported method Filters.Notify should have comment or be unexported (golint)
    • Line 56: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 60: warning: exported method Filters.Install should have comment or be unexported (golint)
    • Line 60: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 67: warning: exported method Filters.Uninstall should have comment or be unexported (golint)
    • Line 67: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 71: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 89: warning: exported method Filters.Match should have comment or be unexported (golint)
    • Line 89: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 93: warning: exported method Filters.Get should have comment or be unexported (golint)
    • Line 93: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/pow/block.go
    • Line 26: warning: exported type Block should have comment or be unexported (golint)
    • Line 34: warning: exported type ChainManager should have comment or be unexported (golint)
    • go-ethereum/eth/downloader/events.go
    • Line 7: warning: exported type InsertChainEvent should have comment or be unexported (golint)
    • Line 11: warning: exported type InsertReceiptChainEvent should have comment or be unexported (golint)
    • Line 16: warning: exported type InsertHeaderChainEvent should have comment or be unexported (golint)
    • go-ethereum/core/state_processor.go
    • Line 33: warning: exported var MaximumBlockReward should have comment or be unexported (golint)
    • Line 247: warning: comment on exported function GetBlockWinnerRewardByEra should be of the form "GetBlockWinnerRewardByEra ..." (golint)
    • go-ethereum/core/vm/runtime/env.go
    • Line 65: warning: exported method Env.RuleSet should have comment or be unexported (golint)
    • Line 65: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 66: warning: exported method Env.Vm should have comment or be unexported (golint)
    • Line 66: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 67: warning: exported method Env.Origin should have comment or be unexported (golint)
    • Line 67: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 68: warning: exported method Env.BlockNumber should have comment or be unexported (golint)
    • Line 68: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 69: warning: exported method Env.Coinbase should have comment or be unexported (golint)
    • Line 69: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 70: warning: exported method Env.Time should have comment or be unexported (golint)
    • Line 70: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 71: warning: exported method Env.Difficulty should have comment or be unexported (golint)
    • Line 71: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 72: warning: exported method Env.Db should have comment or be unexported (golint)
    • Line 72: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 73: warning: exported method Env.GasLimit should have comment or be unexported (golint)
    • Line 73: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 74: warning: exported method Env.VmType should have comment or be unexported (golint)
    • Line 74: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 75: warning: exported method Env.GetHash should have comment or be unexported (golint)
    • Line 75: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 78: warning: exported method Env.AddLog should have comment or be unexported (golint)
    • Line 78: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 81: warning: exported method Env.Depth should have comment or be unexported (golint)
    • Line 81: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 82: warning: exported method Env.SetDepth should have comment or be unexported (golint)
    • Line 82: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 83: warning: exported method Env.ReturnData should have comment or be unexported (golint)
    • Line 83: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 84: warning: exported method Env.SetReturnData should have comment or be unexported (golint)
    • Line 84: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 86: warning: exported method Env.CanTransfer should have comment or be unexported (golint)
    • Line 86: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 89: warning: exported method Env.SnapshotDatabase should have comment or be unexported (golint)
    • Line 89: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 92: warning: exported method Env.RevertToSnapshot should have comment or be unexported (golint)
    • Line 92: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 96: warning: exported method Env.Transfer should have comment or be unexported (golint)
    • Line 96: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 100: warning: exported method Env.Call should have comment or be unexported (golint)
    • Line 100: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 103: warning: exported method Env.CallCode should have comment or be unexported (golint)
    • Line 103: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 107: warning: exported method Env.DelegateCall should have comment or be unexported (golint)
    • Line 107: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 111: warning: exported method Env.StaticCall should have comment or be unexported (golint)
    • Line 111: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 115: warning: exported method Env.Create should have comment or be unexported (golint)
    • Line 115: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/common/types.go
    • Line 33: warning: exported const HashLength should have comment (or a comment on this block) or be unexported (golint)
    • Line 37: warning: error var hashJsonLengthErr should have name of the form errFoo (golint)
    • Line 40: warning: exported type Hash should have comment or be unexported (golint)
    • Line 41: warning: exported type Address should have comment or be unexported (golint)
    • Line 44: warning: exported function BytesToHash should have comment or be unexported (golint)
    • Line 49: warning: exported function BigToHash should have comment or be unexported (golint)
    • Line 50: warning: exported function HexToHash should have comment or be unexported (golint)
    • Line 54: warning: comment on exported method Hash.Str should be of the form "Str ..." (golint)
    • Line 56: warning: exported method Hash.Bytes should have comment or be unexported (golint)
    • Line 57: warning: exported method Hash.Big should have comment or be unexported (golint)
    • Line 58: warning: exported method Hash.Hex should have comment or be unexported (golint)
    • Line 79: warning: comment on exported method Hash.MarshalJSON should be of the form "MarshalJSON ..." (golint)
    • Line 84: warning: comment on exported method Hash.SetBytes should be of the form "SetBytes ..." (golint)
    • Line 93: warning: comment on exported method Hash.SetString should be of the form "SetString ..." (golint)
    • Line 96: warning: comment on exported method Hash.Set should be of the form "Set ..." (golint)
    • Line 112: warning: exported function EmptyHash should have comment or be unexported (golint)
    • Line 116: warning: exported method Hash.IsEmpty should have comment or be unexported (golint)
    • Line 133: warning: exported method UnprefixedHash.Bytes should have comment or be unexported (golint)
    • Line 135: warning: comment on exported function BytesToAddress should be of the form "BytesToAddress ..." (golint)
    • Line 141: warning: exported function StringToAddress should have comment or be unexported (golint)
    • Line 142: warning: exported function BigToAddress should have comment or be unexported (golint)
    • Line 143: warning: exported function HexToAddress should have comment or be unexported (golint)
    • Line 145: warning: exported function EmptyAddress should have comment or be unexported (golint)
    • Line 149: warning: exported method Address.IsEmpty should have comment or be unexported (golint)
    • Line 165: warning: comment on exported method Address.Str should be of the form "Str ..." (golint)
    • Line 167: warning: exported method Address.Bytes should have comment or be unexported (golint)
    • Line 168: warning: exported method Address.Big should have comment or be unexported (golint)
    • Line 169: warning: exported method Address.Hash should have comment or be unexported (golint)
    • Line 170: warning: exported method Address.Hex should have comment or be unexported (golint)
    • Line 172: warning: comment on exported method Address.SetBytes should be of the form "SetBytes ..." (golint)
    • Line 180: warning: comment on exported method Address.SetString should be of the form "SetString ..." (golint)
    • Line 183: warning: comment on exported method Address.Set should be of the form "Set ..." (golint)
    • Line 190: warning: comment on exported method Address.MarshalJSON should be of the form "MarshalJSON ..." (golint)
    • Line 195: warning: comment on exported method Address.UnmarshalJSON should be of the form "UnmarshalJSON ..." (golint)
    • go-ethereum/miner/remote_agent.go
    • Line 37: warning: exported type RemoteAgent should have comment or be unexported (golint)
    • Line 53: warning: exported function NewRemoteAgent should have comment or be unexported (golint)
    • Line 60: warning: exported method RemoteAgent.SubmitHashrate should have comment or be unexported (golint)
    • Line 67: warning: exported method RemoteAgent.Work should have comment or be unexported (golint)
    • Line 71: warning: exported method RemoteAgent.SetReturnCh should have comment or be unexported (golint)
    • Line 75: warning: exported method RemoteAgent.Start should have comment or be unexported (golint)
    • Line 85: warning: exported method RemoteAgent.Stop should have comment or be unexported (golint)
    • Line 106: warning: exported method RemoteAgent.GetWork should have comment or be unexported (golint)
    • Line 131: warning: comment on exported method RemoteAgent.SubmitWork should be of the form "SubmitWork ..." (golint)
    • Line 155: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-ethereum/core/config.go
    • Line 48: warning: exported var ErrChainConfigNotFound should have comment or be unexported (golint)
    • Line 56: warning: comment on exported var ChainIdentitiesBlacklist should be of the form "ChainIdentitiesBlacklist ..." (golint)
    • Line 77: warning: exported function SetCacheChainIdentity should have comment or be unexported (golint)
    • Line 81: warning: exported function GetCacheChainIdentity should have comment or be unexported (golint)
    • Line 85: warning: exported function SetCacheChainConfig should have comment or be unexported (golint)
    • Line 90: warning: exported function GetCacheChainConfig should have comment or be unexported (golint)
    • Line 139: warning: exported type GenesisAccount should have comment or be unexported (golint)
    • Line 155: warning: exported type Fork should have comment or be unexported (golint)
    • Line 179: warning: comment on exported type ForkFeature should be of the form "ForkFeature ..." (with optional leading article) (golint)
    • Line 191: warning: comment on exported type ChainFeatureConfigOptions should be of the form "ChainFeatureConfigOptions ..." (with optional leading article) (golint)
    • Line 195: warning: exported type BadHash should have comment or be unexported (golint)
    • Line 200: warning: exported method SufficientChainConfig.IsValid should have comment or be unexported (golint)
    • Line 404: warning: exported method ChainConfig.HeaderCheck should have comment or be unexported (golint)
    • Line 426: warning: comment on exported method ChainConfig.GetLatestRequiredHashFork should be of the form "GetLatestRequiredHashFork ..." (golint)
    • Line 444: warning: exported method ChainConfig.GetSigner should have comment or be unexported (golint)
    • Line 449: 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 820: warning: exported function WriteGenesisBlockForTesting should have comment or be unexported (golint)
    • go-ethereum/common/version.go
    • Line 16: warning: exported var SessionID should have comment or be unexported (golint)
    • Line 99: warning: exported function SetClientVersion should have comment or be unexported (golint)
    • go-ethereum/core/vm/memory.go
    • Line 26: warning: exported function NewMemory should have comment or be unexported (golint)
    • Line 53: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 69: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 91: warning: exported method Memory.Print should have comment or be unexported (golint)
    • go-ethereum/logger/log.go
    • Line 36: warning: exported function New should have comment or be unexported (golint)
    • Line 51: warning: exported function BuildNewMLogSystem should have comment or be unexported (golint)
    • Line 66: warning: exported function NewJSONsystem should have comment or be unexported (golint)
    • Line 90: warning: exported function ColorGreen should have comment or be unexported (golint)
    • Line 93: warning: exported function ColorRed should have comment or be unexported (golint)
    • Line 96: warning: exported function ColorBlue should have comment or be unexported (golint)
    • Line 99: warning: exported function ColorYellow should have comment or be unexported (golint)
    • Line 102: warning: exported function ColorMagenta should have comment or be unexported (golint)
    • go-ethereum/crypto/secp256k1/secp256.go
    • Line 76: warning: exported var ErrInvalidMsgLen should have comment or be unexported (golint)
    • Line 85: warning: exported function GenerateKeyPair should have comment or be unexported (golint)
    • Line 87: warning: don't use underscores in Go names; var seckey_ptr should be seckeyPtr (golint)
    • Line 90: warning: don't use underscores in Go names; var pubkey64_ptr should be pubkey64Ptr (golint)
    • Line 91: warning: don't use underscores in Go names; var pubkey65_ptr should be pubkey65Ptr (golint)
    • Line 103: warning: don't use underscores in Go names; var output_len should be outputLen (golint)
    • Line 116: warning: exported function GeneratePubKey should have comment or be unexported (golint)
    • Line 122: warning: don't use underscores in Go names; var pubkey_ptr should be pubkeyPtr (golint)
    • Line 124: warning: don't use underscores in Go names; var seckey_ptr should be seckeyPtr (golint)
    • Line 142: warning: don't use underscores in Go names; var msg_ptr should be msgPtr (golint)
    • Line 143: warning: don't use underscores in Go names; var seckey_ptr should be seckeyPtr (golint)
    • Line 146: warning: don't use underscores in Go names; var sig_ptr should be sigPtr (golint)
    • Line 149: warning: don't use underscores in Go names; var ndata_ptr should be ndataPtr (golint)
    • Line 151: warning: don't use underscores in Go names; var noncefp_ptr should be noncefpPtr (golint)
    • Line 170: warning: don't use underscores in Go names; var sig_serialized should be sigSerialized (golint)
    • Line 171: warning: don't use underscores in Go names; var sig_serialized_ptr should be sigSerializedPtr (golint)
    • Line 224: warning: exported function VerifySeckeyValidity should have comment or be unexported (golint)
    • Line 228: warning: don't use underscores in Go names; var seckey_ptr should be seckeyPtr (golint)
    • Line 248: warning: don't use underscores in Go names; var msg_ptr should be msgPtr (golint)
    • Line 249: warning: don't use underscores in Go names; var sig_ptr should be sigPtr (golint)
    • Line 258: warning: don't use underscores in Go names; var pubkey_ptr should be pubkeyPtr (golint)
    • Line 259: warning: don't use underscores in Go names; var recoverable_sig_ptr should be recoverableSigPtr (golint)
    • Line 281: warning: don't use underscores in Go names; var serialized_pubkey_ptr should be serializedPubkeyPtr (golint)
    • Line 282: warning: don't use underscores in Go names; var output_len should be outputLen (golint)
    • go-ethereum/whisper/envelope.go
    • Line 61: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 80: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 86: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 124: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 133: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/eth/gasprice.go
    • Line 81: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 101: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 115: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 164: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 196: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/common/big.go
    • Line 38: warning: comment on exported function BigPow should be of the form "BigPow ..." (golint)
    • Line 48: warning: exported function BitTest should have comment or be unexported (golint)
    • Line 59: warning: exported function U256 should have comment or be unexported (golint)
    • Line 63: warning: exported function S256 should have comment or be unexported (golint)
    • Line 66: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 72: warning: exported function FirstBitSet should have comment or be unexported (golint)
    • Line 82: warning: comment on exported function BigToBytes should be of the form "BigToBytes ..." (golint)
    • Line 96: warning: comment on exported function BigMax should be of the form "BigMax ..." (golint)
    • Line 107: warning: comment on exported function BigMin should be of the form "BigMin ..." (golint)
    • go-ethereum/core/state/dump.go
    • Line 34: warning: exported type DumpAccount should have comment or be unexported (golint)
    • Line 43: warning: exported type Dumps should have comment or be unexported (golint)
    • Line 45: warning: exported type Dump should have comment or be unexported (golint)
    • Line 59: warning: exported method StateDB.RawDump should have comment or be unexported (golint)
    • Line 59: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 101: warning: exported const ZipperBlockLength should have comment or be unexported (golint)
    • Line 102: warning: exported const ZipperPieceLength should have comment or be unexported (golint)
    • Line 104: warning: exported type Zipper should have comment or be unexported (golint)
    • Line 110: warning: exported type AddressedRawAccount should have comment or be unexported (golint)
    • Line 115: warning: exported type EncodedAccount should have comment or be unexported (golint)
    • Line 121: warning: exported method Zipper.ZipBytes should have comment or be unexported (golint)
    • Line 121: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 150: warning: exported method Zipper.UnZipBytes should have comment or be unexported (golint)
    • Line 150: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 213: 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 235: 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 245: warning: exported method StateDB.LoadEncodedAccounts should have comment or be unexported (golint)
    • Line 245: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 372: warning: exported method StateDB.UnsortedRawDump should have comment or be unexported (golint)
    • Line 372: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 390: warning: exported method StateDB.SortedDump should have comment or be unexported (golint)
    • Line 390: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 424: warning: exported method StateDB.UnsortedDump should have comment or be unexported (golint)
    • Line 424: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 429: warning: exported method StateDB.Dump should have comment or be unexported (golint)
    • Line 429: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-ethereum/accounts/benchmark_manager_test.go
    • Line 307: warning: don't use underscores in Go names; func benchmarkManager_SignWithPassphrase should be benchmarkManagerSignWithPassphrase (golint)
    • Line 396: warning: don't use underscores in Go names; func benchmarkManager_CRUSD should be benchmarkManagerCRUSD (golint)
    • go-ethereum/logger/mlog_file.go
    • Line 42: warning: exported const MLOGJSON should have comment (or a comment on this block) or be unexported (golint)
    • Line 52: warning: exported var ErrUnkownMLogFormat should have comment or be unexported (golint)
    • Line 144: warning: exported function SetMlogEnabled should have comment or be unexported (golint)
    • Line 148: warning: exported function MlogEnabled should have comment or be unexported (golint)
    • Line 163: warning: comment on exported function GetMLogRegistryAvailable should be of the form "GetMLogRegistryAvailable ..." (golint)
    • Line 176: warning: comment on exported function GetMLogRegistryActive should be of the form "GetMLogRegistryActive ..." (golint)
    • Line 242: warning: comment on exported method MLogT.Send should be of the form "Send ..." (golint)
    • Line 251: warning: exported method Logger.SendFormatted should have comment or be unexported (golint)
    • Line 272: warning: exported function GetMLogDir should have comment or be unexported (golint)
    • Line 277: warning: exported function SetMLogFormat should have comment or be unexported (golint)
    • Line 281: warning: exported function GetMLogFormat should have comment or be unexported (golint)
    • Line 285: warning: exported function SetMLogFormatFromString should have comment or be unexported (golint)
    • Line 288: 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 352: warning: receiver name m should be consistent with previous receiver name msg for MLogT (golint)
    • Line 365: warning: exported method MLogT.FormatJSON should have comment or be unexported (golint)
    • Line 365: warning: receiver name m should be consistent with previous receiver name msg for MLogT (golint)
    • Line 370: warning: exported method MLogT.FormatKV should have comment or be unexported (golint)
    • Line 370: warning: receiver name m should be consistent with previous receiver name msg for MLogT (golint)
    • Line 386: warning: exported method MLogT.FormatPlain should have comment or be unexported (golint)
    • Line 386: warning: receiver name m should be consistent with previous receiver name msg for MLogT (golint)
    • Line 402: warning: exported method MLogT.MarshalJSON should have comment or be unexported (golint)
    • Line 402: warning: receiver name m should be consistent with previous receiver name msg for MLogT (golint)
    • Line 416: warning: exported method MLogT.FormatJSONExample should have comment or be unexported (golint)
    • Line 416: warning: receiver name m should be consistent with previous receiver name msg for MLogT (golint)
    • Line 442: warning: receiver name m should be consistent with previous receiver name msg for MLogT (golint)
    • Line 508: warning: receiver name m should be consistent with previous receiver name msg for MLogT (golint)
    • Line 515: warning: exported method MLogDetailT.EventName should have comment or be unexported (golint)
    • Line 521: warning: exported method MLogDetailT.AsDocumentation should have comment or be unexported (golint)
    • Line 532: warning: receiver name m should be consistent with previous receiver name msg for MLogT (golint)

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!