Preparing report...

Report for github.com/dappledger/AnnChain

A    Great!    Found 300 issues across 548 files

Tweet

gofmt90%

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!


gocyclo92%

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.

    • AnnChain/eth/trie/trie.go
    • Line 307: warning: cyclomatic complexity 25 of function (*Trie).delete() is high (> 15) (gocyclo)
    • Line 216: warning: cyclomatic complexity 19 of function (*Trie).insert() is high (> 15) (gocyclo)
    • AnnChain/gemmill/go-wire/reflect.go
    • Line 200: warning: cyclomatic complexity 48 of function readReflectBinary() is high (> 15) (gocyclo)
    • Line 633: warning: cyclomatic complexity 45 of function readReflectJSON() is high (> 15) (gocyclo)
    • Line 432: warning: cyclomatic complexity 42 of function writeReflectBinary() is high (> 15) (gocyclo)
    • Line 857: warning: cyclomatic complexity 37 of function writeReflectJSON() is high (> 15) (gocyclo)
    • AnnChain/eth/core/tx_pool.go
    • Line 942: warning: cyclomatic complexity 43 of function (*TxPool).promoteExecutables() is high (> 15) (gocyclo)
    • Line 286: warning: cyclomatic complexity 18 of function (*TxPool).loop() is high (> 15) (gocyclo)
    • AnnChain/gemmill/consensus/pbft/reactor.go
    • Line 186: warning: cyclomatic complexity 33 of function (*ConsensusReactor).Receive() is high (> 15) (gocyclo)
    • Line 524: warning: cyclomatic complexity 28 of function (*ConsensusReactor).gossipVotesRoutine() is high (> 15) (gocyclo)
    • Line 420: warning: cyclomatic complexity 17 of function (*ConsensusReactor).gossipDataRoutine() is high (> 15) (gocyclo)
    • Line 876: warning: cyclomatic complexity 16 of function (*PeerState).getVoteBitArray() is high (> 15) (gocyclo)
    • AnnChain/eth/core/tx_pool_test.go
    • Line 553: warning: cyclomatic complexity 28 of function TestTransactionPostponing() is high (> 15) (gocyclo)
    • Line 1138: warning: cyclomatic complexity 24 of function TestTransactionPoolRepricing() is high (> 15) (gocyclo)
    • Line 1321: warning: cyclomatic complexity 20 of function TestTransactionPoolUnderpricing() is high (> 15) (gocyclo)
    • Line 1575: warning: cyclomatic complexity 19 of function testTransactionJournaling() is high (> 15) (gocyclo)
    • Line 458: warning: cyclomatic complexity 19 of function TestTransactionDropping() is high (> 15) (gocyclo)
    • Line 1493: warning: cyclomatic complexity 17 of function TestTransactionReplacement() is high (> 15) (gocyclo)
    • AnnChain/eth/metrics/ewma_test.go
    • Line 83: warning: cyclomatic complexity 17 of function TestEWMA5() is high (> 15) (gocyclo)
    • Line 14: warning: cyclomatic complexity 17 of function TestEWMA1() is high (> 15) (gocyclo)
    • Line 152: warning: cyclomatic complexity 17 of function TestEWMA15() is high (> 15) (gocyclo)

golint50%

Golint is a linter for Go source code.

    • AnnChain/gemmill/consensus/raft/api.go
    • Line 18: warning: exported type PublicAPI should have comment or be unexported (golint)
    • Line 22: warning: exported method PublicAPI.API should have comment or be unexported (golint)
    • Line 33: warning: exported method PublicAPI.Role should have comment or be unexported (golint)
    • Line 38: warning: exported type LeaderResult should have comment or be unexported (golint)
    • Line 44: warning: exported method PublicAPI.Leader should have comment or be unexported (golint)
    • Line 67: warning: exported type AddPeerResult should have comment or be unexported (golint)
    • Line 69: warning: exported method PublicAPI.AddPeer should have comment or be unexported (golint)
    • Line 114: warning: exported method PublicAPI.Stats should have comment or be unexported (golint)
    • Line 119: warning: exported type RemovePeerResult should have comment or be unexported (golint)
    • Line 121: warning: exported method PublicAPI.RemovePeer should have comment or be unexported (golint)
    • AnnChain/gemmill/consensus/raft/peer.go
    • Line 15: warning: exported type Peer should have comment or be unexported (golint)
    • Line 21: warning: exported type ClusterConfig should have comment or be unexported (golint)
    • Line 29: warning: exported function NewClusterConfig should have comment or be unexported (golint)
    • Line 48: warning: exported method ClusterConfig.Save should have comment or be unexported (golint)
    • Line 63: warning: exported method ClusterConfig.AddPeer should have comment or be unexported (golint)
    • Line 77: warning: exported method ClusterConfig.FindByBindAddress should have comment or be unexported (golint)
    • Line 96: warning: exported method ClusterConfig.Remove should have comment or be unexported (golint)
    • Line 114: warning: exported method ClusterConfig.LocalServer should have comment or be unexported (golint)
    • Line 135: warning: exported method ClusterConfig.Server should have comment or be unexported (golint)
    • AnnChain/gemmill/modules/go-clist/clist.go
    • Line 43: warning: comment on exported method CElement.NextWait should be of the form "NextWait ..." (golint)
    • Line 52: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 61: warning: comment on exported method CElement.PrevWait should be of the form "PrevWait ..." (golint)
    • Line 70: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 79: warning: comment on exported method CElement.Next should be of the form "Next ..." (golint)
    • Line 84: warning: comment on exported method CElement.Prev should be of the form "Prev ..." (golint)
    • Line 89: warning: exported method CElement.Removed should have comment or be unexported (golint)
    • Line 93: warning: exported method CElement.DetachNext should have comment or be unexported (golint)
    • Line 100: warning: exported method CElement.DetachPrev should have comment or be unexported (golint)
    • Line 156: warning: exported method CList.Init should have comment or be unexported (golint)
    • Line 166: warning: exported function New should have comment or be unexported (golint)
    • Line 168: warning: exported method CList.Len should have comment or be unexported (golint)
    • Line 174: warning: exported method CList.Front should have comment or be unexported (golint)
    • Line 180: warning: exported method CList.FrontWait should have comment or be unexported (golint)
    • Line 194: warning: exported method CList.Back should have comment or be unexported (golint)
    • Line 200: warning: exported method CList.BackWait should have comment or be unexported (golint)
    • Line 214: warning: exported method CList.PushBack should have comment or be unexported (golint)
    • Line 246: warning: comment on exported method CList.Remove should be of the form "Remove ..." (golint)
    • Line 295: warning: comment on exported method CList.AppendList should be of the form "AppendList ..." (golint)
    • Line 321: warning: exported method CList.Clear should have comment or be unexported (golint)
    • AnnChain/eth/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)
    • AnnChain/gemmill/p2p/switch.go
    • Line 32: warning: exported type Reactor should have comment or be unexported (golint)
    • Line 44: warning: exported type BaseReactor should have comment or be unexported (golint)
    • Line 49: warning: exported type IPeerErrorReporter should have comment or be unexported (golint)
    • Line 53: warning: exported function NewBaseReactor should have comment or be unexported (golint)
    • Line 60: warning: exported method BaseReactor.SetSwitch should have comment or be unexported (golint)
    • Line 63: warning: exported method BaseReactor.GetChannels should have comment or be unexported (golint)
    • Line 63: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 64: warning: exported method BaseReactor.AddPeer should have comment or be unexported (golint)
    • Line 64: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 65: warning: exported method BaseReactor.RemovePeer should have comment or be unexported (golint)
    • Line 65: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 66: warning: exported method BaseReactor.Receive should have comment or be unexported (golint)
    • Line 66: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 70: warning: comment on exported type Switch should be of the form "Switch ..." (with optional leading article) (golint)
    • Line 102: warning: exported var ErrSwitchDuplicatePeer should have comment or be unexported (golint)
    • Line 106: warning: exported function NewSwitch should have comment or be unexported (golint)
    • Line 122: warning: comment on exported method Switch.AddReactor should be of the form "AddReactor ..." (golint)
    • Line 140: warning: comment on exported method Switch.Reactors should be of the form "Reactors ..." (golint)
    • Line 145: warning: comment on exported method Switch.Reactor should be of the form "Reactor ..." (golint)
    • Line 150: warning: comment on exported method Switch.AddListener should be of the form "AddListener ..." (golint)
    • Line 155: warning: comment on exported method Switch.Listeners should be of the form "Listeners ..." (golint)
    • Line 160: warning: comment on exported method Switch.IsListening should be of the form "IsListening ..." (golint)
    • Line 165: warning: comment on exported method Switch.SetNodeInfo should be of the form "SetNodeInfo ..." (golint)
    • Line 170: warning: exported method Switch.SetExchangeData should have comment or be unexported (golint)
    • Line 174: warning: exported method Switch.GetExchangeData should have comment or be unexported (golint)
    • Line 181: warning: comment on exported method Switch.NodeInfo should be of the form "NodeInfo ..." (golint)
    • Line 186: warning: exported method Switch.NodePrivkey should have comment or be unexported (golint)
    • Line 190: warning: exported method Switch.SetRefuseListFilter should have comment or be unexported (golint)
    • Line 194: warning: comment on exported method Switch.SetNodePrivKey should be of the form "SetNodePrivKey ..." (golint)
    • Line 203: warning: comment on exported method Switch.OnStart should be of the form "OnStart ..." (golint)
    • Line 224: warning: exported method Switch.OnStop should have comment or be unexported (golint)
    • Line 242: warning: comment on exported method Switch.AddPeerWithConnection should be of the form "AddPeerWithConnection ..." (golint)
    • Line 330: warning: exported method Switch.FilterConnByAddr should have comment or be unexported (golint)
    • Line 337: warning: exported method Switch.FilterConnByRefuselist should have comment or be unexported (golint)
    • Line 344: warning: exported method Switch.FilterConnByPubKey should have comment or be unexported (golint)
    • Line 352: warning: exported method Switch.AuthByCA should have comment or be unexported (golint)
    • Line 359: warning: exported method Switch.SetDealExchangeDataFunc should have comment or be unexported (golint)
    • Line 363: warning: exported method Switch.DealExchangeData should have comment or be unexported (golint)
    • Line 370: warning: exported method Switch.SetAuthByCA should have comment or be unexported (golint)
    • Line 374: warning: exported method Switch.SetAddrFilter should have comment or be unexported (golint)
    • Line 378: warning: exported method Switch.SetPubKeyFilter should have comment or be unexported (golint)
    • Line 382: warning: exported method Switch.SetAddToRefuselist should have comment or be unexported (golint)
    • Line 386: warning: exported method Switch.AddToRefuselist should have comment or be unexported (golint)
    • Line 398: warning: comment on exported method Switch.DialSeeds should be of the form "DialSeeds ..." (golint)
    • Line 431: warning: exported method Switch.DialPeerWithAddress should have comment or be unexported (golint)
    • Line 454: warning: exported method Switch.IsDialing should have comment or be unexported (golint)
    • Line 474: warning: comment on exported method Switch.NumPeers should be of the form "NumPeers ..." (golint)
    • Line 488: warning: exported method Switch.Peers should have comment or be unexported (golint)
    • Line 492: warning: comment on exported method Switch.StopPeerForError should be of the form "StopPeerForError ..." (golint)
    • Line 501: warning: comment on exported method Switch.StopPeerGracefully should be of the form "StopPeerGracefully ..." (golint)
    • Line 557: warning: exported type SwitchEventNewPeer should have comment or be unexported (golint)
    • Line 561: warning: exported type SwitchEventDonePeer should have comment or be unexported (golint)
    • Line 569: warning: comment on exported function MakeConnectedSwitches should be of the form "MakeConnectedSwitches ..." (golint)
    • Line 592: warning: exported var PanicOnAddPeerErr should have comment or be unexported (golint)
    • Line 594: warning: comment on exported function Connect2Switches should be of the form "Connect2Switches ..." (golint)
    • Line 620: warning: exported function StartSwitches should have comment or be unexported (golint)
    • AnnChain/eth/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.GetWithPrefix should have comment or be unexported (golint)
    • Line 76: warning: exported method MemDatabase.Keys should have comment or be unexported (golint)
    • Line 87: warning: exported method MemDatabase.Delete should have comment or be unexported (golint)
    • Line 95: warning: exported method MemDatabase.Close should have comment or be unexported (golint)
    • Line 97: warning: exported method MemDatabase.NewBatch should have comment or be unexported (golint)
    • Line 101: warning: exported method MemDatabase.Len should have comment or be unexported (golint)
    • AnnChain/gemmill/types/kv.go
    • Line 8: warning: exported type ValueUpdateHistory should have comment or be unexported (golint)
    • Line 16: warning: exported type ValueHistoryResult should have comment or be unexported (golint)
    • Line 30: warning: exported type KeyValueHistory should have comment or be unexported (golint)
    • Line 42: warning: exported type KeyValueHistories should have comment or be unexported (golint)
    • AnnChain/gemmill/mempool/reactor.go
    • Line 33: warning: exported const MempoolChannel should have comment (or a comment on this block) or be unexported (golint)
    • Line 47: warning: exported function NewTxReactor should have comment or be unexported (golint)
    • Line 56: warning: comment on exported method MempoolReactor.GetChannels should be of the form "GetChannels ..." (golint)
    • Line 66: warning: comment on exported method MempoolReactor.AddPeer should be of the form "AddPeer ..." (golint)
    • Line 71: warning: comment on exported method MempoolReactor.RemovePeer should be of the form "RemovePeer ..." (golint)
    • Line 76: warning: comment on exported method MempoolReactor.Receive should be of the form "Receive ..." (golint)
    • Line 99: warning: exported type PeerState should have comment or be unexported (golint)
    • Line 103: warning: exported type Peer should have comment or be unexported (golint)
    • Line 151: warning: comment on exported method MempoolReactor.SetEventSwitch should be of the form "SetEventSwitch ..." (golint)
    • Line 163: warning: exported type MempoolMessage should have comment or be unexported (golint)
    • Line 170: warning: exported function DecodeMessage should have comment or be unexported (golint)
    • Line 180: warning: exported type TxMessage should have comment or be unexported (golint)
    • AnnChain/gemmill/utils/statistic.go
    • Line 70: warning: exported const EXECUTE_EVM_TX should have comment (or a comment on this block) or be unexported (golint)
    • Line 74: warning: exported const FLUSH_INTERVAL should have comment or be unexported (golint)
    • Line 77: warning: exported type StStatistic should have comment or be unexported (golint)
    • Line 90: warning: exported method StStatistic.Init should have comment or be unexported (golint)
    • Line 108: warning: exported method StStatistic.Add should have comment or be unexported (golint)
    • Line 115: warning: comment on exported method StStatistic.Begin should be of the form "Begin ..." (golint)
    • Line 143: warning: exported method StStatistic.End should have comment or be unexported (golint)
    • Line 171: warning: exported type CountTime should have comment or be unexported (golint)
    • Line 188: warning: should omit values from range; this loop is equivalent to `for range ...` (golint)
    • Line 197: warning: exported function CountSlc should have comment or be unexported (golint)
    • Line 216: warning: exported function StartStat should have comment or be unexported (golint)
    • AnnChain/gemmill/modules/go-autofile/autofile.go
    • Line 49: warning: comment on exported type AutoFile should be of the form "AutoFile ..." (with optional leading article) (golint)
    • Line 59: warning: exported function OpenAutoFile should have comment or be unexported (golint)
    • Line 73: warning: exported method AutoFile.Close should have comment or be unexported (golint)
    • Line 116: warning: exported method AutoFile.Sync should have comment or be unexported (golint)
    • Line 132: warning: exported method AutoFile.Size should have comment or be unexported (golint)
    • Line 141: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • AnnChain/eth/ethdb/database.go
    • Line 43: warning: exported var OpenFileLimit should have comment or be unexported (golint)
    • Line 45: warning: exported type KVResult should have comment or be unexported (golint)
    • Line 50: warning: exported function NewKVResult should have comment or be unexported (golint)
    • Line 59: warning: exported type LDBDatabase should have comment or be unexported (golint)
    • Line 121: warning: exported method LDBDatabase.Has should have comment or be unexported (golint)
    • Line 125: warning: exported method LDBDatabase.GetWithPrefix should have comment or be unexported (golint)
    • Line 166: warning: exported method LDBDatabase.NewIterator should have comment or be unexported (golint)
    • Line 175: warning: exported method LDBDatabase.Close should have comment or be unexported (golint)
    • Line 196: warning: exported method LDBDatabase.LDB should have comment or be unexported (golint)
    • Line 393: warning: exported method LDBDatabase.NewBatch should have comment or be unexported (golint)
    • AnnChain/gemmill/blockchain/pool.go
    • Line 37: warning: var peerTimeoutSeconds is of type time.Duration; don't use unit-specific suffix "Seconds" (golint)
    • Line 50: warning: exported type BlockPool should have comment or be unexported (golint)
    • Line 66: warning: exported function NewBlockPool should have comment or be unexported (golint)
    • Line 81: warning: exported method BlockPool.OnStart should have comment or be unexported (golint)
    • Line 88: warning: exported method BlockPool.OnStop should have comment or be unexported (golint)
    • Line 136: warning: exported method BlockPool.GetStatus should have comment or be unexported (golint)
    • Line 143: warning: comment on exported method BlockPool.IsCaughtUp should be of the form "IsCaughtUp ..." (golint)
    • Line 166: warning: comment on exported method BlockPool.PeekTwoBlocks should be of the form "PeekTwoBlocks ..." (golint)
    • Line 182: warning: comment on exported method BlockPool.PopRequest should be of the form "PopRequest ..." (golint)
    • Line 202: warning: comment on exported method BlockPool.RedoRequest should be of the form "RedoRequest ..." (golint)
    • Line 217: warning: comment on exported method BlockPool.AddBlock should be of the form "AddBlock ..." (golint)
    • Line 236: warning: comment on exported method BlockPool.SetPeerHeight should be of the form "SetPeerHeight ..." (golint)
    • Line 250: warning: exported method BlockPool.RemovePeer should have comment or be unexported (golint)
    • Line 524: warning: exported type BlockRequest should have comment or be unexported (golint)
    • AnnChain/gemmill/types/tx.go
    • Line 24: warning: exported type Tx should have comment or be unexported (golint)
    • Line 31: warning: comment on exported method Tx.Hash should be of the form "Hash ..." (golint)
    • Line 36: warning: exported type Txs should have comment or be unexported (golint)
    • Line 38: warning: exported method Txs.Hash should have comment or be unexported (golint)
    • Line 53: warning: exported method Tx.Size should have comment or be unexported (golint)
    • Line 57: warning: exported function WrapTx should have comment or be unexported (golint)
    • Line 61: warning: exported function UnwrapTx should have comment or be unexported (golint)
    • Line 68: warning: exported method Txs.ToBytes should have comment or be unexported (golint)
    • AnnChain/gemmill/go-wire/string.go
    • Line 21: warning: exported function WriteString should have comment or be unexported (golint)
    • Line 25: warning: exported function ReadString should have comment or be unexported (golint)
    • Line 29: warning: exported function PutString should have comment or be unexported (golint)
    • Line 33: warning: exported function GetString should have comment or be unexported (golint)
    • AnnChain/gemmill/modules/go-common/errors.go
    • Line 24: warning: exported type StackError should have comment or be unexported (golint)
    • Line 47: warning: comment on exported function PanicSanity should be of the form "PanicSanity ..." (golint)
    • Line 55: warning: comment on exported function PanicCrisis should be of the form "PanicCrisis ..." (golint)
    • Line 64: warning: comment on exported function PanicConsensus should be of the form "PanicConsensus ..." (golint)
    • Line 72: warning: comment on exported function PanicQ should be of the form "PanicQ ..." (golint)
    • AnnChain/eth/core/types/transaction.go
    • Line 35: warning: exported var ErrInvalidSig should have comment or be unexported (golint)
    • Line 38: warning: exported type Transaction should have comment or be unexported (golint)
    • Line 74: warning: exported function NewTransaction should have comment or be unexported (golint)
    • Line 78: warning: exported function NewContractCreation should have comment or be unexported (golint)
    • Line 175: warning: exported method Transaction.Data should have comment or be unexported (golint)
    • Line 176: warning: exported method Transaction.Gas should have comment or be unexported (golint)
    • Line 177: warning: exported method Transaction.GasPrice should have comment or be unexported (golint)
    • Line 178: warning: exported method Transaction.Value should have comment or be unexported (golint)
    • Line 179: warning: exported method Transaction.Nonce should have comment or be unexported (golint)
    • Line 180: warning: exported method Transaction.CheckNonce should have comment or be unexported (golint)
    • Line 255: warning: exported method Transaction.RawSignatureValues should have comment or be unexported (golint)
    • Line 309: warning: exported method TxByPrice.Push should have comment or be unexported (golint)
    • Line 313: warning: exported method TxByPrice.Pop should have comment or be unexported (golint)
    • Line 397: warning: exported function NewMessage should have comment or be unexported (golint)
    • Line 410: warning: exported method Message.From should have comment or be unexported (golint)
    • Line 411: warning: exported method Message.To should have comment or be unexported (golint)
    • Line 412: warning: exported method Message.GasPrice should have comment or be unexported (golint)
    • Line 413: warning: exported method Message.Value should have comment or be unexported (golint)
    • Line 414: warning: exported method Message.Gas should have comment or be unexported (golint)
    • Line 415: warning: exported method Message.Nonce should have comment or be unexported (golint)
    • Line 416: warning: exported method Message.Data should have comment or be unexported (golint)
    • Line 417: warning: exported method Message.CheckNonce should have comment or be unexported (golint)
    • AnnChain/eth/params/protocol_params.go
    • Line 22: warning: exported const GasLimitBoundDivisor should have comment (or a comment on this block) or be unexported (golint)
    • Line 91: warning: exported var DifficultyBoundDivisor should have comment or be unexported (golint)
    • AnnChain/gemmill/p2p/upnp/upnp.go
    • Line 15: warning: package comment should be of the form "Package upnp ..." (golint)
    • Line 42: warning: comment on exported type NAT should be of the form "NAT ..." (with optional leading article) (golint)
    • Line 49: warning: exported function Discover should have comment or be unexported (golint)
    • Line 124: warning: exported type Envelope should have comment or be unexported (golint)
    • Line 128: warning: exported type SoapBody should have comment or be unexported (golint)
    • Line 133: warning: exported type ExternalIPAddressResponse should have comment or be unexported (golint)
    • Line 138: warning: exported type ExternalIPAddress should have comment or be unexported (golint)
    • Line 143: warning: exported type UPNPService should have comment or be unexported (golint)
    • Line 148: warning: exported type DeviceList should have comment or be unexported (golint)
    • Line 152: warning: exported type ServiceList should have comment or be unexported (golint)
    • Line 156: warning: exported type Device should have comment or be unexported (golint)
    • Line 163: warning: exported type Root should have comment or be unexported (golint)
    • AnnChain/gemmill/types/vote.go
    • Line 28: warning: exported var ErrVoteUnexpectedStep should have comment or be unexported (golint)
    • Line 35: warning: exported type ErrVoteConflictingVotes should have comment or be unexported (golint)
    • Line 51: warning: exported function IsVoteTypeValid should have comment or be unexported (golint)
    • Line 51: warning: don't use underscores in Go names; func parameter type_ should be type (golint)
    • Line 62: warning: comment on exported type Vote should be of the form "Vote ..." (with optional leading article) (golint)
    • Line 73: warning: exported method Vote.WriteSignBytes should have comment or be unexported (golint)
    • Line 80: warning: exported method Vote.Copy should have comment or be unexported (golint)
    • AnnChain/eth/params/version.go
    • Line 24: warning: exported const VersionMajor should have comment (or a comment on this block) or be unexported (golint)
    • Line 58: warning: exported function VersionWithCommit should have comment or be unexported (golint)
    • AnnChain/gemmill/refuse_list/refuse_list.go
    • Line 15: warning: don't use an underscore in package name (golint)
    • Line 28: warning: exported type RefuseList should have comment or be unexported (golint)
    • Line 37: warning: exported function NewRefuseList should have comment or be unexported (golint)
    • Line 42: warning: exported method RefuseList.Stop should have comment or be unexported (golint)
    • Line 46: warning: exported method RefuseList.QueryRefuseKey should have comment or be unexported (golint)
    • Line 54: warning: exported method RefuseList.ListAllKey should have comment or be unexported (golint)
    • Line 64: warning: exported method RefuseList.AddRefuseKey should have comment or be unexported (golint)
    • Line 69: warning: exported method RefuseList.DeleteRefuseKey should have comment or be unexported (golint)
    • AnnChain/eth/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)
    • AnnChain/gemmill/types/canonical_json.go
    • Line 19: warning: exported type CanonicalJSONBlockID should have comment or be unexported (golint)
    • Line 24: warning: exported type CanonicalJSONPartSetHeader should have comment or be unexported (golint)
    • Line 29: warning: exported type CanonicalJSONProposal should have comment or be unexported (golint)
    • Line 37: warning: exported type CanonicalJSONVote should have comment or be unexported (golint)
    • Line 47: warning: exported type CanonicalJSONOnceProposal should have comment or be unexported (golint)
    • Line 52: warning: exported type CanonicalJSONOnceVote should have comment or be unexported (golint)
    • Line 60: warning: exported function CanonicalBlockID should have comment or be unexported (golint)
    • Line 67: warning: exported function CanonicalPartSetHeader should have comment or be unexported (golint)
    • Line 74: warning: exported function CanonicalProposal should have comment or be unexported (golint)
    • Line 84: warning: exported function CanonicalVote should have comment or be unexported (golint)
    • AnnChain/cmd/client/commons/constants.go
    • Line 28: warning: exported var ErrEmptyTemplateName should have comment or be unexported (golint)
    • Line 83: warning: comment on exported var ErrInsufficientRingSignMember should be of the form "ErrInsufficientRingSignMember ..." (golint)
    • AnnChain/gemmill/go-crypto/random.go
    • Line 35: warning: comment on exported function MixEntropy should be of the form "MixEntropy ..." (golint)
    • Line 51: warning: comment on exported function CRandBytes should be of the form "CRandBytes ..." (golint)
    • Line 61: warning: comment on exported function CRandHex should be of the form "CRandHex ..." (golint)
    • Line 66: warning: comment on exported function CReader should be of the form "CReader ..." (golint)
    • AnnChain/gemmill/modules/go-common/repeat_timer.go
    • Line 36: warning: exported function NewRepeatTimer should have comment or be unexported (golint)
    • Line 62: warning: comment on exported method RepeatTimer.Reset should be of the form "Reset ..." (golint)
    • Line 74: warning: comment on exported method RepeatTimer.Stop should be of the form "Stop ..." (golint)
    • AnnChain/gemmill/rpc/client/http_client.go
    • Line 67: warning: exported type Client should have comment or be unexported (golint)
    • Line 72: warning: comment on exported type ClientJSONRPC should be of the form "ClientJSONRPC ..." (with optional leading article) (golint)
    • Line 78: warning: exported function NewClientJSONRPC should have comment or be unexported (golint)
    • Line 86: warning: exported method ClientJSONRPC.Call should have comment or be unexported (golint)
    • Line 122: warning: comment on exported type ClientURI should be of the form "ClientURI ..." (with optional leading article) (golint)
    • Line 128: warning: exported function NewClientURI should have comment or be unexported (golint)
    • Line 136: warning: exported method ClientURI.Call should have comment or be unexported (golint)
    • Line 157: warning: comment on exported function ReadJSONObjectPtr should be of the form "ReadJSONObjectPtr ..." (golint)
    • Line 185: warning: don't use underscores in Go names; var typeByte_ should be typeByte (golint)
    • Line 205: warning: don't use underscores in Go names; var err_ should be err (golint)
    • Line 261: warning: don't use underscores in Go names; var err_ should be err (golint)
    • Line 299: warning: don't use underscores in Go names; var err_ should be err (golint)
    • Line 333: warning: don't use underscores in Go names; var err_ should be err (golint)
    • AnnChain/gemmill/types/result.go
    • Line 21: warning: comment on exported type Result should be of the form "Result ..." (with optional leading article) (golint)
    • Line 28: warning: exported type NewRoundResult should have comment or be unexported (golint)
    • Line 31: warning: exported type CommitResult should have comment or be unexported (golint)
    • Line 36: warning: exported type ExecuteInvalidTx should have comment or be unexported (golint)
    • Line 41: warning: exported type ExecuteResult should have comment or be unexported (golint)
    • Line 47: warning: exported function NewResult should have comment or be unexported (golint)
    • Line 55: warning: exported method Result.IsOK should have comment or be unexported (golint)
    • Line 59: warning: exported method Result.IsErr should have comment or be unexported (golint)
    • Line 71: warning: exported method Result.PrependLog should have comment or be unexported (golint)
    • Line 79: warning: exported method Result.AppendLog should have comment or be unexported (golint)
    • Line 87: warning: exported method Result.SetLog should have comment or be unexported (golint)
    • Line 95: warning: exported method Result.SetData should have comment or be unexported (golint)
    • Line 105: warning: comment on exported function NewResultOK should be of the form "NewResultOK ..." (golint)
    • Line 114: warning: exported function NewError should have comment or be unexported (golint)
    • AnnChain/gemmill/types/validator_set.go
    • Line 46: warning: exported function NewValidatorSet should have comment or be unexported (golint)
    • Line 62: warning: comment on exported method ValidatorSet.IncrementAccum should be of the form "IncrementAccum ..." (golint)
    • Line 82: warning: exported method ValidatorSet.Copy should have comment or be unexported (golint)
    • Line 95: warning: exported method ValidatorSet.HasAddress should have comment or be unexported (golint)
    • Line 102: warning: exported method ValidatorSet.GetByAddress should have comment or be unexported (golint)
    • Line 108: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 113: warning: exported method ValidatorSet.GetByIndex should have comment or be unexported (golint)
    • Line 118: warning: exported method ValidatorSet.Size should have comment or be unexported (golint)
    • Line 122: warning: exported method ValidatorSet.TotalVotingPower should have comment or be unexported (golint)
    • Line 131: warning: exported method ValidatorSet.Proposer should have comment or be unexported (golint)
    • Line 143: warning: exported method ValidatorSet.Hash should have comment or be unexported (golint)
    • Line 154: warning: exported method ValidatorSet.Add should have comment or be unexported (golint)
    • Line 180: warning: exported method ValidatorSet.Update should have comment or be unexported (golint)
    • Line 184: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 193: warning: exported method ValidatorSet.Remove should have comment or be unexported (golint)
    • Line 199: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 213: warning: exported method ValidatorSet.Iterate should have comment or be unexported (golint)
    • Line 222: warning: comment on exported method ValidatorSet.VerifyCommit should be of the form "VerifyCommit ..." (golint)
    • Line 263: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 273: warning: exported method ValidatorSet.StringIndented should have comment or be unexported (golint)
    • Line 297: warning: exported type ValidatorsByAddress should have comment or be unexported (golint)
    • Line 326: warning: comment on exported function RandValidatorSet should be of the form "RandValidatorSet ..." (golint)
    • AnnChain/gemmill/plugin/admin_op.go
    • Line 32: warning: exported type AdminApp should have comment or be unexported (golint)
    • Line 37: warning: exported type AdminOp should have comment or be unexported (golint)
    • Line 49: warning: exported method AdminOp.Init should have comment or be unexported (golint)
    • Line 61: warning: exported method AdminOp.Reload should have comment or be unexported (golint)
    • Line 69: warning: exported method AdminOp.Stop should have comment or be unexported (golint)
    • Line 73: warning: exported method AdminOp.CheckTx should have comment or be unexported (golint)
    • Line 84: warning: exported method AdminOp.DeliverTx should have comment or be unexported (golint)
    • Line 101: warning: exported method AdminOp.ExecTX should have comment or be unexported (golint)
    • Line 115: warning: exported method AdminOp.ExecBlock should have comment or be unexported (golint)
    • Line 126: warning: exported method AdminOp.BeginBlock should have comment or be unexported (golint)
    • Line 130: warning: exported method AdminOp.EndBlock should have comment or be unexported (golint)
    • Line 174: warning: exported method AdminOp.Reset should have comment or be unexported (golint)
    • Line 181: warning: comment on exported method AdminOp.ProcessAdminOP should be of the form "ProcessAdminOP ..." (golint)
    • Line 255: warning: exported method AdminOp.CheckMajor23 should have comment or be unexported (golint)
    • Line 275: warning: exported method AdminOp.ParseValidator should have comment or be unexported (golint)
    • Line 328: warning: exported method AdminOp.SetEventSwitch should have comment or be unexported (golint)
    • AnnChain/gemmill/modules/go-autofile/group.go
    • Line 70: warning: exported type Group should have comment or be unexported (golint)
    • Line 88: warning: exported function OpenGroup should have comment or be unexported (golint)
    • Line 115: warning: exported method Group.OnStart should have comment or be unexported (golint)
    • Line 121: warning: comment on exported method Group.OnStop should be of the form "OnStop ..." (golint)
    • Line 128: warning: exported method Group.SetHeadSizeLimit should have comment or be unexported (golint)
    • Line 134: warning: exported method Group.HeadSizeLimit should have comment or be unexported (golint)
    • Line 140: warning: exported method Group.SetTotalSizeLimit should have comment or be unexported (golint)
    • Line 146: warning: exported method Group.TotalSizeLimit should have comment or be unexported (golint)
    • Line 152: warning: exported method Group.MaxIndex should have comment or be unexported (golint)
    • Line 158: warning: comment on exported method Group.WriteLine should be of the form "WriteLine ..." (golint)
    • Line 168: warning: exported method Group.Flush should have comment or be unexported (golint)
    • Line 238: warning: exported method Group.RotateFile should have comment or be unexported (golint)
    • Line 270: warning: comment on exported method Group.NewReader should be of the form "NewReader ..." (golint)
    • Line 277: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 282: warning: comment on exported type SearchFunc should be of the form "SearchFunc ..." (with optional leading article) (golint)
    • Line 285: warning: comment on exported method Group.Search should be of the form "Search ..." (golint)
    • Line 311: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 349: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 403: warning: comment on exported method Group.FindLast should be of the form "FindLast ..." (golint)
    • Line 429: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 442: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 452: warning: exported type GroupInfo should have comment or be unexported (golint)
    • Line 459: warning: comment on exported method Group.ReadGroupInfo should be of the form "ReadGroupInfo ..." (golint)
    • Line 527: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 534: warning: exported type GroupReader should have comment or be unexported (golint)
    • Line 553: warning: exported method GroupReader.Close should have comment or be unexported (golint)
    • Line 564: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 569: warning: comment on exported method GroupReader.ReadLine should be of the form "ReadLine ..." (golint)
    • Line 602: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 643: warning: exported method GroupReader.PushLine should have comment or be unexported (golint)
    • Line 654: warning: comment on exported method GroupReader.CurIndex should be of the form "CurIndex ..." (golint)
    • Line 661: warning: exported method GroupReader.SetIndex should have comment or be unexported (golint)
    • Line 669: warning: comment on exported function MakeSimpleSearchFunc should be of the form "MakeSimpleSearchFunc ..." (golint)
    • AnnChain/gemmill/consensus/pbft/version.go
    • Line 21: warning: comment on exported var Spec should be of the form "Spec ..." (golint)
    • Line 23: warning: exported var Major should have comment or be unexported (golint)
    • Line 24: warning: exported var Minor should have comment or be unexported (golint)
    • Line 25: warning: exported var Revision should have comment or be unexported (golint)
    • Line 27: warning: exported var Version should have comment or be unexported (golint)
    • AnnChain/gemmill/p2p/peer_set.go
    • Line 45: warning: exported function NewPeerSet should have comment or be unexported (golint)
    • Line 64: warning: comment on exported method PeerSet.Add should be of the form "Add ..." (golint)
    • Line 81: warning: exported method PeerSet.Has should have comment or be unexported (golint)
    • Line 88: warning: exported method PeerSet.Get should have comment or be unexported (golint)
    • Line 98: warning: exported method PeerSet.Remove should have comment or be unexported (golint)
    • Line 129: warning: exported method PeerSet.Size should have comment or be unexported (golint)
    • Line 135: warning: comment on exported method PeerSet.List should be of the form "List ..." (golint)
    • AnnChain/gemmill/p2p/secret_connection.go
    • Line 15: warning: package comment should be of the form "Package p2p ..." (golint)
    • Line 50: warning: comment on exported type SecretConnection should be of the form "SecretConnection ..." (with optional leading article) (golint)
    • Line 60: warning: comment on exported function MakeSecretConnection should be of the form "MakeSecretConnection ..." (golint)
    • Line 119: warning: comment on exported method SecretConnection.RemotePubKey should be of the form "RemotePubKey ..." (golint)
    • Line 152: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 201: warning: comment on exported method SecretConnection.Close should be of the form "Close ..." (golint)
    • Line 203: warning: exported method SecretConnection.LocalAddr should have comment or be unexported (golint)
    • Line 204: warning: exported method SecretConnection.RemoteAddr should have comment or be unexported (golint)
    • Line 205: warning: exported method SecretConnection.SetDeadline should have comment or be unexported (golint)
    • Line 206: warning: exported method SecretConnection.SetReadDeadline should have comment or be unexported (golint)
    • Line 209: warning: exported method SecretConnection.SetWriteDeadline should have comment or be unexported (golint)
    • AnnChain/eth/common/prque/prque.go
    • Line 9: warning: comment on exported type Prque should be of the form "Prque ..." (with optional leading article) (golint)
    • Line 14: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 19: warning: comment on exported method Prque.Push should be of the form "Push ..." (golint)
    • Line 24: warning: comment on exported method Prque.Pop should be of the form "Pop ..." (golint)
    • Line 31: warning: comment on exported method Prque.PopItem should be of the form "PopItem ..." (golint)
    • Line 44: warning: comment on exported method Prque.Empty should be of the form "Empty ..." (golint)
    • Line 49: warning: comment on exported method Prque.Size should be of the form "Size ..." (golint)
    • Line 54: warning: comment on exported method Prque.Reset should be of the form "Reset ..." (golint)
    • AnnChain/eth/crypto/bn256/google/bn256.go
    • Line 168: warning: comment on exported function RandomG2 should be of the form "RandomG2 ..." (golint)
    • Line 226: warning: receiver name n should be consistent with previous receiver name e for G2 (golint)
    • Line 309: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 318: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 327: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • Line 336: warning: receiver name n should be consistent with previous receiver name g for GT (golint)
    • Line 374: warning: receiver name e should be consistent with previous receiver name g for GT (golint)
    • AnnChain/gemmill/modules/go-common/throttle_timer.go
    • Line 39: warning: exported function NewThrottleTimer should have comment or be unexported (golint)
    • Line 63: warning: exported method ThrottleTimer.Set should have comment or be unexported (golint)
    • Line 72: warning: exported method ThrottleTimer.Unset should have comment or be unexported (golint)
    • Line 79: warning: comment on exported method ThrottleTimer.Stop should be of the form "Stop ..." (golint)
    • AnnChain/gemmill/go-wire/byteslice.go
    • Line 23: warning: exported function WriteByteSlice should have comment or be unexported (golint)
    • Line 28: warning: exported function ReadByteSlice should have comment or be unexported (golint)
    • Line 47: warning: exported function PutByteSlice should have comment or be unexported (golint)
    • Line 61: warning: exported function GetByteSlice should have comment or be unexported (golint)
    • Line 79: warning: comment on exported function ByteSliceSize should be of the form "ByteSliceSize ..." (golint)
    • Line 86: warning: exported function WriteByteSlices should have comment or be unexported (golint)
    • Line 96: warning: exported function ReadByteSlices should have comment or be unexported (golint)
    • AnnChain/gemmill/modules/go-common/io.go
    • Line 23: warning: exported type PrefixedReader should have comment or be unexported (golint)
    • Line 28: warning: exported function NewPrefixedReader should have comment or be unexported (golint)
    • Line 37: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 42: warning: comment on exported type BufferCloser should be of the form "BufferCloser ..." (with optional leading article) (golint)
    • Line 48: warning: exported function NewBufferCloser should have comment or be unexported (golint)
    • Line 55: warning: exported method BufferCloser.Close should have comment or be unexported (golint)
    • Line 70: warning: exported method BufferCloser.WriteByte should have comment or be unexported (golint)
    • Line 77: warning: exported method BufferCloser.WriteRune should have comment or be unexported (golint)
    • Line 84: warning: exported method BufferCloser.WriteString should have comment or be unexported (golint)
    • AnnChain/chain/commands/global/global.go
    • Line 32: warning: exported const DefaultRuntimeDir should have comment (or a comment on this block) or be unexported (golint)
    • Line 39: warning: exported type GlobalFlags should have comment or be unexported (golint)
    • Line 52: warning: exported function GFlags should have comment or be unexported (golint)
    • Line 56: warning: exported function GConf should have comment or be unexported (golint)
    • Line 60: warning: exported type NoRuntimeError should have comment or be unexported (golint)
    • Line 70: warning: exported function ReadRuntime should have comment or be unexported (golint)
    • Line 81: warning: exported function CheckInitialized should have comment or be unexported (golint)
    • Line 88: warning: exported function ConfigIsInitialized should have comment or be unexported (golint)
    • Line 95: warning: exported function GenConf should have comment or be unexported (golint)
    • Line 101: warning: exported function CheckAndReadRuntimeConfig should have comment or be unexported (golint)
    • Line 125: warning: exported function CheckAppName should have comment or be unexported (golint)
    • Line 133: warning: exported function CheckCryptoType should have comment or be unexported (golint)
    • AnnChain/eth/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)
    • AnnChain/gemmill/modules/go-merkle/iavl_tree.go
    • Line 27: warning: comment on exported type IAVLTree should be of the form "IAVLTree ..." (with optional leading article) (golint)
    • Line 36: warning: exported function NewIAVLTree should have comment or be unexported (golint)
    • Line 40: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 49: warning: comment on exported method IAVLTree.Copy should be of the form "Copy ..." (golint)
    • Line 79: warning: exported method IAVLTree.Size should have comment or be unexported (golint)
    • Line 86: warning: exported method IAVLTree.Height should have comment or be unexported (golint)
    • Line 93: warning: exported method IAVLTree.Has should have comment or be unexported (golint)
    • Line 100: warning: exported method IAVLTree.Proof should have comment or be unexported (golint)
    • Line 109: warning: exported method IAVLTree.Set should have comment or be unexported (golint)
    • Line 118: warning: exported method IAVLTree.Hash should have comment or be unexported (golint)
    • Line 126: warning: exported method IAVLTree.HashWithCount should have comment or be unexported (golint)
    • Line 133: warning: exported method IAVLTree.Save should have comment or be unexported (golint)
    • Line 142: warning: comment on exported method IAVLTree.Load should be of the form "Load ..." (golint)
    • Line 152: warning: exported method IAVLTree.Get should have comment or be unexported (golint)
    • Line 159: warning: exported method IAVLTree.GetByIndex should have comment or be unexported (golint)
    • Line 166: warning: exported method IAVLTree.Remove should have comment or be unexported (golint)
    • Line 182: warning: exported method IAVLTree.Iterate should have comment or be unexported (golint)
    • Line 189: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 204: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 245: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 322: warning: should omit 2nd value from range; this loop is equivalent to `for orphanHashStr := range ...` (golint)
    • AnnChain/chain/types/version.go
    • Line 23: warning: exported const CommitPrefixLength should have comment or be unexported (golint)
    • Line 26: warning: exported var Version should have comment or be unexported (golint)
    • Line 30: warning: exported function GetVersion should have comment or be unexported (golint)
    • Line 38: warning: exported function GetCommitVersion should have comment or be unexported (golint)
    • Line 51: warning: don't use underscores in Go names; var app_name should be appName (golint)
    • Line 54: warning: exported function InitNodeInfo should have comment or be unexported (golint)
    • Line 65: warning: exported function AppName should have comment or be unexported (golint)
    • AnnChain/gemmill/modules/go-db/go_level_db.go
    • Line 36: warning: exported type GoLevelDB should have comment or be unexported (golint)
    • Line 40: warning: exported function NewGoLevelDB should have comment or be unexported (golint)
    • Line 50: warning: exported method GoLevelDB.Get should have comment or be unexported (golint)
    • Line 55: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 62: warning: exported method GoLevelDB.Set should have comment or be unexported (golint)
    • Line 69: warning: exported method GoLevelDB.SetSync should have comment or be unexported (golint)
    • Line 76: warning: exported method GoLevelDB.Delete should have comment or be unexported (golint)
    • Line 83: warning: exported method GoLevelDB.DeleteSync should have comment or be unexported (golint)
    • Line 90: warning: exported method GoLevelDB.DB should have comment or be unexported (golint)
    • Line 94: warning: exported method GoLevelDB.Close should have comment or be unexported (golint)
    • Line 98: warning: exported method GoLevelDB.Print should have comment or be unexported (golint)
    • Line 107: warning: exported method GoLevelDB.Iterator should have comment or be unexported (golint)
    • Line 111: warning: exported method GoLevelDB.NewBatch should have comment or be unexported (golint)
    • AnnChain/eth/core/events.go
    • Line 38: warning: exported type ChainEvent should have comment or be unexported (golint)
    • Line 44: warning: exported type ChainSideEvent should have comment or be unexported (golint)
    • Line 48: warning: exported type ChainHeadEvent should have comment or be unexported (golint)
    • AnnChain/eth/core/evm_config.go
    • Line 24: warning: exported var AdminTo should have comment or be unexported (golint)
    • Line 29: warning: exported const AdminMethod should have comment (or a comment on this block) or be unexported (golint)
    • Line 68: warning: exported function DefaultGenesis should have comment or be unexported (golint)
    • AnnChain/scripts/bench/main.go
    • Line 129: warning: don't use underscores in Go names; func basic_goroutine should be basicGoroutine (golint)
    • Line 400: warning: don't use underscores in Go names; func create_goroutine should be createGoroutine (golint)
    • Line 452: warning: don't use underscores in Go names; func read_goroutine should be readGoroutine (golint)
    • Line 503: warning: don't use underscores in Go names; func call_goroutine should be callGoroutine (golint)
    • AnnChain/gemmill/types/priv_validator_tool.go
    • Line 27: warning: exported var ErrFileNotFound should have comment or be unexported (golint)
    • Line 33: warning: exported const PRIV_FILE_NAME should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: exported type PrivValidatorTool should have comment or be unexported (golint)
    • Line 41: warning: exported method PrivValidatorTool.Init should have comment or be unexported (golint)
    • Line 57: warning: exported method PrivValidatorTool.BackupData should have comment or be unexported (golint)
    • Line 73: warning: exported method PrivValidatorTool.RevertFromBackup should have comment or be unexported (golint)
    • Line 86: warning: exported method PrivValidatorTool.DelBackup should have comment or be unexported (golint)
    • Line 90: warning: exported method PrivValidatorTool.SaveNewPrivV should have comment or be unexported (golint)
    • AnnChain/eth/core/state/dump.go
    • Line 28: warning: exported type DumpAccount should have comment or be unexported (golint)
    • Line 37: warning: exported type Dump should have comment or be unexported (golint)
    • Line 42: warning: exported method StateDB.RawDump should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 74: warning: exported method StateDB.Dump should have comment or be unexported (golint)
    • Line 74: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • AnnChain/chain/app/evm/kv.go
    • Line 17: warning: exported var KvHistoryPrefix should have comment or be unexported (golint)
    • Line 23: warning: exported const PageNumLen should have comment (or a comment on this block) or be unexported (golint)
    • Line 52: warning: exported type KeyValueHistoryManager should have comment or be unexported (golint)
    • Line 57: warning: exported method KeyValueHistoryManager.Close should have comment or be unexported (golint)
    • Line 61: warning: exported function NewKeyValueHistoryManager should have comment or be unexported (golint)
    • Line 66: warning: exported method KeyValueHistoryManager.SaveKeyHistory should have comment or be unexported (golint)
    • Line 75: warning: exported method KeyValueHistoryManager.NewBatch should have comment or be unexported (golint)
    • Line 84: warning: exported method KeyValueHistoryManager.GetKeyHistorySize should have comment or be unexported (golint)
    • Line 102: warning: exported method KeyValueHistoryManager.Get should have comment or be unexported (golint)
    • Line 123: warning: exported method KeyValueHistoryManager.Query should have comment or be unexported (golint)
    • AnnChain/gemmill/go-wire/reflect.go
    • Line 30: warning: exported type TypeInfo should have comment or be unexported (golint)
    • Line 43: warning: exported type Options should have comment or be unexported (golint)
    • Line 80: warning: exported type StructFieldInfo should have comment or be unexported (golint)
    • Line 90: warning: comment on exported function GetTypeFromStructDeclaration should be of the form "GetTypeFromStructDeclaration ..." (golint)
    • Line 112: warning: exported function GetTypeInfo should have comment or be unexported (golint)
    • Line 125: warning: comment on exported type ConcreteType should be of the form "ConcreteType ..." (with optional leading article) (golint)
    • Line 131: warning: comment on exported function RegisterInterface should be of the form "RegisterInterface ..." (golint)
    • Line 162: warning: exported function MakeTypeInfo should have comment or be unexported (golint)
    • Line 486: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 624: warning: don't use underscores in Go names; var typeByte_ should be typeByte (golint)
    • Line 647: warning: don't use underscores in Go names; var err_ should be err (golint)
    • Line 697: warning: don't use underscores in Go names; var err_ should be err (golint)
    • Line 734: warning: don't use underscores in Go names; var err_ should be err (golint)
    • Line 768: warning: don't use underscores in Go names; var err_ should be err (golint)
    • Line 968: warning: don't use underscores in Go names; var err_ should be err (golint)
    • Line 1007: warning: don't use underscores in Go names; var err_ should be err (golint)
    • Line 1019: warning: don't use underscores in Go names; var err_ should be err (golint)
    • Line 1039: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • AnnChain/eth/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)
    • AnnChain/eth/core/types/transaction_signing.go
    • Line 31: warning: exported var ErrInvalidChainId should have comment or be unexported (golint)
    • Line 113: warning: comment on exported type EIP155Signer should be of the form "EIP155Signer ..." (with optional leading article) (golint)
    • Line 118: warning: exported function NewEIP155Signer should have comment or be unexported (golint)
    • Line 128: warning: exported method EIP155Signer.Equal should have comment or be unexported (golint)
    • Line 135: warning: exported method EIP155Signer.Sender should have comment or be unexported (golint)
    • Line 175: warning: comment on exported type HomesteadSigner should be of the form "HomesteadSigner ..." (with optional leading article) (golint)
    • Line 179: warning: exported method HomesteadSigner.Equal should have comment or be unexported (golint)
    • Line 186: warning: receiver name hs should be consistent with previous receiver name s for HomesteadSigner (golint)
    • Line 190: warning: exported method HomesteadSigner.Sender should have comment or be unexported (golint)
    • Line 190: warning: receiver name hs should be consistent with previous receiver name s for HomesteadSigner (golint)
    • Line 194: warning: exported type FrontierSigner should have comment or be unexported (golint)
    • Line 196: warning: exported method FrontierSigner.Equal should have comment or be unexported (golint)
    • Line 203: warning: receiver name fs should be consistent with previous receiver name s for FrontierSigner (golint)
    • Line 215: warning: receiver name fs should be consistent with previous receiver name s for FrontierSigner (golint)
    • Line 226: warning: exported method FrontierSigner.Sender should have comment or be unexported (golint)
    • Line 226: warning: receiver name fs should be consistent with previous receiver name s for FrontierSigner (golint)
    • AnnChain/gemmill/modules/go-common/cmap.go
    • Line 25: warning: exported function NewCMap should have comment or be unexported (golint)
    • Line 31: warning: exported method CMap.Set should have comment or be unexported (golint)
    • Line 37: warning: exported method CMap.Get should have comment or be unexported (golint)
    • Line 43: warning: exported method CMap.Has should have comment or be unexported (golint)
    • Line 50: warning: exported method CMap.Delete should have comment or be unexported (golint)
    • Line 56: warning: exported method CMap.Size should have comment or be unexported (golint)
    • Line 62: warning: exported method CMap.Clear should have comment or be unexported (golint)
    • Line 68: warning: exported method CMap.Values should have comment or be unexported (golint)
    • AnnChain/eth/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)
    • AnnChain/gemmill/consensus/raft/fsm.go
    • Line 22: warning: exported type BlockChainFSM should have comment or be unexported (golint)
    • Line 45: warning: exported method BlockChainFSM.SetEventSwitch should have comment or be unexported (golint)
    • Line 49: warning: exported method BlockChainFSM.Apply should have comment or be unexported (golint)
    • Line 111: warning: exported method BlockChainFSM.Snapshot should have comment or be unexported (golint)
    • Line 119: warning: exported method BlockChainFSM.Restore should have comment or be unexported (golint)
    • Line 125: warning: exported method BlockChainFSM.AppliedCh should have comment or be unexported (golint)
    • AnnChain/gemmill/go-crypto/symmetric.go
    • Line 27: warning: comment on exported function EncryptSymmetric should be of the form "EncryptSymmetric ..." (golint)
    • Line 45: warning: comment on exported function DecryptSymmetric should be of the form "DecryptSymmetric ..." (golint)
    • AnnChain/eth/core/genesis.go
    • Line 68: warning: exported method GenesisAlloc.UnmarshalJSON should have comment or be unexported (golint)
    • Line 156: warning: exported function SetupGenesisBlockWithOverride should have comment or be unexported (golint)
    • AnnChain/gemmill/consensus/pbft/state.go
    • Line 54: warning: comment on exported method TimeoutParams.Propose should be of the form "Propose ..." (golint)
    • Line 59: warning: comment on exported method TimeoutParams.Prevote should be of the form "Prevote ..." (golint)
    • Line 64: warning: comment on exported method TimeoutParams.Precommit should be of the form "Precommit ..." (golint)
    • Line 69: warning: comment on exported method TimeoutParams.Commit should be of the form "Commit ..." (golint)
    • Line 92: warning: exported var ErrInvalidProposalSignature should have comment or be unexported (golint)
    • Line 101: warning: exported type RoundStepType should have comment or be unexported (golint)
    • Line 104: warning: exported const RoundStepNewHeight should have comment (or a comment on this block) or be unexported (golint)
    • Line 140: warning: comment on exported type RoundState should be of the form "RoundState ..." (with optional leading article) (golint)
    • Line 160: warning: exported method RoundState.RoundStateEvent should have comment or be unexported (golint)
    • Line 174: warning: exported method RoundState.StringIndented should have comment or be unexported (golint)
    • Line 202: warning: exported method RoundState.StringShort should have comment or be unexported (golint)
    • Line 235: warning: exported type PrivValidator should have comment or be unexported (golint)
    • Line 241: warning: comment on exported type ConsensusState should be of the form "ConsensusState ..." (with optional leading article) (golint)
    • Line 281: warning: exported function NewConsensusState should have comment or be unexported (golint)
    • Line 322: warning: comment on exported method ConsensusState.SetEventSwitch should be of the form "SetEventSwitch ..." (golint)
    • Line 327: warning: exported method ConsensusState.BindReactor should have comment or be unexported (golint)
    • Line 336: warning: exported method ConsensusState.GetState should have comment or be unexported (golint)
    • Line 342: warning: exported method ConsensusState.GetRoundState should have comment or be unexported (golint)
    • Line 353: warning: exported method ConsensusState.GetTotalVotingPower should have comment or be unexported (golint)
    • Line 359: warning: exported method ConsensusState.GetValidators should have comment or be unexported (golint)
    • Line 365: warning: comment on exported method ConsensusState.SetPrivValidator should be of the form "SetPrivValidator ..." (golint)
    • Line 372: warning: comment on exported method ConsensusState.SetTimeoutTicker should be of the form "SetTimeoutTicker ..." (golint)
    • Line 379: warning: exported method ConsensusState.SetOnUpdateStatus should have comment or be unexported (golint)
    • Line 383: warning: exported method ConsensusState.LoadCommit should have comment or be unexported (golint)
    • Line 392: warning: exported method ConsensusState.OnStart should have comment or be unexported (golint)
    • Line 442: warning: exported method ConsensusState.OnStop should have comment or be unexported (golint)
    • Line 453: warning: comment on exported method ConsensusState.Wait should be of the form "Wait ..." (golint)
    • Line 459: warning: comment on exported method ConsensusState.OpenWAL should be of the form "OpenWAL ..." (golint)
    • Line 476: warning: comment on exported method ConsensusState.AddVote should be of the form "AddVote ..." (golint)
    • Line 488: warning: comment on exported method ConsensusState.SetProposal should be of the form "SetProposal ..." (golint)
    • Line 501: warning: comment on exported method ConsensusState.AddProposalBlockPart should be of the form "AddProposalBlockPart ..." (golint)
    • Line 514: warning: comment on exported method ConsensusState.SetProposalAndBlock should be of the form "SetProposalAndBlock ..." (golint)
    • Line 935: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 1544: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 1553: warning: don't use underscores in Go names; method parameter type_ should be type (golint)
    • Line 1569: warning: don't use underscores in Go names; method parameter type_ should be type (golint)
    • Line 1579: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 1589: warning: exported function CompareHRS should have comment or be unexported (golint)
    • Line 1608: warning: exported method ConsensusState.ValidateBlock should have comment or be unexported (golint)
    • AnnChain/gemmill/modules/go-merkle/iavl_proof.go
    • Line 27: warning: exported type IAVLProof should have comment or be unexported (golint)
    • Line 33: warning: exported method IAVLProof.Key should have comment or be unexported (golint)
    • Line 37: warning: exported method IAVLProof.Value should have comment or be unexported (golint)
    • Line 41: warning: exported method IAVLProof.Root should have comment or be unexported (golint)
    • Line 45: warning: exported method IAVLProof.Valid should have comment or be unexported (golint)
    • Line 61: warning: exported type IAVLProofInnerNode should have comment or be unexported (golint)
    • Line 68: warning: exported method IAVLProofInnerNode.Hash should have comment or be unexported (golint)
    • Line 88: warning: exported type IAVLProofLeafNode should have comment or be unexported (golint)
    • Line 93: warning: exported method IAVLProofLeafNode.Hash should have comment or be unexported (golint)
    • Line 116: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 133: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 150: warning: comment on exported method IAVLTree.ConstructProof should be of the form "ConstructProof ..." (golint)
    • Line 162: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • AnnChain/gemmill/types/events.go
    • Line 27: warning: comment on exported function EventStringBond should be of the form "EventStringBond ..." (golint)
    • Line 29: warning: exported function EventStringUnbond should have comment or be unexported (golint)
    • Line 30: warning: exported function EventStringRebond should have comment or be unexported (golint)
    • Line 31: warning: exported function EventStringDupeout should have comment or be unexported (golint)
    • Line 32: warning: exported function EventStringFork should have comment or be unexported (golint)
    • Line 33: warning: exported function EventStringTx should have comment or be unexported (golint)
    • Line 35: warning: exported function EventStringNewBlock should have comment or be unexported (golint)
    • Line 36: warning: exported function EventStringNewBlockHeader should have comment or be unexported (golint)
    • Line 37: warning: exported function EventStringNewRound should have comment or be unexported (golint)
    • Line 38: warning: exported function EventStringNewRoundStep should have comment or be unexported (golint)
    • Line 39: warning: exported function EventStringTimeoutPropose should have comment or be unexported (golint)
    • Line 40: warning: exported function EventStringCompleteProposal should have comment or be unexported (golint)
    • Line 41: warning: exported function EventStringPolka should have comment or be unexported (golint)
    • Line 42: warning: exported function EventStringUnlock should have comment or be unexported (golint)
    • Line 43: warning: exported function EventStringLock should have comment or be unexported (golint)
    • Line 44: warning: exported function EventStringRelock should have comment or be unexported (golint)
    • Line 45: warning: exported function EventStringTimeoutWait should have comment or be unexported (golint)
    • Line 46: warning: exported function EventStringVote should have comment or be unexported (golint)
    • Line 48: warning: exported function EventStringSwitchToConsensus should have comment or be unexported (golint)
    • Line 50: warning: exported function EventStringHookPrevote should have comment or be unexported (golint)
    • Line 51: warning: exported function EventStringHookNewRound should have comment or be unexported (golint)
    • Line 52: warning: exported function EventStringHookPropose should have comment or be unexported (golint)
    • Line 53: warning: exported function EventStringHookCommit should have comment or be unexported (golint)
    • Line 54: warning: exported function EventStringHookPrecommit should have comment or be unexported (golint)
    • Line 55: warning: exported function EventStringHookExecute should have comment or be unexported (golint)
    • Line 59: warning: comment on exported type TMEventData should be of the form "TMEventData ..." (with optional leading article) (golint)
    • Line 66: warning: exported const EventDataTypeNewBlock should have comment (or a comment on this block) or be unexported (golint)
    • Line 106: warning: exported type EventDataNewBlock should have comment or be unexported (golint)
    • Line 110: warning: comment on exported type EventDataNewBlockHeader should be of the form "EventDataNewBlockHeader ..." (with optional leading article) (golint)
    • Line 115: warning: comment on exported type EventDataTx should be of the form "EventDataTx ..." (with optional leading article) (golint)
    • Line 124: warning: comment on exported type EventDataRoundState should be of the form "EventDataRoundState ..." (with optional leading article) (golint)
    • Line 134: warning: exported type EventDataVote should have comment or be unexported (golint)
    • Line 138: warning: exported type EventDataSwitchToConsensus should have comment or be unexported (golint)
    • Line 142: warning: exported type EventDataHookNewRound should have comment or be unexported (golint)
    • Line 147: warning: exported type EventDataHookPropose should have comment or be unexported (golint)
    • Line 152: warning: exported type EventDataHookPrevote should have comment or be unexported (golint)
    • Line 157: warning: exported type EventDataHookPrecommit should have comment or be unexported (golint)
    • Line 162: warning: exported type EventDataHookCommit should have comment or be unexported (golint)
    • Line 168: warning: exported type EventDataHookExecute should have comment or be unexported (golint)
    • Line 175: warning: exported function NewEventDataHookNewRound should have comment or be unexported (golint)
    • Line 183: warning: exported function NewEventDataHookExecute should have comment or be unexported (golint)
    • Line 192: warning: exported function NewEventDataHookCommit should have comment or be unexported (golint)
    • Line 201: warning: exported method EventDataNewBlock.AssertIsTMEventData should have comment or be unexported (golint)
    • Line 201: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 202: warning: exported method EventDataNewBlockHeader.AssertIsTMEventData should have comment or be unexported (golint)
    • Line 202: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 203: warning: exported method EventDataTx.AssertIsTMEventData should have comment or be unexported (golint)
    • Line 203: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 204: warning: exported method EventDataRoundState.AssertIsTMEventData should have comment or be unexported (golint)
    • Line 204: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 205: warning: exported method EventDataVote.AssertIsTMEventData should have comment or be unexported (golint)
    • Line 205: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 206: warning: exported method EventDataSwitchToConsensus.AssertIsTMEventData should have comment or be unexported (golint)
    • Line 206: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 208: warning: exported method EventDataHookNewRound.AssertIsTMEventData should have comment or be unexported (golint)
    • Line 208: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 209: warning: exported method EventDataHookPropose.AssertIsTMEventData should have comment or be unexported (golint)
    • Line 209: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 210: warning: exported method EventDataHookPrevote.AssertIsTMEventData should have comment or be unexported (golint)
    • Line 210: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 211: warning: exported method EventDataHookPrecommit.AssertIsTMEventData should have comment or be unexported (golint)
    • Line 211: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 212: warning: exported method EventDataHookCommit.AssertIsTMEventData should have comment or be unexported (golint)
    • Line 212: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 213: warning: exported method EventDataHookExecute.AssertIsTMEventData should have comment or be unexported (golint)
    • Line 213: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 218: warning: exported type Fireable should have comment or be unexported (golint)
    • Line 222: warning: exported type Eventable should have comment or be unexported (golint)
    • Line 226: warning: exported type EventSwitch should have comment or be unexported (golint)
    • Line 230: warning: exported type EventCache should have comment or be unexported (golint)
    • Line 235: warning: exported function NewEventSwitch should have comment or be unexported (golint)
    • Line 239: warning: exported function NewEventCache should have comment or be unexported (golint)
    • Line 250: warning: exported function AddListenerForEvent should have comment or be unexported (golint)
    • Line 259: warning: exported function FireEventNewBlock should have comment or be unexported (golint)
    • Line 263: warning: exported function FireEventNewBlockHeader should have comment or be unexported (golint)
    • Line 267: warning: exported function FireEventVote should have comment or be unexported (golint)
    • Line 271: warning: exported function FireEventTx should have comment or be unexported (golint)
    • Line 277: warning: exported function FireEventNewRoundStep should have comment or be unexported (golint)
    • Line 281: warning: exported function FireEventTimeoutPropose should have comment or be unexported (golint)
    • Line 285: warning: exported function FireEventTimeoutWait should have comment or be unexported (golint)
    • Line 289: warning: exported function FireEventNewRound should have comment or be unexported (golint)
    • Line 293: warning: exported function FireEventCompleteProposal should have comment or be unexported (golint)
    • Line 297: warning: exported function FireEventPolka should have comment or be unexported (golint)
    • Line 301: warning: exported function FireEventUnlock should have comment or be unexported (golint)
    • Line 305: warning: exported function FireEventRelock should have comment or be unexported (golint)
    • Line 309: warning: exported function FireEventLock should have comment or be unexported (golint)
    • Line 313: warning: exported function FireEventSwitchToConsensus should have comment or be unexported (golint)
    • Line 317: warning: exported function FireEventHookNewRound should have comment or be unexported (golint)
    • Line 320: warning: exported function FireEventHookPrevote should have comment or be unexported (golint)
    • Line 323: warning: exported function FireEventHookPropose should have comment or be unexported (golint)
    • Line 326: warning: exported function FireEventHookPrecommit should have comment or be unexported (golint)
    • Line 329: warning: exported function FireEventHookCommit should have comment or be unexported (golint)
    • Line 332: warning: exported function FireEventHookExecute should have comment or be unexported (golint)
    • AnnChain/eth/rlp/decode.go
    • Line 34: warning: error var EOL should have name of the form ErrFoo (golint)
    • Line 36: warning: comment on exported var ErrExpectedString should be of the form "ErrExpectedString ..." (golint)
    • Line 38: warning: exported var ErrExpectedList should have comment or be unexported (golint)
    • Line 556: warning: exported const Byte should have comment (or a comment on this block) or be unexported (golint)
    • AnnChain/gemmill/consensus/pbft/height_vote_set.go
    • Line 25: warning: exported type RoundVoteSet should have comment or be unexported (golint)
    • Line 30: warning: comment on exported type HeightVoteSet should be of the form "HeightVoteSet ..." (with optional leading article) (golint)
    • Line 55: warning: exported function NewHeightVoteSet should have comment or be unexported (golint)
    • Line 63: warning: exported method HeightVoteSet.Reset should have comment or be unexported (golint)
    • Line 76: warning: exported method HeightVoteSet.Height should have comment or be unexported (golint)
    • Line 82: warning: exported method HeightVoteSet.Round should have comment or be unexported (golint)
    • Line 88: warning: comment on exported method HeightVoteSet.SetRound should be of the form "SetRound ..." (golint)
    • Line 116: warning: comment on exported method HeightVoteSet.AddVote should be of the form "AddVote ..." (golint)
    • Line 142: warning: exported method HeightVoteSet.Prevotes should have comment or be unexported (golint)
    • Line 148: warning: exported method HeightVoteSet.Precommits should have comment or be unexported (golint)
    • Line 154: warning: comment on exported method HeightVoteSet.POLInfo should be of the form "POLInfo ..." (golint)
    • Line 169: warning: don't use underscores in Go names; method parameter type_ should be type (golint)
    • Line 189: warning: exported method HeightVoteSet.StringIndented should have comment or be unexported (golint)
    • Line 218: warning: comment on exported method HeightVoteSet.SetPeerMaj23 should be of the form "SetPeerMaj23 ..." (golint)
    • Line 222: warning: don't use underscores in Go names; method parameter type_ should be type (golint)
    • AnnChain/gemmill/p2p/fuzz.go
    • Line 32: warning: exported const FuzzModeDrop should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: exported function FuzzConn should have comment or be unexported (golint)
    • Line 44: warning: exported type FuzzedConnection should have comment or be unexported (golint)
    • Line 59: warning: exported method FuzzedConnection.Active should have comment or be unexported (golint)
    • Line 63: warning: exported method FuzzedConnection.Mode should have comment or be unexported (golint)
    • Line 67: warning: exported method FuzzedConnection.ProbDropRW should have comment or be unexported (golint)
    • Line 71: warning: exported method FuzzedConnection.ProbDropConn should have comment or be unexported (golint)
    • Line 75: warning: exported method FuzzedConnection.ProbSleep should have comment or be unexported (golint)
    • Line 79: warning: exported method FuzzedConnection.MaxDelayMilliseconds should have comment or be unexported (golint)
    • Line 83: warning: comment on exported method FuzzedConnection.Fuzz should be of the form "Fuzz ..." (golint)
    • Line 145: warning: comment on exported method FuzzedConnection.Close should be of the form "Close ..." (golint)
    • Line 147: warning: exported method FuzzedConnection.LocalAddr should have comment or be unexported (golint)
    • Line 148: warning: exported method FuzzedConnection.RemoteAddr should have comment or be unexported (golint)
    • Line 149: warning: exported method FuzzedConnection.SetDeadline should have comment or be unexported (golint)
    • Line 150: warning: exported method FuzzedConnection.SetReadDeadline should have comment or be unexported (golint)
    • Line 153: warning: exported method FuzzedConnection.SetWriteDeadline should have comment or be unexported (golint)
    • AnnChain/gemmill/mempool/mempool.go
    • Line 34: warning: exported var ErrTxInCache should have comment or be unexported (golint)
    • Line 37: warning: exported type Mempool should have comment or be unexported (golint)
    • Line 54: warning: exported function NewMempool should have comment or be unexported (golint)
    • Line 67: warning: exported method Mempool.GetPendingMaxNonce should have comment or be unexported (golint)
    • Line 71: warning: exported method Mempool.RegisterFilter should have comment or be unexported (golint)
    • Line 75: warning: comment on exported method Mempool.Lock should be of the form "Lock ..." (golint)
    • Line 80: warning: exported method Mempool.Unlock should have comment or be unexported (golint)
    • Line 84: warning: comment on exported method Mempool.Size should be of the form "Size ..." (golint)
    • Line 89: warning: comment on exported method Mempool.Flush should be of the form "Flush ..." (golint)
    • Line 100: warning: comment on exported method Mempool.TxsFrontWait should be of the form "TxsFrontWait ..." (golint)
    • Line 106: warning: comment on exported method Mempool.ReceiveTx should be of the form "ReceiveTx ..." (golint)
    • Line 143: warning: comment on exported method Mempool.Reap should be of the form "Reap ..." (golint)
    • Line 152: warning: comment on exported method Mempool.Update should be of the form "Update ..." (golint)
    • AnnChain/gemmill/modules/go-common/random.go
    • Line 37: warning: comment on exported function RandStr should be of the form "RandStr ..." (golint)
    • Line 61: warning: exported function RandUint16 should have comment or be unexported (golint)
    • Line 65: warning: exported function RandUint32 should have comment or be unexported (golint)
    • Line 69: warning: exported function RandUint64 should have comment or be unexported (golint)
    • Line 73: warning: exported function RandUint should have comment or be unexported (golint)
    • Line 77: warning: exported function RandInt16 should have comment or be unexported (golint)
    • Line 81: warning: exported function RandInt32 should have comment or be unexported (golint)
    • Line 85: warning: exported function RandInt64 should have comment or be unexported (golint)
    • Line 89: warning: exported function RandInt should have comment or be unexported (golint)
    • Line 93: warning: comment on exported function RandUint16Exp should be of the form "RandUint16Exp ..." (golint)
    • Line 104: warning: comment on exported function RandUint32Exp should be of the form "RandUint32Exp ..." (golint)
    • Line 115: warning: comment on exported function RandUint64Exp should be of the form "RandUint64Exp ..." (golint)
    • Line 126: warning: exported function RandFloat32 should have comment or be unexported (golint)
    • Line 130: warning: exported function RandTime should have comment or be unexported (golint)
    • Line 134: warning: exported function RandBytes should have comment or be unexported (golint)
    • AnnChain/gemmill/trace/reactor.go
    • Line 42: warning: exported type Reactor should have comment or be unexported (golint)
    • Line 64: warning: exported function NewTraceReactor should have comment or be unexported (golint)
    • Line 75: warning: exported method Reactor.OnStart should have comment or be unexported (golint)
    • Line 79: warning: exported method Reactor.OnStop should have comment or be unexported (golint)
    • Line 147: warning: exported method Reactor.SetEventSwitch should have comment or be unexported (golint)
    • Line 156: warning: exported function DecodeMessage should have comment or be unexported (golint)
    • Line 164: warning: exported function HashMessage should have comment or be unexported (golint)
    • Line 168: warning: comment on exported type Message should be of the form "Message ..." (with optional leading article) (golint)
    • AnnChain/eth/metrics/registry.go
    • Line 53: warning: comment on exported type StandardRegistry should be of the form "StandardRegistry ..." (with optional leading article) (golint)
    • Line 60: warning: comment on exported function NewRegistry should be of the form "NewRegistry ..." (golint)
    • Line 65: warning: comment on exported method StandardRegistry.Each should be of the form "Each ..." (golint)
    • Line 79: warning: comment on exported method StandardRegistry.GetOrRegister should be of the form "GetOrRegister ..." (golint)
    • Line 104: warning: comment on exported method StandardRegistry.RunHealthchecks should be of the form "RunHealthchecks ..." (golint)
    • Line 184: warning: comment on exported method StandardRegistry.UnregisterAll should be of the form "UnregisterAll ..." (golint)
    • Line 228: warning: exported type PrefixedRegistry should have comment or be unexported (golint)
    • Line 233: warning: exported function NewPrefixedRegistry should have comment or be unexported (golint)
    • Line 240: warning: exported function NewPrefixedChildRegistry should have comment or be unexported (golint)
    • Line 247: warning: comment on exported method PrefixedRegistry.Each should be of the form "Each ..." (golint)
    • Line 279: warning: comment on exported method PrefixedRegistry.GetOrRegister should be of the form "GetOrRegister ..." (golint)
    • Line 293: warning: comment on exported method PrefixedRegistry.RunHealthchecks should be of the form "RunHealthchecks ..." (golint)
    • Line 309: warning: comment on exported method PrefixedRegistry.UnregisterAll should be of the form "UnregisterAll ..." (golint)
    • Line 315: warning: exported var DefaultRegistry should have comment or be unexported (golint)
    • Line 319: warning: comment on exported function Each should be of the form "Each ..." (golint)
    • Line 329: warning: comment on exported function GetOrRegister should be of the form "GetOrRegister ..." (golint)
    • Line 341: warning: comment on exported function MustRegister should be of the form "MustRegister ..." (golint)
    • Line 349: warning: comment on exported function RunHealthchecks should be of the form "RunHealthchecks ..." (golint)
    • AnnChain/gemmill/config/mapconfig.go
    • Line 26: warning: exported type Config should have comment or be unexported (golint)
    • Line 42: warning: exported type MapConfig should have comment or be unexported (golint)
    • Line 48: warning: exported function ReadMapConfigFromFile should have comment or be unexported (golint)
    • Line 58: warning: exported function NewMapConfig should have comment or be unexported (golint)
    • Line 68: warning: exported method MapConfig.Get should have comment or be unexported (golint)
    • Line 87: warning: exported method MapConfig.GetBool should have comment or be unexported (golint)
    • Line 88: warning: exported method MapConfig.GetFloat64 should have comment or be unexported (golint)
    • Line 89: warning: exported method MapConfig.GetInt should have comment or be unexported (golint)
    • Line 99: warning: exported method MapConfig.GetString should have comment or be unexported (golint)
    • Line 100: warning: exported method MapConfig.GetMap should have comment or be unexported (golint)
    • Line 103: warning: exported method MapConfig.GetMapString should have comment or be unexported (golint)
    • Line 106: warning: exported method MapConfig.GetConfig should have comment or be unexported (golint)
    • Line 113: warning: exported method MapConfig.GetStringSlice should have comment or be unexported (golint)
    • Line 114: warning: exported method MapConfig.GetTime should have comment or be unexported (golint)
    • Line 115: warning: exported method MapConfig.IsSet should have comment or be unexported (golint)
    • Line 121: warning: exported method MapConfig.Set should have comment or be unexported (golint)
    • Line 143: warning: exported method MapConfig.SetDefault should have comment or be unexported (golint)
    • Line 157: warning: exported method MapConfig.SetRequired should have comment or be unexported (golint)
    • AnnChain/gemmill/rpc/types/types.go
    • Line 31: warning: exported type RPCRequest should have comment or be unexported (golint)
    • Line 38: warning: exported function NewRPCRequest should have comment or be unexported (golint)
    • Line 49: warning: exported type Result should have comment or be unexported (golint)
    • Line 54: warning: exported type RPCResponse should have comment or be unexported (golint)
    • Line 61: warning: exported type Options should have comment or be unexported (golint)
    • Line 72: warning: exported type TypeInfo should have comment or be unexported (golint)
    • Line 84: warning: exported type StructFieldInfo should have comment or be unexported (golint)
    • Line 90: warning: exported method StructFieldInfo.Unpack should have comment or be unexported (golint)
    • Line 95: warning: exported var TimeType should have comment or be unexported (golint)
    • Line 99: warning: exported const Iso8601 should have comment (or a comment on this block) or be unexported (golint)
    • Line 102: warning: exported function GetTypeFromStructDeclaration should have comment or be unexported (golint)
    • Line 106: warning: exported function JsonBytes should have comment or be unexported (golint)
    • Line 122: warning: exported function MakeTypeInfo should have comment or be unexported (golint)
    • Line 187: warning: exported function GetTypeInfo should have comment or be unexported (golint)
    • Line 199: warning: exported function WriteTo should have comment or be unexported (golint)
    • Line 200: warning: don't use underscores in Go names; var err_ should be err (golint)
    • Line 213: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 372: warning: don't use underscores in Go names; var err_ should be err (golint)
    • Line 423: warning: don't use underscores in Go names; var err_ should be err (golint)
    • Line 435: warning: don't use underscores in Go names; var err_ should be err (golint)
    • Line 448: warning: exported function NewRPCResponse should have comment or be unexported (golint)
    • Line 470: warning: comment on exported type WSRPCConnection should be of the form "WSRPCConnection ..." (with optional leading article) (golint)
    • Line 478: warning: comment on exported type WSRPCContext should be of the form "WSRPCContext ..." (with optional leading article) (golint)
    • Line 484: warning: comment on exported function SocketType should be of the form "SocketType ..." (golint)
    • AnnChain/gemmill/types/part_set.go
    • Line 31: warning: exported var ErrPartSetUnexpectedIndex should have comment or be unexported (golint)
    • Line 35: warning: exported type Part should have comment or be unexported (golint)
    • Line 44: warning: exported method Part.Hash should have comment or be unexported (golint)
    • Line 47: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 57: warning: exported method Part.StringIndented should have comment or be unexported (golint)
    • Line 70: warning: exported type PartSetHeader should have comment or be unexported (golint)
    • Line 79: warning: exported method PartSetHeader.IsZero should have comment or be unexported (golint)
    • Line 83: warning: exported method PartSetHeader.Equals should have comment or be unexported (golint)
    • Line 87: warning: exported method PartSetHeader.WriteSignBytes should have comment or be unexported (golint)
    • Line 93: warning: exported type PartSet should have comment or be unexported (golint)
    • Line 103: warning: comment on exported function NewPartSetFromData should be of the form "NewPartSetFromData ..." (golint)
    • Line 109: warning: don't use underscores in Go names; var parts_ should be parts (golint)
    • Line 134: warning: comment on exported function NewPartSetFromHeader should be of the form "NewPartSetFromHeader ..." (golint)
    • Line 145: warning: exported method PartSet.Header should have comment or be unexported (golint)
    • Line 148: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 156: warning: exported method PartSet.HasHeader should have comment or be unexported (golint)
    • Line 159: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 164: warning: exported method PartSet.BitArray should have comment or be unexported (golint)
    • Line 170: warning: exported method PartSet.Hash should have comment or be unexported (golint)
    • Line 177: warning: exported method PartSet.HashesTo should have comment or be unexported (golint)
    • Line 184: warning: exported method PartSet.Count should have comment or be unexported (golint)
    • Line 191: warning: exported method PartSet.Total should have comment or be unexported (golint)
    • Line 198: warning: exported method PartSet.AddPart should have comment or be unexported (golint)
    • Line 226: warning: exported method PartSet.GetPart should have comment or be unexported (golint)
    • Line 232: warning: exported method PartSet.IsComplete should have comment or be unexported (golint)
    • Line 236: warning: exported method PartSet.GetReader should have comment or be unexported (golint)
    • Line 243: warning: exported type PartSetReader should have comment or be unexported (golint)
    • Line 249: warning: exported function NewPartSetReader should have comment or be unexported (golint)
    • Line 278: warning: exported method PartSet.StringShort should have comment or be unexported (golint)
    • Line 281: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • AnnChain/gemmill/types/vote_set.go
    • Line 26: warning: comment on exported type VoteSet should be of the form "VoteSet ..." (with optional leading article) (golint)
    • Line 64: warning: don't use underscores in Go names; struct field type_ should be type (golint)
    • Line 76: warning: comment on exported function NewVoteSet should be of the form "NewVoteSet ..." (golint)
    • Line 77: warning: don't use underscores in Go names; func parameter type_ should be type (golint)
    • Line 96: warning: exported method VoteSet.ChainID should have comment or be unexported (golint)
    • Line 100: warning: exported method VoteSet.Height should have comment or be unexported (golint)
    • Line 103: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 108: warning: exported method VoteSet.Round should have comment or be unexported (golint)
    • Line 111: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 116: warning: exported method VoteSet.Type should have comment or be unexported (golint)
    • Line 119: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 124: warning: exported method VoteSet.Size should have comment or be unexported (golint)
    • Line 127: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 132: warning: comment on exported method VoteSet.AddVote should be of the form "AddVote ..." (golint)
    • Line 185: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 203: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 261: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 295: warning: comment on exported method VoteSet.SetPeerMaj23 should be of the form "SetPeerMaj23 ..." (golint)
    • Line 313: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 324: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 335: warning: exported method VoteSet.BitArray should have comment or be unexported (golint)
    • Line 344: warning: exported method VoteSet.BitArrayByBlockID should have comment or be unexported (golint)
    • Line 357: warning: comment on exported method VoteSet.GetByIndex should be of the form "GetByIndex ..." (golint)
    • Line 367: warning: exported method VoteSet.GetByAddress should have comment or be unexported (golint)
    • Line 380: warning: exported method VoteSet.HasTwoThirdsMajority should have comment or be unexported (golint)
    • Line 389: warning: exported method VoteSet.IsCommit should have comment or be unexported (golint)
    • Line 401: warning: exported method VoteSet.HasTwoThirdsAny should have comment or be unexported (golint)
    • Line 410: warning: exported method VoteSet.HasAll should have comment or be unexported (golint)
    • Line 414: warning: comment on exported method VoteSet.TwoThirdsMajority should be of the form "TwoThirdsMajority ..." (golint)
    • Line 424: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 436: warning: exported method VoteSet.StringIndented should have comment or be unexported (golint)
    • Line 458: warning: exported method VoteSet.StringShort should have comment or be unexported (golint)
    • Line 471: warning: exported method VoteSet.MakeCommit should have comment or be unexported (golint)
    • Line 534: warning: comment on exported type VoteSetReader should be of the form "VoteSetReader ..." (with optional leading article) (golint)
    • AnnChain/gemmill/go-wire/wire.go
    • Line 27: warning: exported var ErrBinaryReadOverflow should have comment or be unexported (golint)
    • Line 28: warning: exported var ErrBinaryReadInvalidLength should have comment or be unexported (golint)
    • Line 29: warning: exported var ErrBinaryWriteOverflow should have comment or be unexported (golint)
    • Line 32: warning: exported const ReadSliceChunkSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported function ReadBinary should have comment or be unexported (golint)
    • Line 59: warning: exported function ReadBinaryPtr should have comment or be unexported (golint)
    • Line 73: warning: exported function ReadBinaryPtrLengthPrefixed should have comment or be unexported (golint)
    • Line 84: warning: exported function WriteBinary should have comment or be unexported (golint)
    • Line 90: warning: exported function WriteBinaryLengthPrefixed should have comment or be unexported (golint)
    • Line 98: warning: exported function ReadJSON should have comment or be unexported (golint)
    • Line 108: warning: exported function ReadJSONPtr should have comment or be unexported (golint)
    • Line 118: warning: comment on exported function ReadJSONObject should be of the form "ReadJSONObject ..." (golint)
    • Line 128: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 139: warning: exported function ReadJSONObjectPtr should have comment or be unexported (golint)
    • Line 149: warning: exported function WriteJSON should have comment or be unexported (golint)
    • Line 158: warning: comment on exported function WriteTo should be of the form "WriteTo ..." (golint)
    • Line 164: warning: don't use underscores in Go names; var err_ should be err (golint)
    • Line 169: warning: comment on exported function ReadFull should be of the form "ReadFull ..." (golint)
    • Line 175: warning: don't use underscores in Go names; var err_ should be err (golint)
    • AnnChain/gemmill/modules/go-common/bit_array.go
    • Line 25: warning: exported type BitArray should have comment or be unexported (golint)
    • Line 31: warning: comment on exported function NewBitArray should be of the form "NewBitArray ..." (golint)
    • Line 42: warning: exported method BitArray.Size should have comment or be unexported (golint)
    • Line 49: warning: comment on exported method BitArray.GetIndex should be of the form "GetIndex ..." (golint)
    • Line 66: warning: comment on exported method BitArray.SetIndex should be of the form "SetIndex ..." (golint)
    • Line 88: warning: exported method BitArray.Copy should have comment or be unexported (golint)
    • Line 115: warning: comment on exported method BitArray.Or should be of the form "Or ..." (golint)
    • Line 129: warning: comment on exported method BitArray.And should be of the form "And ..." (golint)
    • Line 147: warning: exported method BitArray.Not should have comment or be unexported (golint)
    • Line 160: warning: exported method BitArray.Sub should have comment or be unexported (golint)
    • Line 179: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 184: warning: exported method BitArray.IsEmpty should have comment or be unexported (golint)
    • Line 198: warning: exported method BitArray.IsFull should have comment or be unexported (golint)
    • Line 218: warning: exported method BitArray.PickRandom should have comment or be unexported (golint)
    • Line 270: warning: exported method BitArray.StringIndented should have comment or be unexported (golint)
    • Line 306: warning: exported method BitArray.Bytes should have comment or be unexported (golint)
    • Line 320: warning: comment on exported method BitArray.Update should be of the form "Update ..." (golint)
    • AnnChain/eth/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)
    • AnnChain/eth/core/state/state_object.go
    • Line 32: warning: exported type Code should have comment or be unexported (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 38: warning: exported type Storage should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 48: warning: exported method Storage.Copy should have comment or be unexported (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 124: warning: receiver name c should be consistent with previous receiver name s for stateObject (golint)
    • Line 129: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 135: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 139: warning: receiver name c should be consistent with previous receiver name s for stateObject (golint)
    • Line 150: warning: receiver name c should be consistent with previous receiver name s for stateObject (golint)
    • Line 163: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 174: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 198: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 213: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 218: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 241: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 248: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 262: warning: receiver name c should be consistent with previous receiver name s for stateObject (golint)
    • Line 277: warning: receiver name c should be consistent with previous receiver name s for stateObject (golint)
    • Line 284: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 292: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 297: warning: receiver name c should be consistent with previous receiver name s for stateObject (golint)
    • Line 299: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 318: warning: receiver name c should be consistent with previous receiver name s for stateObject (golint)
    • Line 323: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 338: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 348: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 354: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 362: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 366: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 370: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 374: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 381: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • AnnChain/gemmill/modules/go-common/heap.go
    • Line 21: warning: exported type Comparable should have comment or be unexported (golint)
    • Line 40: warning: exported type Heap should have comment or be unexported (golint)
    • Line 44: warning: exported function NewHeap should have comment or be unexported (golint)
    • Line 48: warning: exported method Heap.Len should have comment or be unexported (golint)
    • Line 52: warning: exported method Heap.Push should have comment or be unexported (golint)
    • Line 56: warning: exported method Heap.Peek should have comment or be unexported (golint)
    • Line 63: warning: exported method Heap.Update should have comment or be unexported (golint)
    • Line 67: warning: exported method Heap.Pop should have comment or be unexported (golint)
    • AnnChain/utils/request_id.go
    • Line 12: warning: exported var RequestIdHeader should have comment or be unexported (golint)
    • Line 15: warning: exported type TraceID should have comment or be unexported (golint)
    • Line 19: warning: exported function NewTraceId should have comment or be unexported (golint)
    • Line 32: warning: receiver name t should be consistent with previous receiver name id for TraceID (golint)
    • Line 88: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • AnnChain/chain/commands/others.go
    • Line 27: warning: exported function NewShowCommand should have comment or be unexported (golint)
    • Line 42: warning: exported function ShowPubkey should have comment or be unexported (golint)
    • Line 67: warning: exported function NewVersionCommand should have comment or be unexported (golint)
    • Line 80: warning: exported function NewResetCommand should have comment or be unexported (golint)
    • AnnChain/gemmill/go-crypto/signature.go
    • Line 27: warning: exported const SignKeyLenEd25519 should have comment (or a comment on this block) or be unexported (golint)
    • Line 52: warning: exported function SignatureFromBytes should have comment or be unexported (golint)
    • Line 59: warning: comment on exported type SignatureEd25519 should be of the form "SignatureEd25519 ..." (with optional leading article) (golint)
    • Line 62: warning: exported method SignatureEd25519.Bytes should have comment or be unexported (golint)
    • Line 66: warning: exported method SignatureEd25519.IsZero should have comment or be unexported (golint)
    • Line 70: warning: exported method SignatureEd25519.Equals should have comment or be unexported (golint)
    • Line 73: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 78: warning: exported method SignatureEd25519.KeyString should have comment or be unexported (golint)
    • Line 84: warning: comment on exported type SignatureSecp256k1 should be of the form "SignatureSecp256k1 ..." (with optional leading article) (golint)
    • Line 87: warning: exported method SignatureSecp256k1.Bytes should have comment or be unexported (golint)
    • Line 91: warning: exported method SignatureSecp256k1.IsZero should have comment or be unexported (golint)
    • Line 95: warning: exported method SignatureSecp256k1.Equals should have comment or be unexported (golint)
    • Line 98: 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 103: warning: exported method SignatureSecp256k1.KeyString should have comment or be unexported (golint)
    • Line 107: warning: exported function PaddedBigBytes should have comment or be unexported (golint)
    • AnnChain/gemmill/plugin/init.go
    • Line 29: warning: exported const PluginNoncePrefix should have comment (or a comment on this block) or be unexported (golint)
    • Line 39: warning: exported type InitParams should have comment or be unexported (golint)
    • Line 48: warning: exported type ReloadParams should have comment or be unexported (golint)
    • Line 57: warning: exported type BeginBlockParams should have comment or be unexported (golint)
    • Line 61: warning: exported type BeginBlockReturns should have comment or be unexported (golint)
    • Line 64: warning: exported type ExecBlockParams should have comment or be unexported (golint)
    • Line 72: warning: exported type ExecBlockReturns should have comment or be unexported (golint)
    • Line 75: warning: exported type EndBlockParams should have comment or be unexported (golint)
    • Line 81: warning: exported type EndBlockReturns should have comment or be unexported (golint)
    • AnnChain/chain/core/node.go
    • Line 20: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 43: warning: exported type Node should have comment or be unexported (golint)
    • Line 64: warning: exported method Node.ExecAdminTx should have comment or be unexported (golint)
    • Line 68: warning: exported function NewNode should have comment or be unexported (golint)
    • Line 106: warning: exported function RunNode should have comment or be unexported (golint)
    • Line 112: warning: exported function RunNodeRet should have comment or be unexported (golint)
    • Line 139: warning: comment on exported method Node.Start should be of the form "Start ..." (golint)
    • Line 140: warning: receiver name n should be consistent with previous receiver name nd for Node (golint)
    • Line 158: warning: exported method Node.Stop should have comment or be unexported (golint)
    • Line 158: warning: receiver name n should be consistent with previous receiver name nd for Node (golint)
    • Line 167: warning: exported method Node.IsRunning should have comment or be unexported (golint)
    • Line 167: warning: receiver name n should be consistent with previous receiver name nd for Node (golint)
    • Line 197: warning: exported method Node.NodeInfo should have comment or be unexported (golint)
    • Line 197: warning: receiver name n should be consistent with previous receiver name nd for Node (golint)
    • Line 201: warning: exported method Node.StartRPC should have comment or be unexported (golint)
    • Line 201: warning: receiver name n should be consistent with previous receiver name nd for Node (golint)
    • Line 225: warning: exported method Node.PrivValidator should have comment or be unexported (golint)
    • Line 225: warning: receiver name n should be consistent with previous receiver name nd for Node (golint)
    • Line 229: warning: exported method Node.HealthStatus should have comment or be unexported (golint)
    • Line 229: warning: receiver name n should be consistent with previous receiver name nd for Node (golint)
    • Line 247: warning: exported function DefaultConf should have comment or be unexported (golint)
    • AnnChain/gemmill/consensus/raft/snapshot.go
    • Line 8: warning: exported type BlockChainSnapshot should have comment or be unexported (golint)
    • Line 13: warning: exported method BlockChainSnapshot.Persist should have comment or be unexported (golint)
    • Line 18: warning: exported method BlockChainSnapshot.Release should have comment or be unexported (golint)
    • AnnChain/gemmill/go-crypto/bcrypt/bcrypt.go
    • Line 36: warning: exported const MinCost should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: comment on exported var ErrMismatchedHashAndPassword should be of the form "ErrMismatchedHashAndPassword ..." (golint)
    • Line 45: warning: comment on exported var ErrHashTooShort should be of the form "ErrHashTooShort ..." (golint)
    • Line 49: warning: comment on exported type HashVersionTooNewError should be of the form "HashVersionTooNewError ..." (with optional leading article) (golint)
    • Line 57: warning: comment on exported type InvalidHashPrefixError should be of the form "InvalidHashPrefixError ..." (with optional leading article) (golint)
    • Line 64: warning: exported type InvalidCostError should have comment or be unexported (golint)
    • AnnChain/chain/types/transaction.go
    • Line 34: warning: exported type TxData should have comment or be unexported (golint)
    • Line 42: warning: exported method Transaction.Hash should have comment or be unexported (golint)
    • Line 56: warning: exported method Transaction.SigHash should have comment or be unexported (golint)
    • AnnChain/gemmill/rpc/server/http_params.go
    • Line 31: warning: exported var RE_HEX should have comment or be unexported (golint)
    • Line 39: warning: exported function GetParam should have comment or be unexported (golint)
    • Line 47: warning: exported function GetParamByteSlice should have comment or be unexported (golint)
    • Line 52: warning: exported function GetParamInt64 should have comment or be unexported (golint)
    • Line 61: warning: exported function GetParamInt32 should have comment or be unexported (golint)
    • Line 70: warning: exported function GetParamUint64 should have comment or be unexported (golint)
    • Line 79: warning: exported function GetParamUint should have comment or be unexported (golint)
    • Line 88: warning: exported function GetParamRegexp should have comment or be unexported (golint)
    • Line 96: warning: exported function GetParamFloat64 should have comment or be unexported (golint)
    • AnnChain/gemmill/rpc/server/http_server.go
    • Line 15: warning: package comment should be of the form "Package server ..." (golint)
    • Line 39: warning: exported const MaxAuditLogContentSize should have comment or be unexported (golint)
    • Line 41: warning: exported function StartHTTPServer should have comment or be unexported (golint)
    • Line 74: warning: exported function WriteRPCResponseHTTP should have comment or be unexported (golint)
    • Line 98: warning: comment on exported function RecoverAndLogHandler should be of the form "RecoverAndLogHandler ..." (golint)
    • Line 186: warning: comment on exported type ResponseWriterWrapper should be of the form "ResponseWriterWrapper ..." (with optional leading article) (golint)
    • Line 198: warning: exported method ResponseWriterWrapper.WriteHeader should have comment or be unexported (golint)
    • Line 205: warning: comment on exported method ResponseWriterWrapper.Hijack should be of the form "Hijack ..." (golint)
    • Line 214: warning: exported method ResponseWriterWrapper.Data should have comment or be unexported (golint)
    • Line 222: warning: exported method ResponseWriterWrapper.Flush should have comment or be unexported (golint)
    • Line 251: warning: exported method ResponseWriterWrapper.SetLogFields should have comment or be unexported (golint)
    • AnnChain/gemmill/types/priv_validator.go
    • Line 53: warning: exported type PrivValidator should have comment or be unexported (golint)
    • Line 72: warning: comment on exported type Signer should be of the form "Signer ..." (with optional leading article) (golint)
    • Line 80: warning: comment on exported type DefaultSigner should be of the form "DefaultSigner ..." (with optional leading article) (golint)
    • Line 85: warning: exported function NewDefaultSigner should have comment or be unexported (golint)
    • Line 89: warning: comment on exported method DefaultSigner.Sign should be of the form "Sign ..." (golint)
    • Line 94: warning: exported method PrivValidator.SetSigner should have comment or be unexported (golint)
    • Line 98: warning: comment on exported function GenPrivValidator should be of the form "GenPrivValidator ..." (golint)
    • Line 124: warning: exported function LoadPrivValidator should have comment or be unexported (golint)
    • Line 138: warning: exported function LoadOrGenPrivValidator should have comment or be unexported (golint)
    • Line 152: warning: exported method PrivValidator.CopyReset should have comment or be unexported (golint)
    • Line 152: warning: receiver name pv should be consistent with previous receiver name privVal for PrivValidator (golint)
    • Line 159: warning: exported method PrivValidator.GetPubKey should have comment or be unexported (golint)
    • Line 159: warning: receiver name pv should be consistent with previous receiver name privVal for PrivValidator (golint)
    • Line 163: warning: exported method PrivValidator.GetPrivKey should have comment or be unexported (golint)
    • Line 163: warning: receiver name pv should be consistent with previous receiver name privVal for PrivValidator (golint)
    • Line 167: warning: exported method PrivValidator.GetLastSignature should have comment or be unexported (golint)
    • Line 167: warning: receiver name pv should be consistent with previous receiver name privVal for PrivValidator (golint)
    • Line 171: warning: exported method PrivValidator.UnmarshalJSON should have comment or be unexported (golint)
    • Line 171: warning: receiver name pv should be consistent with previous receiver name privVal for PrivValidator (golint)
    • Line 194: warning: exported method PrivValidator.SetFile should have comment or be unexported (golint)
    • Line 200: warning: exported method PrivValidator.Save should have comment or be unexported (golint)
    • Line 222: warning: comment on exported method PrivValidator.Reset should be of the form "Reset ..." (golint)
    • Line 232: warning: exported method PrivValidator.GetAddress should have comment or be unexported (golint)
    • Line 236: warning: exported method PrivValidator.GetPrivateKey should have comment or be unexported (golint)
    • Line 240: warning: exported method PrivValidator.SignVote should have comment or be unexported (golint)
    • Line 251: warning: exported method PrivValidator.SignProposal should have comment or be unexported (golint)
    • Line 317: warning: exported type PrivValidatorsByAddress should have comment or be unexported (golint)
    • AnnChain/cmd/client/utils/value_parser.go
    • Line 27: warning: exported function ParseUint8 should have comment or be unexported (golint)
    • Line 38: warning: exported function ParseUint16 should have comment or be unexported (golint)
    • Line 49: warning: exported function ParseUint32 should have comment or be unexported (golint)
    • Line 60: warning: exported function ParseUint64 should have comment or be unexported (golint)
    • Line 71: warning: exported function ParseInt8 should have comment or be unexported (golint)
    • Line 82: warning: exported function ParseInt16 should have comment or be unexported (golint)
    • Line 93: warning: exported function ParseInt32 should have comment or be unexported (golint)
    • Line 104: warning: exported function ParseInt64 should have comment or be unexported (golint)
    • Line 115: warning: exported function ParseBigInt should have comment or be unexported (golint)
    • Line 139: warning: exported function ParseUint8Slice should have comment or be unexported (golint)
    • Line 159: warning: exported function ParseUint16Slice should have comment or be unexported (golint)
    • Line 179: warning: exported function ParseUint32Slice should have comment or be unexported (golint)
    • Line 199: warning: exported function ParseUint64Slice should have comment or be unexported (golint)
    • Line 219: warning: exported function ParseInt8Slice should have comment or be unexported (golint)
    • Line 239: warning: exported function ParseInt16Slice should have comment or be unexported (golint)
    • Line 259: warning: exported function ParseInt32Slice should have comment or be unexported (golint)
    • Line 279: warning: exported function ParseInt64Slice should have comment or be unexported (golint)
    • Line 299: warning: exported function ParseBigIntSlice should have comment or be unexported (golint)
    • Line 322: warning: exported function ParseAddress should have comment or be unexported (golint)
    • Line 332: warning: exported function ParseAddressSlice should have comment or be unexported (golint)
    • Line 352: warning: exported function ParseBytesM should have comment or be unexported (golint)
    • Line 385: warning: exported function ParseBytes should have comment or be unexported (golint)
    • Line 400: warning: exported function ParseBytesMSlice should have comment or be unexported (golint)
    • Line 427: warning: exported function ParseBool should have comment or be unexported (golint)
    • Line 438: warning: exported function ParseBoolSlice should have comment or be unexported (golint)
    • Line 458: warning: exported function ParseString should have comment or be unexported (golint)
    • Line 462: warning: exported function ParseStringSlice should have comment or be unexported (golint)
    • AnnChain/eth/metrics/meter.go
    • Line 8: warning: comment on exported type Meter should be of the form "Meter ..." (with optional leading article) (golint)
    • Line 152: warning: comment on exported method NilMeter.Rate15 should be of the form "Rate15 ..." (golint)
    • AnnChain/gemmill/types/application.go
    • Line 29: warning: exported type TxPoolApplication should have comment or be unexported (golint)
    • Line 34: warning: exported type Application should have comment or be unexported (golint)
    • Line 45: warning: exported type Core should have comment or be unexported (golint)
    • Line 52: warning: exported type BaseApplication should have comment or be unexported (golint)
    • Line 66: warning: exported method BaseApplication.LoadLastBlock should have comment or be unexported (golint)
    • Line 80: warning: exported method BaseApplication.SaveLastBlock should have comment or be unexported (golint)
    • Line 84: warning: exported method BaseApplication.SaveLastBlockByKey should have comment or be unexported (golint)
    • AnnChain/gemmill/modules/go-common/word.go
    • Line 23: warning: exported var Zero256 should have comment or be unexported (golint)
    • Line 27: warning: exported type Word256 should have comment or be unexported (golint)
    • Line 30: warning: exported method Word256.TrimmedString should have comment or be unexported (golint)
    • Line 31: warning: exported method Word256.Copy should have comment or be unexported (golint)
    • Line 32: warning: exported method Word256.Bytes should have comment or be unexported (golint)
    • Line 33: warning: exported method Word256.Prefix should have comment or be unexported (golint)
    • Line 34: warning: exported method Word256.Postfix should have comment or be unexported (golint)
    • Line 35: warning: exported method Word256.IsZero should have comment or be unexported (golint)
    • Line 42: warning: exported method Word256.Compare should have comment or be unexported (golint)
    • Line 46: warning: exported function Uint64ToWord256 should have comment or be unexported (golint)
    • Line 52: warning: exported function Int64ToWord256 should have comment or be unexported (golint)
    • Line 58: warning: exported function RightPadWord256 should have comment or be unexported (golint)
    • Line 63: warning: exported function LeftPadWord256 should have comment or be unexported (golint)
    • Line 68: warning: exported function Uint64FromWord256 should have comment or be unexported (golint)
    • Line 73: warning: exported function Int64FromWord256 should have comment or be unexported (golint)
    • Line 80: warning: exported type Tuple256 should have comment or be unexported (golint)
    • Line 85: warning: exported method Tuple256.Compare should have comment or be unexported (golint)
    • Line 89: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 94: warning: exported function Tuple256Split should have comment or be unexported (golint)
    • Line 98: warning: exported type Tuple256Slice should have comment or be unexported (golint)
    • Line 105: warning: exported method Tuple256Slice.Sort should have comment or be unexported (golint)
    • AnnChain/eth/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)
    • AnnChain/gemmill/state/errors.go
    • Line 22: warning: exported type ErrInvalidBlock should have comment or be unexported (golint)
    • Line 23: warning: exported type ErrProxyAppConn should have comment or be unexported (golint)
    • Line 25: warning: exported type ErrUnknownBlock should have comment or be unexported (golint)
    • Line 29: warning: exported type ErrBlockHashMismatch should have comment or be unexported (golint)
    • Line 35: warning: exported type ErrAppBlockHeightTooHigh should have comment or be unexported (golint)
    • Line 40: warning: exported type ErrLastStateMismatch should have comment or be unexported (golint)
    • Line 46: warning: exported type ErrStateMismatch should have comment or be unexported (golint)
    • AnnChain/gemmill/state/tps.go
    • Line 26: warning: exported type TPSCalculator should have comment or be unexported (golint)
    • Line 33: warning: exported function NewTPSCalculator should have comment or be unexported (golint)
    • Line 41: warning: exported method TPSCalculator.AddRecord should have comment or be unexported (golint)
    • Line 55: warning: exported method TPSCalculator.TPS should have comment or be unexported (golint)
    • AnnChain/eth/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)
    • AnnChain/gemmill/ed25519/edwards25519/edwards25519.go
    • Line 8: warning: package comment is detached; there should be no blank lines between it and the package statement (golint)
    • Line 20: warning: exported function FeZero should have comment or be unexported (golint)
    • Line 26: warning: exported function FeOne should have comment or be unexported (golint)
    • Line 31: warning: exported function FeAdd should have comment or be unexported (golint)
    • Line 37: warning: exported function FeSub should have comment or be unexported (golint)
    • Line 43: warning: exported function FeCopy should have comment or be unexported (golint)
    • Line 49: warning: comment on exported function FeCMove should be of the form "FeCMove ..." (golint)
    • Line 82: warning: exported function FeFromBytes should have comment or be unexported (golint)
    • Line 251: warning: exported function FeIsNegative should have comment or be unexported (golint)
    • Line 257: warning: exported function FeIsNonZero should have comment or be unexported (golint)
    • Line 863: warning: exported function FeInvert should have comment or be unexported (golint)
    • Line 988: warning: exported type ProjectiveGroupElement should have comment or be unexported (golint)
    • Line 992: warning: exported type ExtendedGroupElement should have comment or be unexported (golint)
    • Line 996: warning: exported type CompletedGroupElement should have comment or be unexported (golint)
    • Line 1000: warning: exported type PreComputedGroupElement should have comment or be unexported (golint)
    • Line 1004: warning: exported type CachedGroupElement should have comment or be unexported (golint)
    • Line 1008: warning: exported method ProjectiveGroupElement.Zero should have comment or be unexported (golint)
    • Line 1014: warning: exported method ProjectiveGroupElement.Double should have comment or be unexported (golint)
    • Line 1028: warning: exported method ProjectiveGroupElement.ToBytes should have comment or be unexported (golint)
    • Line 1038: warning: exported method ExtendedGroupElement.Zero should have comment or be unexported (golint)
    • Line 1045: warning: exported method ExtendedGroupElement.Double should have comment or be unexported (golint)
    • Line 1051: warning: exported method ExtendedGroupElement.ToCached should have comment or be unexported (golint)
    • Line 1058: warning: exported method ExtendedGroupElement.ToProjective should have comment or be unexported (golint)
    • Line 1064: warning: exported method ExtendedGroupElement.ToBytes should have comment or be unexported (golint)
    • Line 1074: warning: exported method ExtendedGroupElement.FromBytes should have comment or be unexported (golint)
    • Line 1120: warning: exported method CompletedGroupElement.ToProjective should have comment or be unexported (golint)
    • Line 1126: warning: exported method CompletedGroupElement.ToExtended should have comment or be unexported (golint)
    • Line 1133: warning: exported method PreComputedGroupElement.Zero should have comment or be unexported (golint)
    • Line 1298: warning: exported function PreComputedGroupElementCMove should have comment or be unexported (golint)
    • Line 1373: warning: comment on exported function ScMulAdd should be of the form "ScMulAdd ..." (golint)
    • Line 1806: warning: comment on exported function ScReduce should be of the form "ScReduce ..." (golint)
    • AnnChain/eth/core/state/database.go
    • Line 29: warning: comment on exported var MaxTrieCacheGen should be of the form "MaxTrieCacheGen ..." (golint)
    • Line 81: warning: comment on exported function NewDatabaseWithCache should be of the form "NewDatabaseWithCache ..." (golint)
    • AnnChain/eth/core/vm/contracts.go
    • Line 41: warning: exported var DefaultAdminContract should have comment or be unexported (golint)
    • Line 76: warning: exported method AdminOP.SetCallback should have comment or be unexported (golint)
    • Line 80: warning: exported type AdminCallback should have comment or be unexported (golint)
    • Line 82: warning: exported type AdminOP should have comment or be unexported (golint)
    • Line 87: warning: exported type AdminDBApp should have comment or be unexported (golint)
    • Line 92: warning: exported method AdminDBApp.From should have comment or be unexported (golint)
    • Line 96: warning: exported method AdminDBApp.GetNonce should have comment or be unexported (golint)
    • Line 102: warning: exported method AdminOP.RequiredGas should have comment or be unexported (golint)
    • Line 106: warning: exported method AdminOP.SetState should have comment or be unexported (golint)
    • Line 110: warning: exported method AdminOP.Run should have comment or be unexported (golint)
    • AnnChain/gemmill/p2p/peer.go
    • Line 32: warning: exported type Peer should have comment or be unexported (golint)
    • Line 43: warning: exported type AuthorizationFunc should have comment or be unexported (golint)
    • Line 44: warning: exported type DealExchangeDataFunc should have comment or be unexported (golint)
    • Line 126: warning: exported method Peer.OnStart should have comment or be unexported (golint)
    • Line 132: warning: exported method Peer.OnStop should have comment or be unexported (golint)
    • Line 137: warning: exported method Peer.Connection should have comment or be unexported (golint)
    • Line 141: warning: exported method Peer.IsOutbound should have comment or be unexported (golint)
    • Line 145: warning: exported method Peer.Send should have comment or be unexported (golint)
    • Line 152: warning: exported method Peer.TrySend should have comment or be unexported (golint)
    • Line 159: warning: exported method Peer.CanSend should have comment or be unexported (golint)
    • Line 166: warning: exported method Peer.WriteTo should have comment or be unexported (golint)
    • Line 176: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 181: warning: exported method Peer.Equals should have comment or be unexported (golint)
    • Line 185: warning: exported method Peer.Get should have comment or be unexported (golint)
    • Line 189: warning: exported method Peer.AuditLog should have comment or be unexported (golint)
    • AnnChain/gemmill/rpc/version.go
    • Line 17: warning: exported const Maj should have comment or be unexported (golint)
    • Line 18: warning: exported const Min should have comment or be unexported (golint)
    • Line 19: warning: exported const Fix should have comment or be unexported (golint)
    • Line 21: warning: exported const Version should have comment or be unexported (golint)
    • AnnChain/gemmill/archive/archive.go
    • Line 22: warning: exported type Archive should have comment or be unexported (golint)
    • Line 28: warning: exported type ArchiveClient should have comment or be unexported (golint)
    • Line 35: warning: exported function NewArchive should have comment or be unexported (golint)
    • Line 45: warning: exported method Archive.QueryFileHash should have comment or be unexported (golint)
    • Line 52: warning: exported method Archive.AddItem should have comment or be unexported (golint)
    • Line 57: warning: exported method Archive.Close should have comment or be unexported (golint)
    • AnnChain/gemmill/go-utils/statistic.go
    • Line 71: warning: exported const FUNC_MAX_NUM should have comment (or a comment on this block) or be unexported (golint)
    • Line 74: warning: exported const FLUSH_INTERVAL should have comment or be unexported (golint)
    • Line 76: warning: exported type StStatistic should have comment or be unexported (golint)
    • Line 89: warning: exported method StStatistic.Init should have comment or be unexported (golint)
    • Line 95: warning: exported method StStatistic.Reset should have comment or be unexported (golint)
    • Line 104: warning: exported method StStatistic.Add should have comment or be unexported (golint)
    • Line 108: warning: comment on exported method StStatistic.Begin should be of the form "Begin ..." (golint)
    • Line 132: warning: exported method StStatistic.End should have comment or be unexported (golint)
    • Line 157: warning: exported type CountTime should have comment or be unexported (golint)
    • Line 170: warning: should omit values from range; this loop is equivalent to `for range ...` (golint)
    • Line 179: warning: exported function CountSlc should have comment or be unexported (golint)
    • Line 193: warning: exported function Start should have comment or be unexported (golint)
    • AnnChain/cmd/client/commands/admin_op.go
    • Line 43: warning: exported var AdminCommands should have comment or be unexported (golint)
    • Line 84: warning: exported function Power should have comment or be unexported (golint)
    • Line 88: warning: exported function CType should have comment or be unexported (golint)
    • Line 92: warning: exported function Verbose should have comment or be unexported (golint)
    • Line 96: warning: exported function PubKey should have comment or be unexported (golint)
    • Line 100: warning: exported function PrivKey should have comment or be unexported (golint)
    • Line 104: warning: exported function NPrivs should have comment or be unexported (golint)
    • Line 108: warning: comment on exported function AddPeer should be of the form "AddPeer ..." (golint)
    • Line 136: warning: exported function RemoveNode should have comment or be unexported (golint)
    • Line 157: warning: exported function UpdateNode should have comment or be unexported (golint)
    • Line 228: warning: exported type AdminOPUser should have comment or be unexported (golint)
    • Line 239: warning: exported function NewAdminOPUser should have comment or be unexported (golint)
    • Line 275: warning: exported method AdminOPUser.AdminTxData should have comment or be unexported (golint)
    • Line 279: warning: exported method AdminOPUser.MakeAddPeerMsg should have comment or be unexported (golint)
    • Line 295: warning: exported method AdminOPUser.MakeUpdateNodeMsg should have comment or be unexported (golint)
    • Line 305: warning: exported method AdminOPUser.MakeRemoveNodeMsg should have comment or be unexported (golint)
    • Line 332: warning: exported method AdminOPUser.ContractsAdminCmd should have comment or be unexported (golint)
    • AnnChain/chain/types/types.go
    • Line 33: warning: exported type KV should have comment or be unexported (golint)
    • Line 38: warning: exported type KVs should have comment or be unexported (golint)
    • Line 40: warning: exported type QueryType should have comment or be unexported (golint)
    • Line 44: warning: exported const APIQueryTx should have comment (or a comment on this block) or be unexported (golint)
    • Line 45: warning: don't use underscores in Go names; const QueryType_Contract should be QueryTypeContract (golint)
    • Line 46: warning: don't use underscores in Go names; const QueryType_Nonce should be QueryTypeNonce (golint)
    • Line 47: warning: don't use underscores in Go names; const QueryType_Balance should be QueryTypeBalance (golint)
    • Line 48: warning: don't use underscores in Go names; const QueryType_Receipt should be QueryTypeReceipt (golint)
    • Line 49: warning: don't use underscores in Go names; const QueryType_Existence should be QueryTypeExistence (golint)
    • Line 50: warning: don't use underscores in Go names; const QueryType_PayLoad should be QueryTypePayLoad (golint)
    • Line 51: warning: don't use underscores in Go names; const QueryType_TxRaw should be QueryTypeTxRaw (golint)
    • Line 54: warning: don't use underscores in Go names; const QueryType_Key should be QueryTypeKey (golint)
    • Line 55: warning: don't use underscores in Go names; const QueryType_Key_Prefix should be QueryTypeKeyPrefix (golint)
    • Line 56: warning: don't use underscores in Go names; const QueryType_Pending_Nonce should be QueryTypePendingNonce (golint)
    • Line 57: warning: don't use underscores in Go names; const QueryType_Key_Update_History should be QueryTypeKeyUpdateHistory (golint)
    • Line 60: warning: exported var KVTxType should have comment or be unexported (golint)
    • AnnChain/gemmill/modules/go-common/colors.go
    • Line 23: warning: exported const ANSIReset should have comment (or a comment on this block) or be unexported (golint)
    • Line 55: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 68: warning: exported function Black should have comment or be unexported (golint)
    • Line 72: warning: exported function Red should have comment or be unexported (golint)
    • Line 76: warning: exported function Green should have comment or be unexported (golint)
    • Line 80: warning: exported function Yellow should have comment or be unexported (golint)
    • Line 84: warning: exported function Blue should have comment or be unexported (golint)
    • Line 88: warning: exported function Magenta should have comment or be unexported (golint)
    • Line 92: warning: exported function Cyan should have comment or be unexported (golint)
    • Line 96: warning: exported function White should have comment or be unexported (golint)
    • AnnChain/gemmill/types/common.go
    • Line 21: warning: exported function StringTo32byte should have comment or be unexported (golint)
    • Line 31: warning: exported function StringTo64byte should have comment or be unexported (golint)
    • Line 41: warning: exported function StringToAnybyte should have comment or be unexported (golint)
    • Line 51: warning: exported function PrivKeyByteToByte64 should have comment or be unexported (golint)
    • Line 60: warning: exported function Byte64Tobyte should have comment or be unexported (golint)
    • Line 66: warning: exported function BytesToByte64 should have comment or be unexported (golint)
    • Line 71: warning: exported function Substr should have comment or be unexported (golint)
    • Line 100: warning: exported function StrToSmallStr should have comment or be unexported (golint)
    • AnnChain/gemmill/types/hooks.go
    • Line 22: warning: exported type Hooker should have comment or be unexported (golint)
    • Line 28: warning: exported type Hook should have comment or be unexported (golint)
    • Line 36: warning: exported type Hooks should have comment or be unexported (golint)
    • Line 46: warning: exported function NewHook should have comment or be unexported (golint)
    • Line 53: warning: exported method Hook.Result should have comment or be unexported (golint)
    • Line 62: warning: exported method Hook.Sync should have comment or be unexported (golint)
    • Line 77: warning: exported method Hook.Async should have comment or be unexported (golint)
    • AnnChain/eth/core/types/block.go
    • Line 36: warning: exported var EmptyRootHash should have comment or be unexported (golint)
    • Line 152: warning: comment on exported type StorageBlock should be of the form "StorageBlock ..." (with optional leading article) (golint)
    • Line 261: warning: comment on exported method StorageBlock.DecodeRLP should be of the form "DecodeRLP ..." (golint)
    • Line 273: warning: exported method Block.Uncles should have comment or be unexported (golint)
    • Line 274: warning: exported method Block.Transactions should have comment or be unexported (golint)
    • Line 276: warning: exported method Block.Transaction should have comment or be unexported (golint)
    • Line 285: warning: exported method Block.Number should have comment or be unexported (golint)
    • Line 286: warning: exported method Block.GasLimit should have comment or be unexported (golint)
    • Line 287: warning: exported method Block.GasUsed should have comment or be unexported (golint)
    • Line 288: warning: exported method Block.Difficulty should have comment or be unexported (golint)
    • Line 289: warning: exported method Block.Time should have comment or be unexported (golint)
    • Line 291: warning: exported method Block.NumberU64 should have comment or be unexported (golint)
    • Line 292: warning: exported method Block.MixDigest should have comment or be unexported (golint)
    • Line 293: warning: exported method Block.Nonce should have comment or be unexported (golint)
    • Line 294: warning: exported method Block.Bloom should have comment or be unexported (golint)
    • Line 295: warning: exported method Block.Coinbase should have comment or be unexported (golint)
    • Line 296: warning: exported method Block.Root should have comment or be unexported (golint)
    • Line 297: warning: exported method Block.ParentHash should have comment or be unexported (golint)
    • Line 298: warning: exported method Block.TxHash should have comment or be unexported (golint)
    • Line 299: warning: exported method Block.ReceiptHash should have comment or be unexported (golint)
    • Line 300: warning: exported method Block.UncleHash should have comment or be unexported (golint)
    • Line 301: warning: exported method Block.Extra should have comment or be unexported (golint)
    • Line 303: warning: exported method Block.Header should have comment or be unexported (golint)
    • Line 327: warning: exported function CalcUncleHash should have comment or be unexported (golint)
    • Line 368: warning: exported type Blocks should have comment or be unexported (golint)
    • Line 370: warning: exported type BlockBy should have comment or be unexported (golint)
    • Line 372: warning: exported method BlockBy.Sort should have comment or be unexported (golint)
    • Line 372: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 385: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 386: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 389: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 391: warning: exported function Number should have comment or be unexported (golint)
    • AnnChain/gemmill/angine.go
    • Line 98: warning: exported type Tunes should have comment or be unexported (golint)
    • Line 208: warning: exported method Angine.APIs should have comment or be unexported (golint)
    • Line 212: warning: exported method Angine.SetQueryPayLoadTxParser should have comment or be unexported (golint)
    • Line 216: warning: exported method Angine.OnRecvExchangeData should have comment or be unexported (golint)
    • Line 280: warning: receiver name ang should be consistent with previous receiver name a for Angine (golint)
    • Line 374: warning: exported method Angine.ConnectApp should have comment or be unexported (golint)
    • Line 374: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 451: warning: exported method Angine.PrivValidator should have comment or be unexported (golint)
    • Line 451: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 455: warning: exported method Angine.Genesis should have comment or be unexported (golint)
    • Line 455: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 459: warning: exported method Angine.P2PHost should have comment or be unexported (golint)
    • Line 459: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 463: warning: exported method Angine.P2PPort should have comment or be unexported (golint)
    • Line 463: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 467: warning: exported method Angine.DialSeeds should have comment or be unexported (golint)
    • Line 467: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 471: warning: exported method Angine.RegisterNodeInfo should have comment or be unexported (golint)
    • Line 471: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 475: warning: exported method Angine.GetNodeInfo should have comment or be unexported (golint)
    • Line 475: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 479: warning: exported method Angine.Height should have comment or be unexported (golint)
    • Line 479: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 483: warning: exported method Angine.OriginHeight should have comment or be unexported (golint)
    • Line 483: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 487: warning: exported method Angine.GetBlock should have comment or be unexported (golint)
    • Line 487: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 508: warning: exported method Angine.GetBlockMeta should have comment or be unexported (golint)
    • Line 508: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 533: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 554: warning: exported method Angine.NoneGenesis should have comment or be unexported (golint)
    • Line 554: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 558: warning: exported method Angine.Start should have comment or be unexported (golint)
    • Line 558: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 589: warning: receiver name ang should be consistent with previous receiver name a for Angine (golint)
    • Line 596: warning: receiver name ang should be consistent with previous receiver name a for Angine (golint)
    • Line 608: warning: exported method Angine.BroadcastTx should have comment or be unexported (golint)
    • Line 608: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 612: warning: exported method Angine.BroadcastTxCommit should have comment or be unexported (golint)
    • Line 612: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 646: warning: exported method Angine.FlushMempool should have comment or be unexported (golint)
    • Line 646: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 650: warning: exported method Angine.GetValidators should have comment or be unexported (golint)
    • Line 650: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 654: warning: exported method Angine.GetP2PNetInfo should have comment or be unexported (golint)
    • Line 654: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 671: warning: exported method Angine.GetNumPeers should have comment or be unexported (golint)
    • Line 671: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 676: warning: exported method Angine.GetConsensusStateInfo should have comment or be unexported (golint)
    • Line 676: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 692: warning: exported method Angine.GetNumUnconfirmedTxs should have comment or be unexported (golint)
    • Line 692: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 696: warning: exported method Angine.GetUnconfirmedTxs should have comment or be unexported (golint)
    • Line 696: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 700: warning: exported method Angine.IsNodeValidator should have comment or be unexported (golint)
    • Line 700: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 710: warning: exported method Angine.GetBlacklist should have comment or be unexported (golint)
    • Line 710: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 714: warning: exported method Angine.Query should have comment or be unexported (golint)
    • Line 714: warning: receiver name ang should be consistent with previous receiver name a for Angine (golint)
    • Line 729: warning: exported method Angine.QueryTransaction should have comment or be unexported (golint)
    • Line 729: warning: receiver name ang should be consistent with previous receiver name a for Angine (golint)
    • Line 763: warning: exported method Angine.QueryPayLoad should have comment or be unexported (golint)
    • Line 763: warning: receiver name ang should be consistent with previous receiver name a for Angine (golint)
    • Line 773: warning: comment on exported method Angine.RecoverFromCrash should be of the form "RecoverFromCrash ..." (golint)
    • Line 775: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 856: warning: receiver name e should be consistent with previous receiver name a for Angine (golint)
    • Line 871: warning: exported method Angine.BeginBlock should have comment or be unexported (golint)
    • Line 871: warning: receiver name ang should be consistent with previous receiver name a for Angine (golint)
    • Line 883: warning: exported method Angine.ExecAdminTx should have comment or be unexported (golint)
    • Line 883: warning: receiver name ang should be consistent with previous receiver name a for Angine (golint)
    • Line 897: warning: exported method Angine.ExecBlock should have comment or be unexported (golint)
    • Line 897: warning: receiver name ang should be consistent with previous receiver name a for Angine (golint)
    • Line 916: warning: comment on exported method Angine.EndBlock should be of the form "EndBlock ..." (golint)
    • Line 917: warning: receiver name ang should be consistent with previous receiver name a for Angine (golint)
    • Line 988: warning: exported method Angine.InitPlugins should have comment or be unexported (golint)
    • Line 988: warning: receiver name ang should be consistent with previous receiver name a for Angine (golint)
    • Line 1023: warning: comment on exported method Angine.UpdateStateMachine should be of the form "UpdateStateMachine ..." (golint)
    • Line 1024: warning: receiver name ang should be consistent with previous receiver name a for Angine (golint)
    • Line 1070: warning: error var GENESIS_NOT_FOUND should have name of the form ErrFoo (golint)
    • Line 1070: warning: exported var GENESIS_NOT_FOUND should have comment or be unexported (golint)
    • Line 1163: warning: comment on exported type MockMempool should be of the form "MockMempool ..." (with optional leading article) (golint)
    • Line 1168: warning: exported method MockMempool.Lock should have comment or be unexported (golint)
    • Line 1169: warning: exported method MockMempool.Unlock should have comment or be unexported (golint)
    • Line 1170: warning: exported method MockMempool.Update should have comment or be unexported (golint)
    • Line 1172: warning: exported type ITxCheck should have comment or be unexported (golint)
    • Line 1201: warning: exported const TIME_OUT_HEALTH should have comment (or a comment on this block) or be unexported (golint)
    • Line 1204: warning: exported method Angine.HealthStatus should have comment or be unexported (golint)
    • Line 1204: warning: receiver name ag should be consistent with previous receiver name a for Angine (golint)
    • AnnChain/gemmill/modules/go-db/mem_db.go
    • Line 28: warning: exported type MemDB should have comment or be unexported (golint)
    • Line 33: warning: exported function NewMemDB should have comment or be unexported (golint)
    • Line 38: warning: exported method MemDB.Get should have comment or be unexported (golint)
    • Line 44: warning: exported method MemDB.Set should have comment or be unexported (golint)
    • Line 50: warning: exported method MemDB.SetSync should have comment or be unexported (golint)
    • Line 56: warning: exported method MemDB.Delete should have comment or be unexported (golint)
    • Line 62: warning: exported method MemDB.DeleteSync should have comment or be unexported (golint)
    • Line 68: warning: exported method MemDB.Close should have comment or be unexported (golint)
    • Line 74: warning: exported method MemDB.Print should have comment or be unexported (golint)
    • Line 81: warning: exported method MemDB.Iterator should have comment or be unexported (golint)
    • Line 86: warning: exported method MemDB.NewBatch should have comment or be unexported (golint)
    • AnnChain/gemmill/go-utils/tools.go
    • Line 25: warning: exported function CheckItfcNil should have comment or be unexported (golint)
    • Line 33: warning: exported function PathExists should have comment or be unexported (golint)
    • Line 44: warning: exported function EnsureDir should have comment or be unexported (golint)
    • Line 54: warning: exported function FileExists should have comment or be unexported (golint)
    • Line 62: warning: exported function ReadFileDataFromCmd should have comment or be unexported (golint)
    • AnnChain/gemmill/types/validator.go
    • Line 27: warning: comment on exported type Validator should be of the form "Validator ..." (with optional leading article) (golint)
    • Line 38: warning: exported type ValidatorCmd should have comment or be unexported (golint)
    • Line 41: warning: exported const ValidatorCmdAddPeer should have comment (or a comment on this block) or be unexported (golint)
    • Line 46: warning: exported type ValidatorAttr should have comment or be unexported (golint)
    • Line 54: warning: exported method ValidatorAttr.Reset should have comment or be unexported (golint)
    • Line 58: warning: exported method ValidatorAttr.GetPubKey should have comment or be unexported (golint)
    • Line 65: warning: exported method ValidatorAttr.GetPower should have comment or be unexported (golint)
    • Line 72: warning: exported method ValidatorAttr.GetIsCA should have comment or be unexported (golint)
    • Line 79: warning: exported function NewValidator should have comment or be unexported (golint)
    • Line 89: warning: comment on exported method Validator.Copy should be of the form "Copy ..." (golint)
    • Line 96: warning: comment on exported method Validator.CompareAccum should be of the form "CompareAccum ..." (golint)
    • Line 129: warning: exported method Validator.Hash should have comment or be unexported (golint)
    • Line 135: warning: exported var ValidatorCodec should have comment or be unexported (golint)
    • Line 155: warning: exported function RandValidator should have comment or be unexported (golint)
    • AnnChain/gemmill/config/config.go
    • Line 33: warning: exported const RUNTIME_ENV should have comment (or a comment on this block) or be unexported (golint)
    • Line 120: warning: exported function InitConfig should have comment or be unexported (golint)
    • Line 153: warning: exported function GenChainID should have comment or be unexported (golint)
    • Line 241: warning: exported function DefaultConfig should have comment or be unexported (golint)
    • AnnChain/gemmill/modules/go-events/event_cache.go
    • Line 28: warning: comment on exported function NewEventCache should be of the form "NewEventCache ..." (golint)
    • Line 42: warning: comment on exported method EventCache.FireEvent should be of the form "FireEvent ..." (golint)
    • Line 48: warning: comment on exported method EventCache.Flush should be of the form "Flush ..." (golint)
    • AnnChain/gemmill/go-wire/expr/types.go
    • Line 25: warning: exported type Byteful should have comment or be unexported (golint)
    • Line 31: warning: exported type Numeric should have comment or be unexported (golint)
    • Line 36: warning: exported method Numeric.Bytes should have comment or be unexported (golint)
    • Line 68: warning: exported type Tuple should have comment or be unexported (golint)
    • Line 70: warning: exported method Tuple.Bytes should have comment or be unexported (golint)
    • Line 100: warning: exported type Array should have comment or be unexported (golint)
    • Line 102: warning: exported method Array.Bytes should have comment or be unexported (golint)
    • Line 117: warning: receiver name t should be consistent with previous receiver name arr for Array (golint)
    • Line 132: warning: exported type Bytes should have comment or be unexported (golint)
    • Line 137: warning: exported function NewBytes should have comment or be unexported (golint)
    • Line 144: warning: exported method Bytes.Bytes should have comment or be unexported (golint)
    • Line 149: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 157: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 164: warning: exported type Placeholder should have comment or be unexported (golint)
    • Line 168: warning: exported method Placeholder.Bytes should have comment or be unexported (golint)
    • Line 178: warning: exported type String should have comment or be unexported (golint)
    • Line 182: warning: exported function NewString should have comment or be unexported (golint)
    • Line 186: warning: exported method String.Bytes should have comment or be unexported (golint)
    • AnnChain/gemmill/p2p/listener.go
    • Line 29: warning: exported type Listener should have comment or be unexported (golint)
    • Line 37: warning: comment on exported type DefaultListener should be of the form "DefaultListener ..." (with optional leading article) (golint)
    • Line 65: warning: comment on exported function NewDefaultListener should be of the form "NewDefaultListener ..." (golint)
    • Line 123: warning: exported method DefaultListener.OnStart should have comment or be unexported (golint)
    • Line 129: warning: exported method DefaultListener.OnStop should have comment or be unexported (golint)
    • Line 154: warning: should omit values from range; this loop is equivalent to `for range ...` (golint)
    • Line 159: warning: comment on exported method DefaultListener.Connections should be of the form "Connections ..." (golint)
    • Line 165: warning: exported method DefaultListener.InternalAddress should have comment or be unexported (golint)
    • Line 169: warning: exported method DefaultListener.ExternalAddress should have comment or be unexported (golint)
    • Line 173: warning: comment on exported method DefaultListener.NetListener should be of the form "NetListener ..." (golint)
    • AnnChain/gemmill/go-wire/int.go
    • Line 25: warning: exported function WriteBool should have comment or be unexported (golint)
    • Line 35: warning: exported function ReadBool should have comment or be unexported (golint)
    • Line 49: warning: exported function PutBool should have comment or be unexported (golint)
    • Line 57: warning: exported function GetBool should have comment or be unexported (golint)
    • Line 70: warning: exported function WriteByte should have comment or be unexported (golint)
    • Line 74: warning: exported function ReadByte should have comment or be unexported (golint)
    • Line 82: warning: exported function WriteInt8 should have comment or be unexported (golint)
    • Line 86: warning: exported function ReadInt8 should have comment or be unexported (golint)
    • Line 92: warning: exported function WriteUint8 should have comment or be unexported (golint)
    • Line 96: warning: exported function ReadUint8 should have comment or be unexported (golint)
    • Line 102: warning: exported function WriteInt16 should have comment or be unexported (golint)
    • Line 109: warning: exported function ReadInt16 should have comment or be unexported (golint)
    • Line 115: warning: exported function PutInt16 should have comment or be unexported (golint)
    • Line 119: warning: exported function GetInt16 should have comment or be unexported (golint)
    • Line 125: warning: exported function WriteUint16 should have comment or be unexported (golint)
    • Line 132: warning: exported function ReadUint16 should have comment or be unexported (golint)
    • Line 138: warning: exported function PutUint16 should have comment or be unexported (golint)
    • Line 142: warning: exported function GetUint16 should have comment or be unexported (golint)
    • Line 148: warning: exported function WriteUint16s should have comment or be unexported (golint)
    • Line 158: warning: exported function ReadUint16s should have comment or be unexported (golint)
    • Line 176: warning: exported function WriteInt32 should have comment or be unexported (golint)
    • Line 183: warning: exported function ReadInt32 should have comment or be unexported (golint)
    • Line 189: warning: exported function PutInt32 should have comment or be unexported (golint)
    • Line 193: warning: exported function GetInt32 should have comment or be unexported (golint)
    • Line 199: warning: exported function WriteUint32 should have comment or be unexported (golint)
    • Line 206: warning: exported function ReadUint32 should have comment or be unexported (golint)
    • Line 212: warning: exported function PutUint32 should have comment or be unexported (golint)
    • Line 216: warning: exported function GetUint32 should have comment or be unexported (golint)
    • Line 222: warning: exported function WriteInt64 should have comment or be unexported (golint)
    • Line 229: warning: exported function ReadInt64 should have comment or be unexported (golint)
    • Line 235: warning: exported function PutInt64 should have comment or be unexported (golint)
    • Line 239: warning: exported function GetInt64 should have comment or be unexported (golint)
    • Line 245: warning: exported function WriteUint64 should have comment or be unexported (golint)
    • Line 252: warning: exported function ReadUint64 should have comment or be unexported (golint)
    • Line 258: warning: exported function PutUint64 should have comment or be unexported (golint)
    • Line 262: warning: exported function GetUint64 should have comment or be unexported (golint)
    • Line 268: warning: exported function UvarintSize should have comment or be unexported (golint)
    • Line 300: warning: exported function WriteVarint should have comment or be unexported (golint)
    • Line 320: warning: exported function ReadVarint should have comment or be unexported (golint)
    • Line 342: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 347: warning: exported function PutVarint should have comment or be unexported (golint)
    • Line 371: warning: exported function GetVarint should have comment or be unexported (golint)
    • Line 398: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 405: warning: exported function WriteUvarint should have comment or be unexported (golint)
    • Line 415: warning: exported function ReadUvarint should have comment or be unexported (golint)
    • Line 429: warning: exported function PutUvarint should have comment or be unexported (golint)
    • Line 443: warning: exported function GetUvarint should have comment or be unexported (golint)
    • AnnChain/chain/commands/run.go
    • Line 19: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 30: warning: exported function NewRunCommand should have comment or be unexported (golint)
    • AnnChain/gemmill/types/resultcode.go
    • Line 17: warning: exported type CodeType should have comment or be unexported (golint)
    • Line 20: warning: don't use underscores in Go names; const CodeType_OK should be CodeTypeOK (golint)
    • Line 20: warning: exported const CodeType_OK should have comment (or a comment on this block) or be unexported (golint)
    • Line 21: warning: comment on exported const CodeType_InternalError should be of the form "CodeType_InternalError ..." (golint)
    • Line 22: warning: don't use underscores in Go names; const CodeType_InternalError should be CodeTypeInternalError (golint)
    • Line 23: warning: don't use underscores in Go names; const CodeType_EncodingError should be CodeTypeEncodingError (golint)
    • Line 24: warning: don't use underscores in Go names; const CodeType_BadNonce should be CodeTypeBadNonce (golint)
    • Line 25: warning: don't use underscores in Go names; const CodeType_Unauthorized should be CodeTypeUnauthorized (golint)
    • Line 26: warning: don't use underscores in Go names; const CodeType_InsufficientFunds should be CodeTypeInsufficientFunds (golint)
    • Line 27: warning: don't use underscores in Go names; const CodeType_UnknownRequest should be CodeTypeUnknownRequest (golint)
    • Line 28: warning: don't use underscores in Go names; const CodeType_InvalidTx should be CodeTypeInvalidTx (golint)
    • Line 29: warning: comment on exported const CodeType_BaseDuplicateAddress should be of the form "CodeType_BaseDuplicateAddress ..." (golint)
    • Line 30: warning: don't use underscores in Go names; const CodeType_BaseDuplicateAddress should be CodeTypeBaseDuplicateAddress (golint)
    • Line 31: warning: don't use underscores in Go names; const CodeType_BaseEncodingError should be CodeTypeBaseEncodingError (golint)
    • Line 32: warning: don't use underscores in Go names; const CodeType_BaseInsufficientFees should be CodeTypeBaseInsufficientFees (golint)
    • Line 33: warning: don't use underscores in Go names; const CodeType_BaseInsufficientFunds should be CodeTypeBaseInsufficientFunds (golint)
    • Line 34: warning: don't use underscores in Go names; const CodeType_BaseInsufficientGasPrice should be CodeTypeBaseInsufficientGasPrice (golint)
    • Line 35: warning: don't use underscores in Go names; const CodeType_BaseInvalidInput should be CodeTypeBaseInvalidInput (golint)
    • Line 36: warning: don't use underscores in Go names; const CodeType_BaseInvalidOutput should be CodeTypeBaseInvalidOutput (golint)
    • Line 37: warning: don't use underscores in Go names; const CodeType_BaseInvalidPubKey should be CodeTypeBaseInvalidPubKey (golint)
    • Line 38: warning: don't use underscores in Go names; const CodeType_BaseInvalidSequence should be CodeTypeBaseInvalidSequence (golint)
    • Line 39: warning: don't use underscores in Go names; const CodeType_BaseInvalidSignature should be CodeTypeBaseInvalidSignature (golint)
    • Line 40: warning: don't use underscores in Go names; const CodeType_BaseUnknownAddress should be CodeTypeBaseUnknownAddress (golint)
    • Line 41: warning: don't use underscores in Go names; const CodeType_BaseUnknownPubKey should be CodeTypeBaseUnknownPubKey (golint)
    • Line 42: warning: don't use underscores in Go names; const CodeType_BaseUnknownPlugin should be CodeTypeBaseUnknownPlugin (golint)
    • Line 43: warning: don't use underscores in Go names; const CodeType_WrongRLP should be CodeTypeWrongRLP (golint)
    • Line 44: warning: don't use underscores in Go names; const CodeType_SaveFailed should be CodeTypeSaveFailed (golint)
    • Line 45: warning: comment on exported const CodeType_GovUnknownEntity should be of the form "CodeType_GovUnknownEntity ..." (golint)
    • Line 46: warning: don't use underscores in Go names; const CodeType_GovUnknownEntity should be CodeTypeGovUnknownEntity (golint)
    • Line 47: warning: don't use underscores in Go names; const CodeType_GovUnknownGroup should be CodeTypeGovUnknownGroup (golint)
    • Line 48: warning: don't use underscores in Go names; const CodeType_GovUnknownProposal should be CodeTypeGovUnknownProposal (golint)
    • Line 49: warning: don't use underscores in Go names; const CodeType_GovDuplicateGroup should be CodeTypeGovDuplicateGroup (golint)
    • Line 50: warning: don't use underscores in Go names; const CodeType_GovDuplicateMember should be CodeTypeGovDuplicateMember (golint)
    • Line 51: warning: don't use underscores in Go names; const CodeType_GovDuplicateProposal should be CodeTypeGovDuplicateProposal (golint)
    • Line 52: warning: don't use underscores in Go names; const CodeType_GovDuplicateVote should be CodeTypeGovDuplicateVote (golint)
    • Line 53: warning: don't use underscores in Go names; const CodeType_GovInvalidMember should be CodeTypeGovInvalidMember (golint)
    • Line 54: warning: don't use underscores in Go names; const CodeType_GovInvalidVote should be CodeTypeGovInvalidVote (golint)
    • Line 55: warning: don't use underscores in Go names; const CodeType_GovInvalidVotingPower should be CodeTypeGovInvalidVotingPower (golint)
    • Line 58: warning: don't use underscores in Go names; var CodeType_name should be CodeTypeName (golint)
    • Line 58: warning: exported var CodeType_name should have comment or be unexported (golint)
    • Line 92: warning: don't use underscores in Go names; var CodeType_value should be CodeTypeValue (golint)
    • Line 92: warning: exported var CodeType_value should have comment or be unexported (golint)
    • AnnChain/gemmill/utils/crypto.go
    • Line 24: warning: exported function Encrypt should have comment or be unexported (golint)
    • Line 37: warning: exported function PKCS7Padding should have comment or be unexported (golint)
    • Line 43: warning: exported function DecryptHexText should have comment or be unexported (golint)
    • Line 51: warning: exported function Decrypt should have comment or be unexported (golint)
    • Line 64: warning: exported function PKCS7UnPadding should have comment or be unexported (golint)
    • Line 70: warning: exported function PaddingLeft should have comment or be unexported (golint)
    • AnnChain/eth/crypto/crypto.go
    • Line 142: warning: exported function FromECDSAPub should have comment or be unexported (golint)
    • Line 184: warning: exported function GenerateKey should have comment or be unexported (golint)
    • Line 203: warning: exported function PubkeyToAddress should have comment or be unexported (golint)
    • AnnChain/eth/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)
    • AnnChain/utils/file.go
    • Line 12: warning: exported function PathExists should have comment or be unexported (golint)
    • Line 23: warning: exported function FileExists should have comment or be unexported (golint)
    • Line 31: warning: exported function ExpandPath should have comment or be unexported (golint)
    • Line 40: warning: exported function HomeDir should have comment or be unexported (golint)
    • Line 50: warning: exported function EnsureDir should have comment or be unexported (golint)
    • Line 60: warning: exported function ReadFileData should have comment or be unexported (golint)
    • AnnChain/gemmill/types/block.go
    • Line 30: warning: exported const MaxBlockSize should have comment or be unexported (golint)
    • Line 32: warning: exported type Block should have comment or be unexported (golint)
    • Line 38: warning: comment on exported function MakeBlock should be of the form "MakeBlock ..." (golint)
    • Line 62: warning: exported method Block.TxsIsNil should have comment or be unexported (golint)
    • Line 66: warning: comment on exported method Block.ValidateBasic should be of the form "ValidateBasic ..." (golint)
    • Line 101: warning: exported method Block.ValidateCommit should have comment or be unexported (golint)
    • Line 115: warning: exported method Block.FillHeader should have comment or be unexported (golint)
    • Line 124: warning: comment on exported method Block.Hash should be of the form "Hash ..." (golint)
    • Line 134: warning: exported method Block.MakePartSet should have comment or be unexported (golint)
    • Line 138: warning: comment on exported method Block.HashesTo should be of the form "HashesTo ..." (golint)
    • Line 155: warning: exported method Block.StringIndented should have comment or be unexported (golint)
    • Line 170: warning: exported method Block.StringShort should have comment or be unexported (golint)
    • Line 173: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 180: warning: exported type Header should have comment or be unexported (golint)
    • Line 195: warning: comment on exported method Header.Hash should be of the form "Hash ..." (golint)
    • Line 215: warning: exported method Header.StringIndented should have comment or be unexported (golint)
    • Line 248: warning: comment on exported type Commit should be of the form "Commit ..." (with optional leading article) (golint)
    • Line 262: warning: exported method Commit.FirstPrecommit should have comment or be unexported (golint)
    • Line 278: warning: exported method Commit.Height should have comment or be unexported (golint)
    • Line 285: warning: exported method Commit.Round should have comment or be unexported (golint)
    • Line 292: warning: exported method Commit.Type should have comment or be unexported (golint)
    • Line 296: warning: exported method Commit.Size should have comment or be unexported (golint)
    • Line 303: warning: exported method Commit.BitArray should have comment or be unexported (golint)
    • Line 313: warning: exported method Commit.GetByIndex should have comment or be unexported (golint)
    • Line 317: warning: exported method Commit.IsCommit should have comment or be unexported (golint)
    • Line 324: warning: exported method Commit.ValidateBasic should have comment or be unexported (golint)
    • Line 358: warning: exported method Commit.Hash should have comment or be unexported (golint)
    • Line 369: warning: exported method Commit.StringIndented should have comment or be unexported (golint)
    • Line 388: warning: exported type Data should have comment or be unexported (golint)
    • Line 399: warning: exported method Data.Hash should have comment or be unexported (golint)
    • Line 406: warning: exported method Data.StringIndented should have comment or be unexported (golint)
    • Line 427: warning: exported type BlockID should have comment or be unexported (golint)
    • Line 432: warning: exported method BlockID.IsZero should have comment or be unexported (golint)
    • Line 436: warning: exported method BlockID.Equals should have comment or be unexported (golint)
    • Line 441: warning: exported method BlockID.Key should have comment or be unexported (golint)
    • Line 445: warning: exported method BlockID.WriteSignBytes should have comment or be unexported (golint)
    • AnnChain/gemmill/plugin/queryCache.go
    • Line 24: warning: exported type QueryCachePlugin should have comment or be unexported (golint)
    • Line 29: warning: exported method QueryCachePlugin.Init should have comment or be unexported (golint)
    • Line 33: warning: exported method QueryCachePlugin.Reload should have comment or be unexported (golint)
    • Line 37: warning: exported method QueryCachePlugin.CheckTx should have comment or be unexported (golint)
    • Line 41: warning: exported method QueryCachePlugin.DeliverTx should have comment or be unexported (golint)
    • Line 45: warning: exported method QueryCachePlugin.BeginBlock should have comment or be unexported (golint)
    • Line 49: warning: exported method QueryCachePlugin.EndBlock should have comment or be unexported (golint)
    • Line 53: warning: exported method QueryCachePlugin.ExecBlock should have comment or be unexported (golint)
    • Line 71: warning: exported method QueryCachePlugin.Reset should have comment or be unexported (golint)
    • Line 73: warning: exported method QueryCachePlugin.Stop should have comment or be unexported (golint)
    • Line 77: warning: exported method QueryCachePlugin.ExecutionResult should have comment or be unexported (golint)
    • Line 89: warning: exported method QueryCachePlugin.SetEventSwitch should have comment or be unexported (golint)
    • AnnChain/gemmill/types/proposal.go
    • Line 27: warning: exported var ErrInvalidBlockPartSignature should have comment or be unexported (golint)
    • Line 31: warning: exported type Proposal should have comment or be unexported (golint)
    • Line 40: warning: comment on exported function NewProposal should be of the form "NewProposal ..." (golint)
    • Line 56: warning: exported method Proposal.WriteSignBytes should have comment or be unexported (golint)
    • AnnChain/gemmill/p2p/types.go
    • Line 28: warning: exported type NodeInfo should have comment or be unexported (golint)
    • Line 39: warning: exported type ExchangeData should have comment or be unexported (golint)
    • Line 43: warning: comment on exported method NodeInfo.CompatibleWith should be of the form "CompatibleWith ..." (golint)
    • Line 72: warning: exported method NodeInfo.ListenHost should have comment or be unexported (golint)
    • Line 77: warning: exported method NodeInfo.ListenPort should have comment or be unexported (golint)
    • Line 79: warning: don't use underscores in Go names; var port_i should be portI (golint)
    • AnnChain/gemmill/consensus/pbft/replay.go
    • Line 100: warning: exported method ConsensusState.CatchupReplay should have comment or be unexported (golint)
    • Line 159: warning: comment on exported method ConsensusState.ReplayConsole should be of the form "ReplayConsole ..." (golint)
    • Line 164: warning: comment on exported method ConsensusState.ReplayMessages should be of the form "ReplayMessages ..." (golint)
    • Line 307: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • AnnChain/gemmill/utils/tools.go
    • Line 27: warning: exported function CheckItfcNil should have comment or be unexported (golint)
    • Line 35: warning: exported function BinRead should have comment or be unexported (golint)
    • Line 39: warning: exported function BinWrite should have comment or be unexported (golint)
    • Line 43: warning: exported function Uint32Bytes should have comment or be unexported (golint)
    • Line 49: warning: comment on exported function ReadBytes should be of the form "ReadBytes ..." (golint)
    • Line 60: warning: exported function WriteBytes should have comment or be unexported (golint)
    • Line 68: warning: exported function PathExists should have comment or be unexported (golint)
    • Line 79: warning: exported function CopyFile should have comment or be unexported (golint)
    • Line 121: warning: exported function WriteVarint should have comment or be unexported (golint)
    • Line 146: warning: exported function ReadByte should have comment or be unexported (golint)
    • Line 152: warning: exported function ReadUint8 should have comment or be unexported (golint)
    • Line 160: warning: exported function ReadVarint should have comment or be unexported (golint)
    • Line 191: warning: exported type Int64Slice should have comment or be unexported (golint)
    • Line 197: warning: exported method Int64Slice.Sort should have comment or be unexported (golint)
    • AnnChain/gemmill/modules/go-db/db.go
    • Line 21: warning: exported type DB should have comment or be unexported (golint)
    • Line 35: warning: exported type Batch should have comment or be unexported (golint)
    • Line 41: warning: exported type Iterator should have comment or be unexported (golint)
    • Line 50: warning: exported const LevelDBBackendStr should have comment (or a comment on this block) or be unexported (golint)
    • Line 68: warning: exported function NewDB should have comment or be unexported (golint)
    • AnnChain/gemmill/blockchain/reactor.go
    • Line 42: warning: exported const BlockchainChannel should have comment (or a comment on this block) or be unexported (golint)
    • Line 59: warning: exported var ErrNotFound should have comment or be unexported (golint)
    • Line 80: warning: exported function NewBlockchainReactor should have comment or be unexported (golint)
    • Line 103: warning: exported method BlockchainReactor.SetBlockVerifier should have comment or be unexported (golint)
    • Line 107: warning: exported method BlockchainReactor.SetBlockExecuter should have comment or be unexported (golint)
    • Line 111: warning: exported method BlockchainReactor.OnStart should have comment or be unexported (golint)
    • Line 128: warning: exported method BlockchainReactor.OnStop should have comment or be unexported (golint)
    • Line 133: warning: comment on exported method BlockchainReactor.GetChannels should be of the form "GetChannels ..." (golint)
    • Line 144: warning: comment on exported method BlockchainReactor.AddPeer should be of the form "AddPeer ..." (golint)
    • Line 150: warning: comment on exported method BlockchainReactor.RemovePeer should be of the form "RemovePeer ..." (golint)
    • Line 156: warning: comment on exported method BlockchainReactor.Receive should be of the form "Receive ..." (golint)
    • Line 233: warning: exported method BlockchainReactor.BlockArchive should have comment or be unexported (golint)
    • Line 374: warning: exported method BlockchainReactor.BroadcastStatusResponse should have comment or be unexported (golint)
    • Line 379: warning: exported method BlockchainReactor.BroadcastStatusRequest should have comment or be unexported (golint)
    • Line 384: warning: comment on exported method BlockchainReactor.SetEventSwitch should be of the form "SetEventSwitch ..." (golint)
    • Line 399: warning: exported type BlockchainMessage should have comment or be unexported (golint)
    • Line 409: warning: comment on exported function DecodeMessage should be of the form "DecodeMessage ..." (golint)
    • AnnChain/gemmill/modules/go-merkle/simple_tree.go
    • Line 51: warning: exported function SimpleHashFromTwoHashes should have comment or be unexported (golint)
    • Line 64: warning: exported function SimpleHashFromHashes should have comment or be unexported (golint)
    • Line 78: warning: comment on exported function SimpleHashFromBinaries should be of the form "SimpleHashFromBinaries ..." (golint)
    • Line 87: warning: comment on exported function SimpleHashFromBinary should be of the form "SimpleHashFromBinary ..." (golint)
    • Line 98: warning: comment on exported function SimpleHashFromHashables should be of the form "SimpleHashFromHashables ..." (golint)
    • Line 108: warning: comment on exported function SimpleHashFromMap should be of the form "SimpleHashFromMap ..." (golint)
    • Line 116: warning: comment on exported type KVPair should be of the form "KVPair ..." (with optional leading article) (golint)
    • Line 126: warning: exported method KVPair.Hash should have comment or be unexported (golint)
    • Line 140: warning: exported type KVPairs should have comment or be unexported (golint)
    • Line 145: warning: exported method KVPairs.Sort should have comment or be unexported (golint)
    • Line 147: warning: exported function MakeSortedKVPairs should have comment or be unexported (golint)
    • Line 162: warning: exported type SimpleProof should have comment or be unexported (golint)
    • Line 166: warning: comment on exported function SimpleProofsFromHashables should be of the form "SimpleProofsFromHashables ..." (golint)
    • Line 195: warning: exported method SimpleProof.GenRoot should have comment or be unexported (golint)
    • Line 203: warning: exported method SimpleProof.StringIndented should have comment or be unexported (golint)
    • Line 238: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 248: warning: comment on exported type SimpleProofNode should be of the form "SimpleProofNode ..." (with optional leading article) (golint)
    • Line 260: warning: comment on exported method SimpleProofNode.FlattenAunts should be of the form "FlattenAunts ..." (golint)
    • AnnChain/gemmill/modules/go-common/math.go
    • Line 17: warning: exported function MaxInt8 should have comment or be unexported (golint)
    • Line 24: warning: exported function MaxUint8 should have comment or be unexported (golint)
    • Line 31: warning: exported function MaxInt16 should have comment or be unexported (golint)
    • Line 38: warning: exported function MaxUint16 should have comment or be unexported (golint)
    • Line 45: warning: exported function MaxInt32 should have comment or be unexported (golint)
    • Line 52: warning: exported function MaxUint32 should have comment or be unexported (golint)
    • Line 59: warning: exported function MaxInt64 should have comment or be unexported (golint)
    • Line 66: warning: exported function MaxUint64 should have comment or be unexported (golint)
    • Line 73: warning: exported function MaxInt should have comment or be unexported (golint)
    • Line 80: warning: exported function MaxUint should have comment or be unexported (golint)
    • Line 89: warning: exported function MinInt8 should have comment or be unexported (golint)
    • Line 96: warning: exported function MinUint8 should have comment or be unexported (golint)
    • Line 103: warning: exported function MinInt16 should have comment or be unexported (golint)
    • Line 110: warning: exported function MinUint16 should have comment or be unexported (golint)
    • Line 117: warning: exported function MinInt32 should have comment or be unexported (golint)
    • Line 124: warning: exported function MinUint32 should have comment or be unexported (golint)
    • Line 131: warning: exported function MinInt64 should have comment or be unexported (golint)
    • Line 138: warning: exported function MinUint64 should have comment or be unexported (golint)
    • Line 145: warning: exported function MinInt should have comment or be unexported (golint)
    • Line 152: warning: exported function MinUint should have comment or be unexported (golint)
    • Line 161: warning: exported function ExpUint64 should have comment or be unexported (golint)
    • AnnChain/gemmill/consensus/raft/state.go
    • Line 122: warning: exported type ConsensusState should have comment or be unexported (golint)
    • Line 136: warning: exported method ConsensusState.OnStart should have comment or be unexported (golint)
    • Line 142: warning: exported method ConsensusState.OnStop should have comment or be unexported (golint)
    • Line 149: warning: exported method ConsensusState.GetValidators should have comment or be unexported (golint)
    • Line 156: warning: exported method ConsensusState.SetEventSwitch should have comment or be unexported (golint)
    • Line 162: warning: exported function NewConsensusState should have comment or be unexported (golint)
    • Line 240: warning: exported method ConsensusState.ValidateBlock should have comment or be unexported (golint)
    • Line 299: warning: exported method ConsensusState.NewPublicAPI should have comment or be unexported (golint)
    • Line 303: warning: exported method ConsensusState.SetOnUpdateStatus should have comment or be unexported (golint)
    • AnnChain/gemmill/state/state.go
    • Line 37: warning: exported type IBlockExecutable should have comment or be unexported (golint)
    • Line 43: warning: exported type BlockVerifier should have comment or be unexported (golint)
    • Line 47: warning: comment on exported type State should be of the form "State ..." (with optional leading article) (golint)
    • Line 76: warning: exported function LoadState should have comment or be unexported (golint)
    • Line 97: warning: exported method State.Copy should have comment or be unexported (golint)
    • Line 116: warning: exported function StateDB should have comment or be unexported (golint)
    • Line 118: warning: don't use underscores in Go names; var db_backend should be dbBackend (golint)
    • Line 119: warning: don't use underscores in Go names; var db_dir should be dbDir (golint)
    • Line 124: warning: exported method State.Save should have comment or be unexported (golint)
    • Line 130: warning: exported method State.SaveToKey should have comment or be unexported (golint)
    • Line 136: warning: exported method State.SaveIntermediate should have comment or be unexported (golint)
    • Line 142: warning: comment on exported method State.LoadIntermediate should be of the form "LoadIntermediate ..." (golint)
    • Line 169: warning: exported method State.SetBlockExecutable should have comment or be unexported (golint)
    • Line 173: warning: exported method State.Equals should have comment or be unexported (golint)
    • Line 187: warning: exported method State.SetBlockVerifier should have comment or be unexported (golint)
    • Line 191: warning: comment on exported method State.SetBlockAndValidators should be of the form "SetBlockAndValidators ..." (golint)
    • Line 213: warning: exported method State.GetValidators should have comment or be unexported (golint)
    • Line 217: warning: exported method State.GetLastBlockInfo should have comment or be unexported (golint)
    • Line 221: warning: exported method State.GetChainID should have comment or be unexported (golint)
    • Line 225: warning: comment on exported function GetState should be of the form "GetState ..." (golint)
    • Line 240: warning: exported function MakeGenesisStateFromFile should have comment or be unexported (golint)
    • Line 249: warning: exported function MakeGenesisState should have comment or be unexported (golint)
    • AnnChain/gemmill/p2p/connection.go
    • Line 55: warning: comment on exported type MConnection should be of the form "MConnection ..." (with optional leading article) (golint)
    • Line 109: warning: exported function NewMConnection should have comment or be unexported (golint)
    • Line 153: warning: exported method MConnection.OnStart should have comment or be unexported (golint)
    • Line 164: warning: exported method MConnection.OnStop should have comment or be unexported (golint)
    • Line 210: warning: comment on exported method MConnection.Send should be of the form "Send ..." (golint)
    • Line 238: warning: comment on exported method MConnection.TrySend should be of the form "TrySend ..." (golint)
    • Line 266: warning: exported method MConnection.CanSend should have comment or be unexported (golint)
    • Line 380: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 482: warning: should omit values from range; this loop is equivalent to `for range ...` (golint)
    • Line 487: warning: exported type ConnectionStatus should have comment or be unexported (golint)
    • Line 493: warning: exported type ChannelStatus should have comment or be unexported (golint)
    • Line 501: warning: exported method MConnection.Status should have comment or be unexported (golint)
    • Line 520: warning: exported type ChannelDescriptor should have comment or be unexported (golint)
    • Line 528: warning: exported method ChannelDescriptor.FillDefaults should have comment or be unexported (golint)
    • Line 540: warning: comment on exported type Channel should be of the form "Channel ..." (with optional leading article) (golint)
    • AnnChain/gemmill/consensus/pbft/wal.go
    • Line 29: warning: exported type TimedWALMessage should have comment or be unexported (golint)
    • Line 34: warning: exported type WALMessage should have comment or be unexported (golint)
    • Line 46: warning: comment on exported type WAL should be of the form "WAL ..." (with optional leading article) (golint)
    • Line 57: warning: exported function NewWAL should have comment or be unexported (golint)
    • Line 71: warning: exported method WAL.OnStart should have comment or be unexported (golint)
    • Line 83: warning: exported method WAL.OnStop should have comment or be unexported (golint)
    • Line 88: warning: comment on exported method WAL.Save should be of the form "Save ..." (golint)
    • AnnChain/eth/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)
    • AnnChain/gemmill/modules/go-log/zap.go
    • Line 82: warning: exported function Initialize should have comment or be unexported (golint)
    • Line 99: warning: exported function SetLog should have comment or be unexported (golint)
    • Line 104: warning: exported function SetAuditLog should have comment or be unexported (golint)
    • Line 126: warning: exported function InitAuditLog should have comment or be unexported (golint)
    • Line 136: warning: exported function Audit should have comment or be unexported (golint)
    • Line 144: warning: exported function Info should have comment or be unexported (golint)
    • Line 152: warning: exported function Warn should have comment or be unexported (golint)
    • Line 160: warning: exported function Error should have comment or be unexported (golint)
    • Line 168: warning: exported function Debug should have comment or be unexported (golint)
    • Line 176: warning: exported function Fatal should have comment or be unexported (golint)
    • Line 184: warning: exported function Infow should have comment or be unexported (golint)
    • Line 192: warning: exported function Warnw should have comment or be unexported (golint)
    • Line 200: warning: exported function Errorw should have comment or be unexported (golint)
    • Line 208: warning: exported function Debugw should have comment or be unexported (golint)
    • Line 216: warning: exported function Infof should have comment or be unexported (golint)
    • Line 224: warning: exported function Warnf should have comment or be unexported (golint)
    • Line 232: warning: exported function Errorf should have comment or be unexported (golint)
    • Line 240: warning: exported function Debugf should have comment or be unexported (golint)
    • AnnChain/gemmill/go-wire/util.go
    • Line 28: warning: exported function BinaryBytes should have comment or be unexported (golint)
    • Line 37: warning: comment on exported function ReadBinaryBytes should be of the form "ReadBinaryBytes ..." (golint)
    • Line 44: warning: exported function JSONBytes should have comment or be unexported (golint)
    • Line 53: warning: comment on exported function JSONBytesPretty should be of the form "JSONBytesPretty ..." (golint)
    • Line 68: warning: comment on exported function ReadJSONBytes should be of the form "ReadJSONBytes ..." (golint)
    • Line 74: warning: comment on exported function BinaryEqual should be of the form "BinaryEqual ..." (golint)
    • Line 81: warning: comment on exported function BinaryCompare should be of the form "BinaryCompare ..." (golint)
    • Line 88: warning: comment on exported function BinarySha256 should be of the form "BinarySha256 ..." (golint)
    • Line 98: warning: comment on exported function BinaryRipemd160 should be of the form "BinaryRipemd160 ..." (golint)
    • Line 108: warning: exported function BinaryHash should have comment or be unexported (golint)
    • AnnChain/gemmill/modules/go-common/service.go
    • Line 15: warning: package comment should be of the form "Package common ..." (golint)
    • Line 62: warning: exported type Service should have comment or be unexported (golint)
    • Line 77: warning: exported type BaseService should have comment or be unexported (golint)
    • Line 87: warning: exported function NewBaseService should have comment or be unexported (golint)
    • Line 95: warning: comment on exported method BaseService.Start should be of the form "Start ..." (golint)
    • Line 101: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 106: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 112: warning: comment on exported method BaseService.OnStart should be of the form "OnStart ..." (golint)
    • Line 117: warning: comment on exported method BaseService.Stop should be of the form "Stop ..." (golint)
    • Line 124: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 130: warning: comment on exported method BaseService.OnStop should be of the form "OnStop ..." (golint)
    • Line 135: warning: comment on exported method BaseService.Reset should be of the form "Reset ..." (golint)
    • Line 142: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 150: warning: comment on exported method BaseService.OnReset should be of the form "OnReset ..." (golint)
    • Line 156: warning: comment on exported method BaseService.IsRunning should be of the form "IsRunning ..." (golint)
    • Line 161: warning: exported method BaseService.Wait should have comment or be unexported (golint)
    • Line 172: warning: exported type QuitService should have comment or be unexported (golint)
    • Line 176: warning: exported function NewQuitService should have comment or be unexported (golint)
    • AnnChain/gemmill/go-crypto/priv_key.go
    • Line 29: warning: comment on exported const CryptoTypeZhongAn should be of the form "CryptoTypeZhongAn ..." (golint)
    • Line 35: warning: exported const PrivKeyLenEd25519 should have comment (or a comment on this block) or be unexported (golint)
    • Line 61: warning: exported function PrivKeyFromBytes should have comment or be unexported (golint)
    • Line 68: warning: comment on exported type PrivKeyEd25519 should be of the form "PrivKeyEd25519 ..." (with optional leading article) (golint)
    • Line 71: warning: exported method PrivKeyEd25519.Bytes should have comment or be unexported (golint)
    • Line 75: warning: exported method PrivKeyEd25519.Sign should have comment or be unexported (golint)
    • Line 81: warning: exported method PrivKeyEd25519.PubKey should have comment or be unexported (golint)
    • Line 86: warning: exported method PrivKeyEd25519.Equals should have comment or be unexported (golint)
    • Line 89: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 94: warning: exported method PrivKeyEd25519.KeyString should have comment or be unexported (golint)
    • Line 98: warning: exported method PrivKeyEd25519.ToCurve25519 should have comment or be unexported (golint)
    • Line 109: warning: comment on exported method PrivKeyEd25519.Generate should be of the form "Generate ..." (golint)
    • Line 120: warning: exported function GenPrivKeyEd25519 should have comment or be unexported (golint)
    • Line 127: warning: comment on exported function GenPrivKeyEd25519FromSecret should be of the form "GenPrivKeyEd25519FromSecret ..." (golint)
    • Line 143: warning: exported method PrivKeySecp256k1.Bytes should have comment or be unexported (golint)
    • Line 147: warning: exported method PrivKeySecp256k1.Sign should have comment or be unexported (golint)
    • Line 148: warning: don't use underscores in Go names; var priv__ should be priv (golint)
    • Line 149: warning: don't use underscores in Go names; var sig__ should be sig (golint)
    • Line 157: warning: exported method PrivKeySecp256k1.PubKey should have comment or be unexported (golint)
    • Line 158: warning: don't use underscores in Go names; var pub__ should be pub (golint)
    • Line 164: warning: exported method PrivKeySecp256k1.Equals should have comment or be unexported (golint)
    • Line 167: 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 176: warning: exported method PrivKeySecp256k1.KeyString should have comment or be unexported (golint)
    • Line 193: warning: exported function GenPrivKeySecp256k1 should have comment or be unexported (golint)
    • Line 201: warning: comment on exported function GenPrivKeySecp256k1FromSecret should be of the form "GenPrivKeySecp256k1FromSecret ..." (golint)
    • Line 211: warning: exported function GenPrivkeyByBytes should have comment or be unexported (golint)
    • Line 224: warning: exported function GenPrivkeyByType should have comment or be unexported (golint)
    • AnnChain/gemmill/types/genesis.go
    • Line 29: warning: exported var GenDocKey should have comment or be unexported (golint)
    • Line 34: warning: exported type GenesisValidator should have comment or be unexported (golint)
    • Line 42: warning: exported type GenesisDoc should have comment or be unexported (golint)
    • Line 50: warning: comment on exported method GenesisDoc.SaveAs should be of the form "SaveAs ..." (golint)
    • Line 56: warning: exported method GenesisDoc.JSONBytes should have comment or be unexported (golint)
    • Line 63: warning: exported function GenesisDocFromJSON should have comment or be unexported (golint)
    • Line 71: warning: exported function GenesisDocFromJSONRet should have comment or be unexported (golint)
    • Line 76: warning: exported type GenesisValidatorJson should have comment or be unexported (golint)
    • Line 84: warning: exported method GenesisValidator.UnmarshalJSON should have comment or be unexported (golint)
    • AnnChain/eth/core/state/statedb.go
    • Line 54: warning: comment on exported type StateDB should be of the form "StateDB ..." (with optional leading article) (golint)
    • Line 91: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 109: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 115: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 121: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 139: warning: exported method StateDB.AddLog should have comment or be unexported (golint)
    • Line 139: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 150: warning: exported method StateDB.GetLogs should have comment or be unexported (golint)
    • Line 150: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 154: warning: exported method StateDB.Logs should have comment or be unexported (golint)
    • Line 154: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 163: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 173: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 178: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 185: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 195: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 201: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 206: warning: comment on exported method StateDB.GetBalance should be of the form "GetBalance ..." (golint)
    • Line 207: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 215: warning: exported method StateDB.GetNonce should have comment or be unexported (golint)
    • Line 215: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 224: warning: exported method StateDB.GetCode should have comment or be unexported (golint)
    • Line 224: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 232: warning: exported method StateDB.GetCodeSize should have comment or be unexported (golint)
    • Line 232: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 247: warning: exported method StateDB.GetCodeHash should have comment or be unexported (golint)
    • Line 247: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 256: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 265: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 271: warning: comment on exported method StateDB.GetStorageProof should be of the form "GetStorageProof ..." (golint)
    • Line 272: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 283: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 292: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 298: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 307: warning: exported method StateDB.HasSuicided should have comment or be unexported (golint)
    • Line 307: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 320: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 328: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 335: warning: exported method StateDB.SetBalance should have comment or be unexported (golint)
    • Line 335: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 342: warning: exported method StateDB.SetNonce should have comment or be unexported (golint)
    • Line 342: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 349: warning: exported method StateDB.SetCode should have comment or be unexported (golint)
    • Line 349: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 356: warning: exported method StateDB.SetState should have comment or be unexported (golint)
    • Line 356: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 368: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 389: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 399: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 406: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 432: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 436: warning: comment on exported method StateDB.GetOrNewStateObject should be of the form "GetOrNewStateObject ..." (golint)
    • Line 437: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 447: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 470: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 477: warning: exported method StateDB.ForEachStorage should have comment or be unexported (golint)
    • Line 495: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 543: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 551: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 567: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 573: warning: receiver name s should be consistent with previous receiver name db for StateDB (golint)
    • Line 601: warning: receiver name s should be consistent with previous receiver name db for StateDB (golint)
    • Line 608: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 614: warning: receiver name s should be consistent with previous receiver name db for StateDB (golint)
    • Line 621: warning: receiver name s should be consistent with previous receiver name db for StateDB (golint)
    • AnnChain/gemmill/blockchain/store.go
    • Line 31: warning: comment on exported type BlockStore should be of the form "BlockStore ..." (with optional leading article) (golint)
    • Line 54: warning: exported function NewBlockStore should have comment or be unexported (golint)
    • Line 64: warning: comment on exported method BlockStore.Height should be of the form "Height ..." (golint)
    • Line 71: warning: exported method BlockStore.OriginHeight should have comment or be unexported (golint)
    • Line 75: warning: exported method BlockStore.SetOriginHeight should have comment or be unexported (golint)
    • Line 79: warning: exported method BlockStore.GetReader should have comment or be unexported (golint)
    • Line 87: warning: exported method BlockStore.GetReaderFromArchive should have comment or be unexported (golint)
    • Line 95: warning: exported method BlockStore.LoadBlock should have comment or be unexported (golint)
    • Line 118: warning: exported method BlockStore.LoadBlockPart should have comment or be unexported (golint)
    • Line 132: warning: exported method BlockStore.LoadBlockMeta should have comment or be unexported (golint)
    • Line 146: warning: comment on exported method BlockStore.LoadBlockCommit should be of the form "LoadBlockCommit ..." (golint)
    • Line 162: warning: comment on exported method BlockStore.LoadSeenCommit should be of the form "LoadSeenCommit ..." (golint)
    • Line 177: warning: comment on exported method BlockStore.SaveBlock should be of the form "SaveBlock ..." (golint)
    • Line 222: warning: exported method BlockStore.SaveBlockToArchive should have comment or be unexported (golint)
    • Line 243: warning: exported method BlockStore.DeleteBlock should have comment or be unexported (golint)
    • Line 259: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 276: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 301: warning: exported method BlockStore.RevertToHeight should have comment or be unexported (golint)
    • Line 327: warning: exported type BlockStoreStateJSON should have comment or be unexported (golint)
    • Line 332: warning: exported method BlockStoreStateJSON.Save should have comment or be unexported (golint)
    • Line 336: warning: exported method BlockStoreStateJSON.SaveByKey should have comment or be unexported (golint)
    • Line 344: warning: exported function LoadBlockStoreStateJSON should have comment or be unexported (golint)
    • AnnChain/gemmill/rpc/server/handlers.go
    • Line 40: warning: comment on exported function RegisterRPCFuncs should be of the form "RegisterRPCFuncs ..." (golint)
    • Line 53: warning: exported const MinReturnParamNum should have comment (or a comment on this block) or be unexported (golint)
    • Line 60: warning: comment on exported type RPCFunc should be of the form "RPCFunc ..." (with optional leading article) (golint)
    • Line 69: warning: comment on exported function NewRPCFunc should be of the form "NewRPCFunc ..." (golint)
    • Line 75: warning: exported function NewWSRPCFunc should have comment or be unexported (golint)
    • Line 180: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 198: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 299: warning: error should be the last type when returning multiple items (golint)
    • Line 364: warning: comment on exported function NewWSConnection should be of the form "NewWSConnection ..." (golint)
    • Line 556: warning: comment on exported type WebsocketManager should be of the form "WebsocketManager ..." (with optional leading article) (golint)
    • Line 565: warning: exported function NewWebsocketManager should have comment or be unexported (golint)
    • Line 580: warning: comment on exported method WebsocketManager.WebsocketHandler should be of the form "WebsocketHandler ..." (golint)
    • AnnChain/gemmill/consensus/pbft/reactor.go
    • Line 35: warning: exported const StateChannel should have comment (or a comment on this block) or be unexported (golint)
    • Line 47: warning: exported type ConsensusReactor should have comment or be unexported (golint)
    • Line 55: warning: exported function NewConsensusReactor should have comment or be unexported (golint)
    • Line 64: warning: exported method ConsensusReactor.OnStart should have comment or be unexported (golint)
    • Line 81: warning: exported method ConsensusReactor.OnStop should have comment or be unexported (golint)
    • Line 86: warning: comment on exported method ConsensusReactor.SwitchToConsensus should be of the form "SwitchToConsensus ..." (golint)
    • Line 119: warning: comment on exported method ConsensusReactor.GetChannels should be of the form "GetChannels ..." (golint)
    • Line 149: warning: comment on exported method ConsensusReactor.AddPeer should be of the form "AddPeer ..." (golint)
    • Line 171: warning: comment on exported method ConsensusReactor.RemovePeer should be of the form "RemovePeer ..." (golint)
    • Line 180: warning: comment on exported method ConsensusReactor.Receive should be of the form "Receive ..." (golint)
    • Line 327: warning: comment on exported method ConsensusReactor.SetEventSwitch should be of the form "SetEventSwitch ..." (golint)
    • Line 708: warning: exported method ConsensusReactor.StringIndented should have comment or be unexported (golint)
    • Line 721: warning: comment on exported type PeerRoundState should be of the form "PeerRoundState ..." (with optional leading article) (golint)
    • Line 744: warning: exported method PeerRoundState.StringIndented should have comment or be unexported (golint)
    • Line 767: warning: exported var ErrPeerStateHeightRegression should have comment or be unexported (golint)
    • Line 771: warning: exported type PeerState should have comment or be unexported (golint)
    • Line 778: warning: exported function NewPeerState should have comment or be unexported (golint)
    • Line 790: warning: comment on exported method PeerState.GetRoundState should be of the form "GetRoundState ..." (golint)
    • Line 800: warning: comment on exported method PeerState.GetHeight should be of the form "GetHeight ..." (golint)
    • Line 808: warning: exported method PeerState.SetHasProposal should have comment or be unexported (golint)
    • Line 826: warning: exported method PeerState.SetHasProposalBlockPart should have comment or be unexported (golint)
    • Line 837: warning: comment on exported method PeerState.PickSendVote should be of the form "PickSendVote ..." (golint)
    • Line 848: warning: comment on exported method PeerState.PickVoteToSend should be of the form "PickVoteToSend ..." (golint)
    • Line 857: warning: don't use underscores in Go names; var type_ should be type (golint)
    • Line 876: warning: don't use underscores in Go names; method parameter type_ should be type (golint)
    • Line 945: warning: comment on exported method PeerState.EnsureVoteBitArrays should be of the form "EnsureVoteBitArrays ..." (golint)
    • Line 974: warning: exported method PeerState.SetHasVote should have comment or be unexported (golint)
    • Line 981: warning: don't use underscores in Go names; method parameter type_ should be type (golint)
    • Line 988: warning: exported method PeerState.ApplyNewRoundStepMessage should have comment or be unexported (golint)
    • Line 1041: warning: exported method PeerState.ApplyCommitStepMessage should have comment or be unexported (golint)
    • Line 1053: warning: exported method PeerState.ApplyProposalPOLMessage should have comment or be unexported (golint)
    • Line 1069: warning: exported method PeerState.ApplyHasVoteMessage should have comment or be unexported (golint)
    • Line 1080: warning: comment on exported method PeerState.ApplyVoteSetBitsMessage should be of the form "ApplyVoteSetBitsMessage ..." (golint)
    • Line 1105: warning: exported method PeerState.StringIndented should have comment or be unexported (golint)
    • Line 1130: warning: exported type ConsensusMessage should have comment or be unexported (golint)
    • Line 1145: warning: comment on exported function DecodeMessage should be of the form "DecodeMessage ..." (golint)
    • Line 1156: warning: comment on exported type NewRoundStepMessage should be of the form "NewRoundStepMessage ..." (with optional leading article) (golint)
    • Line 1172: warning: exported type CommitStepMessage should have comment or be unexported (golint)
    • Line 1184: warning: exported type ProposalMessage should have comment or be unexported (golint)
    • Line 1194: warning: exported type ProposalPOLMessage should have comment or be unexported (golint)
    • Line 1206: warning: exported type BlockPartMessage should have comment or be unexported (golint)
    • Line 1218: warning: exported type VoteMessage should have comment or be unexported (golint)
    • Line 1228: warning: exported type HasVoteMessage should have comment or be unexported (golint)
    • Line 1241: warning: exported type VoteSetMaj23Message should have comment or be unexported (golint)
    • Line 1254: warning: exported type VoteSetBitsMessage should have comment or be unexported (golint)
    • AnnChain/gemmill/rpc/client/ws_client.go
    • Line 35: warning: exported type WSClient should have comment or be unexported (golint)
    • Line 45: warning: comment on exported function NewWSClient should be of the form "NewWSClient ..." (golint)
    • Line 64: warning: exported method WSClient.OnStart should have comment or be unexported (golint)
    • Line 100: warning: exported method WSClient.OnStop should have comment or be unexported (golint)
    • Line 133: warning: comment on exported method WSClient.Subscribe should be of the form "Subscribe ..." (golint)
    • Line 144: warning: comment on exported method WSClient.Unsubscribe should be of the form "Unsubscribe ..." (golint)
    • AnnChain/eth/event/event.go
    • Line 174: warning: exported method TypeMuxSubscription.Chan should have comment or be unexported (golint)
    • Line 178: warning: exported method TypeMuxSubscription.Unsubscribe should have comment or be unexported (golint)
    • Line 183: warning: exported method TypeMuxSubscription.Closed should have comment or be unexported (golint)
    • AnnChain/gemmill/go-wire/float.go
    • Line 24: warning: exported function WriteFloat32 should have comment or be unexported (golint)
    • Line 28: warning: exported function ReadFloat32 should have comment or be unexported (golint)
    • Line 35: warning: exported function WriteFloat64 should have comment or be unexported (golint)
    • Line 39: warning: exported function ReadFloat64 should have comment or be unexported (golint)
    • AnnChain/gemmill/modules/go-common/int.go
    • Line 24: warning: exported type Uint64Slice should have comment or be unexported (golint)
    • Line 29: warning: exported method Uint64Slice.Sort should have comment or be unexported (golint)
    • Line 31: warning: exported function SearchUint64s should have comment or be unexported (golint)
    • Line 35: warning: exported method Uint64Slice.Search should have comment or be unexported (golint)
    • Line 39: warning: exported function PutUint64LE should have comment or be unexported (golint)
    • Line 43: warning: exported function GetUint64LE should have comment or be unexported (golint)
    • Line 47: warning: exported function PutUint64BE should have comment or be unexported (golint)
    • Line 51: warning: exported function GetUint64BE should have comment or be unexported (golint)
    • Line 55: warning: exported function PutInt64LE should have comment or be unexported (golint)
    • Line 59: warning: exported function GetInt64LE should have comment or be unexported (golint)
    • Line 63: warning: exported function PutInt64BE should have comment or be unexported (golint)
    • Line 67: warning: exported function GetInt64BE should have comment or be unexported (golint)
    • AnnChain/gemmill/types/query.go
    • Line 22: warning: comment on exported const QueryTxExecution should be of the form "QueryTxExecution ..." (golint)
    • Line 24: warning: exported const QueryTx should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported type TxExecutionResult should have comment or be unexported (golint)
    • Line 33: warning: exported method TxExecutionResult.ToBytes should have comment or be unexported (golint)
    • Line 37: warning: exported method TxExecutionResult.FromBytes should have comment or be unexported (golint)
    • AnnChain/gemmill/p2p/addrbook.go
    • Line 93: warning: comment on exported type AddrBook should be of the form "AddrBook ..." (with optional leading article) (golint)
    • Line 116: warning: comment on exported function NewAddrBook should be of the form "NewAddrBook ..." (golint)
    • Line 145: warning: exported method AddrBook.OnStart should have comment or be unexported (golint)
    • Line 153: warning: exported method AddrBook.OnStop should have comment or be unexported (golint)
    • Line 158: warning: exported method AddrBook.AddOurAddress should have comment or be unexported (golint)
    • Line 165: warning: exported method AddrBook.OurAddresses should have comment or be unexported (golint)
    • Line 173: warning: exported method AddrBook.AddAddress should have comment or be unexported (golint)
    • Line 180: warning: exported method AddrBook.NeedMoreAddrs should have comment or be unexported (golint)
    • Line 184: warning: exported method AddrBook.Size should have comment or be unexported (golint)
    • Line 194: warning: comment on exported method AddrBook.PickAddress should be of the form "PickAddress ..." (golint)
    • Line 247: warning: exported method AddrBook.MarkGood should have comment or be unexported (golint)
    • Line 260: warning: exported method AddrBook.MarkAttempt should have comment or be unexported (golint)
    • Line 270: warning: exported method AddrBook.MarkBad should have comment or be unexported (golint)
    • AnnChain/chain/app/evm/evm.go
    • Line 48: warning: exported const AppName should have comment (or a comment on this block) or be unexported (golint)
    • Line 54: warning: comment on exported const EVMGasLimit should be of the form "EVMGasLimit ..." (golint)
    • Line 64: warning: comment on exported type BlockChainEvm should be of the form "BlockChainEvm ..." (with optional leading article) (golint)
    • Line 69: warning: exported function NewBlockChain should have comment or be unexported (golint)
    • Line 73: warning: exported method BlockChainEvm.GetHeader should have comment or be unexported (golint)
    • Line 83: warning: exported var ReceiptsPrefix should have comment or be unexported (golint)
    • Line 94: warning: exported type EVMApp should have comment or be unexported (golint)
    • Line 119: warning: exported type LastBlockInfo should have comment or be unexported (golint)
    • Line 124: warning: exported function NewEVMApp should have comment or be unexported (golint)
    • Line 152: 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 161: warning: exported function OpenDatabase should have comment or be unexported (golint)
    • Line 176: warning: exported method EVMApp.Start should have comment or be unexported (golint)
    • Line 224: warning: exported method EVMApp.GetTxPool should have comment or be unexported (golint)
    • Line 228: warning: exported method EVMApp.Stop should have comment or be unexported (golint)
    • Line 234: warning: exported method EVMApp.GetAngineHooks should have comment or be unexported (golint)
    • Line 238: warning: exported method EVMApp.CompatibleWithAngine should have comment or be unexported (golint)
    • Line 240: warning: exported method EVMApp.BeginExecute should have comment or be unexported (golint)
    • Line 242: warning: exported method EVMApp.OnNewRound should have comment or be unexported (golint)
    • Line 246: warning: exported method EVMApp.OnPrevote should have comment or be unexported (golint)
    • Line 360: warning: exported method EVMApp.OnExecute should have comment or be unexported (golint)
    • Line 419: warning: exported method EVMApp.GetAddressFromTx should have comment or be unexported (golint)
    • Line 424: warning: exported method EVMApp.CheckTx should have comment or be unexported (golint)
    • Line 466: warning: exported method EVMApp.SaveReceipts should have comment or be unexported (golint)
    • Line 509: warning: exported method EVMApp.Info should have comment or be unexported (golint)
    • Line 525: warning: exported method EVMApp.Query should have comment or be unexported (golint)
    • Line 786: warning: exported method EVMApp.SetCore should have comment or be unexported (golint)
    • AnnChain/gemmill/modules/go-merkle/iavl_node.go
    • Line 28: warning: exported type IAVLNode should have comment or be unexported (golint)
    • Line 41: warning: exported function NewIAVLNode should have comment or be unexported (golint)
    • Line 50: warning: comment on exported function MakeIAVLNode should be of the form "MakeIAVLNode ..." (golint)
    • Line 117: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 120: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 139: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 152: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 162: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 306: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 322: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 341: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 366: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 374: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 436: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 450: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • AnnChain/cmd/client/commands/evm.go
    • Line 43: warning: comment on exported var EVMCommands should be of the form "EVMCommands ..." (golint)
    • Line 299: warning: exported function UnpackResult should have comment or be unexported (golint)
    • Line 449: warning: exported function ParseData should have comment or be unexported (golint)
    • Line 469: warning: exported function IsHex should have comment or be unexported (golint)
    • Line 495: warning: exported function SignTx should have comment or be unexported (golint)
    • AnnChain/gemmill/types/blockcache_other.go
    • Line 25: warning: exported function TxsLenForTest should have comment or be unexported (golint)
    • Line 29: warning: exported function TxsNumForTest should have comment or be unexported (golint)
    • Line 33: warning: exported function GenTxsForTest should have comment or be unexported (golint)
    • Line 48: warning: exported function GenCommitForTest should have comment or be unexported (golint)
    • Line 57: warning: exported function GenBlockForTest should have comment or be unexported (golint)
    • Line 75: warning: exported function GenBlockID should have comment or be unexported (golint)
    • Line 85: warning: exported function GenBlocksForTest should have comment or be unexported (golint)
    • AnnChain/chain/app/evm/tx_pool.go
    • Line 61: warning: exported function NewEthTxPool 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 (move short variable declaration to its own line if necessary) (golint)
    • AnnChain/gemmill/types/tx_pool.go
    • Line 23: warning: exported type TxPool should have comment or be unexported (golint)
    • Line 36: warning: comment on exported type TxInPool should be of the form "TxInPool ..." (with optional leading article) (golint)
    • Line 43: warning: exported method TxInPool.GetHeight should have comment or be unexported (golint)
    • Line 47: warning: comment on exported type IFilter should be of the form "IFilter ..." (with optional leading article) (golint)
    • Line 52: warning: exported type TxpoolFilter should have comment or be unexported (golint)
    • Line 56: warning: exported method TxpoolFilter.CheckTx should have comment or be unexported (golint)
    • Line 60: warning: exported function NewTxpoolFilter should have comment or be unexported (golint)
    • AnnChain/gemmill/p2p/netaddress.go
    • Line 31: warning: exported type NetAddress should have comment or be unexported (golint)
    • Line 37: warning: comment on exported function NewNetAddress should be of the form "NewNetAddress ..." (golint)
    • Line 52: warning: comment on exported function NewNetAddressString should be of the form "NewNetAddressString ..." (golint)
    • Line 76: warning: exported function NewNetAddressIPPort should have comment or be unexported (golint)
    • Line 88: warning: exported method NetAddress.Equals 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 96: warning: exported method NetAddress.Less should have comment or be unexported (golint)
    • Line 99: 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 115: warning: exported method NetAddress.Dial should have comment or be unexported (golint)
    • Line 123: warning: exported method NetAddress.DialTimeout should have comment or be unexported (golint)
    • Line 131: warning: exported method NetAddress.Routable should have comment or be unexported (golint)
    • Line 137: warning: comment on exported method NetAddress.Valid should be of the form "Valid ..." (golint)
    • Line 144: warning: exported method NetAddress.Local should have comment or be unexported (golint)
    • Line 148: warning: exported method NetAddress.ReachabilityTo should have comment or be unexported (golint)
    • Line 153: warning: don't use underscores in Go names; const Ipv6_weak should be Ipv6Weak (golint)
    • Line 155: warning: don't use underscores in Go names; const Ipv6_strong should be Ipv6Strong (golint)
    • Line 219: warning: exported method NetAddress.RFC1918 should have comment or be unexported (golint)
    • Line 224: warning: exported method NetAddress.RFC3849 should have comment or be unexported (golint)
    • Line 225: warning: exported method NetAddress.RFC3927 should have comment or be unexported (golint)
    • Line 226: warning: exported method NetAddress.RFC3964 should have comment or be unexported (golint)
    • Line 227: warning: exported method NetAddress.RFC4193 should have comment or be unexported (golint)
    • Line 228: warning: exported method NetAddress.RFC4380 should have comment or be unexported (golint)
    • Line 229: warning: exported method NetAddress.RFC4843 should have comment or be unexported (golint)
    • Line 230: warning: exported method NetAddress.RFC4862 should have comment or be unexported (golint)
    • Line 231: warning: exported method NetAddress.RFC6052 should have comment or be unexported (golint)
    • Line 232: warning: exported method NetAddress.RFC6145 should have comment or be unexported (golint)
    • AnnChain/eth/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)
    • AnnChain/gemmill/modules/go-common/os.go
    • Line 27: warning: exported var GoPath should have comment or be unexported (golint)
    • Line 30: warning: exported function TrapSignal should have comment or be unexported (golint)
    • Line 46: warning: exported function Exit should have comment or be unexported (golint)
    • Line 51: warning: exported function EnsureDir should have comment or be unexported (golint)
    • Line 61: warning: exported function FileExists should have comment or be unexported (golint)
    • Line 66: warning: exported function ReadFile should have comment or be unexported (golint)
    • Line 70: warning: exported function MustReadFile should have comment or be unexported (golint)
    • Line 79: warning: exported function WriteFile should have comment or be unexported (golint)
    • Line 88: warning: exported function MustWriteFile should have comment or be unexported (golint)
    • Line 95: warning: comment on exported function WriteFileAtomic should be of the form "WriteFileAtomic ..." (golint)
    • Line 122: warning: exported function Tempfile should have comment or be unexported (golint)
    • Line 130: warning: exported function Tempdir should have comment or be unexported (golint)
    • Line 145: warning: exported function Prompt should have comment or be unexported (golint)
    • Line 151: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • AnnChain/gemmill/state/statetool.go
    • Line 27: warning: exported var ErrBranchNameUsed should have comment or be unexported (golint)
    • Line 32: warning: exported type StateTool should have comment or be unexported (golint)
    • Line 37: warning: exported method StateTool.Init should have comment or be unexported (golint)
    • Line 46: warning: exported method StateTool.ChangeToIntermidiate should have comment or be unexported (golint)
    • Line 49: warning: exported method StateTool.NewValSet should have comment or be unexported (golint)
    • Line 58: warning: exported method StateTool.LastHeight should have comment or be unexported (golint)
    • Line 66: warning: exported method StateTool.BackupLastState should have comment or be unexported (golint)
    • Line 77: warning: exported method StateTool.RevertFromBackup should have comment or be unexported (golint)
    • Line 87: warning: exported method StateTool.DelBackup should have comment or be unexported (golint)
    • Line 91: warning: comment on exported method StateTool.SaveNewState should be of the form "SaveNewState ..." (golint)
    • AnnChain/gemmill/p2p/pex_reactor.go
    • Line 31: warning: error var pexErrInvalidMessage should have name of the form errFoo (golint)
    • Line 34: warning: exported const PexChannel should have comment (or a comment on this block) or be unexported (golint)
    • Line 50: warning: exported function NewPEXReactor should have comment or be unexported (golint)
    • Line 58: warning: exported method PEXReactor.OnStart should have comment or be unexported (golint)
    • Line 64: warning: exported method PEXReactor.OnStop should have comment or be unexported (golint)
    • Line 68: warning: comment on exported method PEXReactor.GetChannels should be of the form "GetChannels ..." (golint)
    • Line 79: warning: comment on exported method PEXReactor.AddPeer should be of the form "AddPeer ..." (golint)
    • Line 94: warning: comment on exported method PEXReactor.RemovePeer should be of the form "RemovePeer ..." (golint)
    • Line 99: warning: comment on exported method PEXReactor.Receive should be of the form "Receive ..." (golint)
    • Line 133: warning: comment on exported method PEXReactor.RequestPEX should be of the form "RequestPEX ..." (golint)
    • Line 138: warning: exported method PEXReactor.SendAddrs should have comment or be unexported (golint)
    • Line 246: warning: exported type PexMessage should have comment or be unexported (golint)
    • Line 254: warning: exported function DecodeMessage should have comment or be unexported (golint)
    • AnnChain/eth/log/logger.go
    • Line 18: warning: exported type Lvl should have comment or be unexported (golint)
    • Line 21: warning: exported const LvlCrit should have comment (or a comment on this block) or be unexported (golint)
    • AnnChain/gemmill/blockchain/storetool.go
    • Line 26: warning: exported var ErrBlockIsNil should have comment or be unexported (golint)
    • Line 32: warning: exported function BlockStoreDB should have comment or be unexported (golint)
    • Line 34: warning: don't use underscores in Go names; var db_backend should be dbBackend (golint)
    • Line 35: warning: don't use underscores in Go names; var db_dir should be dbDir (golint)
    • Line 36: warning: don't use underscores in Go names; var db_archive_dir should be dbArchiveDir (golint)
    • Line 42: warning: exported function LoadBlockStore should have comment or be unexported (golint)
    • Line 52: warning: exported type StoreTool should have comment or be unexported (golint)
    • Line 58: warning: exported method StoreTool.Init should have comment or be unexported (golint)
    • Line 67: warning: exported method StoreTool.LoadBlock should have comment or be unexported (golint)
    • Line 71: warning: exported method StoreTool.LastHeight should have comment or be unexported (golint)
    • Line 79: warning: exported method StoreTool.BackupLastBlock should have comment or be unexported (golint)
    • Line 89: warning: exported method StoreTool.DelBackup should have comment or be unexported (golint)
    • Line 93: warning: exported method StoreTool.RevertFromBackup should have comment or be unexported (golint)
    • Line 102: warning: exported method StoreTool.SaveNewLastBlock should have comment or be unexported (golint)
    • AnnChain/gemmill/go-crypto/pub_key.go
    • Line 29: warning: exported const PubKeyLenEd25519 should have comment (or a comment on this block) or be unexported (golint)
    • Line 55: warning: exported function PubKeyFromBytes should have comment or be unexported (golint)
    • Line 62: warning: comment on exported type PubKeyEd25519 should be of the form "PubKeyEd25519 ..." (with optional leading article) (golint)
    • Line 65: warning: exported method PubKeyEd25519.Address should have comment or be unexported (golint)
    • Line 76: warning: exported method PubKeyEd25519.Bytes should have comment or be unexported (golint)
    • Line 80: warning: exported method PubKeyEd25519.VerifyBytes should have comment or be unexported (golint)
    • Line 80: warning: don't use underscores in Go names; method parameter sig_ should be sig (golint)
    • Line 90: warning: comment on exported method PubKeyEd25519.ToCurve25519 should be of the form "ToCurve25519 ..." (golint)
    • Line 105: warning: comment on exported method PubKeyEd25519.KeyString should be of the form "KeyString ..." (golint)
    • Line 111: warning: exported method PubKeyEd25519.Equals should have comment or be unexported (golint)
    • Line 114: 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 121: warning: comment on exported type PubKeySecp256k1 should be of the form "PubKeySecp256k1 ..." (with optional leading article) (golint)
    • Line 124: warning: exported method PubKeySecp256k1.Address should have comment or be unexported (golint)
    • Line 136: warning: exported method PubKeySecp256k1.Bytes should have comment or be unexported (golint)
    • Line 140: warning: exported method PubKeySecp256k1.VerifyBytes should have comment or be unexported (golint)
    • Line 140: warning: don't use underscores in Go names; method parameter sig_ should be sig (golint)
    • Line 141: warning: don't use underscores in Go names; var pub__ should be pub (golint)
    • Line 149: warning: don't use underscores in Go names; var sig__ should be sig (golint)
    • Line 160: warning: comment on exported method PubKeySecp256k1.KeyString should be of the form "KeyString ..." (golint)
    • Line 166: warning: exported method PubKeySecp256k1.Equals should have comment or be unexported (golint)
    • Line 169: 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)
    • AnnChain/gemmill/modules/go-events/events.go
    • Line 23: warning: comment on exported type EventData should be of the form "EventData ..." (with optional leading article) (golint)
    • Line 29: warning: comment on exported type Eventable should be of the form "Eventable ..." (with optional leading article) (golint)
    • Line 35: warning: comment on exported type Fireable should be of the form "Fireable ..." (with optional leading article) (golint)
    • Line 40: warning: exported type EventSwitch should have comment or be unexported (golint)
    • Line 57: warning: exported function NewEventSwitch should have comment or be unexported (golint)
    • Line 197: warning: exported type EventCallback should have comment or be unexported (golint)
    • AnnChain/gemmill/types/admin_op.go
    • Line 23: warning: exported type SigInfo should have comment or be unexported (golint)
    • Line 28: warning: exported type AdminOPCmd should have comment or be unexported (golint)
    • Line 37: warning: exported method AdminOPCmd.LoadMsg should have comment or be unexported (golint)
    • Line 45: warning: exported method AdminOPCmd.ExtractMsg should have comment or be unexported (golint)
    • Line 52: warning: exported type CmdType should have comment or be unexported (golint)
    • Line 55: warning: exported const AdminOpChangeValidator should have comment (or a comment on this block) or be unexported (golint)
    • Line 59: warning: exported var AdminTag should have comment or be unexported (golint)
    • Line 62: warning: exported function TagAdminOPTx should have comment or be unexported (golint)
    • Line 66: warning: exported function IsAdminOP should have comment or be unexported (golint)
    • Line 70: warning: exported type AdminVoteResult should have comment or be unexported (golint)
    • AnnChain/eth/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)
    • AnnChain/gemmill/go-crypto/node.go
    • Line 22: warning: don't use underscores in Go names; var node_crypto_type should be nodeCryptoType (golint)
    • Line 23: warning: exported var CryptoType should have comment or be unexported (golint)
    • Line 26: warning: exported function GetNodeCryptoType should have comment or be unexported (golint)
    • Line 30: warning: exported function NodeInit should have comment or be unexported (golint)
    • Line 41: warning: don't use underscores in Go names; func setNodePubkey_ed25519 should be setNodePubkeyEd25519 (golint)
    • Line 47: warning: don't use underscores in Go names; func setNodePrivKey_ed25519 should be setNodePrivKeyEd25519 (golint)
    • Line 53: warning: don't use underscores in Go names; func setNodeSignature_ed25519 should be setNodeSignatureEd25519 (golint)
    • Line 59: warning: comment on exported function NodePubkeyLen should be of the form "NodePubkeyLen ..." (golint)
    • Line 64: warning: exported function GenNodePrivKey should have comment or be unexported (golint)
    • Line 68: warning: exported function SetNodePubkey should have comment or be unexported (golint)
    • Line 72: warning: exported function SetNodePrivKey should have comment or be unexported (golint)
    • Line 77: warning: exported function SetNodeSignature should have comment or be unexported (golint)
    • Line 81: warning: exported function GetNodePubkeyBytes should have comment or be unexported (golint)
    • Line 86: warning: exported function GetNodePrivKeyBytes should have comment or be unexported (golint)
    • Line 91: warning: exported function GetNodeSigBytes should have comment or be unexported (golint)
    • AnnChain/eth/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)
    • AnnChain/gemmill/go-wire/codec.go
    • Line 28: warning: exported type Encoder should have comment or be unexported (golint)
    • Line 29: warning: exported type Decoder should have comment or be unexported (golint)
    • Line 30: warning: exported type Comparator should have comment or be unexported (golint)
    • Line 32: warning: exported type Codec should have comment or be unexported (golint)
    • Line 55: warning: exported function BasicCodecEncoder should have comment or be unexported (golint)
    • Line 106: warning: exported function BasicCodecDecoder should have comment or be unexported (golint)
    • Line 107: warning: don't use underscores in Go names; var type_ should be type (golint)
    • Line 146: warning: comment on exported function BasicCodecComparator should be of the form "BasicCodecComparator ..." (golint)
    • Line 182: warning: exported var BasicCodec should have comment or be unexported (golint)
    • Line 190: warning: exported function BytesCodecEncoder should have comment or be unexported (golint)
    • Line 194: warning: exported function BytesCodecDecoder should have comment or be unexported (golint)
    • Line 199: warning: exported function BytesCodecComparator should have comment or be unexported (golint)
    • Line 203: warning: exported var BytesCodec should have comment or be unexported (golint)
    • AnnChain/gemmill/p2p/ip_range_counter.go
    • Line 21: warning: comment on exported function AddToIPRangeCounts should be of the form "AddToIPRangeCounts ..." (golint)
    • Line 33: warning: comment on exported function CheckIPRangeCounts should be of the form "CheckIPRangeCounts ..." (golint)
    • AnnChain/chain/app/app.go
    • Line 23: warning: exported type AppMaker should have comment or be unexported (golint)
    • Line 25: warning: exported var AppMap should have comment or be unexported (golint)
    • AnnChain/gemmill/go-hash/hash.go
    • Line 22: warning: exported type HashType should have comment or be unexported (golint)
    • Line 25: warning: exported const HashTypeSha256 should have comment (or a comment on this block) or be unexported (golint)
    • Line 29: warning: exported var DoHash should have comment or be unexported (golint)
    • Line 30: warning: exported var DoHashName should have comment or be unexported (golint)
    • Line 32: warning: exported function ConfigHasher should have comment or be unexported (golint)
    • Line 54: warning: comment on exported function Keccak256Func should be of the form "Keccak256Func ..." (golint)
    • AnnChain/eth/metrics/resetting_timer.go
    • Line 10: warning: comment on exported const InitialResettingTimerSliceCap should be of the form "InitialResettingTimerSliceCap ..." (golint)
    • Line 120: warning: comment on exported method StandardResettingTimer.Time should be of the form "Time ..." (golint)
    • Line 127: warning: comment on exported method StandardResettingTimer.Update should be of the form "Update ..." (golint)
    • Line 134: warning: comment on exported method StandardResettingTimer.UpdateSince should be of the form "UpdateSince ..." (golint)
    • AnnChain/gemmill/go-utils/regexp.go
    • Line 25: warning: don't use underscores in Go names; var regexp_NotNumLetterUnderline should be regexpNotNumLetterUnderline (golint)
    • Line 33: warning: exported function OnlyNumLetterUnderline should have comment or be unexported (golint)
    • Line 37: warning: exported function CheckNumber should have comment or be unexported (golint)
    • Line 42: warning: exported function CheckIPAddrSlc should have comment or be unexported (golint)
    • AnnChain/gemmill/modules/go-common/byteslice.go
    • Line 21: warning: exported function Fingerprint should have comment or be unexported (golint)
    • Line 27: warning: exported function IsZeros should have comment or be unexported (golint)
    • Line 36: warning: exported function RightPadBytes should have comment or be unexported (golint)
    • Line 45: warning: exported function LeftPadBytes should have comment or be unexported (golint)
    • Line 54: warning: exported function TrimmedString should have comment or be unexported (golint)
    • AnnChain/gemmill/state/execution.go
    • Line 36: warning: comment on exported method State.ExecBlock should be of the form "ExecBlock ..." (golint)
    • Line 143: warning: exported method State.ValidateBlock should have comment or be unexported (golint)
    • Line 169: warning: comment on exported method State.CommitStateUpdateMempool should be of the form "CommitStateUpdateMempool ..." (golint)
    • Line 185: warning: comment on exported type BlockStore should be of the form "BlockStore ..." (with optional leading article) (golint)
    • Line 192: warning: exported type Handshaker should have comment or be unexported (golint)
    • Line 200: warning: exported function NewHandshaker should have comment or be unexported (golint)
    • Line 204: warning: comment on exported method Handshaker.Handshake should be of the form "Handshake ..." (golint)
    • AnnChain/gemmill/types/rpc.go
    • Line 26: warning: exported type ResultBlockchainInfo should have comment or be unexported (golint)
    • Line 31: warning: exported type ResultGenesis should have comment or be unexported (golint)
    • Line 35: warning: exported type ResultHealthInfo should have comment or be unexported (golint)
    • Line 39: warning: exported type ResultBlock should have comment or be unexported (golint)
    • Line 44: warning: exported type ResultLastHeight should have comment or be unexported (golint)
    • Line 48: warning: exported type ResultShards should have comment or be unexported (golint)
    • Line 52: warning: exported type ResultStatus should have comment or be unexported (golint)
    • Line 61: warning: exported type ResultNetInfo should have comment or be unexported (golint)
    • Line 67: warning: exported type ResultDialSeeds should have comment or be unexported (golint)
    • Line 70: warning: exported type Peer should have comment or be unexported (golint)
    • Line 76: warning: exported type ResultValidator should have comment or be unexported (golint)
    • Line 84: warning: exported function MakeResultValidators should have comment or be unexported (golint)
    • Line 98: warning: exported type ResultValidators should have comment or be unexported (golint)
    • Line 103: warning: exported type ResultDumpConsensusState should have comment or be unexported (golint)
    • Line 108: warning: exported type ResultBroadcastTx should have comment or be unexported (golint)
    • Line 115: warning: exported type ResultRequestAdminOP should have comment or be unexported (golint)
    • Line 121: warning: exported type ResultBroadcastTxCommit should have comment or be unexported (golint)
    • Line 128: warning: exported type ResultTransaction should have comment or be unexported (golint)
    • Line 136: warning: exported type ResultUnconfirmedTxs should have comment or be unexported (golint)
    • Line 141: warning: exported type ResultNumArchivedBlocks should have comment or be unexported (golint)
    • Line 145: warning: exported type ResultNumLimitTx should have comment or be unexported (golint)
    • Line 149: warning: exported type ResultInfo should have comment or be unexported (golint)
    • Line 156: warning: exported type ResultQuery should have comment or be unexported (golint)
    • Line 160: warning: exported type ResultRefuseList should have comment or be unexported (golint)
    • Line 164: warning: exported type ResultUnsafeFlushMempool should have comment or be unexported (golint)
    • Line 166: warning: exported type ResultUnsafeSetConfig should have comment or be unexported (golint)
    • Line 168: warning: exported type ResultUnsafeProfile should have comment or be unexported (golint)
    • Line 170: warning: exported type ResultSubscribe should have comment or be unexported (golint)
    • Line 173: warning: exported type ResultUnsubscribe should have comment or be unexported (golint)
    • Line 176: warning: exported type ResultEvent should have comment or be unexported (golint)
    • Line 181: warning: exported type ResultSurveillance should have comment or be unexported (golint)
    • Line 192: warning: exported type ResultCoreVersion should have comment or be unexported (golint)
    • Line 203: warning: comment on exported const ResultTypeGenesis should be of the form "ResultTypeGenesis ..." (golint)
    • Line 205: warning: exported const ResultTypeBlockchainInfo should have comment (or a comment on this block) or be unexported (golint)
    • Line 210: warning: comment on exported const ResultTypeStatus should be of the form "ResultTypeStatus ..." (golint)
    • Line 216: warning: comment on exported const ResultTypeRefuseList should be of the form "ResultTypeRefuseList ..." (golint)
    • Line 219: warning: comment on exported const ResultTypeValidators should be of the form "ResultTypeValidators ..." (golint)
    • Line 223: warning: comment on exported const ResultTypeBroadcastTx should be of the form "ResultTypeBroadcastTx ..." (golint)
    • Line 231: warning: comment on exported const ResultTypeQuery should be of the form "ResultTypeQuery ..." (golint)
    • Line 235: warning: comment on exported const ResultTypeSubscribe should be of the form "ResultTypeSubscribe ..." (golint)
    • Line 240: warning: comment on exported const ResultTypeUnsafeSetConfig should be of the form "ResultTypeUnsafeSetConfig ..." (golint)
    • Line 248: warning: comment on exported const ResultTypeSurveillance should be of the form "ResultTypeSurveillance ..." (golint)
    • Line 252: warning: exported type RPCResult should have comment or be unexported (golint)
    • AnnChain/gemmill/consensus/raft/secret_tcp_transport.go
    • Line 16: warning: exported type SecretTCPStreamLayer should have comment or be unexported (golint)
    • Line 22: warning: exported method SecretTCPStreamLayer.Accept should have comment or be unexported (golint)
    • Line 30: warning: exported method SecretTCPStreamLayer.Close should have comment or be unexported (golint)
    • Line 34: warning: exported method SecretTCPStreamLayer.Addr should have comment or be unexported (golint)
    • Line 42: warning: exported method SecretTCPStreamLayer.Dial should have comment or be unexported (golint)
    • Line 57: warning: comment on exported function NewSecretTCPTransport should be of the form "NewSecretTCPTransport ..." (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign97%

IneffAssign detects ineffectual assignments in Go code.

    • AnnChain/gemmill/ed25519/edwards25519/edwards25519.go
    • Line 1522: warning: ineffectual assignment to s23 (ineffassign)
    • Line 1530: warning: ineffectual assignment to s22 (ineffassign)
    • Line 1538: warning: ineffectual assignment to s21 (ineffassign)
    • Line 1546: warning: ineffectual assignment to s20 (ineffassign)
    • Line 1554: warning: ineffectual assignment to s19 (ineffassign)
    • Line 1562: warning: ineffectual assignment to s18 (ineffassign)
    • Line 1605: warning: ineffectual assignment to s17 (ineffassign)
    • Line 1613: warning: ineffectual assignment to s16 (ineffassign)
    • Line 1621: warning: ineffectual assignment to s15 (ineffassign)
    • Line 1629: warning: ineffectual assignment to s14 (ineffassign)
    • Line 1637: warning: ineffectual assignment to s13 (ineffassign)
    • Line 1736: warning: ineffectual assignment to s12 (ineffassign)
    • Line 1844: warning: ineffectual assignment to s23 (ineffassign)
    • Line 1852: warning: ineffectual assignment to s22 (ineffassign)
    • Line 1860: warning: ineffectual assignment to s21 (ineffassign)
    • Line 1868: warning: ineffectual assignment to s20 (ineffassign)
    • Line 1876: warning: ineffectual assignment to s19 (ineffassign)
    • Line 1884: warning: ineffectual assignment to s18 (ineffassign)
    • Line 1929: warning: ineffectual assignment to s17 (ineffassign)
    • Line 1937: warning: ineffectual assignment to s16 (ineffassign)
    • Line 1945: warning: ineffectual assignment to s15 (ineffassign)
    • Line 1953: warning: ineffectual assignment to s14 (ineffassign)
    • Line 1961: warning: ineffectual assignment to s13 (ineffassign)
    • Line 2060: warning: ineffectual assignment to s12 (ineffassign)

misspell96%

Misspell Finds commonly misspelled English words