Preparing report...

Report for github.com/usechain/go-usechain

A+    Excellent!    Found 314 issues across 749 files

Tweet

gofmt99%

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!


gocyclo85%

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

    • go-usechain/cmd/faucet/faucet.go
    • Line 304: warning: cyclomatic complexity 46 of function (*faucet).apiHandler() is high (> 15) (gocyclo)
    • Line 527: warning: cyclomatic complexity 18 of function (*faucet).loop() is high (> 15) (gocyclo)
    • Line 94: warning: cyclomatic complexity 17 of function main() is high (> 15) (gocyclo)
    • go-usechain/trie/trie.go
    • Line 309: warning: cyclomatic complexity 25 of function (*Trie).delete() is high (> 15) (gocyclo)
    • Line 218: warning: cyclomatic complexity 19 of function (*Trie).insert() is high (> 15) (gocyclo)
    • go-usechain/eth/downloader/downloader.go
    • Line 585: warning: cyclomatic complexity 44 of function (*Downloader).findAncestor() is high (> 15) (gocyclo)
    • Line 990: warning: cyclomatic complexity 43 of function (*Downloader).fetchParts() is high (> 15) (gocyclo)
    • Line 1153: warning: cyclomatic complexity 40 of function (*Downloader).processHeaders() is high (> 15) (gocyclo)
    • Line 757: warning: cyclomatic complexity 27 of function (*Downloader).fetchHeaders() is high (> 15) (gocyclo)
    • Line 1355: warning: cyclomatic complexity 23 of function (*Downloader).processFastSyncContent() is high (> 15) (gocyclo)
    • go-usechain/p2p/server.go
    • Line 538: warning: cyclomatic complexity 30 of function (*Server).run() is high (> 15) (gocyclo)
    • Line 384: warning: cyclomatic complexity 26 of function (*Server).Start() is high (> 15) (gocyclo)
    • go-usechain/core/tx_pool_test.go
    • Line 1540: warning: cyclomatic complexity 23 of function TestTransactionPoolUnderpricing() is high (> 15) (gocyclo)
    • Line 1780: warning: cyclomatic complexity 23 of function testTransactionJournaling() is high (> 15) (gocyclo)
    • Line 1322: warning: cyclomatic complexity 22 of function TestTransactionPoolRepricing() is high (> 15) (gocyclo)
    • Line 1670: warning: cyclomatic complexity 21 of function TestTransactionReplacement() is high (> 15) (gocyclo)
    • Line 534: warning: cyclomatic complexity 19 of function TestTransactionDropping() is high (> 15) (gocyclo)
    • Line 629: warning: cyclomatic complexity 18 of function TestTransactionPostponing() is high (> 15) (gocyclo)
    • Line 807: warning: cyclomatic complexity 17 of function testTransactionQueueGlobalLimiting() is high (> 15) (gocyclo)
    • go-usechain/whisper/whisperv5/filter_test.go
    • Line 258: warning: cyclomatic complexity 26 of function TestMatchEnvelope() is high (> 15) (gocyclo)
    • Line 621: warning: cyclomatic complexity 26 of function TestWatchers() is high (> 15) (gocyclo)
    • Line 415: warning: cyclomatic complexity 16 of function TestMatchMessageSym() is high (> 15) (gocyclo)
    • go-usechain/core/blockchain_test.go
    • Line 609: warning: cyclomatic complexity 18 of function TestFastVsFullChains() is high (> 15) (gocyclo)
    • Line 777: warning: cyclomatic complexity 17 of function TestChainTxReorgs() is high (> 15) (gocyclo)
    • Line 1071: warning: cyclomatic complexity 17 of function TestEIP155Transition() is high (> 15) (gocyclo)
    • go-usechain/whisper/whisperv6/filter_test.go
    • Line 639: warning: cyclomatic complexity 26 of function TestWatchers() is high (> 15) (gocyclo)
    • Line 288: warning: cyclomatic complexity 23 of function TestMatchEnvelope() is high (> 15) (gocyclo)
    • Line 431: warning: cyclomatic complexity 16 of function TestMatchMessageSym() is high (> 15) (gocyclo)
    • go-usechain/metrics/ewma_test.go
    • Line 152: warning: cyclomatic complexity 17 of function TestEWMA15() is high (> 15) (gocyclo)
    • Line 14: warning: cyclomatic complexity 17 of function TestEWMA1() is high (> 15) (gocyclo)
    • Line 83: warning: cyclomatic complexity 17 of function TestEWMA5() is high (> 15) (gocyclo)
    • go-usechain/core/tx_pool.go
    • Line 1250: warning: cyclomatic complexity 43 of function (*TxPool).promoteExecutables() is high (> 15) (gocyclo)
    • Line 843: warning: cyclomatic complexity 28 of function (*TxPool).validateTx() is high (> 15) (gocyclo)
    • Line 338: warning: cyclomatic complexity 19 of function (*TxPool).loop() is high (> 15) (gocyclo)
    • go-usechain/les/handler.go
    • Line 337: warning: cyclomatic complexity 149 of function (*ProtocolManager).handleMsg() is high (> 15) (gocyclo)
    • Line 262: warning: cyclomatic complexity 17 of function (*ProtocolManager).handle() is high (> 15) (gocyclo)
    • go-usechain/p2p/discv5/net.go
    • Line 364: warning: cyclomatic complexity 54 of function (*Network).loop() is high (> 15) (gocyclo)
    • Line 875: warning: cyclomatic complexity 28 of function init() is high (> 15) (gocyclo)
    • Line 1151: warning: cyclomatic complexity 18 of function (*Network).handleQueryEvent() is high (> 15) (gocyclo)
    • go-usechain/les/fetcher.go
    • Line 129: warning: cyclomatic complexity 23 of function (*lightFetcher).syncLoop() is high (> 15) (gocyclo)
    • Line 245: warning: cyclomatic complexity 20 of function (*lightFetcher).announce() is high (> 15) (gocyclo)
    • Line 394: warning: cyclomatic complexity 19 of function (*lightFetcher).nextRequest() is high (> 15) (gocyclo)
    • Line 551: warning: cyclomatic complexity 17 of function (*lightFetcher).checkAnnouncedHeaders() is high (> 15) (gocyclo)
    • go-usechain/core/blockchain.go
    • Line 1096: warning: cyclomatic complexity 36 of function (*BlockChain).insertChain() is high (> 15) (gocyclo)
    • Line 951: warning: cyclomatic complexity 33 of function (*BlockChain).WriteBlockWithState() is high (> 15) (gocyclo)
    • Line 1357: warning: cyclomatic complexity 23 of function (*BlockChain).reorg() is high (> 15) (gocyclo)
    • Line 827: warning: cyclomatic complexity 22 of function (*BlockChain).InsertReceiptChain() is high (> 15) (gocyclo)
    • go-usechain/whisper/whisperv6/whisper_test.go
    • Line 262: warning: cyclomatic complexity 51 of function TestWhisperSymKeyManagement() is high (> 15) (gocyclo)
    • Line 144: warning: cyclomatic complexity 32 of function TestWhisperIdentityManagement() is high (> 15) (gocyclo)
    • Line 31: warning: cyclomatic complexity 21 of function TestWhisperBasic() is high (> 15) (gocyclo)
    • Line 826: warning: cyclomatic complexity 17 of function TestBloom() is high (> 15) (gocyclo)
    • Line 512: warning: cyclomatic complexity 16 of function TestCustomization() is high (> 15) (gocyclo)
    • go-usechain/whisper/whisperv5/whisper_test.go
    • Line 272: warning: cyclomatic complexity 55 of function TestWhisperSymKeyManagement() is high (> 15) (gocyclo)
    • Line 154: warning: cyclomatic complexity 32 of function TestWhisperIdentityManagement() is high (> 15) (gocyclo)
    • Line 29: warning: cyclomatic complexity 24 of function TestWhisperBasic() is high (> 15) (gocyclo)
    • Line 534: warning: cyclomatic complexity 17 of function TestCustomization() is high (> 15) (gocyclo)
    • go-usechain/console/console.go
    • Line 106: warning: cyclomatic complexity 30 of function (*Console).init() is high (> 15) (gocyclo)
    • Line 319: warning: cyclomatic complexity 19 of function (*Console).Interactive() is high (> 15) (gocyclo)
    • Line 395: warning: cyclomatic complexity 16 of function countIndents() is high (> 15) (gocyclo)

golint67%

Golint is a linter for Go source code.

    • go-usechain/internal/ethapi/api.go
    • Line 61: warning: exported const PublicKeyContractAddress should have comment (or a comment on this block) or be unexported (golint)
    • Line 452: warning: comment on exported method PublicTransactionPoolAPI.SendMsg should be of the form "SendMsg ..." (golint)
    • Line 461: warning: comment on exported function SendMsgWithTag should be of the form "SendMsgWithTag ..." (golint)
    • Line 468: warning: don't use underscores in Go names; var privateKeyECDSA_text should be privateKeyECDSAText (golint)
    • Line 613: warning: exported method PublicBlockChainAPI.GetAccountLock should have comment or be unexported (golint)
    • Line 642: warning: exported method PublicBlockChainAPI.GetCertPoints should have comment or be unexported (golint)
    • Line 922: warning: comment on exported function FormatLogs should be of the form "FormatLogs ..." (golint)
    • Line 1613: warning: exported method PrivateDebugAPI.ChaindbCompact should have comment or be unexported (golint)
    • Line 1668: warning: exported method PublicTransactionPoolAPI.SendAccountLockTransaction should have comment or be unexported (golint)
    • Line 1688: warning: exported method PublicTransactionPoolAPI.SendAccountInheritTransaction should have comment or be unexported (golint)
    • Line 1698: warning: exported method PublicTransactionPoolAPI.SendCreditRegisterTransaction should have comment or be unexported (golint)
    • Line 1779: warning: exported method PublicTransactionPoolAPI.SendSubAccountTransaction should have comment or be unexported (golint)
    • Line 1867: warning: exported function GetIssuerData should have comment or be unexported (golint)
    • Line 1897: warning: exported function GetIdentityData should have comment or be unexported (golint)
    • Line 1916: warning: exported function GetABIBytesData should have comment or be unexported (golint)
    • Line 1929: warning: exported function EncryptUserData should have comment or be unexported (golint)
    • Line 2017: warning: comment on exported method PublicTransactionPoolAPI.SendRewardTransaction should be of the form "SendRewardTransaction ..." (golint)
    • Line 2092: warning: exported method PublicBlockChainAPI.IsMiner should have comment or be unexported (golint)
    • Line 2108: warning: exported method PublicBlockChainAPI.IsPunishedMiner should have comment or be unexported (golint)
    • go-usechain/light/txpool.go
    • Line 393: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 428: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 446: warning: comment on exported method TxPool.AddBatch should be of the form "AddBatch ..." (golint)
    • Line 448: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 465: warning: receiver name tp should be consistent with previous receiver name pool for TxPool (golint)
    • Line 475: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 490: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 508: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-usechain/metrics/log.go
    • Line 7: warning: exported type Logger should have comment or be unexported (golint)
    • Line 11: warning: exported function Log should have comment or be unexported (golint)
    • Line 15: warning: comment on exported function LogScaled should be of the form "LogScaled ..." (golint)
    • go-usechain/metrics/timer.go
    • Line 8: warning: comment on exported type Timer should be of the form "Timer ..." (with optional leading article) (golint)
    • Line 224: warning: comment on exported method StandardTimer.Time should be of the form "Time ..." (golint)
    • Line 231: warning: comment on exported method StandardTimer.Update should be of the form "Update ..." (golint)
    • Line 239: warning: comment on exported method StandardTimer.UpdateSince should be of the form "UpdateSince ..." (golint)
    • go-usechain/p2p/message.go
    • Line 69: warning: exported type MsgReader should have comment or be unexported (golint)
    • Line 73: warning: exported type MsgWriter should have comment or be unexported (golint)
    • Line 232: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 274: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 291: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 308: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-usechain/whisper/whisperv5/filter.go
    • Line 29: warning: exported type Filter should have comment or be unexported (golint)
    • Line 42: warning: exported type Filters should have comment or be unexported (golint)
    • Line 48: warning: exported function NewFilters should have comment or be unexported (golint)
    • Line 55: warning: exported method Filters.Install should have comment or be unexported (golint)
    • Line 80: warning: exported method Filters.Uninstall should have comment or be unexported (golint)
    • Line 90: warning: exported method Filters.Get should have comment or be unexported (golint)
    • Line 96: warning: exported method Filters.NotifyWatchers should have comment or be unexported (golint)
    • Line 139: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 156: warning: exported method Filter.Trigger should have comment or be unexported (golint)
    • Line 165: warning: exported method Filter.Retrieve should have comment or be unexported (golint)
    • Line 178: warning: exported method Filter.MatchMessage should have comment or be unexported (golint)
    • Line 191: warning: exported method Filter.MatchEnvelope should have comment or be unexported (golint)
    • Line 204: warning: exported method Filter.MatchTopic should have comment or be unexported (golint)
    • Line 235: warning: exported function IsPubKeyEqual should have comment or be unexported (golint)
    • go-usechain/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-usechain/light/postprocess.go
    • Line 45: warning: exported const HelperTrieConfirmations should have comment (or a comment on this block) or be unexported (golint)
    • Line 83: warning: exported var ErrNoTrustedCht should have comment or be unexported (golint)
    • Line 128: warning: comment on exported function NewChtIndexer should be of the form "NewChtIndexer ..." (golint)
    • Line 190: warning: exported const BloomTrieFrequency should have comment (or a comment on this block) or be unexported (golint)
    • Line 197: warning: exported var BloomTrieTablePrefix should have comment or be unexported (golint)
    • go-usechain/p2p/simulations/adapters/inproc.go
    • Line 157: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 168: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 179: 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 216: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 270: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 281: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 292: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 298: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 307: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-usechain/cmd/evm/json_logger.go
    • Line 30: warning: exported type JSONLogger should have comment or be unexported (golint)
    • Line 35: warning: exported function NewJSONLogger should have comment or be unexported (golint)
    • Line 39: warning: exported method JSONLogger.CaptureStart should have comment or be unexported (golint)
    • go-usechain/les/protocol.go
    • Line 49: warning: comment on exported var ProtocolLengths should be of the form "ProtocolLengths ..." (golint)
    • Line 53: warning: exported const NetworkId should have comment (or a comment on this block) or be unexported (golint)
    • Line 88: warning: exported const ErrMsgTooLarge should have comment (or a comment on this block) or be unexported (golint)
    • Line 163: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-usechain/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-usechain/les/flowcontrol/control.go
    • Line 29: warning: exported type ServerParams should have comment or be unexported (golint)
    • Line 33: warning: exported type ClientNode should have comment or be unexported (golint)
    • Line 42: warning: exported function NewClientNode should have comment or be unexported (golint)
    • Line 53: warning: exported method ClientNode.Remove should have comment or be unexported (golint)
    • Line 69: warning: exported method ClientNode.AcceptRequest should have comment or be unexported (golint)
    • Line 78: warning: exported method ClientNode.RequestProcessed should have comment or be unexported (golint)
    • Line 96: warning: exported type ServerNode should have comment or be unexported (golint)
    • Line 105: warning: exported function NewServerNode should have comment or be unexported (golint)
    • go-usechain/miner/agent.go
    • Line 28: warning: exported type CpuAgent should have comment or be unexported (golint)
    • Line 42: warning: exported function NewCpuAgent should have comment or be unexported (golint)
    • Line 52: warning: exported method CpuAgent.Work 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 53: warning: exported method CpuAgent.SetReturnCh 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 55: warning: exported method CpuAgent.Stop 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 71: warning: exported method CpuAgent.Start 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 78: 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)
    • go-usechain/les/backend.go
    • Line 47: warning: exported type LightEthereum should have comment or be unexported (golint)
    • Line 81: warning: exported function New should have comment or be unexported (golint)
    • Line 153: warning: exported type LightDummyAPI should have comment or be unexported (golint)
    • Line 198: warning: exported method LightEthereum.ResetWithGenesisBlock should have comment or be unexported (golint)
    • Line 202: warning: exported method LightEthereum.BlockChain should have comment or be unexported (golint)
    • Line 203: warning: exported method LightEthereum.TxPool should have comment or be unexported (golint)
    • Line 204: warning: exported method LightEthereum.Engine should have comment or be unexported (golint)
    • Line 205: warning: exported method LightEthereum.LesVersion should have comment or be unexported (golint)
    • Line 206: warning: exported method LightEthereum.Downloader should have comment or be unexported (golint)
    • Line 207: warning: exported method LightEthereum.EventMux should have comment or be unexported (golint)
    • go-usechain/rpc/json.go
    • Line 262: 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-usechain/eth/backend.go
    • Line 54: warning: exported type LesServer should have comment or be unexported (golint)
    • Line 61: warning: comment on exported type Ethereum should be of the form "Ethereum ..." (with optional leading article) (golint)
    • Line 100: warning: exported method Ethereum.AddLesServer should have comment or be unexported (golint)
    • Line 322: warning: exported method Ethereum.ResetWithGenesisBlock should have comment or be unexported (golint)
    • Line 326: warning: exported method Ethereum.Usebase should have comment or be unexported (golint)
    • Line 349: warning: comment on exported method Ethereum.SetUsebase should be of the form "SetUsebase ..." (golint)
    • Line 350: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 358: warning: exported method Ethereum.StartMining should have comment or be unexported (golint)
    • Line 465: warning: comment on exported method Ethereum.Votebase should be of the form "Votebase ..." (golint)
    • Line 483: warning: comment on exported method Ethereum.SetVotebase should be of the form "SetVotebase ..." (golint)
    • Line 484: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 488: warning: comment on exported method Ethereum.StartVoting should be of the form "StartVoting ..." (golint)
    • Line 499: warning: exported method Ethereum.StopMining should have comment or be unexported (golint)
    • Line 528: warning: exported method Ethereum.IsMining should have comment or be unexported (golint)
    • Line 529: warning: exported method Ethereum.Miner should have comment or be unexported (golint)
    • Line 531: warning: exported method Ethereum.StopVoting should have comment or be unexported (golint)
    • Line 532: warning: exported method Ethereum.IsVoting should have comment or be unexported (golint)
    • Line 534: warning: exported method Ethereum.AccountManager should have comment or be unexported (golint)
    • Line 535: warning: exported method Ethereum.BlockChain should have comment or be unexported (golint)
    • Line 536: warning: exported method Ethereum.ChainID should have comment or be unexported (golint)
    • Line 537: warning: exported method Ethereum.TxPool should have comment or be unexported (golint)
    • Line 538: warning: exported method Ethereum.EventMux should have comment or be unexported (golint)
    • Line 539: warning: exported method Ethereum.Engine should have comment or be unexported (golint)
    • Line 540: warning: exported method Ethereum.ChainDb should have comment or be unexported (golint)
    • Line 541: warning: exported method Ethereum.IsListening should have comment or be unexported (golint)
    • Line 542: warning: exported method Ethereum.EthVersion should have comment or be unexported (golint)
    • Line 543: warning: exported method Ethereum.NetVersion should have comment or be unexported (golint)
    • Line 544: warning: exported method Ethereum.Downloader should have comment or be unexported (golint)
    • go-usechain/core/blockchain.go
    • Line 53: warning: exported var ErrNoGenesis should have comment or be unexported (golint)
    • Line 340: warning: exported method BlockChain.GetTargetBlock should have comment or be unexported (golint)
    • Line 346: warning: exported method BlockChain.ClearTargetBlock should have comment or be unexported (golint)
    • Line 352: warning: exported method BlockChain.SwitchBlockChain should have comment or be unexported (golint)
    • Line 760: warning: exported const NonStatTy should have comment (or a comment on this block) or be unexported (golint)
    • Line 1598: warning: exported method BlockChain.GetCommitteeCount should have comment or be unexported (golint)
    • Line 1676: warning: exported method BlockChain.SubscribeChainRpowEvent should have comment or be unexported (golint)
    • go-usechain/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-usechain/les/flowcontrol/manager.go
    • Line 70: warning: exported type ClientManager should have comment or be unexported (golint)
    • Line 80: warning: exported function NewClientManager should have comment or be unexported (golint)
    • Line 92: warning: exported method ClientManager.Stop should have comment or be unexported (golint)
    • Line 92: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 101: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 117: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 128: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 146: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 167: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 171: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 187: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 209: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 218: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-usechain/les/txrelay.go
    • Line 31: warning: exported type LesTxRelay should have comment or be unexported (golint)
    • Line 42: warning: exported function NewLesTxRelay 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 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 137: warning: exported method LesTxRelay.Send 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 144: warning: exported method LesTxRelay.NewHead should have comment or be unexported (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 167: warning: exported method LesTxRelay.Discard should have comment or be unexported (golint)
    • Line 167: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-usechain/whisper/whisperv5/whisper.go
    • Line 40: warning: exported type Statistics should have comment or be unexported (golint)
    • Line 124: warning: exported method Whisper.MinPow should have comment or be unexported (golint)
    • Line 472: warning: receiver name wh should be consistent with previous receiver name w for Whisper (golint)
    • Line 497: warning: receiver name wh should be consistent with previous receiver name w for Whisper (golint)
    • Line 564: warning: receiver name wh should be consistent with previous receiver name w for Whisper (golint)
    • Line 571: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 580: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 841: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-usechain/eth/downloader/events.go
    • Line 19: warning: exported type DoneEvent should have comment or be unexported (golint)
    • Line 20: warning: exported type StartEvent should have comment or be unexported (golint)
    • Line 21: warning: exported type FailedEvent should have comment or be unexported (golint)
    • go-usechain/whisper/shhclient/client.go
    • Line 71: warning: comment on exported method Client.SetMinimumPoW should be of the form "SetMinimumPoW ..." (golint)
    • Line 80: warning: comment on exported method Client.MarkTrustedPeer should be of the form "MarkTrustedPeer ..." (golint)
    • Line 171: warning: receiver name ec should be consistent with previous receiver name sc for Client (golint)
    • Line 178: warning: receiver name ec should be consistent with previous receiver name sc for Client (golint)
    • Line 184: warning: receiver name ec should be consistent with previous receiver name sc for Client (golint)
    • Line 191: warning: receiver name ec should be consistent with previous receiver name sc for Client (golint)
    • go-usechain/p2p/simulations/http.go
    • Line 367: warning: comment on exported method Server.GetMockers should be of the form "GetMockers ..." (golint)
    • Line 721: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 735: warning: should not use basic type string as key in context.WithValue (golint)
    • go-usechain/p2p/peer_error.go
    • Line 51: 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 type DiscReason should have comment or be unexported (golint)
    • Line 60: warning: exported const DiscRequested should have comment (or a comment on this block) or be unexported (golint)
    • go-usechain/common/number/int.go
    • Line 37: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 43: warning: comment on exported type Initialiser should be of the form "Initialiser ..." (with optional leading article) (golint)
    • Line 54: warning: comment on exported function NewInitialiser should be of the form "NewInitialiser ..." (golint)
    • Line 61: warning: comment on exported function Uint256 should be of the form "Uint256 ..." (golint)
    • Line 66: warning: comment on exported function Int256 should be of the form "Int256 ..." (golint)
    • Line 71: warning: comment on exported function Big should be of the form "Big ..." (golint)
    • Line 76: warning: comment on exported method Number.Add should be of the form "Add ..." (golint)
    • Line 82: warning: comment on exported method Number.Sub should be of the form "Sub ..." (golint)
    • Line 88: warning: comment on exported method Number.Mul should be of the form "Mul ..." (golint)
    • Line 94: warning: comment on exported method Number.Div should be of the form "Div ..." (golint)
    • Line 100: warning: comment on exported method Number.Mod should be of the form "Mod ..." (golint)
    • Line 106: warning: comment on exported method Number.Lsh should be of the form "Lsh ..." (golint)
    • Line 112: warning: comment on exported method Number.Pow should be of the form "Pow ..." (golint)
    • Line 126: warning: comment on exported method Number.SetBytes should be of the form "SetBytes ..." (golint)
    • Line 148: warning: comment on exported method Number.Bytes should be of the form "Bytes ..." (golint)
    • Line 163: warning: comment on exported method Number.Int256 should be of the form "Int256 ..." (golint)
    • Line 168: warning: comment on exported method Number.Uint256 should be of the form "Uint256 ..." (golint)
    • Line 173: warning: comment on exported method Number.FirstBitSet should be of the form "FirstBitSet ..." (golint)
    • Line 187: warning: exported var Zero should have comment or be unexported (golint)
    • Line 194: warning: comment on exported var Uint should be of the form "Uint ..." (golint)
    • go-usechain/crypto/rsaUsechain.go
    • Line 166: warning: comment on exported type Unsigner should be of the form "Unsigner ..." (with optional leading article) (golint)
    • Line 204: warning: comment on exported function Hash should be of the form "Hash ..." (golint)
    • Line 233: warning: exported function RSA_Sign should have comment or be unexported (golint)
    • Line 233: warning: don't use underscores in Go names; func RSA_Sign should be RSASign (golint)
    • Line 252: warning: don't use underscores in Go names; func RSA_Verify should be RSAVerify (golint)
    • Line 270: warning: exported function RSA_Verify_Pub should have comment or be unexported (golint)
    • Line 270: warning: don't use underscores in Go names; func RSA_Verify_Pub should be RSAVerifyPub (golint)
    • Line 284: warning: exported function RSA_Verify_Standard should have comment or be unexported (golint)
    • Line 284: warning: don't use underscores in Go names; func RSA_Verify_Standard should be RSAVerifyStandard (golint)
    • Line 410: warning: exported function CheckUserRegisterCert should have comment or be unexported (golint)
    • go-usechain/metrics/metrics.go
    • Line 1: warning: package comment should be of the form "Package metrics ..." (golint)
    • Line 26: warning: exported const DashboardEnabledFlag should have comment or be unexported (golint)
    • go-usechain/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-usechain/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 36: warning: don't use underscores in Go names; const Chequebook_JS should be ChequebookJS (golint)
    • Line 36: warning: exported const Chequebook_JS should have comment or be unexported (golint)
    • Line 67: warning: don't use underscores in Go names; const Clique_JS should be CliqueJS (golint)
    • Line 67: warning: exported const Clique_JS should have comment or be unexported (golint)
    • Line 113: warning: don't use underscores in Go names; const Admin_JS should be AdminJS (golint)
    • Line 113: warning: exported const Admin_JS should have comment or be unexported (golint)
    • Line 181: warning: don't use underscores in Go names; const Debug_JS should be DebugJS (golint)
    • Line 181: warning: exported const Debug_JS should have comment or be unexported (golint)
    • Line 394: warning: don't use underscores in Go names; const Use_JS should be UseJS (golint)
    • Line 394: warning: exported const Use_JS should have comment or be unexported (golint)
    • Line 453: warning: comment on exported const Miner_JS should be of the form "Miner_JS ..." (golint)
    • Line 454: warning: don't use underscores in Go names; const Miner_JS should be MinerJS (golint)
    • Line 501: warning: don't use underscores in Go names; const Voter_JS should be VoterJS (golint)
    • Line 501: warning: exported const Voter_JS should have comment or be unexported (golint)
    • Line 533: warning: don't use underscores in Go names; const Net_JS should be NetJS (golint)
    • Line 533: warning: exported const Net_JS should have comment or be unexported (golint)
    • Line 546: warning: don't use underscores in Go names; const Personal_JS should be PersonalJS (golint)
    • Line 546: warning: exported const Personal_JS should have comment or be unexported (golint)
    • Line 592: warning: exported const RPC_JS should have comment or be unexported (golint)
    • Line 605: warning: don't use underscores in Go names; const Shh_JS should be ShhJS (golint)
    • Line 605: warning: exported const Shh_JS should have comment or be unexported (golint)
    • Line 625: warning: exported const SWARMFS_JS should have comment or be unexported (golint)
    • Line 649: warning: don't use underscores in Go names; const TxPool_JS should be TxPoolJS (golint)
    • Line 649: warning: exported const TxPool_JS should have comment or be unexported (golint)
    • go-usechain/les/handler.go
    • Line 53: warning: exported const MaxHeaderFetch should have comment (or a comment on this block) or be unexported (golint)
    • Line 73: warning: exported type BlockChain should have comment or be unexported (golint)
    • Line 94: warning: exported type ProtocolManager should have comment or be unexported (golint)
    • Line 220: warning: exported method ProtocolManager.Start should have comment or be unexported (golint)
    • Line 233: warning: exported method ProtocolManager.Stop should have comment or be unexported (golint)
    • Line 1165: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-usechain/rlp/decode.go
    • Line 277: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 540: warning: exported const Byte should have comment (or a comment on this block) or be unexported (golint)
    • Line 561: warning: error var EOL should have name of the form ErrFoo (golint)
    • Line 563: warning: comment on exported var ErrExpectedString should be of the form "ErrExpectedString ..." (golint)
    • Line 565: warning: exported var ErrExpectedList should have comment or be unexported (golint)
    • Line 571: warning: comment on exported var ErrMoreThanOneValue should be of the form "ErrMoreThanOneValue ..." (golint)
    • go-usechain/core/state/state_object.go
    • Line 32: warning: exported type Code should have comment or be unexported (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 38: warning: exported type Storage should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 48: warning: exported method Storage.Copy should have comment or be unexported (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 57: warning: comment on exported type StorageByteArray should be of the form "StorageByteArray ..." (with optional leading article) (golint)
    • Line 146: warning: receiver name c should be consistent with previous receiver name s for stateObject (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 157: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 165: warning: receiver name c should be consistent with previous receiver name s for stateObject (golint)
    • Line 178: warning: receiver name c should be consistent with previous receiver name s for stateObject (golint)
    • Line 191: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 223: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 232: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 243: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 266: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 280: warning: receiver name c should be consistent with previous receiver name s for stateObject (golint)
    • Line 295: warning: receiver name c should be consistent with previous receiver name s for stateObject (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 310: 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 c should be consistent with previous receiver name s for stateObject (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 340: warning: receiver name c should be consistent with previous receiver name s for stateObject (golint)
    • Line 345: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 370: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 380: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 389: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 397: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 405: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 422: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 430: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 439: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 447: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 456: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 464: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 473: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 489: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 497: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 501: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 505: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 509: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 513: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 517: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 521: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 525: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 529: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 536: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-usechain/les/server.go
    • Line 39: warning: exported type LesServer should have comment or be unexported (golint)
    • Line 52: warning: exported function NewLesServer should have comment or be unexported (golint)
    • Line 105: warning: exported method LesServer.Protocols should have comment or be unexported (golint)
    • Line 128: warning: exported method LesServer.SetBloomBitsIndexer should have comment or be unexported (golint)
    • Line 150: warning: exported type RequestCostList should have comment or be unexported (golint)
    • go-usechain/contracts/manager/interface.go
    • Line 31: warning: exported const ManagerContract should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: exported var SingleMode should have comment or be unexported (golint)
    • Line 40: warning: comment on exported function GetCommitteeCount should be of the form "GetCommitteeCount ..." (golint)
    • Line 54: warning: comment on exported function IsCommittee should be of the form "IsCommittee ..." (golint)
    • Line 75: warning: comment on exported function GetCommitteePublicKey should be of the form "GetCommitteePublicKey ..." (golint)
    • Line 103: warning: comment on exported function CalculateStateDbIndex should be of the form "CalculateStateDbIndex ..." (golint)
    • go-usechain/consensus/rpow/rpow.go
    • Line 34: warning: exported const ModeNormal should have comment (or a comment on this block) or be unexported (golint)
    • Line 80: warning: exported function NewTesterUse should have comment or be unexported (golint)
    • go-usechain/core/events.go
    • Line 41: warning: exported type ChainEvent should have comment or be unexported (golint)
    • Line 47: warning: exported type ChainSideEvent should have comment or be unexported (golint)
    • Line 51: warning: exported type ChainHeadEvent should have comment or be unexported (golint)
    • Line 53: warning: exported type ChainRpowEvent should have comment or be unexported (golint)
    • go-usechain/metrics/sample.go
    • Line 13: warning: comment on exported type Sample should be of the form "Sample ..." (with optional leading article) (golint)
    • Line 217: warning: comment on exported method NilSample.Snapshot should be of the form "Snapshot ..." (golint)
    • Line 271: warning: comment on exported function SamplePercentile should be of the form "SamplePercentile ..." (golint)
    • Line 305: warning: exported function NewSampleSnapshot should have comment or be unexported (golint)
    • Line 397: warning: comment on exported type UniformSample should be of the form "UniformSample ..." (with optional leading article) (golint)
    • go-usechain/core/types/block.go
    • Line 37: warning: exported var EmptyRootHash should have comment or be unexported (golint)
    • Line 155: warning: exported function RlpHash should have comment or be unexported (golint)
    • Line 196: warning: comment on exported type StorageBlock should be of the form "StorageBlock ..." (with optional leading article) (golint)
    • Line 319: warning: comment on exported method StorageBlock.DecodeRLP should be of the form "DecodeRLP ..." (golint)
    • Line 331: warning: exported method Block.Uncles should have comment or be unexported (golint)
    • Line 332: warning: exported method Block.Transactions should have comment or be unexported (golint)
    • Line 334: warning: exported method Block.Transaction should have comment or be unexported (golint)
    • Line 343: warning: exported method Block.Number should have comment or be unexported (golint)
    • Line 344: warning: exported method Block.GasLimit should have comment or be unexported (golint)
    • Line 345: warning: exported method Block.GasUsed should have comment or be unexported (golint)
    • Line 346: warning: exported method Block.Difficulty should have comment or be unexported (golint)
    • Line 347: warning: exported method Block.Time should have comment or be unexported (golint)
    • Line 349: warning: exported method Block.NumberU64 should have comment or be unexported (golint)
    • Line 350: warning: exported method Block.MixDigest should have comment or be unexported (golint)
    • Line 351: warning: exported method Block.Nonce should have comment or be unexported (golint)
    • Line 352: warning: exported method Block.Bloom should have comment or be unexported (golint)
    • Line 353: warning: exported method Block.Coinbase should have comment or be unexported (golint)
    • Line 354: warning: exported method Block.IsCheckPoint should have comment or be unexported (golint)
    • Line 355: warning: exported method Block.MinerQrSignature should have comment or be unexported (golint)
    • Line 356: warning: exported method Block.DifficultyLevel should have comment or be unexported (golint)
    • Line 357: warning: exported method Block.PrimaryMiner should have comment or be unexported (golint)
    • Line 358: warning: exported method Block.Root should have comment or be unexported (golint)
    • Line 359: warning: exported method Block.ParentHash should have comment or be unexported (golint)
    • Line 360: warning: exported method Block.TxHash should have comment or be unexported (golint)
    • Line 361: warning: exported method Block.ReceiptHash should have comment or be unexported (golint)
    • Line 362: warning: exported method Block.UncleHash should have comment or be unexported (golint)
    • Line 363: warning: exported method Block.Extra should have comment or be unexported (golint)
    • Line 365: warning: exported method Block.Header should have comment or be unexported (golint)
    • Line 370: warning: exported method Block.HashNoNonce should have comment or be unexported (golint)
    • Line 393: warning: exported function CalcUncleHash should have comment or be unexported (golint)
    • Line 472: warning: exported type Blocks should have comment or be unexported (golint)
    • Line 474: warning: exported type BlockBy should have comment or be unexported (golint)
    • Line 476: warning: exported method BlockBy.Sort should have comment or be unexported (golint)
    • Line 476: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 489: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 490: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 493: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 495: warning: exported function Number should have comment or be unexported (golint)
    • go-usechain/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-usechain/les/randselect.go
    • Line 121: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 165: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-usechain/whisper/whisperv5/envelope.go
    • Line 85: warning: exported method Envelope.IsSymmetric should have comment or be unexported (golint)
    • Line 93: warning: exported method Envelope.Ver should have comment or be unexported (golint)
    • Line 138: warning: exported method Envelope.PoW should have comment or be unexported (golint)
    • go-usechain/les/peer.go
    • Line 572: 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-usechain/core/vm/noop.go
    • Line 26: warning: exported function NoopCanTransfer should have comment or be unexported (golint)
    • Line 29: warning: exported function NoopTransfer should have comment or be unexported (golint)
    • Line 31: warning: exported type NoopEVMCallContext should have comment or be unexported (golint)
    • Line 33: warning: exported method NoopEVMCallContext.Call should have comment or be unexported (golint)
    • Line 36: warning: exported method NoopEVMCallContext.CallCode should have comment or be unexported (golint)
    • Line 39: warning: exported method NoopEVMCallContext.Create should have comment or be unexported (golint)
    • Line 42: warning: exported method NoopEVMCallContext.DelegateCall should have comment or be unexported (golint)
    • Line 46: warning: exported type NoopStateDB should have comment or be unexported (golint)
    • Line 48: warning: exported method NoopStateDB.CreateAccount should have comment or be unexported (golint)
    • Line 49: warning: exported method NoopStateDB.SubBalance should have comment or be unexported (golint)
    • Line 50: warning: exported method NoopStateDB.AddBalance should have comment or be unexported (golint)
    • Line 51: warning: exported method NoopStateDB.GetBalance should have comment or be unexported (golint)
    • Line 52: warning: exported method NoopStateDB.GetNonce should have comment or be unexported (golint)
    • Line 53: warning: exported method NoopStateDB.SetNonce should have comment or be unexported (golint)
    • Line 54: warning: exported method NoopStateDB.GetCodeHash should have comment or be unexported (golint)
    • Line 55: warning: exported method NoopStateDB.GetCode should have comment or be unexported (golint)
    • Line 56: warning: exported method NoopStateDB.SetCode should have comment or be unexported (golint)
    • Line 57: warning: exported method NoopStateDB.GetCodeSize should have comment or be unexported (golint)
    • Line 58: warning: exported method NoopStateDB.AddRefund should have comment or be unexported (golint)
    • Line 59: warning: exported method NoopStateDB.GetRefund should have comment or be unexported (golint)
    • Line 60: warning: exported method NoopStateDB.GetState should have comment or be unexported (golint)
    • Line 61: warning: exported method NoopStateDB.SetState should have comment or be unexported (golint)
    • Line 62: warning: exported method NoopStateDB.Suicide should have comment or be unexported (golint)
    • Line 63: warning: exported method NoopStateDB.HasSuicided should have comment or be unexported (golint)
    • Line 64: warning: exported method NoopStateDB.Exist should have comment or be unexported (golint)
    • Line 65: warning: exported method NoopStateDB.Empty should have comment or be unexported (golint)
    • Line 66: warning: exported method NoopStateDB.RevertToSnapshot should have comment or be unexported (golint)
    • Line 67: warning: exported method NoopStateDB.Snapshot should have comment or be unexported (golint)
    • Line 68: warning: exported method NoopStateDB.AddLog should have comment or be unexported (golint)
    • Line 69: warning: exported method NoopStateDB.AddPreimage should have comment or be unexported (golint)
    • Line 70: warning: exported method NoopStateDB.ForEachStorage should have comment or be unexported (golint)
    • go-usechain/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 74: warning: comment on exported const ADDRESS should be of the form "ADDRESS ..." (golint)
    • Line 76: warning: exported const BALANCE should have comment (or a comment on this block) or be unexported (golint)
    • Line 93: warning: comment on exported const BLOCKHASH should be of the form "BLOCKHASH ..." (golint)
    • Line 95: warning: exported const COINBASE should have comment (or a comment on this block) or be unexported (golint)
    • Line 103: warning: comment on exported const POP should be of the form "POP ..." (golint)
    • Line 105: warning: exported const MLOAD should have comment (or a comment on this block) or be unexported (golint)
    • Line 119: warning: comment on exported const PUSH1 should be of the form "PUSH1 ..." (golint)
    • Line 121: warning: exported const PUSH2 should have comment (or a comment on this block) or be unexported (golint)
    • Line 187: warning: exported const LOG0 should have comment (or a comment on this block) or be unexported (golint)
    • Line 202: warning: comment on exported const CREATE should be of the form "CREATE ..." (golint)
    • Line 204: warning: exported const CALL should have comment (or a comment on this block) or be unexported (golint)
    • Line 378: warning: receiver name o should be consistent with previous receiver name op for OpCode (golint)
    • Line 527: warning: exported function StringToOp should have comment or be unexported (golint)
    • go-usechain/cmd/utils/flags.go
    • Line 63: warning: exported var CommandHelpTemplate should have comment or be unexported (golint)
    • Line 115: warning: comment on exported var DataDirFlag should be of the form "DataDirFlag ..." (golint)
    • Line 121: warning: exported var KeyStoreDirFlag should have comment or be unexported (golint)
    • Line 192: warning: comment on exported var DashboardEnabledFlag should be of the form "DashboardEnabledFlag ..." (golint)
    • Line 217: warning: comment on exported var TxPoolNoLocalsFlag should be of the form "TxPoolNoLocalsFlag ..." (golint)
    • Line 267: warning: comment on exported var CacheFlag should be of the form "CacheFlag ..." (golint)
    • Line 308: warning: comment on exported var CommitteeEnabledFlag should be of the form "CommitteeEnabledFlag ..." (golint)
    • Line 313: warning: comment on exported var MiningEnabledFlag should be of the form "MiningEnabledFlag ..." (golint)
    • Line 342: warning: comment on exported var UnlockedAccountFlag should be of the form "UnlockedAccountFlag ..." (golint)
    • Line 358: warning: comment on exported var EthStatsURLFlag should be of the form "EthStatsURLFlag ..." (golint)
    • Line 375: warning: comment on exported var RPCEnabledFlag should be of the form "RPCEnabledFlag ..." (golint)
    • Line 446: warning: comment on exported var MaxPeersFlag should be of the form "MaxPeersFlag ..." (golint)
    • Line 503: warning: comment on exported var JSpathFlag should be of the form "JSpathFlag ..." (golint)
    • Line 510: warning: comment on exported var GpoBlocksFlag should be of the form "GpoBlocksFlag ..." (golint)
    • Line 804: warning: exported function SetP2PConfig should have comment or be unexported (golint)
    • Line 1177: warning: exported function MakeGenesis should have comment or be unexported (golint)
    • go-usechain/p2p/testing/protocoltester.go
    • Line 104: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 111: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-usechain/p2p/nat/nat.go
    • Line 32: warning: comment on exported type Interface should be of the form "Interface ..." (with optional leading article) (golint)
    • Line 229: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-usechain/contracts/utils/contract.go
    • Line 32: warning: exported const ContractFalse should have comment (or a comment on this block) or be unexported (golint)
    • Line 45: warning: comment on exported type Contracter should be of the form "Contracter ..." (with optional leading article) (golint)
    • Line 59: warning: comment on exported function NewContracter should be of the form "NewContracter ..." (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 96: warning: comment on exported method Contracter.CallContract should be of the form "CallContract ..." (golint)
    • Line 97: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-usechain/core/asm/asm.go
    • Line 17: warning: package comment should be of the form "Package asm ..." (golint)
    • Line 37: warning: comment on exported function NewInstructionIterator should be of the form "NewInstructionIterator ..." (golint)
    • Line 102: warning: comment on exported function PrintDisassembled should be of the form "PrintDisassembled ..." (golint)
    • Line 120: warning: comment on exported function Disassemble should be of the form "Disassemble ..." (golint)
    • go-usechain/params/version.go
    • Line 24: warning: exported const VersionMajor should have comment (or a comment on this block) or be unexported (golint)
    • Line 39: warning: exported function VersionWithCommit should have comment or be unexported (golint)
    • go-usechain/p2p/simulations/adapters/state.go
    • Line 19: warning: exported type SimStateStore should have comment or be unexported (golint)
    • Line 23: warning: exported method SimStateStore.Load should have comment or be unexported (golint)
    • Line 23: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 27: warning: exported method SimStateStore.Save should have comment or be unexported (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 32: warning: exported function NewSimStateStore should have comment or be unexported (golint)
    • go-usechain/p2p/discv5/topic.go
    • Line 37: warning: exported type Topic should have comment or be unexported (golint)
    • Line 274: warning: receiver name topictab should be consistent with previous receiver name t for topicTable (golint)
    • go-usechain/accounts/keystore/keystore.go
    • Line 50: warning: exported var ErrLocked should have comment or be unexported (golint)
    • Line 514: warning: comment on exported method KeyStore.GetApriv should be of the form "GetApriv ..." (golint)
    • Line 575: warning: comment on exported method KeyStore.GetPublicKey should be of the form "GetPublicKey ..." (golint)
    • Line 590: warning: comment on exported method KeyStore.GetPrivateKey should be of the form "GetPrivateKey ..." (golint)
    • Line 603: warning: comment on exported method KeyStore.GetABaddr should be of the form "GetABaddr ..." (golint)
    • go-usechain/cmd/utils/customflags.go
    • Line 34: warning: comment on exported type DirectoryString should be of the form "DirectoryString ..." (with optional leading article) (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 45: warning: exported method DirectoryString.Set should have comment or be unexported (golint)
    • Line 45: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 50: warning: comment on exported type DirectoryFlag should be of the form "DirectoryFlag ..." (with optional leading article) (golint)
    • Line 58: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 74: warning: comment on exported method DirectoryFlag.Apply should be of the form "Apply ..." (golint)
    • Line 76: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 82: warning: exported type TextMarshaler should have comment or be unexported (golint)
    • Line 111: warning: exported method TextMarshalerFlag.GetName should have comment or be unexported (golint)
    • Line 119: warning: exported method TextMarshalerFlag.Apply should have comment or be unexported (golint)
    • Line 161: warning: exported method BigFlag.GetName should have comment or be unexported (golint)
    • Line 173: warning: exported method BigFlag.Apply should have comment or be unexported (golint)
    • Line 210: warning: exported method DirectoryFlag.GetName should have comment or be unexported (golint)
    • Line 210: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 214: warning: exported method DirectoryFlag.Set should have comment or be unexported (golint)
    • Line 214: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-usechain/whisper/whisperv5/topic.go
    • Line 26: warning: comment on exported type TopicType should be of the form "TopicType ..." (with optional leading article) (golint)
    • Line 31: warning: exported function BytesToTopic should have comment or be unexported (golint)
    • go-usechain/internal/jsre/jsre.go
    • Line 35: warning: don't use underscores in Go names; var BigNumber_JS should be BigNumberJS (golint)
    • Line 35: warning: exported var BigNumber_JS should have comment or be unexported (golint)
    • Line 36: warning: don't use underscores in Go names; var Web3_JS should be Web3JS (golint)
    • Line 69: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 105: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 226: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 233: warning: comment on exported method JSRE.Stop should be of the form "Stop ..." (golint)
    • Line 234: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 242: warning: comment on exported method JSRE.Exec should be of the form "Exec ..." (golint)
    • Line 244: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 262: warning: receiver name 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 285: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 324: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-usechain/p2p/enr/entries.go
    • Line 63: warning: exported method DiscPort.ENRKey should have comment or be unexported (golint)
    • Line 68: warning: exported method ID.ENRKey should have comment or be unexported (golint)
    • Line 73: warning: exported method IP4.ENRKey should have comment or be unexported (golint)
    • Line 98: warning: exported method IP6.ENRKey should have comment or be unexported (golint)
    • Line 120: warning: exported method Secp256k1.ENRKey should have comment or be unexported (golint)
    • go-usechain/les/odr_requests.go
    • Line 17: warning: package comment should be of the form "Package les ..." (golint)
    • Line 50: warning: exported type LesOdrRequest should have comment or be unexported (golint)
    • Line 57: warning: exported function LesRequest should have comment or be unexported (golint)
    • Line 96: warning: comment on exported method BlockRequest.Validate should be of the form "Validate ..." (golint)
    • Line 152: warning: comment on exported method ReceiptsRequest.Validate should be of the form "Validate ..." (golint)
    • Line 181: warning: exported type ProofReq should have comment or be unexported (golint)
    • Line 187: warning: comment on exported type TrieRequest should be of the form "TrieRequest ..." (with optional leading article) (golint)
    • Line 219: warning: comment on exported method TrieRequest.Validate should be of the form "Validate ..." (golint)
    • Line 259: warning: exported type CodeReq should have comment or be unexported (golint)
    • Line 264: warning: comment on exported type CodeRequest should be of the form "CodeRequest ..." (with optional leading article) (golint)
    • Line 288: warning: comment on exported method CodeRequest.Validate should be of the form "Validate ..." (golint)
    • Line 323: warning: exported type HelperTrieReq should have comment or be unexported (golint)
    • Line 330: warning: exported type HelperTrieResps should have comment or be unexported (golint)
    • Line 335: warning: comment on exported type ChtReq should be of the form "ChtReq ..." (with optional leading article) (golint)
    • Line 341: warning: comment on exported type ChtResp should be of the form "ChtResp ..." (with optional leading article) (golint)
    • Line 347: warning: comment on exported type ChtRequest should be of the form "ChtRequest ..." (with optional leading article) (golint)
    • Line 385: warning: comment on exported method ChtRequest.Validate should be of the form "Validate ..." (golint)
    • Line 466: warning: exported type BloomReq should have comment or be unexported (golint)
    • Line 470: warning: comment on exported type BloomRequest should be of the form "BloomRequest ..." (with optional leading article) (golint)
    • Line 509: warning: comment on exported method BloomRequest.Validate should be of the form "Validate ..." (golint)
    • go-usechain/trie/secure_trie.go
    • Line 158: warning: exported method SecureTrie.Hash should have comment or be unexported (golint)
    • Line 162: warning: exported method SecureTrie.Root should have comment or be unexported (golint)
    • Line 166: warning: exported method SecureTrie.Copy should have comment or be unexported (golint)
    • go-usechain/ethdb/database.go
    • Line 34: warning: exported var OpenFileLimit should have comment or be unexported (golint)
    • Line 36: warning: exported type LDBDatabase should have comment or be unexported (golint)
    • Line 110: warning: exported method LDBDatabase.Has should have comment or be unexported (golint)
    • Line 146: warning: exported method LDBDatabase.NewIterator should have comment or be unexported (golint)
    • Line 150: warning: exported method LDBDatabase.Close should have comment or be unexported (golint)
    • Line 170: warning: exported method LDBDatabase.LDB should have comment or be unexported (golint)
    • Line 276: warning: exported method LDBDatabase.NewBatch should have comment or be unexported (golint)
    • go-usechain/rpc/types.go
    • Line 119: warning: exported type BlockNumber should have comment or be unexported (golint)
    • Line 122: warning: exported const PendingBlockNumber should have comment (or a comment on this block) or be unexported (golint)
    • Line 163: warning: exported method BlockNumber.Int64 should have comment or be unexported (golint)
    • go-usechain/whisper/whisperv5/peer.go
    • Line 30: warning: comment on exported type Peer should be of the form "Peer ..." (with optional leading article) (golint)
    • Line 124: warning: receiver name peer should be consistent with previous receiver name p for Peer (golint)
    • Line 129: warning: receiver name peer should be consistent with previous receiver name p for Peer (golint)
    • Line 135: warning: receiver name peer should be consistent with previous receiver name p for Peer (golint)
    • Line 159: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 171: warning: exported method Peer.ID should have comment or be unexported (golint)
    • go-usechain/common/math/integer.go
    • Line 25: warning: comment on exported const MaxInt8 should be of the form "MaxInt8 ..." (golint)
    • Line 27: warning: exported const MinInt8 should have comment (or a comment on this block) or be unexported (golint)
    • go-usechain/contracts/minerlist/interface.go
    • Line 34: warning: exported const MinerListContract should have comment (or a comment on this block) or be unexported (golint)
    • Line 43: warning: comment on exported function ReadMinerNum should be of the form "ReadMinerNum ..." (golint)
    • Line 50: warning: comment on exported function IsMiner should be of the form "IsMiner ..." (golint)
    • Line 64: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 72: warning: comment on exported function IsPunishedMiner should be of the form "IsPunishedMiner ..." (golint)
    • Line 88: warning: comment on exported function IsValidMiner should be of the form "IsValidMiner ..." (golint)
    • Line 122: warning: exported function CalIdTarget should have comment or be unexported (golint)
    • Line 190: warning: exported function CalQrOrIdNext should have comment or be unexported (golint)
    • Line 206: warning: exported function ReadMinerAddress should have comment or be unexported (golint)
    • Line 238: warning: exported function GetMisconducts should have comment or be unexported (golint)
    • Line 250: warning: exported function GetPunishHeight should have comment or be unexported (golint)
    • go-usechain/metrics/meter.go
    • Line 8: warning: comment on exported type Meter should be of the form "Meter ..." (with optional leading article) (golint)
    • Line 49: warning: comment on exported function NewRegisteredMeter should be of the form "NewRegisteredMeter ..." (golint)
    • Line 113: warning: comment on exported method NilMeter.Rate15 should be of the form "Rate15 ..." (golint)
    • go-usechain/core/vm/logger.go
    • Line 32: warning: exported type Storage should have comment or be unexported (golint)
    • Line 34: warning: exported method Storage.Copy should have comment or be unexported (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 78: warning: exported method StructLog.OpName should have comment or be unexported (golint)
    • Line 82: warning: exported method StructLog.ErrorString should have comment or be unexported (golint)
    • Line 126: warning: exported method StructLogger.CaptureStart should have comment or be unexported (golint)
    • Line 180: warning: exported method StructLogger.CaptureFault should have comment or be unexported (golint)
    • Line 184: warning: exported method StructLogger.CaptureEnd should have comment or be unexported (golint)
    • go-usechain/eth/api.go
    • Line 361: warning: comment on exported method PrivateDebugAPI.GetBadBlocks should be of the form "GetBadBlocks ..." (golint)
    • Line 416: warning: comment on exported method PrivateDebugAPI.GetModifiedAccountsByNumber should be of the form "GetModifiedAccountsByNumber ..." (golint)
    • go-usechain/metrics/resetting_timer.go
    • Line 10: warning: comment on exported const InitialResettingTimerSliceCap should be of the form "InitialResettingTimerSliceCap ..." (golint)
    • Line 116: warning: comment on exported method StandardResettingTimer.Time should be of the form "Time ..." (golint)
    • Line 123: warning: comment on exported method StandardResettingTimer.Update should be of the form "Update ..." (golint)
    • Line 130: warning: comment on exported method StandardResettingTimer.UpdateSince should be of the form "UpdateSince ..." (golint)
    • go-usechain/core/types/bloom9.go
    • Line 71: warning: exported method Bloom.Bytes should have comment or be unexported (golint)
    • Line 75: warning: exported method Bloom.Test should have comment or be unexported (golint)
    • Line 79: warning: exported method Bloom.TestBytes should have comment or be unexported (golint)
    • Line 94: warning: exported function CreateBloom should have comment or be unexported (golint)
    • Line 103: warning: exported function LogsBloom should have comment or be unexported (golint)
    • Line 129: warning: exported var Bloom9 should have comment or be unexported (golint)
    • Line 131: warning: exported function BloomLookup should have comment or be unexported (golint)
    • go-usechain/internal/cmdtest/test_cmd.go
    • Line 37: warning: exported function NewTestCmd should have comment or be unexported (golint)
    • Line 41: warning: exported type TestCmd should have comment or be unexported (golint)
    • Line 86: warning: exported method TestCmd.SetTemplateFunc should have comment or be unexported (golint)
    • Line 184: warning: exported method TestCmd.WaitExit should have comment or be unexported (golint)
    • Line 188: warning: exported method TestCmd.Interrupt should have comment or be unexported (golint)
    • Line 201: warning: exported method TestCmd.CloseStdin should have comment or be unexported (golint)
    • Line 205: warning: exported method TestCmd.Kill should have comment or be unexported (golint)
    • go-usechain/les/api_backend.go
    • Line 40: warning: exported type LesApiBackend should have comment or be unexported (golint)
    • Line 45: warning: exported method LesApiBackend.ChainConfig should have comment or be unexported (golint)
    • Line 49: warning: exported method LesApiBackend.CurrentBlock should have comment or be unexported (golint)
    • Line 53: warning: exported method LesApiBackend.SetHead should have comment or be unexported (golint)
    • Line 58: warning: exported method LesApiBackend.HeaderByNumber should have comment or be unexported (golint)
    • Line 66: warning: exported method LesApiBackend.BlockByNumber should have comment or be unexported (golint)
    • Line 74: warning: exported method LesApiBackend.StateAndHeaderByNumber should have comment or be unexported (golint)
    • Line 82: warning: exported method LesApiBackend.GetBlock should have comment or be unexported (golint)
    • Line 86: warning: exported method LesApiBackend.GetReceipts should have comment or be unexported (golint)
    • Line 90: warning: exported method LesApiBackend.GetLogs should have comment or be unexported (golint)
    • Line 94: warning: exported method LesApiBackend.GetTd should have comment or be unexported (golint)
    • Line 98: warning: exported method LesApiBackend.GetEVM should have comment or be unexported (golint)
    • Line 104: warning: exported method LesApiBackend.SendTx should have comment or be unexported (golint)
    • Line 108: warning: exported method LesApiBackend.RemoveTx should have comment or be unexported (golint)
    • Line 112: warning: exported method LesApiBackend.GetPoolTransactions should have comment or be unexported (golint)
    • Line 116: warning: exported method LesApiBackend.GetPoolTransaction should have comment or be unexported (golint)
    • Line 120: warning: exported method LesApiBackend.GetPoolNonce should have comment or be unexported (golint)
    • Line 124: warning: exported method LesApiBackend.Stats should have comment or be unexported (golint)
    • Line 128: warning: exported method LesApiBackend.TxPoolContent should have comment or be unexported (golint)
    • Line 132: warning: exported method LesApiBackend.SubscribeNewTxsEvent should have comment or be unexported (golint)
    • Line 136: warning: exported method LesApiBackend.SubscribeChainEvent should have comment or be unexported (golint)
    • Line 140: warning: exported method LesApiBackend.SubscribeChainHeadEvent should have comment or be unexported (golint)
    • Line 144: warning: exported method LesApiBackend.SubscribeChainSideEvent should have comment or be unexported (golint)
    • Line 148: warning: exported method LesApiBackend.SubscribeLogsEvent should have comment or be unexported (golint)
    • Line 152: warning: exported method LesApiBackend.SubscribeRemovedLogsEvent should have comment or be unexported (golint)
    • Line 156: warning: exported method LesApiBackend.Downloader should have comment or be unexported (golint)
    • Line 160: warning: exported method LesApiBackend.ProtocolVersion should have comment or be unexported (golint)
    • Line 164: warning: exported method LesApiBackend.SuggestPrice should have comment or be unexported (golint)
    • Line 168: warning: exported method LesApiBackend.ChainDb should have comment or be unexported (golint)
    • Line 172: warning: exported method LesApiBackend.EventMux should have comment or be unexported (golint)
    • Line 176: warning: exported method LesApiBackend.AccountManager should have comment or be unexported (golint)
    • Line 180: warning: exported method LesApiBackend.BloomStatus should have comment or be unexported (golint)
    • Line 188: warning: exported method LesApiBackend.ServiceFilter should have comment or be unexported (golint)
    • go-usechain/p2p/discv5/node.go
    • Line 271: warning: comment on exported method NodeID.GoString should be of the form "GoString ..." (golint)
    • Line 318: warning: receiver name id should be consistent with previous receiver name n for NodeID (golint)
    • Line 329: warning: receiver name id should be consistent with previous receiver name n for NodeID (golint)
    • go-usechain/accounts/abi/bind/backend.go
    • Line 35: warning: comment on exported var ErrNoPendingState should be of the form "ErrNoPendingState ..." (golint)
    • Line 39: warning: comment on exported var ErrNoCodeAfterDeploy should be of the form "ErrNoCodeAfterDeploy ..." (golint)
    • go-usechain/common/base58/base58.go
    • Line 11: warning: exported var PREFIX_ADDR should have comment or be unexported (golint)
    • Line 13: warning: exported function Base58Encode should have comment or be unexported (golint)
    • Line 40: warning: exported function Base58Decode should have comment or be unexported (golint)
    • Line 64: warning: exported function ReverseBytes should have comment or be unexported (golint)
    • go-usechain/metrics/registry.go
    • Line 53: warning: comment on exported type StandardRegistry should be of the form "StandardRegistry ..." (with optional leading article) (golint)
    • Line 60: warning: comment on exported function NewRegistry should be of the form "NewRegistry ..." (golint)
    • Line 65: warning: comment on exported method StandardRegistry.Each should be of the form "Each ..." (golint)
    • Line 79: warning: comment on exported method StandardRegistry.GetOrRegister should be of the form "GetOrRegister ..." (golint)
    • Line 104: warning: comment on exported method StandardRegistry.RunHealthchecks should be of the form "RunHealthchecks ..." (golint)
    • Line 184: warning: comment on exported method StandardRegistry.UnregisterAll should be of the form "UnregisterAll ..." (golint)
    • Line 228: warning: exported type PrefixedRegistry should have comment or be unexported (golint)
    • Line 233: warning: exported function NewPrefixedRegistry should have comment or be unexported (golint)
    • Line 240: warning: exported function NewPrefixedChildRegistry should have comment or be unexported (golint)
    • Line 247: warning: comment on exported method PrefixedRegistry.Each should be of the form "Each ..." (golint)
    • Line 279: warning: comment on exported method PrefixedRegistry.GetOrRegister should be of the form "GetOrRegister ..." (golint)
    • Line 293: warning: comment on exported method PrefixedRegistry.RunHealthchecks should be of the form "RunHealthchecks ..." (golint)
    • Line 309: warning: comment on exported method PrefixedRegistry.UnregisterAll should be of the form "UnregisterAll ..." (golint)
    • Line 314: warning: exported var DefaultRegistry should have comment or be unexported (golint)
    • Line 316: warning: comment on exported function Each should be of the form "Each ..." (golint)
    • Line 326: warning: comment on exported function GetOrRegister should be of the form "GetOrRegister ..." (golint)
    • Line 338: warning: comment on exported function MustRegister should be of the form "MustRegister ..." (golint)
    • Line 346: warning: comment on exported function RunHealthchecks should be of the form "RunHealthchecks ..." (golint)
    • go-usechain/core/state/managed_state.go
    • Line 31: warning: exported type ManagedState should have comment or be unexported (golint)
    • Line 39: warning: comment on exported function ManageState should be of the form "ManageState ..." (golint)
    • Line 95: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-usechain/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)
    • go-usechain/p2p/enr/enr.go
    • Line 43: warning: exported const SizeLimit should have comment or be unexported (golint)
    • Line 45: warning: don't use underscores in Go names; const ID_SECP256k1_KECCAK should be IDSECP256k1KECCAK (golint)
    • Line 45: warning: exported const ID_SECP256k1_KECCAK should have comment or be unexported (golint)
    • go-usechain/p2p/discover/node.go
    • Line 39: warning: exported const NodeIDBits should have comment or be unexported (golint)
    • Line 238: warning: comment on exported method NodeID.GoString should be of the form "GoString ..." (golint)
    • Line 320: warning: receiver name id should be consistent with previous receiver name n for NodeID (golint)
    • go-usechain/whisper/whisperv5/doc.go
    • Line 17: warning: package comment should be of the form "Package whisperv5 ..." (golint)
    • Line 38: warning: exported const EnvelopeVersion should have comment (or a comment on this block) or be unexported (golint)
    • go-usechain/common/hexutil/hexutil.go
    • Line 45: warning: exported var ErrEmptyString should have comment or be unexported (golint)
    • Line 189: warning: exported function Has0xPrefix should have comment or be unexported (golint)
    • Line 247: warning: comment on exported function PKPair2HexSlice should be of the form "PKPair2HexSlice ..." (golint)
    • go-usechain/dashboard/message.go
    • Line 21: warning: exported type Message should have comment or be unexported (golint)
    • Line 31: warning: exported type GeneralMessage should have comment or be unexported (golint)
    • Line 36: warning: exported type HomeMessage should have comment or be unexported (golint)
    • Line 47: warning: exported type ChartEntries should have comment or be unexported (golint)
    • Line 49: warning: exported type ChartEntry should have comment or be unexported (golint)
    • Line 54: warning: exported type ChainMessage should have comment or be unexported (golint)
    • Line 58: warning: exported type TxPoolMessage should have comment or be unexported (golint)
    • Line 62: warning: exported type NetworkMessage should have comment or be unexported (golint)
    • Line 66: warning: exported type SystemMessage should have comment or be unexported (golint)
    • Line 70: warning: exported type LogsMessage should have comment or be unexported (golint)
    • go-usechain/eth/downloader/modes.go
    • Line 25: warning: exported const FullSync should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: exported method SyncMode.IsValid should have comment or be unexported (golint)
    • Line 48: warning: exported method SyncMode.MarshalText should have comment or be unexported (golint)
    • Line 61: warning: exported method SyncMode.UnmarshalText should have comment or be unexported (golint)
    • go-usechain/p2p/testing/protocolsession.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 110: 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 217: 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)
    • go-usechain/metrics/runtime.go
    • Line 55: warning: comment on exported function CaptureRuntimeMemStats should be of the form "CaptureRuntimeMemStats ..." (golint)
    • Line 63: warning: comment on exported function CaptureRuntimeMemStatsOnce should be of the form "CaptureRuntimeMemStatsOnce ..." (golint)
    • Line 145: warning: comment on exported function RegisterRuntimeMemStats should be of the form "RegisterRuntimeMemStats ..." (golint)
    • go-usechain/vote/vote.go
    • Line 46: warning: comment on exported type Voter should be of the form "Voter ..." (with optional leading article) (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 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: comment on exported method Voter.Voting should be of the form "Voting ..." (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 105: warning: comment on exported method Voter.VoteLoop should be of the form "VoteLoop ..." (golint)
    • Line 106: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 119: warning: comment on exported method Voter.SetVotebase should be of the form "SetVotebase ..." (golint)
    • Line 120: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 126: warning: comment on exported method Voter.Votebase should be of the form "Votebase ..." (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 132: 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 184: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-usechain/accounts/keystore/key.go
    • Line 45: warning: exported type Key should have comment or be unexported (golint)
    • Line 105: warning: exported method Key.MarshalJSON should have comment or be unexported (golint)
    • Line 116: warning: exported method Key.UnmarshalJSON should have comment or be unexported (golint)
    • Line 231: warning: comment on exported function GeneratePKPairFromSubAddress should be of the form "GeneratePKPairFromSubAddress ..." (golint)
    • Line 256: warning: exported function SubAddrFromUncompressedRawBytes should have comment or be unexported (golint)
    • Line 269: warning: exported function GenerateABaddressFromPK should have comment or be unexported (golint)
    • Line 293: warning: exported function ABkeyFileName should have comment or be unexported (golint)
    • go-usechain/core/vm/contract.go
    • Line 142: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 149: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-usechain/miner/miner.go
    • Line 60: warning: exported function New 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 106: warning: exported method Miner.Start should have comment or be unexported (golint)
    • Line 106: 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 Miner.Stop 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)
    • Line 128: warning: exported method Miner.Register should have comment or be unexported (golint)
    • Line 128: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 135: warning: exported method Miner.Unregister 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 method Miner.Mining 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 143: warning: exported method Miner.SetExtra 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 152: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 161: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 165: warning: exported method Miner.SetUsebase should have comment or be unexported (golint)
    • Line 165: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-usechain/light/odr_util.go
    • Line 30: warning: don't use underscores in Go names; var sha3_nil should be sha3Nil (golint)
    • Line 32: warning: exported function GetHeaderByNumber should have comment or be unexported (golint)
    • Line 71: warning: exported function GetCanonicalHash should have comment or be unexported (golint)
    • Line 91: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 223: warning: 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-usechain/whisper/mailserver/mailserver.go
    • Line 33: warning: exported type WMailServer should have comment or be unexported (golint)
    • Line 40: warning: exported type DBKey should have comment or be unexported (golint)
    • Line 46: warning: exported function NewDbKey should have comment or be unexported (golint)
    • Line 57: warning: exported method WMailServer.Init should have comment or be unexported (golint)
    • Line 85: warning: exported method WMailServer.Close should have comment or be unexported (golint)
    • Line 91: warning: exported method WMailServer.Archive should have comment or be unexported (golint)
    • Line 104: warning: exported method WMailServer.DeliverMail should have comment or be unexported (golint)
    • go-usechain/core/vm/stack.go
    • Line 24: warning: comment on exported type Stack should be of the form "Stack ..." (with optional leading article) (golint)
    • Line 35: warning: exported method Stack.Data should have comment or be unexported (golint)
    • Line 83: warning: exported method Stack.Print should have comment or be unexported (golint)
    • go-usechain/common/bytes.go
    • Line 30: warning: exported function ToHex should have comment or be unexported (golint)
    • Line 39: warning: exported function FromHex should have comment or be unexported (golint)
    • Line 51: warning: exported function ByteToBinaryString should have comment or be unexported (golint)
    • Line 70: warning: exported function ByteToBinaryBytes should have comment or be unexported (golint)
    • Line 90: warning: comment on exported function CopyBytes should be of the form "CopyBytes ..." (golint)
    • Line 123: warning: exported function Bytes2Hex should have comment or be unexported (golint)
    • Line 127: warning: exported function Hex2Bytes should have comment or be unexported (golint)
    • Line 133: warning: exported function Hex2BytesFixed should have comment or be unexported (golint)
    • Line 137: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 140: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 148: warning: exported function RightPadBytes should have comment or be unexported (golint)
    • Line 159: warning: exported function LeftPadBytes should have comment or be unexported (golint)
    • Line 181: warning: comment on exported function BytesToBinary should be of the form "BytesToBinary ..." (golint)
    • Line 210: warning: exported function Uint64ToBytes should have comment or be unexported (golint)
    • Line 216: warning: exported function BytesToUint64 should have comment or be unexported (golint)
    • go-usechain/common/mclock/mclock.go
    • Line 17: warning: package comment should be of the form "Package mclock ..." (golint)
    • Line 26: warning: exported type AbsTime should have comment or be unexported (golint)
    • Line 28: warning: exported function Now should have comment or be unexported (golint)
    • go-usechain/core/types/credit.go
    • Line 8: warning: exported type Identity should have comment or be unexported (golint)
    • Line 19: warning: exported type Issuer should have comment or be unexported (golint)
    • Line 28: warning: exported type UserData should have comment or be unexported (golint)
    • Line 39: warning: exported method UserData.Marshal should have comment or be unexported (golint)
    • Line 44: warning: exported method UserData.IdHex should have comment or be unexported (golint)
    • Line 50: warning: exported method UserData.IdBytes should have comment or be unexported (golint)
    • Line 56: warning: exported method UserData.FingerPrint should have comment or be unexported (golint)
    • Line 61: warning: exported function JsonToStruct should have comment or be unexported (golint)
    • Line 67: warning: exported function NewUserData should have comment or be unexported (golint)
    • Line 71: warning: exported function NewIssuer should have comment or be unexported (golint)
    • Line 75: warning: exported function NewIdentity should have comment or be unexported (golint)
    • go-usechain/p2p/simulations/mocker.go
    • Line 38: warning: comment on exported function LookupMocker should be of the form "LookupMocker ..." (golint)
    • Line 43: warning: comment on exported function GetMockerList should be of the form "GetMockerList ..." (golint)
    • go-usechain/core/database_util.go
    • Line 65: warning: comment on exported var BloomBitsIndexPrefix should be of the form "BloomBitsIndexPrefix ..." (golint)
    • Line 72: warning: exported var ErrChainConfigNotFound should have comment or be unexported (golint)
    • go-usechain/les/odr.go
    • Line 36: warning: exported function NewLesOdr should have comment or be unexported (golint)
    • Line 73: warning: exported const MsgBlockBodies should have comment (or a comment on this block) or be unexported (golint)
    • go-usechain/whisper/whisperv5/message.go
    • Line 36: warning: comment on exported type MessageParams should be of the form "MessageParams ..." (with optional leading article) (golint)
    • Line 89: warning: comment on exported function NewSentMessage should be of the form "NewSentMessage ..." (golint)
    • Line 333: warning: comment on exported method ReceivedMessage.SigToPubKey should be of the form "SigToPubKey ..." (golint)
    • go-usechain/core/vm/memory.go
    • Line 27: warning: exported function NewMemory 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 70: 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 Memory.Print should have comment or be unexported (golint)
    • go-usechain/params/protocol_params.go
    • Line 22: warning: exported var TargetGasLimit should have comment or be unexported (golint)
    • Line 26: warning: exported const GasLimitBoundDivisor should have comment (or a comment on this block) or be unexported (golint)
    • Line 86: warning: exported var DifficultyBoundDivisor should have comment or be unexported (golint)
    • go-usechain/bmt/bmt.go
    • Line 153: 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 183: 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 280: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 285: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 292: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 324: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 333: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 406: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 416: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 424: 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 462: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 496: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 508: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 529: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 554: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-usechain/params/denomination.go
    • Line 20: warning: comment on exported const Hui should be of the form "Hui ..." (golint)
    • Line 26: warning: exported const Shannon should have comment (or a comment on this block) or be unexported (golint)
    • go-usechain/whisper/whisperv5/api.go
    • Line 40: warning: exported var ErrSymAsym should have comment or be unexported (golint)
    • Line 96: warning: comment on exported method PublicWhisperAPI.SetMinPoW should be of the form "SetMinPoW ..." (golint)
    • Line 149: warning: comment on exported method PublicWhisperAPI.GetPrivateKey should be of the form "GetPrivateKey ..." (golint)
    • go-usechain/accounts/abi/numbers.go
    • Line 28: warning: don't use underscores in Go names; var big_t should be bigT (golint)
    • Line 29: warning: don't use underscores in Go names; var derefbig_t should be derefbigT (golint)
    • Line 30: warning: don't use underscores in Go names; var uint8_t should be uint8T (golint)
    • Line 31: warning: don't use underscores in Go names; var uint16_t should be uint16T (golint)
    • Line 32: warning: don't use underscores in Go names; var uint32_t should be uint32T (golint)
    • Line 33: warning: don't use underscores in Go names; var uint64_t should be uint64T (golint)
    • Line 34: warning: don't use underscores in Go names; var int_t should be intT (golint)
    • Line 35: warning: don't use underscores in Go names; var int8_t should be int8T (golint)
    • Line 36: warning: don't use underscores in Go names; var int16_t should be int16T (golint)
    • Line 37: warning: don't use underscores in Go names; var int32_t should be int32T (golint)
    • Line 38: warning: don't use underscores in Go names; var int64_t should be int64T (golint)
    • Line 39: warning: don't use underscores in Go names; var address_t should be addressT (golint)
    • Line 40: warning: don't use underscores in Go names; var int_ts should be intTs (golint)
    • Line 41: warning: don't use underscores in Go names; var int8_ts should be int8Ts (golint)
    • Line 42: warning: don't use underscores in Go names; var int16_ts should be int16Ts (golint)
    • Line 43: warning: don't use underscores in Go names; var int32_ts should be int32Ts (golint)
    • Line 44: warning: don't use underscores in Go names; var int64_ts should be int64Ts (golint)
    • go-usechain/core/state/statedb.go
    • Line 18: warning: package comment is detached; there should be no blank lines between it and the package statement (golint)
    • Line 49: warning: exported const StatDbEmpty should have comment (or a comment on this block) or be unexported (golint)
    • Line 52: warning: comment on exported type StateDB should be of the form "StateDB ..." (with optional leading article) (golint)
    • Line 91: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 108: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 114: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 120: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 138: warning: exported method StateDB.AddLog should have comment or be unexported (golint)
    • Line 138: 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 StateDB.GetLogs 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 153: warning: exported method StateDB.Logs should have comment or be unexported (golint)
    • Line 153: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 163: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 173: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 177: warning: exported method StateDB.AddRefund 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 184: 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 195: warning: comment on exported method StateDB.GetBalance should be of the form "GetBalance ..." (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 204: warning: exported method StateDB.GetNonce should have comment or be unexported (golint)
    • Line 204: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 212: warning: exported method StateDB.GetTradePoints should have comment or be unexported (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 220: warning: exported method StateDB.AddTradePoints should have comment or be unexported (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 228: warning: exported method StateDB.GetCertPoints 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.AddCertPoints 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 244: warning: exported method StateDB.GetCertifications should have comment or be unexported (golint)
    • Line 244: 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 StateDB.AddCertifications 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 260: warning: exported method StateDB.GetReviewPoints 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 268: warning: comment on exported method StateDB.AddReviewPoints should be of the form "AddReviewPoints ..." (golint)
    • Line 269: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 277: warning: exported method StateDB.GetRewardPoints should have comment or be unexported (golint)
    • Line 277: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 285: warning: comment on exported method StateDB.AddRewardPoints should be of the form "AddRewardPoints ..." (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 294: warning: exported method StateDB.IsCertificationVerified should have comment or be unexported (golint)
    • Line 294: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 304: warning: exported method StateDB.SetAccountLock 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 311: warning: exported method StateDB.GetAccountLock 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 319: warning: exported method StateDB.GetCode should have comment or be unexported (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 327: warning: exported method StateDB.GetCodeSize should have comment or be unexported (golint)
    • Line 327: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 342: warning: exported method StateDB.GetCodeHash should have comment or be unexported (golint)
    • Line 342: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 350: warning: exported method StateDB.GetState should have comment or be unexported (golint)
    • Line 350: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 361: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 367: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 376: warning: exported method StateDB.HasSuicided should have comment or be unexported (golint)
    • Line 376: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 389: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 397: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 409: warning: exported method StateDB.SetBalance should have comment or be unexported (golint)
    • Line 409: 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 StateDB.SetTradePoints 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 423: warning: exported method StateDB.SetCertifications should have comment or be unexported (golint)
    • Line 423: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 430: warning: exported method StateDB.SetCertPoints should have comment or be unexported (golint)
    • Line 430: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 437: warning: exported method StateDB.SetNonce should have comment or be unexported (golint)
    • Line 437: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 444: warning: exported method StateDB.SetCode 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 451: warning: exported method StateDB.SetState should have comment or be unexported (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 463: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 484: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 494: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 501: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 527: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 531: warning: comment on exported method StateDB.GetOrNewStateObject should be of the form "GetOrNewStateObject ..." (golint)
    • Line 532: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 542: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 548: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 577: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 584: warning: exported method StateDB.ForEachStorage should have comment or be unexported (golint)
    • Line 607: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 638: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 646: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 667: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 673: warning: receiver name s should be consistent with previous receiver name db for StateDB (golint)
    • Line 690: warning: receiver name s should be consistent with previous receiver name db for StateDB (golint)
    • Line 697: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 708: warning: receiver name s should be consistent with previous receiver name db for StateDB (golint)
    • Line 724: warning: receiver name s should be consistent with previous receiver name db for StateDB (golint)
    • Line 731: warning: receiver name s should be consistent with previous receiver name db for StateDB (golint)
    • go-usechain/crypto/bn256/google/bn256.go
    • Line 58: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 64: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 73: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 83: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 92: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 101: warning: receiver name n should be consistent with previous receiver name g for G1 (golint)
    • Line 119: warning: receiver name e should be consistent with previous receiver name g for G1 (golint)
    • Line 160: warning: comment on exported function RandomG2 should be of the form "RandomG2 ..." (golint)
    • Line 184: warning: receiver name e should be consistent with previous receiver name g for G2 (golint)
    • Line 190: warning: receiver name e should be consistent with previous receiver name g for G2 (golint)
    • Line 199: warning: receiver name e should be consistent with previous receiver name g for G2 (golint)
    • Line 209: warning: receiver name e should be consistent with previous receiver name g for G2 (golint)
    • Line 218: warning: receiver name n should be consistent with previous receiver name g for G2 (golint)
    • Line 240: warning: receiver name e should be consistent with previous receiver name g for G2 (golint)
    • Line 297: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 306: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 315: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 324: warning: receiver name n should be consistent with previous receiver name g for GT (golint)
    • Line 362: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • go-usechain/eth/filters/filter_system.go
    • Line 54: warning: comment on exported const LastIndexSubscription should be of the form "LastIndexSubscription ..." (golint)
    • Line 72: warning: exported var ErrInvalidSubscriptionID should have comment or be unexported (golint)
    • Line 269: warning: comment on exported method EventSystem.SubscribePendingTxs should be of the form "SubscribePendingTxs ..." (golint)
    • go-usechain/eth/api_backend.go
    • Line 45: warning: exported method EthApiBackend.ChainConfig should have comment or be unexported (golint)
    • Line 49: warning: exported method EthApiBackend.CurrentBlock should have comment or be unexported (golint)
    • Line 53: warning: exported method EthApiBackend.SetHead should have comment or be unexported (golint)
    • Line 58: warning: exported method EthApiBackend.HeaderByNumber should have comment or be unexported (golint)
    • Line 71: warning: exported method EthApiBackend.BlockByNumber should have comment or be unexported (golint)
    • Line 84: warning: exported method EthApiBackend.StateAndHeaderByNumber should have comment or be unexported (golint)
    • Line 99: warning: exported method EthApiBackend.GetBlock should have comment or be unexported (golint)
    • Line 103: warning: exported method EthApiBackend.GetReceipts should have comment or be unexported (golint)
    • Line 107: warning: exported method EthApiBackend.GetLogs should have comment or be unexported (golint)
    • Line 119: warning: exported method EthApiBackend.GetTd should have comment or be unexported (golint)
    • Line 123: warning: exported method EthApiBackend.GetEVM should have comment or be unexported (golint)
    • Line 131: warning: exported method EthApiBackend.SubscribeRemovedLogsEvent should have comment or be unexported (golint)
    • Line 135: warning: exported method EthApiBackend.SubscribeChainEvent should have comment or be unexported (golint)
    • Line 139: warning: exported method EthApiBackend.SubscribeChainHeadEvent should have comment or be unexported (golint)
    • Line 143: warning: exported method EthApiBackend.SubscribeChainSideEvent should have comment or be unexported (golint)
    • Line 147: warning: exported method EthApiBackend.SubscribeLogsEvent should have comment or be unexported (golint)
    • Line 151: warning: exported method EthApiBackend.SendTx should have comment or be unexported (golint)
    • Line 155: warning: exported method EthApiBackend.GetPoolTransactions should have comment or be unexported (golint)
    • Line 167: warning: exported method EthApiBackend.GetPoolTransaction should have comment or be unexported (golint)
    • Line 171: warning: exported method EthApiBackend.GetPoolNonce should have comment or be unexported (golint)
    • Line 175: warning: exported method EthApiBackend.Stats should have comment or be unexported (golint)
    • Line 179: warning: exported method EthApiBackend.TxPoolContent should have comment or be unexported (golint)
    • Line 183: warning: exported method EthApiBackend.SubscribeNewTxsEvent should have comment or be unexported (golint)
    • Line 187: warning: exported method EthApiBackend.Downloader should have comment or be unexported (golint)
    • Line 191: warning: exported method EthApiBackend.ProtocolVersion should have comment or be unexported (golint)
    • Line 195: warning: exported method EthApiBackend.SuggestPrice should have comment or be unexported (golint)
    • Line 199: warning: exported method EthApiBackend.ChainDb should have comment or be unexported (golint)
    • Line 203: warning: exported method EthApiBackend.EventMux should have comment or be unexported (golint)
    • Line 207: warning: exported method EthApiBackend.AccountManager should have comment or be unexported (golint)
    • Line 211: warning: exported method EthApiBackend.BloomStatus should have comment or be unexported (golint)
    • Line 216: warning: exported method EthApiBackend.ServiceFilter should have comment or be unexported (golint)
    • go-usechain/core/block_validator.go
    • Line 111: warning: exported method BlockValidator.ValidateMiner should have comment or be unexported (golint)
    • Line 128: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 217: warning: comment on exported function VerifySig should be of the form "VerifySig ..." (golint)
    • go-usechain/event/event.go
    • Line 174: warning: exported method TypeMuxSubscription.Chan should have comment or be unexported (golint)
    • Line 178: warning: exported method TypeMuxSubscription.Unsubscribe should have comment or be unexported (golint)
    • go-usechain/p2p/discv5/net.go
    • Line 285: warning: exported method Network.RegisterTopic should have comment or be unexported (golint)
    • Line 301: warning: exported method Network.SearchTopic should have comment or be unexported (golint)
    • Line 571: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-usechain/common/path.go
    • Line 33: warning: exported function FileExist should have comment or be unexported (golint)
    • Line 42: warning: exported function AbsolutePath should have comment or be unexported (golint)
    • go-usechain/light/txpool_test.go
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-usechain/rpc/subscription.go
    • Line 28: warning: comment on exported var ErrSubscriptionNotFound should be of the form "ErrSubscriptionNotFound ..." (golint)
    • Line 35: warning: comment on exported type Subscription should be of the form "Subscription ..." (with optional leading article) (golint)
    • go-usechain/core/state/dump.go
    • Line 28: warning: exported type DumpAccount should have comment or be unexported (golint)
    • Line 44: warning: exported type Dump should have comment or be unexported (golint)
    • Line 49: warning: exported method StateDB.RawDump 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 88: warning: exported method StateDB.Dump 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)
    • go-usechain/miner/remote_agent.go
    • Line 33: warning: exported type RemoteAgent should have comment or be unexported (golint)
    • Line 48: warning: exported function NewRemoteAgent should have comment or be unexported (golint)
    • Line 56: warning: exported method RemoteAgent.Work should have comment or be unexported (golint)
    • Line 60: warning: exported method RemoteAgent.SetReturnCh should have comment or be unexported (golint)
    • Line 64: warning: exported method RemoteAgent.Start should have comment or be unexported (golint)
    • Line 73: warning: exported method RemoteAgent.Stop should have comment or be unexported (golint)
    • Line 81: warning: exported method RemoteAgent.GetWork should have comment or be unexported (golint)
    • go-usechain/core/types/transaction.go
    • Line 39: warning: exported type TxFlag should have comment or be unexported (golint)
    • Line 42: warning: exported const TxNormal should have comment (or a comment on this block) or be unexported (golint)
    • Line 56: warning: exported var ErrInvalidSig should have comment or be unexported (golint)
    • Line 64: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 69: warning: exported type Transaction should have comment or be unexported (golint)
    • Line 107: warning: exported function NewTransaction should have comment or be unexported (golint)
    • Line 111: warning: exported function NewSpecialTransaction should have comment or be unexported (golint)
    • Line 115: warning: exported function NewContractCreation should have comment or be unexported (golint)
    • Line 119: warning: exported function NewPbftMessage should have comment or be unexported (golint)
    • Line 213: warning: exported method Transaction.Flag should have comment or be unexported (golint)
    • Line 214: warning: exported method Transaction.Data should have comment or be unexported (golint)
    • Line 215: warning: exported method Transaction.Gas should have comment or be unexported (golint)
    • Line 216: warning: exported method Transaction.GasPrice should have comment or be unexported (golint)
    • Line 217: warning: exported method Transaction.Value should have comment or be unexported (golint)
    • Line 218: warning: exported method Transaction.Nonce should have comment or be unexported (golint)
    • Line 219: warning: exported method Transaction.CheckNonce should have comment or be unexported (golint)
    • Line 231: warning: exported var CreditABI should have comment or be unexported (golint)
    • Line 233: warning: exported method Transaction.GetVerifiedAddress should have comment or be unexported (golint)
    • Line 260: warning: exported method Transaction.CheckCertLegality should have comment or be unexported (golint)
    • Line 320: warning: exported function Decode32Uint8 should have comment or be unexported (golint)
    • Line 327: warning: exported function DecodeUint8 should have comment or be unexported (golint)
    • Line 399: warning: exported method Transaction.RawSignatureValues should have comment or be unexported (golint)
    • Line 403: warning: exported method Transaction.From should have comment or be unexported (golint)
    • Line 521: warning: exported method TxByPrice.Push should have comment or be unexported (golint)
    • Line 525: warning: exported method TxByPrice.Pop should have comment or be unexported (golint)
    • Line 606: warning: exported function NewMessage should have comment or be unexported (golint)
    • Line 619: warning: exported method Message.Flag should have comment or be unexported (golint)
    • Line 620: warning: exported method Message.From should have comment or be unexported (golint)
    • Line 621: warning: exported method Message.To should have comment or be unexported (golint)
    • Line 622: warning: exported method Message.GasPrice should have comment or be unexported (golint)
    • Line 623: warning: exported method Message.Value should have comment or be unexported (golint)
    • Line 624: warning: exported method Message.Gas should have comment or be unexported (golint)
    • Line 625: warning: exported method Message.Nonce should have comment or be unexported (golint)
    • Line 626: warning: exported method Message.Data should have comment or be unexported (golint)
    • Line 627: warning: exported method Message.CheckNonce should have comment or be unexported (golint)
    • go-usechain/metrics/librato/librato.go
    • Line 24: warning: exported type Reporter should have comment or be unexported (golint)
    • Line 35: warning: exported function NewReporter should have comment or be unexported (golint)
    • Line 39: warning: exported function Librato should have comment or be unexported (golint)
    • Line 43: warning: exported method Reporter.Run should have comment or be unexported (golint)
    • Line 43: 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 Reporter.BuildRequest 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)
    • go-usechain/core/asm/lexer.go
    • Line 56: warning: exported const Numbers should have comment (or a comment on this block) or be unexported (golint)
    • Line 96: warning: comment on exported function Lex should be of the form "Lex ..." (golint)
    • go-usechain/internal/build/archive.go
    • Line 30: warning: exported type Archive should have comment or be unexported (golint)
    • Line 44: warning: exported function NewArchive should have comment or be unexported (golint)
    • Line 107: warning: exported type ZipArchive should have comment or be unexported (golint)
    • Line 113: warning: exported function NewZipArchive should have comment or be unexported (golint)
    • Line 117: warning: exported method ZipArchive.Directory should have comment or be unexported (golint)
    • Line 122: warning: exported method ZipArchive.Header should have comment or be unexported (golint)
    • Line 136: warning: exported method ZipArchive.Close should have comment or be unexported (golint)
    • Line 143: warning: exported type TarballArchive should have comment or be unexported (golint)
    • Line 150: warning: exported function NewTarballArchive should have comment or be unexported (golint)
    • Line 156: warning: exported method TarballArchive.Directory should have comment or be unexported (golint)
    • Line 165: warning: exported method TarballArchive.Header should have comment or be unexported (golint)
    • Line 177: warning: exported method TarballArchive.Close should have comment or be unexported (golint)
    • go-usechain/metrics/librato/client.go
    • Line 11: warning: exported const Operations should have comment or be unexported (golint)
    • Line 12: warning: exported const OperationsShort should have comment or be unexported (golint)
    • Line 14: warning: exported type LibratoClient should have comment or be unexported (golint)
    • Line 58: warning: exported type Measurement should have comment or be unexported (golint)
    • Line 59: warning: exported type Metric should have comment or be unexported (golint)
    • Line 61: warning: exported type Batch should have comment or be unexported (golint)
    • Line 68: warning: exported method LibratoClient.PostMetrics should have comment or be unexported (golint)
    • Line 68: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-usechain/metrics/gauge_float64.go
    • Line 5: warning: comment on exported type GaugeFloat64 should be of the form "GaugeFloat64 ..." (with optional leading article) (golint)
    • Line 41: warning: comment on exported function NewFunctionalGaugeFloat64 should be of the form "NewFunctionalGaugeFloat64 ..." (golint)
    • Line 49: warning: comment on exported function NewRegisteredFunctionalGaugeFloat64 should be of the form "NewRegisteredFunctionalGaugeFloat64 ..." (golint)
    • Line 73: warning: comment on exported type NilGaugeFloat64 should be of the form "NilGaugeFloat64 ..." (with optional leading article) (golint)
    • go-usechain/params/config.go
    • Line 27: warning: exported var MainnetGenesisHash should have comment or be unexported (golint)
    • Line 91: warning: exported var TestChainConfig should have comment or be unexported (golint)
    • Line 172: warning: comment on exported method ChainConfig.IsDAOFork should be of the form "IsDAOFork ..." (golint)
    • Line 177: warning: exported method ChainConfig.IsEIP150 should have comment or be unexported (golint)
    • Line 181: warning: exported method ChainConfig.IsEIP155 should have comment or be unexported (golint)
    • Line 185: warning: exported method ChainConfig.IsEIP158 should have comment or be unexported (golint)
    • Line 189: warning: exported method ChainConfig.IsByzantium should have comment or be unexported (golint)
    • Line 193: warning: exported method ChainConfig.IsConstantinople should have comment or be unexported (golint)
    • Line 329: warning: exported method ChainConfig.Rules should have comment or be unexported (golint)
    • go-usechain/eth/handler.go
    • Line 70: warning: exported type ProtocolManager should have comment or be unexported (golint)
    • Line 208: warning: exported method ProtocolManager.Start should have comment or be unexported (golint)
    • Line 225: warning: exported method ProtocolManager.Stop should have comment or be unexported (golint)
    • Line 728: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 739: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 775: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-usechain/common/types.go
    • Line 36: warning: exported const HashLength should have comment (or a comment on this block) or be unexported (golint)
    • Line 43: warning: exported var IDVerified should have comment or be unexported (golint)
    • Line 54: warning: exported function BytesToHash should have comment or be unexported (golint)
    • Line 60: warning: comment on exported function IsHexHash should be of the form "IsHexHash ..." (golint)
    • Line 69: warning: exported function StringToHash should have comment or be unexported (golint)
    • Line 70: warning: exported function BigToHash should have comment or be unexported (golint)
    • Line 71: warning: exported function HexToHash should have comment or be unexported (golint)
    • Line 73: warning: comment on exported method Hash.Str should be of the form "Str ..." (golint)
    • Line 75: warning: exported method Hash.Bytes should have comment or be unexported (golint)
    • Line 76: warning: exported method Hash.Big should have comment or be unexported (golint)
    • Line 77: warning: exported method Hash.Hex should have comment or be unexported (golint)
    • Line 91: warning: comment on exported method Hash.IncreaseHex should be of the form "IncreaseHex ..." (golint)
    • Line 99: warning: comment on exported method Hash.DecreaseHex should be of the form "DecreaseHex ..." (golint)
    • Line 128: warning: comment on exported method Hash.SetBytes should be of the form "SetBytes ..." (golint)
    • Line 137: warning: comment on exported method Hash.SetString should be of the form "SetString ..." (golint)
    • Line 140: warning: comment on exported method Hash.Set should be of the form "Set ..." (golint)
    • Line 156: warning: exported function EmptyHash should have comment or be unexported (golint)
    • Line 173: warning: comment on exported function IncreaseHexByNum should be of the form "IncreaseHexByNum ..." (golint)
    • Line 187: warning: exported function BytesToAddress should have comment or be unexported (golint)
    • Line 192: warning: exported function StringToAddress should have comment or be unexported (golint)
    • Line 193: warning: exported function BigToAddress should have comment or be unexported (golint)
    • Line 194: warning: exported function HexToAddress should have comment or be unexported (golint)
    • Line 205: warning: comment on exported method Address.Str should be of the form "Str ..." (golint)
    • Line 207: warning: exported method Address.Bytes should have comment or be unexported (golint)
    • Line 208: warning: exported method Address.Big should have comment or be unexported (golint)
    • Line 209: warning: exported method Address.Hash should have comment or be unexported (golint)
    • Line 244: warning: comment on exported method Address.SetBytes should be of the form "SetBytes ..." (golint)
    • Line 252: warning: comment on exported method Address.SetString should be of the form "SetString ..." (golint)
    • Line 255: warning: comment on exported method Address.Set should be of the form "Set ..." (golint)
    • Line 281: warning: comment on exported type UnprefixedAddress should be of the form "UnprefixedAddress ..." (with optional leading article) (golint)
    • Line 299: warning: exported method Base58Address.SetBytes should have comment or be unexported (golint)
    • Line 306: warning: exported function BytesToBase58Address should have comment or be unexported (golint)
    • Line 312: warning: exported method Base58Address.Bytes should have comment or be unexported (golint)
    • Line 314: warning: exported function StringToBase58Address should have comment or be unexported (golint)
    • Line 316: warning: exported function AddressToBase58Address should have comment or be unexported (golint)
    • Line 328: warning: exported function Base58AddressToAddress should have comment or be unexported (golint)
    • Line 333: warning: exported function UmAddressToAddress should have comment or be unexported (golint)
    • Line 337: warning: exported function UmAddressToHexAddress should have comment or be unexported (golint)
    • Line 341: warning: exported function HexAddressToBase58Address should have comment or be unexported (golint)
    • Line 344: warning: exported function HexAddressToUmAddress should have comment or be unexported (golint)
    • Line 348: warning: exported function AddressToUmAddress should have comment or be unexported (golint)
    • Line 352: warning: exported type Lock should have comment or be unexported (golint)
    • Line 358: warning: exported method Lock.Marshal should have comment or be unexported (golint)
    • Line 367: warning: exported method Lock.Expired should have comment or be unexported (golint)
    • go-usechain/light/trie.go
    • Line 32: warning: exported function NewState should have comment or be unexported (golint)
    • Line 37: warning: exported function NewStateDatabase should have comment or be unexported (golint)
    • go-usechain/rpc/client.go
    • Line 39: warning: exported var ErrClientQuit should have comment or be unexported (golint)
    • Line 291: warning: comment on exported method Client.BatchCallContext should be of the form "BatchCallContext ..." (golint)
    • Line 743: warning: error should be the last type when returning multiple items (golint)
    • go-usechain/common/math/big.go
    • Line 29: warning: exported var MaxBig256 should have comment or be unexported (golint)
    • Line 81: warning: comment on exported function MustParseBig256 should be of the form "MustParseBig256 ..." (golint)
    • Line 174: warning: comment on exported function ReadBitswithLength should be of the form "ReadBitswithLength ..." (golint)
    • Line 202: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-usechain/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-usechain/accounts/ca/ca.go
    • Line 291: warning: exported function GetUserData should have comment or be unexported (golint)
    • Line 297: warning: comment on exported function GetUserCert should be of the form "GetUserCert ..." (golint)
    • go-usechain/core/types/transaction_signing.go
    • Line 31: warning: exported var ErrInvalidChainId should have comment or be unexported (golint)
    • Line 106: warning: comment on exported type EIP155Signer should be of the form "EIP155Signer ..." (with optional leading article) (golint)
    • Line 111: warning: exported function NewEIP155Signer should have comment or be unexported (golint)
    • Line 121: warning: exported method EIP155Signer.Equal should have comment or be unexported (golint)
    • Line 128: warning: exported method EIP155Signer.Sender should have comment or be unexported (golint)
    • Line 140: warning: comment on exported method EIP155Signer.SignatureValues should be of the form "SignatureValues ..." (golint)
    • Line 169: warning: comment on exported type HomesteadSigner should be of the form "HomesteadSigner ..." (with optional leading article) (golint)
    • Line 173: warning: exported method HomesteadSigner.Equal should have comment or be unexported (golint)
    • Line 180: warning: receiver name hs should be consistent with previous receiver name s for HomesteadSigner (golint)
    • Line 184: warning: exported method HomesteadSigner.Sender should have comment or be unexported (golint)
    • Line 184: warning: receiver name hs should be consistent with previous receiver name s for HomesteadSigner (golint)
    • Line 188: warning: exported type FrontierSigner should have comment or be unexported (golint)
    • Line 190: warning: exported method FrontierSigner.Equal should have comment or be unexported (golint)
    • Line 197: warning: receiver name fs should be consistent with previous receiver name s for FrontierSigner (golint)
    • Line 209: warning: receiver name fs should be consistent with previous receiver name s for FrontierSigner (golint)
    • Line 221: warning: exported method FrontierSigner.Sender should have comment or be unexported (golint)
    • Line 221: warning: receiver name fs should be consistent with previous receiver name s for FrontierSigner (golint)
    • go-usechain/eth/protocol.go
    • Line 37: warning: comment on exported var ProtocolName should be of the form "ProtocolName ..." (golint)
    • Line 40: warning: comment on exported var ProtocolVersions should be of the form "ProtocolVersions ..." (golint)
    • Line 43: warning: comment on exported var ProtocolLengths should be of the form "ProtocolLengths ..." (golint)
    • Line 46: warning: exported const ProtocolMaxMsgSize should have comment or be unexported (golint)
    • Line 70: warning: exported const ErrMsgTooLarge should have comment (or a comment on this block) or be unexported (golint)
    • go-usechain/miner/worker.go
    • Line 86: warning: exported type Result should have comment or be unexported (golint)
    • Line 167: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 173: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 179: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 194: 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 221: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 235: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 242: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 309: 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 377: 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 526: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 578: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 595: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 615: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 633: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 649: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 705: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 803: warning: error should be the last type when returning multiple items (golint)
    • go-usechain/core/tx_pool.go
    • Line 74: warning: comment on exported var ErrAuthenticationDuplicated should be of the form "ErrAuthenticationDuplicated ..." (golint)
    • Line 103: warning: comment on exported var ErrTxpoolFull should be of the form "ErrTxpoolFull ..." (golint)
    • Line 118: warning: comment on exported var ErrPbftSender should be of the form "ErrPbftSender ..." (golint)
    • Line 136: warning: exported var ErrPermission should have comment or be unexported (golint)
    • Line 178: warning: exported const TxStatusUnknown should have comment (or a comment on this block) or be unexported (golint)
    • Line 559: warning: comment on exported method TxPool.StateDB should be of the form "StateDB ..." (golint)
    • Line 727: warning: comment on exported function ValidatePbftTx should be of the form "ValidatePbftTx ..." (golint)
    • Line 764: warning: comment on exported function ValidateCommentTx should be of the form "ValidateCommentTx ..." (golint)
    • Line 812: warning: comment on exported function ValidateRewardTx should be of the form "ValidateRewardTx ..." (golint)
    • Line 1478: warning: don't use underscores in Go names; var vote_h should be voteH (golint)
    • Line 1479: warning: don't use underscores in Go names; var vote_index should be voteIndex (golint)
    • go-usechain/internal/debug/flags.go
    • Line 23: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 36: warning: exported var Memsize should have comment or be unexported (golint)
    • Line 141: warning: exported function StartPProf should have comment or be unexported (golint)
    • go-usechain/log/logger.go
    • Line 16: warning: exported type Lvl should have comment or be unexported (golint)
    • Line 19: warning: exported const LvlCrit should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: comment on exported method Lvl.AlignedString should be of the form "AlignedString ..." (golint)
    • Line 67: warning: comment on exported function LvlFromString should be of the form "LvlFromString ..." (golint)
    • Line 98: warning: exported type RecordKeyNames should have comment or be unexported (golint)
    • go-usechain/crypto/crypto.go
    • Line 40: warning: don't use underscores in Go names; var secp256k1_N should be secp256k1N (golint)
    • Line 41: warning: don't use underscores in Go names; var secp256k1_halfN should be secp256k1HalfN (golint)
    • Line 73: warning: comment on exported function CreateAddress should be of the form "CreateAddress ..." (golint)
    • Line 127: warning: exported function ToECDSAPub should have comment or be unexported (golint)
    • Line 135: warning: exported function FromECDSAPub should have comment or be unexported (golint)
    • Line 177: warning: exported function GenerateKey should have comment or be unexported (golint)
    • Line 196: warning: exported function PubkeyToAddress should have comment or be unexported (golint)
    • Line 207: warning: comment on exported function GenerateSubPubKey should be of the form "GenerateSubPubKey ..." (golint)
    • Line 233: warning: comment on exported function ScanA1 should be of the form "ScanA1 ..." (golint)
    • Line 239: warning: comment on exported function ScanPubSharesA1 should be of the form "ScanPubSharesA1 ..." (golint)
    • go-usechain/p2p/testing/peerpool.go
    • Line 27: warning: exported type TestPeer should have comment or be unexported (golint)
    • Line 38: warning: exported function NewTestPeerPool should have comment or be unexported (golint)
    • Line 42: warning: exported method TestPeerPool.Add should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 50: warning: exported method TestPeerPool.Remove should have comment or be unexported (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 56: warning: exported method TestPeerPool.Has 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 63: warning: exported method TestPeerPool.Get should have comment or be unexported (golint)
    • Line 63: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-usechain/p2p/simulations/network.go
    • Line 77: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 90: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 146: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 151: 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 177: 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 217: 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 281: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 297: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 329: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 357: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 371: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 377: warning: comment on exported method Network.GetNodeByName should be of the form "GetNodeByName ..." (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 385: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 393: 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 should be a reflection of its identity; don't use generic names such as "this" or "self" (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 421: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 427: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 452: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 461: warning: comment on exported method Network.InitConn should be of the form "InitConn ..." (golint)
    • Line 469: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 494: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 506: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 531: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 536: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 553: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 583: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 594: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 608: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 643: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 668: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 695: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 711: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 727: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 738: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 741: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-usechain/log/handler.go
    • Line 14: warning: comment on exported type Handler should be of the form "Handler ..." (with optional leading article) (golint)
    • Line 196: warning: comment on exported function MultiHandler should be of the form "MultiHandler ..." (golint)
    • Line 215: warning: comment on exported function FailoverHandler should be of the form "FailoverHandler ..." (golint)
    • Line 237: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 323: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 341: warning: comment on exported var Must should be of the form "Must ..." (golint)
    • go-usechain/params/gas_table.go
    • Line 19: warning: exported type GasTable should have comment or be unexported (golint)
    • Line 50: warning: comment on exported var GasTableEIP150 should be of the form "GasTableEIP150 ..." (golint)
    • Line 64: warning: exported var GasTableEIP158 should have comment or be unexported (golint)
    • go-usechain/metrics/debug.go
    • Line 22: warning: comment on exported function CaptureDebugGCStats should be of the form "CaptureDebugGCStats ..." (golint)
    • Line 30: warning: comment on exported function CaptureDebugGCStatsOnce should be of the form "CaptureDebugGCStatsOnce ..." (golint)
    • Line 53: warning: comment on exported function RegisterDebugGCStats should be of the form "RegisterDebugGCStats ..." (golint)
    • go-usechain/core/vm/evm.go
    • Line 34: warning: exported type CanTransferFunc should have comment or be unexported (golint)
    • Line 35: warning: exported type TransferFunc should have comment or be unexported (golint)
    • go-usechain/ethdb/memory_database.go
    • Line 26: warning: comment on exported type MemDatabase should be of the form "MemDatabase ..." (with optional leading article) (golint)
    • Line 34: warning: exported function NewMemDatabase should have comment or be unexported (golint)
    • Line 40: warning: exported function NewMemDatabaseWithCap should have comment or be unexported (golint)
    • Line 46: warning: exported method MemDatabase.Put should have comment or be unexported (golint)
    • Line 54: warning: exported method MemDatabase.Has should have comment or be unexported (golint)
    • Line 62: warning: exported method MemDatabase.Get should have comment or be unexported (golint)
    • Line 72: warning: exported method MemDatabase.Keys should have comment or be unexported (golint)
    • Line 83: warning: exported method MemDatabase.Delete should have comment or be unexported (golint)
    • Line 91: warning: exported method MemDatabase.Close should have comment or be unexported (golint)
    • Line 93: warning: exported method MemDatabase.NewBatch should have comment or be unexported (golint)
    • Line 97: warning: exported method MemDatabase.Len should have comment or be unexported (golint)
    • go-usechain/cmd/utils/cmd.go
    • Line 62: warning: exported function StartNode should have comment or be unexported (golint)
    • Line 84: warning: exported function ImportChain should have comment or be unexported (golint)
    • Line 183: warning: exported function ExportChain should have comment or be unexported (golint)
    • Line 205: warning: exported function ExportAppendChain should have comment or be unexported (golint)
    • go-usechain/light/lightchain.go
    • Line 118: 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 138: 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 173: 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 237: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 276: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 282: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 320: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 345: 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 393: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 399: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 405: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 423: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 429: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 435: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 443: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 445: warning: exported method LightChain.SyncCht should have comment or be unexported (golint)
    • Line 445: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 468: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 473: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 478: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 483: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 488: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 494: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 500: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign98%

IneffAssign detects ineffectual assignments in Go code.

    • go-usechain/ethrpc/ethrpc_test.go
    • Line 233: warning: ineffectual assignment to syncing (ineffassign)
    • Line 298: warning: ineffectual assignment to gasPrice (ineffassign)
    • Line 325: warning: ineffectual assignment to blockBumber (ineffassign)
    • Line 341: warning: ineffectual assignment to balance (ineffassign)
    • Line 373: warning: ineffectual assignment to count (ineffassign)
    • Line 389: warning: ineffectual assignment to count (ineffassign)
    • Line 405: warning: ineffectual assignment to count (ineffassign)
    • Line 421: warning: ineffectual assignment to count (ineffassign)
    • Line 437: warning: ineffectual assignment to count (ineffassign)
    • Line 787: warning: ineffectual assignment to result (ineffassign)
    • go-usechain/accounts/ca/ca.go
    • Line 108: warning: ineffectual assignment to err (ineffassign)
    • Line 113: warning: ineffectual assignment to err (ineffassign)
    • Line 115: warning: ineffectual assignment to err (ineffassign)
    • Line 123: warning: ineffectual assignment to err (ineffassign)
    • Line 125: warning: ineffectual assignment to err (ineffassign)

misspell99%

Misspell Finds commonly misspelled English words

    • go-usechain/contracts/utils/contract.go
    • Line 46: warning: "Contracter" is a misspelling of "Contractor" (misspell)
    • Line 60: warning: "Contracter" is a misspelling of "Contractor" (misspell)
    • Line 61: warning: "contracter" is a misspelling of "contractor" (misspell)
    • Line 61: warning: "Contracter" is a misspelling of "Contractor" (misspell)
    • Line 71: warning: "contracter" is a misspelling of "contractor" (misspell)
    • Line 75: warning: "Contracter" is a misspelling of "Contractor" (misspell)
    • Line 97: warning: "Contracter" is a misspelling of "Contractor" (misspell)