Preparing report...

Report for github.com/kaleidochain/kaleido

A+    Excellent!    Found 342 issues across 772 files

Tweet

gofmt87%

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!


gocyclo84%

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.

    • kaleido/core/blockchain_test.go
    • Line 932: warning: cyclomatic complexity 24 of function TestLogRebirth() is high (> 15) (gocyclo)
    • Line 603: warning: cyclomatic complexity 18 of function TestFastVsFullChains() is high (> 15) (gocyclo)
    • Line 389: warning: cyclomatic complexity 17 of function testReorg() is high (> 15) (gocyclo)
    • Line 1266: warning: cyclomatic complexity 17 of function TestEIP155Transition() is high (> 15) (gocyclo)
    • Line 771: warning: cyclomatic complexity 17 of function TestChainTxReorgs() is high (> 15) (gocyclo)
    • kaleido/dashboard/log.go
    • Line 134: warning: cyclomatic complexity 26 of function (*Dashboard).streamLogs() is high (> 15) (gocyclo)
    • Line 59: warning: cyclomatic complexity 21 of function (*Dashboard).handleLogRequest() is high (> 15) (gocyclo)
    • kaleido/consensus/clique/clique.go
    • Line 279: warning: cyclomatic complexity 22 of function (*Clique).verifyHeader() is high (> 15) (gocyclo)
    • Line 382: warning: cyclomatic complexity 20 of function (*Clique).snapshot() is high (> 15) (gocyclo)
    • Line 607: warning: cyclomatic complexity 16 of function (*Clique).Seal() is high (> 15) (gocyclo)
    • kaleido/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)
    • kaleido/cmd/faucet/faucet.go
    • Line 313: warning: cyclomatic complexity 48 of function (*faucet).apiHandler() is high (> 15) (gocyclo)
    • Line 91: warning: cyclomatic complexity 18 of function main() is high (> 15) (gocyclo)
    • kaleido/core/tx_pool.go
    • Line 1015: warning: cyclomatic complexity 46 of function (*TxPool).promoteExecutables() is high (> 15) (gocyclo)
    • Line 300: warning: cyclomatic complexity 18 of function (*TxPool).loop() is high (> 15) (gocyclo)
    • Line 615: warning: cyclomatic complexity 17 of function (*TxPool).validateTx() is high (> 15) (gocyclo)
    • kaleido/eth/downloader/queue.go
    • Line 682: warning: cyclomatic complexity 17 of function (*queue).DeliverHeaders() is high (> 15) (gocyclo)
    • Line 803: warning: cyclomatic complexity 17 of function (*queue).deliver() is high (> 15) (gocyclo)
    • kaleido/whisper/whisperv5/filter_test.go
    • Line 258: warning: cyclomatic complexity 26 of function TestMatchEnvelope() is high (> 15) (gocyclo)
    • Line 621: warning: cyclomatic complexity 26 of function TestWatchers() is high (> 15) (gocyclo)
    • Line 415: warning: cyclomatic complexity 16 of function TestMatchMessageSym() is high (> 15) (gocyclo)
    • kaleido/eth/downloader/downloader.go
    • Line 657: warning: cyclomatic complexity 46 of function (*Downloader).findAncestor() is high (> 15) (gocyclo)
    • Line 1137: warning: cyclomatic complexity 43 of function (*Downloader).fetchParts() is high (> 15) (gocyclo)
    • Line 1300: warning: cyclomatic complexity 41 of function (*Downloader).processHeaders() is high (> 15) (gocyclo)
    • Line 870: warning: cyclomatic complexity 34 of function (*Downloader).fetchHeaders() is high (> 15) (gocyclo)
    • Line 1518: warning: cyclomatic complexity 23 of function (*Downloader).processFastSyncContent() is high (> 15) (gocyclo)
    • kaleido/console/console.go
    • Line 109: warning: cyclomatic complexity 27 of function (*Console).init() is high (> 15) (gocyclo)
    • Line 310: warning: cyclomatic complexity 19 of function (*Console).Interactive() is high (> 15) (gocyclo)
    • Line 386: warning: cyclomatic complexity 16 of function countIndents() is high (> 15) (gocyclo)
    • kaleido/core/blockchain.go
    • Line 1194: warning: cyclomatic complexity 36 of function (*BlockChain).insertChain() is high (> 15) (gocyclo)
    • Line 974: warning: cyclomatic complexity 35 of function (*BlockChain).WriteBlockWithState() is high (> 15) (gocyclo)
    • Line 1499: warning: cyclomatic complexity 27 of function (*BlockChain).reorg() is high (> 15) (gocyclo)
    • Line 1389: warning: cyclomatic complexity 19 of function (*BlockChain).insertSidechain() is high (> 15) (gocyclo)
    • Line 856: warning: cyclomatic complexity 16 of function (*BlockChain).InsertReceiptChain() is high (> 15) (gocyclo)
    • kaleido/consensus/algorand/handler.go
    • Line 390: warning: cyclomatic complexity 35 of function (*ProtocolManager).gossipDataLoop() is high (> 15) (gocyclo)
    • Line 273: warning: cyclomatic complexity 23 of function (*ProtocolManager).gossipVotesLoop() is high (> 15) (gocyclo)
    • Line 158: warning: cyclomatic complexity 19 of function (*ProtocolManager).handleMsg() is high (> 15) (gocyclo)
    • kaleido/cmd/wnode/main.go
    • Line 174: warning: cyclomatic complexity 24 of function initialize() is high (> 15) (gocyclo)
    • Line 324: warning: cyclomatic complexity 20 of function configureNode() is high (> 15) (gocyclo)
    • kaleido/accounts/abi/bind/topics.go
    • Line 31: warning: cyclomatic complexity 22 of function makeTopics() is high (> 15) (gocyclo)
    • Line 191: warning: cyclomatic complexity 22 of function parseTopicsExtra() is high (> 15) (gocyclo)
    • Line 110: warning: cyclomatic complexity 21 of function parseTopics() is high (> 15) (gocyclo)
    • kaleido/p2p/discv5/net.go
    • Line 363: warning: cyclomatic complexity 54 of function (*Network).loop() is high (> 15) (gocyclo)
    • Line 872: warning: cyclomatic complexity 28 of function init() is high (> 15) (gocyclo)
    • Line 1148: warning: cyclomatic complexity 18 of function (*Network).handleQueryEvent() is high (> 15) (gocyclo)
    • kaleido/core/vm/evm.go
    • Line 383: warning: cyclomatic complexity 24 of function (*EVM).create() is high (> 15) (gocyclo)
    • Line 190: warning: cyclomatic complexity 16 of function (*EVM).Call() is high (> 15) (gocyclo)
    • kaleido/miner/worker.go
    • Line 819: warning: cyclomatic complexity 29 of function (*worker).commitNewWork() is high (> 15) (gocyclo)
    • Line 402: warning: cyclomatic complexity 25 of function (*worker).mainLoop() is high (> 15) (gocyclo)
    • Line 290: warning: cyclomatic complexity 22 of function (*worker).newWorkLoop() is high (> 15) (gocyclo)
    • Line 705: warning: cyclomatic complexity 21 of function (*worker).commitTransactions() is high (> 15) (gocyclo)
    • kaleido/whisper/whisperv6/api.go
    • Line 337: warning: cyclomatic complexity 26 of function (*PublicWhisperAPI).Messages() is high (> 15) (gocyclo)
    • Line 232: warning: cyclomatic complexity 20 of function (*PublicWhisperAPI).Post() is high (> 15) (gocyclo)
    • kaleido/accounts/abi/type.go
    • Line 66: warning: cyclomatic complexity 28 of function NewType() is high (> 15) (gocyclo)
    • Line 223: warning: cyclomatic complexity 16 of function (Type).pack() is high (> 15) (gocyclo)
    • kaleido/whisper/whisperv6/whisper_test.go
    • Line 262: warning: cyclomatic complexity 51 of function TestWhisperSymKeyManagement() is high (> 15) (gocyclo)
    • Line 144: warning: cyclomatic complexity 32 of function TestWhisperIdentityManagement() is high (> 15) (gocyclo)
    • Line 31: warning: cyclomatic complexity 21 of function TestWhisperBasic() is high (> 15) (gocyclo)
    • Line 833: warning: cyclomatic complexity 17 of function TestBloom() is high (> 15) (gocyclo)
    • Line 519: warning: cyclomatic complexity 16 of function TestCustomization() is high (> 15) (gocyclo)
    • kaleido/cmd/utils/flags.go
    • Line 1233: warning: cyclomatic complexity 43 of function SetEthConfig() is high (> 15) (gocyclo)
    • Line 980: warning: cyclomatic complexity 21 of function SetP2PConfig() is high (> 15) (gocyclo)
    • kaleido/ethstats/ethstats.go
    • Line 137: warning: cyclomatic complexity 31 of function (*Service).loop() is high (> 15) (gocyclo)
    • Line 280: warning: cyclomatic complexity 17 of function (*Service).readLoop() is high (> 15) (gocyclo)
    • kaleido/whisper/whisperv5/whisper_test.go
    • Line 272: warning: cyclomatic complexity 55 of function TestWhisperSymKeyManagement() is high (> 15) (gocyclo)
    • Line 154: warning: cyclomatic complexity 32 of function TestWhisperIdentityManagement() is high (> 15) (gocyclo)
    • Line 29: warning: cyclomatic complexity 24 of function TestWhisperBasic() is high (> 15) (gocyclo)
    • Line 541: warning: cyclomatic complexity 17 of function TestCustomization() is high (> 15) (gocyclo)
    • kaleido/eth/api_tracer.go
    • Line 142: warning: cyclomatic complexity 41 of function (*PrivateDebugAPI).traceChain() is high (> 15) (gocyclo)
    • Line 528: warning: cyclomatic complexity 20 of function (*PrivateDebugAPI).standardTraceBlockToFile() is high (> 15) (gocyclo)
    • kaleido/les/handler.go
    • Line 338: warning: cyclomatic complexity 156 of function (*ProtocolManager).handleMsg() is high (> 15) (gocyclo)
    • Line 245: warning: cyclomatic complexity 22 of function (*ProtocolManager).handle() is high (> 15) (gocyclo)
    • kaleido/les/fetcher.go
    • Line 250: warning: cyclomatic complexity 23 of function (*lightFetcher).announce() is high (> 15) (gocyclo)
    • Line 130: warning: cyclomatic complexity 23 of function (*lightFetcher).syncLoop() is high (> 15) (gocyclo)
    • Line 412: warning: cyclomatic complexity 19 of function (*lightFetcher).nextRequest() is high (> 15) (gocyclo)
    • Line 567: warning: cyclomatic complexity 17 of function (*lightFetcher).checkAnnouncedHeaders() is high (> 15) (gocyclo)
    • kaleido/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)
    • kaleido/whisper/whisperv5/api.go
    • Line 306: warning: cyclomatic complexity 26 of function (*PublicWhisperAPI).Messages() is high (> 15) (gocyclo)
    • Line 212: warning: cyclomatic complexity 18 of function (*PublicWhisperAPI).Post() is high (> 15) (gocyclo)
    • kaleido/whisper/whisperv6/filter_test.go
    • Line 639: warning: cyclomatic complexity 26 of function TestWatchers() is high (> 15) (gocyclo)
    • Line 288: warning: cyclomatic complexity 23 of function TestMatchEnvelope() is high (> 15) (gocyclo)
    • Line 431: warning: cyclomatic complexity 16 of function TestMatchMessageSym() is high (> 15) (gocyclo)

golint71%

Golint is a linter for Go source code.

    • kaleido/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)
    • kaleido/eth/backend.go
    • Line 59: warning: exported type LesServer should have comment or be unexported (golint)
    • Line 66: warning: exported type Miner should have comment or be unexported (golint)
    • Line 117: warning: exported method Ethereum.AddLesServer should have comment or be unexported (golint)
    • Line 349: warning: exported method Ethereum.ResetWithGenesisBlock should have comment or be unexported (golint)
    • Line 353: warning: exported method Ethereum.Etherbase should have comment or be unexported (golint)
    • Line 485: warning: exported method Ethereum.GossipInterval should have comment or be unexported (golint)
    • Line 503: warning: exported method Ethereum.IsMining should have comment or be unexported (golint)
    • Line 504: warning: exported method Ethereum.Miner should have comment or be unexported (golint)
    • Line 506: warning: exported method Ethereum.AccountManager should have comment or be unexported (golint)
    • Line 507: warning: exported method Ethereum.BlockChain should have comment or be unexported (golint)
    • Line 508: warning: exported method Ethereum.TxPool should have comment or be unexported (golint)
    • Line 509: warning: exported method Ethereum.EventMux should have comment or be unexported (golint)
    • Line 510: warning: exported method Ethereum.Engine should have comment or be unexported (golint)
    • Line 511: warning: exported method Ethereum.ChainDb should have comment or be unexported (golint)
    • Line 512: warning: exported method Ethereum.IsListening should have comment or be unexported (golint)
    • Line 513: warning: exported method Ethereum.EthVersion should have comment or be unexported (golint)
    • Line 514: warning: exported method Ethereum.NetVersion should have comment or be unexported (golint)
    • Line 515: warning: exported method Ethereum.Downloader should have comment or be unexported (golint)
    • kaleido/core/tx_pool.go
    • Line 64: warning: exported var ErrContractInsufficientFunds should have comment or be unexported (golint)
    • Line 110: warning: exported const TxStatusUnknown should have comment (or a comment on this block) or be unexported (golint)
    • Line 245: warning: exported function NewTxPoolWithMortgage should have comment or be unexported (golint)
    • Line 293: warning: exported method TxPool.SetMortgage should have comment or be unexported (golint)
    • Line 577: warning: exported method TxPool.PendingCount should have comment or be unexported (golint)
    • kaleido/consensus/algorand/core/voteset.go
    • Line 38: warning: comment on exported type UserSet should be of the form "UserSet ..." (with optional leading article) (golint)
    • Line 43: warning: exported method UserSet.Has should have comment or be unexported (golint)
    • Line 47: warning: exported method UserSet.Add should have comment or be unexported (golint)
    • Line 71: warning: exported function RandomSelect should have comment or be unexported (golint)
    • Line 79: warning: exported method StepVoteSet.RandomNotIn should have comment or be unexported (golint)
    • Line 132: warning: exported function NewStepVoteSet should have comment or be unexported (golint)
    • Line 161: warning: exported function NewRoundVoteSet should have comment or be unexported (golint)
    • Line 170: warning: exported function NewRoundVoteSetFromCertificates should have comment or be unexported (golint)
    • Line 187: warning: exported method RoundVoteSet.PickVoteToSend should have comment or be unexported (golint)
    • Line 219: warning: exported method RoundVoteSet.PickNextVoteToSend should have comment or be unexported (golint)
    • Line 279: warning: exported method RoundVoteSet.HasVote should have comment or be unexported (golint)
    • Line 290: warning: exported method RoundVoteSet.SetHasVote should have comment or be unexported (golint)
    • Line 302: warning: exported method RoundVoteSet.IsNextVoteEnoughForEmptyAtAnyStep should have comment or be unexported (golint)
    • Line 329: warning: exported method RoundVoteSet.GetSoftMajorValue should have comment or be unexported (golint)
    • Line 336: warning: exported method RoundVoteSet.GetCertMajorValue should have comment or be unexported (golint)
    • Line 353: warning: exported method RoundVoteSet.HasPotentialValue should have comment or be unexported (golint)
    • Line 359: warning: exported method RoundVoteSet.GetPotentialSoftedValues should have comment or be unexported (golint)
    • Line 366: warning: exported method RoundVoteSet.GetPotentialCertifiedValues should have comment or be unexported (golint)
    • Line 373: warning: comment on exported method RoundVoteSet.AddVoteAndCount should be of the form "AddVoteAndCount ..." (golint)
    • Line 388: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 445: warning: comment on exported method HeightVoteSet.AddVoteAndCount should be of the form "AddVoteAndCount ..." (golint)
    • Line 562: warning: exported method HeightVoteSet.GetCertVoteStorage should have comment or be unexported (golint)
    • Line 582: warning: exported method HeightVoteSet.IsPotentialValue should have comment or be unexported (golint)
    • kaleido/core/asm/lexer.go
    • Line 56: warning: exported const Numbers should have comment (or a comment on this block) or be unexported (golint)
    • Line 96: warning: comment on exported function Lex should be of the form "Lex ..." (golint)
    • kaleido/gameutils/msgwarp.go
    • Line 19: warning: exported var ErrInvalidSig should have comment or be unexported (golint)
    • Line 23: warning: exported type MsgWrap should have comment or be unexported (golint)
    • Line 42: warning: exported type MsgAck should have comment or be unexported (golint)
    • Line 51: warning: exported type SignData should have comment or be unexported (golint)
    • Line 81: warning: exported method MsgWrap.PublicKey should have comment or be unexported (golint)
    • Line 85: warning: exported function PublicKeyImpl should have comment or be unexported (golint)
    • Line 112: warning: exported method MsgWrap.Signature should have comment or be unexported (golint)
    • Line 127: warning: exported method MsgWrap.VerifySignature should have comment or be unexported (golint)
    • Line 141: warning: exported method MsgWrap.SignatureInter should have comment or be unexported (golint)
    • Line 156: warning: exported method MsgWrap.VerifySignatureInter should have comment or be unexported (golint)
    • kaleido/p2p/enr/entries.go
    • Line 61: warning: exported method TCP.ENRKey should have comment or be unexported (golint)
    • Line 66: warning: exported method UDP.ENRKey should have comment or be unexported (golint)
    • Line 71: warning: exported const IDv4 should have comment or be unexported (golint)
    • Line 73: warning: exported method ID.ENRKey should have comment or be unexported (golint)
    • Line 78: warning: exported method IP.ENRKey should have comment or be unexported (golint)
    • kaleido/les/backend.go
    • Line 48: warning: exported type LightEthereum should have comment or be unexported (golint)
    • Line 80: warning: exported function New should have comment or be unexported (golint)
    • Line 164: warning: exported type LightDummyAPI should have comment or be unexported (golint)
    • Line 214: warning: exported method LightEthereum.ResetWithGenesisBlock should have comment or be unexported (golint)
    • Line 218: warning: exported method LightEthereum.BlockChain should have comment or be unexported (golint)
    • Line 219: warning: exported method LightEthereum.TxPool should have comment or be unexported (golint)
    • Line 220: warning: exported method LightEthereum.Engine should have comment or be unexported (golint)
    • Line 221: warning: exported method LightEthereum.LesVersion should have comment or be unexported (golint)
    • Line 222: warning: exported method LightEthereum.Downloader should have comment or be unexported (golint)
    • Line 223: warning: exported method LightEthereum.EventMux should have comment or be unexported (golint)
    • kaleido/rpc/http.go
    • Line 242: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 243: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 244: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 246: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 249: warning: should not use basic type string as key in context.WithValue (golint)
    • kaleido/common/mclock/simclock.go
    • Line 64: warning: exported method Simulated.ActiveTimers should have comment or be unexported (golint)
    • Line 71: warning: exported method Simulated.WaitForTimers should have comment or be unexported (golint)
    • kaleido/eth/poker/protocol.go
    • Line 10: warning: comment on exported var ProtocolName should be of the form "ProtocolName ..." (golint)
    • Line 13: warning: comment on exported var ProtocolVersions should be of the form "ProtocolVersions ..." (golint)
    • Line 16: warning: comment on exported var ProtocolLengths should be of the form "ProtocolLengths ..." (golint)
    • Line 19: warning: exported const ProtocolMaxMsgSize should have comment or be unexported (golint)
    • Line 22: warning: exported const ErrMsgTooLarge should have comment (or a comment on this block) or be unexported (golint)
    • kaleido/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)
    • kaleido/cmd/utils/customflags.go
    • Line 34: warning: comment on exported type DirectoryString should be of the form "DirectoryString ..." (with optional leading article) (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 45: warning: exported method DirectoryString.Set should have comment or be unexported (golint)
    • Line 45: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 50: warning: comment on exported type DirectoryFlag should be of the form "DirectoryFlag ..." (with optional leading article) (golint)
    • Line 58: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 74: warning: comment on exported method DirectoryFlag.Apply should be of the form "Apply ..." (golint)
    • Line 76: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 82: warning: exported type TextMarshaler should have comment or be unexported (golint)
    • Line 111: warning: exported method TextMarshalerFlag.GetName should have comment or be unexported (golint)
    • Line 119: warning: exported method TextMarshalerFlag.Apply should have comment or be unexported (golint)
    • Line 161: warning: exported method BigFlag.GetName should have comment or be unexported (golint)
    • Line 173: warning: exported method BigFlag.Apply should have comment or be unexported (golint)
    • Line 210: warning: exported method DirectoryFlag.GetName should have comment or be unexported (golint)
    • Line 210: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 214: warning: exported method DirectoryFlag.Set should have comment or be unexported (golint)
    • Line 214: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • kaleido/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)
    • kaleido/light/postprocess.go
    • Line 108: warning: exported var ErrNoTrustedCht should have comment or be unexported (golint)
    • Line 239: warning: exported var BloomTrieTablePrefix should have comment or be unexported (golint)
    • kaleido/accounts/abi/bind/base.go
    • Line 179: warning: comment on exported method BoundContract.TransactExact should be of the form "TransactExact ..." (golint)
    • Line 364: warning: comment on exported method BoundContract.UnpackLogExtra should be of the form "UnpackLogExtra ..." (golint)
    • Line 371: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • kaleido/signer/storage/storage.go
    • Line 24: warning: exported type Storage should have comment or be unexported (golint)
    • Line 38: warning: exported method EphemeralStorage.Put should have comment or be unexported (golint)
    • Line 46: warning: exported method EphemeralStorage.Get should have comment or be unexported (golint)
    • Line 57: warning: exported function NewEphemeralStorage should have comment or be unexported (golint)
    • kaleido/signer/core/types.go
    • Line 32: warning: exported type Accounts should have comment or be unexported (golint)
    • Line 42: warning: exported type Account should have comment or be unexported (golint)
    • Line 56: warning: exported type ValidationInfo should have comment or be unexported (golint)
    • Line 60: warning: exported type ValidationMessages should have comment or be unexported (golint)
    • Line 65: warning: exported const WARN should have comment (or a comment on this block) or be unexported (golint)
    • Line 81: warning: receiver name v should be consistent with previous receiver name vs for ValidationMessages (golint)
    • kaleido/consensus/algorand/core/votejournal.go
    • Line 28: warning: exported type JournalType should have comment or be unexported (golint)
    • Line 31: warning: exported const VoteJournalEntry should have comment (or a comment on this block) or be unexported (golint)
    • Line 42: warning: exported type VoteJournal should have comment or be unexported (golint)
    • Line 48: warning: exported function NewVoteJournal should have comment or be unexported (golint)
    • Line 54: warning: exported method VoteJournal.OpenFile should have comment or be unexported (golint)
    • Line 65: warning: exported method VoteJournal.CloseFile should have comment or be unexported (golint)
    • kaleido/mobile/bind.go
    • Line 59: warning: exported method CallOpts.IsPending should have comment or be unexported (golint)
    • Line 60: warning: exported method CallOpts.GetGasLimit should have comment or be unexported (golint)
    • Line 66: warning: exported method CallOpts.SetPending should have comment or be unexported (golint)
    • Line 67: warning: exported method CallOpts.SetGasLimit should have comment or be unexported (golint)
    • Line 68: warning: exported method CallOpts.SetContext should have comment or be unexported (golint)
    • Line 76: warning: exported method TransactOpts.GetFrom should have comment or be unexported (golint)
    • Line 77: warning: exported method TransactOpts.GetNonce should have comment or be unexported (golint)
    • Line 78: warning: exported method TransactOpts.GetValue should have comment or be unexported (golint)
    • Line 79: warning: exported method TransactOpts.GetGasPrice should have comment or be unexported (golint)
    • Line 80: warning: exported method TransactOpts.GetGasLimit should have comment or be unexported (golint)
    • Line 89: warning: exported method TransactOpts.SetFrom should have comment or be unexported (golint)
    • Line 90: warning: exported method TransactOpts.SetNonce should have comment or be unexported (golint)
    • Line 91: warning: exported method TransactOpts.SetSigner should have comment or be unexported (golint)
    • Line 100: warning: exported method TransactOpts.SetValue should have comment or be unexported (golint)
    • Line 101: warning: exported method TransactOpts.SetGasPrice should have comment or be unexported (golint)
    • Line 102: warning: exported method TransactOpts.SetGasLimit should have comment or be unexported (golint)
    • Line 103: warning: exported method TransactOpts.SetContext should have comment or be unexported (golint)
    • Line 146: warning: exported method BoundContract.GetAddress should have comment or be unexported (golint)
    • Line 147: warning: exported method BoundContract.GetDeployer should have comment or be unexported (golint)
    • kaleido/mobile/p2p.go
    • Line 32: warning: exported method NodeInfo.GetID should have comment or be unexported (golint)
    • Line 33: warning: exported method NodeInfo.GetName should have comment or be unexported (golint)
    • Line 34: warning: exported method NodeInfo.GetEnode should have comment or be unexported (golint)
    • Line 35: warning: exported method NodeInfo.GetIP should have comment or be unexported (golint)
    • Line 36: warning: exported method NodeInfo.GetDiscoveryPort should have comment or be unexported (golint)
    • Line 37: warning: exported method NodeInfo.GetListenerPort should have comment or be unexported (golint)
    • Line 38: warning: exported method NodeInfo.GetListenerAddress should have comment or be unexported (golint)
    • Line 39: warning: exported method NodeInfo.GetProtocols should have comment or be unexported (golint)
    • Line 52: warning: exported method PeerInfo.GetID should have comment or be unexported (golint)
    • Line 53: warning: exported method PeerInfo.GetName should have comment or be unexported (golint)
    • Line 54: warning: exported method PeerInfo.GetCaps should have comment or be unexported (golint)
    • Line 55: warning: exported method PeerInfo.GetLocalAddress should have comment or be unexported (golint)
    • Line 56: warning: exported method PeerInfo.GetRemoteAddress should have comment or be unexported (golint)
    • kaleido/light/lightchain.go
    • Line 122: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 137: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 142: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 148: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 177: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 221: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 242: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 269: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 284: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 295: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 305: 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 343: 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 409: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 415: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 421: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 427: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 433: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 445: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 463: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 469: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 477: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 479: warning: exported method LightChain.SyncCht should have comment or be unexported (golint)
    • Line 479: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 512: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 517: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 522: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 527: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 532: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 538: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 544: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 549: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • kaleido/eth/handler.go
    • Line 68: warning: exported type ProtocolManager should have comment or be unexported (golint)
    • Line 216: warning: exported method ProtocolManager.Start should have comment or be unexported (golint)
    • Line 235: warning: exported method ProtocolManager.Stop should have comment or be unexported (golint)
    • kaleido/rpc/json.go
    • Line 278: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • kaleido/consensus/ethash/ethash.go
    • Line 46: warning: exported var ErrInvalidDumpMagic should have comment or be unexported (golint)
    • Line 390: warning: exported const ModeNormal should have comment (or a comment on this block) or be unexported (golint)
    • kaleido/p2p/protocols/reporter.go
    • Line 29: warning: comment on exported type AccountingMetrics should be of the form "AccountingMetrics ..." (with optional leading article) (golint)
    • Line 51: warning: comment on exported function NewAccountingMetrics should be of the form "NewAccountingMetrics ..." (golint)
    • kaleido/ethdb/database.go
    • Line 42: warning: exported var OpenFileLimit should have comment or be unexported (golint)
    • Line 44: warning: exported type LDBDatabase should have comment or be unexported (golint)
    • Line 106: warning: exported method LDBDatabase.Has should have comment or be unexported (golint)
    • Line 124: warning: exported method LDBDatabase.NewIterator should have comment or be unexported (golint)
    • Line 133: warning: exported method LDBDatabase.Close should have comment or be unexported (golint)
    • Line 154: warning: exported method LDBDatabase.LDB should have comment or be unexported (golint)
    • Line 351: warning: exported method LDBDatabase.NewBatch should have comment or be unexported (golint)
    • kaleido/p2p/discv5/node.go
    • Line 271: warning: comment on exported method NodeID.GoString should be of the form "GoString ..." (golint)
    • Line 329: warning: receiver name id should be consistent with previous receiver name n for NodeID (golint)
    • kaleido/internal/build/env.go
    • Line 27: warning: comment on exported var GitCommitFlag should be of the form "GitCommitFlag ..." (golint)
    • Line 29: warning: exported var GitBranchFlag should have comment or be unexported (golint)
    • kaleido/common/types.go
    • Line 58: warning: exported function Uint64ToHash should have comment or be unexported (golint)
    • Line 72: warning: comment on exported method Hash.Str should be of the form "Str ..." (golint)
    • Line 154: warning: exported function EmptyHash should have comment or be unexported (golint)
    • Line 201: warning: exported method Address.Str should have comment or be unexported (golint)
    • kaleido/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)
    • kaleido/les/server.go
    • Line 41: warning: exported type LesServer should have comment or be unexported (golint)
    • Line 52: warning: exported function NewLesServer should have comment or be unexported (golint)
    • Line 110: warning: exported method LesServer.Protocols should have comment or be unexported (golint)
    • Line 133: warning: exported method LesServer.SetBloomBitsIndexer should have comment or be unexported (golint)
    • Line 155: warning: exported type RequestCostList should have comment or be unexported (golint)
    • kaleido/consensus/algorand/core/minerkeymanager.go
    • Line 36: warning: exported const DefaultLifespan should have comment (or a comment on this block) or be unexported (golint)
    • Line 52: warning: exported type MinerKeyManager should have comment or be unexported (golint)
    • Line 60: warning: exported function NewMinerKeyManager should have comment or be unexported (golint)
    • Line 70: warning: exported method MinerKeyManager.GetMinerKey should have comment or be unexported (golint)
    • Line 104: warning: exported method MinerKeyManager.Generate should have comment or be unexported (golint)
    • Line 151: warning: exported method MinerKeyManager.StartUpdateRoutine should have comment or be unexported (golint)
    • kaleido/p2p/enode/idscheme.go
    • Line 31: warning: comment on exported var ValidSchemes should be of the form "ValidSchemes ..." (golint)
    • Line 36: warning: exported var ValidSchemesForTesting should have comment or be unexported (golint)
    • Line 41: warning: comment on exported type V4ID should be of the form "V4ID ..." (with optional leading article) (golint)
    • Line 64: warning: exported method V4ID.Verify should have comment or be unexported (golint)
    • Line 80: warning: exported method V4ID.NodeAddr should have comment or be unexported (golint)
    • Line 95: warning: exported method Secp256k1.ENRKey should have comment or be unexported (golint)
    • Line 143: warning: exported method NullID.Verify should have comment or be unexported (golint)
    • Line 147: warning: exported method NullID.NodeAddr should have comment or be unexported (golint)
    • Line 153: warning: exported function SignNull should have comment or be unexported (golint)
    • kaleido/core/headerchain.go
    • Line 208: warning: exported method HeaderChain.ValidateHeaderChain should have comment or be unexported (golint)
    • Line 337: 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 507: warning: comment on exported method HeaderChain.GetBlock should be of the form "GetBlock ..." (golint)
    • Line 514: warning: receiver name bc should be consistent with previous receiver name hc for HeaderChain (golint)
    • kaleido/signer/core/api.go
    • Line 139: warning: comment on exported type ImportResponse should be of the form "ImportResponse ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported type ListRequest should be of the form "ListRequest ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported type ListResponse should be of the form "ListResponse ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported type Message should be of the form "Message ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported type NewAccountRequest should be of the form "NewAccountRequest ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported type NewAccountResponse should be of the form "NewAccountResponse ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported type PasswordRequest should be of the form "PasswordRequest ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported type PasswordResponse should be of the form "PasswordResponse ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported type SignDataRequest should be of the form "SignDataRequest ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported type SignDataResponse should be of the form "SignDataResponse ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported type StartupInfo should be of the form "StartupInfo ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported type UserInputRequest should be of the form "UserInputRequest ..." (with optional leading article) (golint)
    • Line 139: warning: comment on exported type UserInputResponse should be of the form "UserInputResponse ..." (with optional leading article) (golint)
    • Line 219: warning: exported var ErrRequestDenied should have comment or be unexported (golint)
    • kaleido/les/odr.go
    • Line 37: warning: exported function NewLesOdr should have comment or be unexported (golint)
    • Line 84: warning: exported const MsgBlockBodies should have comment (or a comment on this block) or be unexported (golint)
    • kaleido/internal/jsre/jsre.go
    • Line 35: warning: don't use underscores in Go names; var BigNumber_JS should be BigNumberJS (golint)
    • Line 35: warning: exported var BigNumber_JS should have comment or be unexported (golint)
    • Line 36: warning: don't use underscores in Go names; var Web3_JS should be Web3JS (golint)
    • Line 69: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 233: warning: comment on exported method JSRE.Stop should be of the form "Stop ..." (golint)
    • Line 242: warning: comment on exported method JSRE.Exec should be of the form "Exec ..." (golint)
    • kaleido/mobile/types.go
    • Line 101: warning: exported method Header.GetParentHash should have comment or be unexported (golint)
    • Line 102: warning: exported method Header.GetUncleHash should have comment or be unexported (golint)
    • Line 103: warning: exported method Header.GetCoinbase should have comment or be unexported (golint)
    • Line 104: warning: exported method Header.GetRoot should have comment or be unexported (golint)
    • Line 105: warning: exported method Header.GetTxHash should have comment or be unexported (golint)
    • Line 106: warning: exported method Header.GetReceiptHash should have comment or be unexported (golint)
    • Line 107: warning: exported method Header.GetBloom should have comment or be unexported (golint)
    • Line 108: warning: exported method Header.GetDifficulty should have comment or be unexported (golint)
    • Line 109: warning: exported method Header.GetNumber should have comment or be unexported (golint)
    • Line 110: warning: exported method Header.GetGasLimit should have comment or be unexported (golint)
    • Line 111: warning: exported method Header.GetGasUsed should have comment or be unexported (golint)
    • Line 112: warning: exported method Header.GetTime should have comment or be unexported (golint)
    • Line 113: warning: exported method Header.GetExtra should have comment or be unexported (golint)
    • Line 114: warning: exported method Header.GetMixDigest should have comment or be unexported (golint)
    • Line 115: warning: exported method Header.GetNonce should have comment or be unexported (golint)
    • Line 116: warning: exported method Header.GetHash should have comment or be unexported (golint)
    • Line 172: warning: exported method Block.GetParentHash should have comment or be unexported (golint)
    • Line 173: warning: exported method Block.GetUncleHash should have comment or be unexported (golint)
    • Line 174: warning: exported method Block.GetCoinbase should have comment or be unexported (golint)
    • Line 175: warning: exported method Block.GetRoot should have comment or be unexported (golint)
    • Line 176: warning: exported method Block.GetTxHash should have comment or be unexported (golint)
    • Line 177: warning: exported method Block.GetReceiptHash should have comment or be unexported (golint)
    • Line 178: warning: exported method Block.GetBloom should have comment or be unexported (golint)
    • Line 179: warning: exported method Block.GetDifficulty should have comment or be unexported (golint)
    • Line 180: warning: exported method Block.GetNumber should have comment or be unexported (golint)
    • Line 181: warning: exported method Block.GetGasLimit should have comment or be unexported (golint)
    • Line 182: warning: exported method Block.GetGasUsed should have comment or be unexported (golint)
    • Line 183: warning: exported method Block.GetTime should have comment or be unexported (golint)
    • Line 184: warning: exported method Block.GetExtra should have comment or be unexported (golint)
    • Line 185: warning: exported method Block.GetMixDigest should have comment or be unexported (golint)
    • Line 186: warning: exported method Block.GetNonce should have comment or be unexported (golint)
    • Line 187: warning: exported method Block.GetHash should have comment or be unexported (golint)
    • Line 188: warning: exported method Block.GetHeader should have comment or be unexported (golint)
    • Line 189: warning: exported method Block.GetUncles should have comment or be unexported (golint)
    • Line 190: warning: exported method Block.GetTransactions should have comment or be unexported (golint)
    • Line 191: warning: exported method Block.GetTransaction should have comment or be unexported (golint)
    • Line 238: warning: exported method Transaction.GetData should have comment or be unexported (golint)
    • Line 239: warning: exported method Transaction.GetGas should have comment or be unexported (golint)
    • Line 240: warning: exported method Transaction.GetGasPrice should have comment or be unexported (golint)
    • Line 241: warning: exported method Transaction.GetValue should have comment or be unexported (golint)
    • Line 242: warning: exported method Transaction.GetNonce should have comment or be unexported (golint)
    • Line 244: warning: exported method Transaction.GetHash should have comment or be unexported (golint)
    • Line 245: warning: exported method Transaction.GetCost should have comment or be unexported (golint)
    • Line 247: warning: comment on exported method Transaction.GetSigHash should be of the form "GetSigHash ..." (golint)
    • Line 250: warning: comment on exported method Transaction.GetFrom should be of the form "GetFrom ..." (golint)
    • Line 260: warning: exported method Transaction.GetTo should have comment or be unexported (golint)
    • Line 267: warning: exported method Transaction.WithSignature should have comment or be unexported (golint)
    • Line 330: warning: exported method Receipt.GetStatus should have comment or be unexported (golint)
    • Line 331: warning: exported method Receipt.GetPostState should have comment or be unexported (golint)
    • Line 332: warning: exported method Receipt.GetCumulativeGasUsed should have comment or be unexported (golint)
    • Line 333: warning: exported method Receipt.GetBloom should have comment or be unexported (golint)
    • Line 334: warning: exported method Receipt.GetLogs should have comment or be unexported (golint)
    • Line 335: warning: exported method Receipt.GetTxHash should have comment or be unexported (golint)
    • Line 336: warning: exported method Receipt.GetContractAddress should have comment or be unexported (golint)
    • Line 337: warning: exported method Receipt.GetGasUsed should have comment or be unexported (golint)
    • Line 349: warning: exported function NewNewMessage should have comment or be unexported (golint)
    • Line 356: warning: exported method NewMessage.GetSymKeyID should have comment or be unexported (golint)
    • Line 357: warning: exported method NewMessage.SetSymKeyID should have comment or be unexported (golint)
    • Line 358: warning: exported method NewMessage.GetPublicKey should have comment or be unexported (golint)
    • Line 359: warning: exported method NewMessage.SetPublicKey should have comment or be unexported (golint)
    • Line 362: warning: exported method NewMessage.GetSig should have comment or be unexported (golint)
    • Line 363: warning: exported method NewMessage.SetSig should have comment or be unexported (golint)
    • Line 364: warning: exported method NewMessage.GetTTL should have comment or be unexported (golint)
    • Line 365: warning: exported method NewMessage.SetTTL should have comment or be unexported (golint)
    • Line 366: warning: exported method NewMessage.GetPayload should have comment or be unexported (golint)
    • Line 367: warning: exported method NewMessage.SetPayload should have comment or be unexported (golint)
    • Line 368: warning: exported method NewMessage.GetPowTime should have comment or be unexported (golint)
    • Line 369: warning: exported method NewMessage.SetPowTime should have comment or be unexported (golint)
    • Line 370: warning: exported method NewMessage.GetPowTarget should have comment or be unexported (golint)
    • Line 371: warning: exported method NewMessage.SetPowTarget should have comment or be unexported (golint)
    • Line 372: warning: exported method NewMessage.GetTargetPeer should have comment or be unexported (golint)
    • Line 373: warning: exported method NewMessage.SetTargetPeer should have comment or be unexported (golint)
    • Line 374: warning: exported method NewMessage.GetTopic should have comment or be unexported (golint)
    • Line 375: warning: exported method NewMessage.SetTopic should have comment or be unexported (golint)
    • Line 382: warning: exported method Message.GetSig should have comment or be unexported (golint)
    • Line 383: warning: exported method Message.GetTTL should have comment or be unexported (golint)
    • Line 384: warning: exported method Message.GetTimestamp should have comment or be unexported (golint)
    • Line 385: warning: exported method Message.GetPayload should have comment or be unexported (golint)
    • Line 386: warning: exported method Message.GetPoW should have comment or be unexported (golint)
    • Line 387: warning: exported method Message.GetHash should have comment or be unexported (golint)
    • Line 388: warning: exported method Message.GetDst should have comment or be unexported (golint)
    • Line 413: warning: exported function NewCriteria should have comment or be unexported (golint)
    • Line 422: warning: exported method Criteria.GetSymKeyID should have comment or be unexported (golint)
    • Line 423: warning: exported method Criteria.SetSymKeyID should have comment or be unexported (golint)
    • Line 424: warning: exported method Criteria.GetPrivateKeyID should have comment or be unexported (golint)
    • Line 425: warning: exported method Criteria.SetPrivateKeyID should have comment or be unexported (golint)
    • Line 426: warning: exported method Criteria.GetSig should have comment or be unexported (golint)
    • Line 427: warning: exported method Criteria.SetSig should have comment or be unexported (golint)
    • Line 428: warning: exported method Criteria.GetMinPow should have comment or be unexported (golint)
    • Line 429: warning: exported method Criteria.SetMinPow should have comment or be unexported (golint)
    • kaleido/internal/debug/flags.go
    • Line 23: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 36: warning: exported var Memsize should have comment or be unexported (golint)
    • Line 156: warning: exported function StartPProf should have comment or be unexported (golint)
    • kaleido/p2p/nat/nat.go
    • Line 32: warning: comment on exported type Interface should be of the form "Interface ..." (with optional leading article) (golint)
    • Line 134: warning: exported method ExtIP.ExternalIP should have comment or be unexported (golint)
    • Line 139: warning: exported method ExtIP.AddMapping should have comment or be unexported (golint)
    • Line 140: warning: exported method ExtIP.DeleteMapping should have comment or be unexported (golint)
    • Line 223: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • kaleido/p2p/protocols/accounting_api.go
    • Line 7: warning: comment on exported const AccountingVersion should be of the form "AccountingVersion ..." (golint)
    • Line 24: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 40: warning: comment on exported method AccountingApi.BalanceDebit should be of the form "BalanceDebit ..." (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 56: warning: comment on exported method AccountingApi.BytesDebit should be of the form "BytesDebit ..." (golint)
    • Line 57: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 65: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 73: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 81: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 89: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • kaleido/eth/poker/peer.go
    • Line 40: warning: exported type Peer should have comment or be unexported (golint)
    • Line 58: warning: exported function NewPeer should have comment or be unexported (golint)
    • Line 129: warning: exported method Peer.SendMsg should have comment or be unexported (golint)
    • Line 140: warning: comment on exported type PeerSet should be of the form "PeerSet ..." (with optional leading article) (golint)
    • Line 148: warning: comment on exported function NewPeerSet should be of the form "NewPeerSet ..." (golint)
    • Line 192: warning: comment on exported method PeerSet.CenterPeer should be of the form "CenterPeer ..." (golint)
    • kaleido/les/peer.go
    • Line 623: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • kaleido/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)
    • kaleido/light/txpool_test.go
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • kaleido/crypto/ed25519/forwardsecure.go
    • Line 6: warning: exported const ForwardSecureSignatureSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported type ForwardSecurePublicKey should have comment or be unexported (golint)
    • Line 16: warning: exported type ForwardSecurePrivateKey should have comment or be unexported (golint)
    • Line 22: warning: exported method ForwardSecurePrivateKey.ValidOffset should have comment or be unexported (golint)
    • Line 27: warning: exported type ForwardSecureSignature should have comment or be unexported (golint)
    • Line 33: warning: exported function GenerateForwardSecureKey should have comment or be unexported (golint)
    • Line 65: warning: exported function ForwardSecurePrivateKeyToPublicKey should have comment or be unexported (golint)
    • Line 69: warning: exported function ForwardSecureSign should have comment or be unexported (golint)
    • Line 87: warning: exported function ForwardSecureVerify should have comment or be unexported (golint)
    • Line 94: warning: exported function ForwardSecureUpdate should have comment or be unexported (golint)
    • kaleido/params/bootnodes.go
    • Line 19: warning: exported var KaleidoMainnetBootnodes should have comment or be unexported (golint)
    • Line 26: warning: exported var KaleidoTestnetBootnodes should have comment or be unexported (golint)
    • Line 34: warning: exported var KaleidoMainnetBootnodesV5 should have comment or be unexported (golint)
    • Line 42: warning: exported var KaleidoTestnetBootnodesV5 should have comment or be unexported (golint)
    • kaleido/consensus/algorand/core/types.go
    • Line 41: warning: exported var CodeToString should have comment or be unexported (golint)
    • Line 53: warning: exported type HandshakeData should have comment or be unexported (golint)
    • Line 59: warning: exported type StatusData should have comment or be unexported (golint)
    • Line 64: warning: exported type Credential should have comment or be unexported (golint)
    • Line 75: warning: exported function NewCredentialFromCredentialStorage should have comment or be unexported (golint)
    • Line 86: warning: exported method Credential.LessThan should have comment or be unexported (golint)
    • Line 95: warning: exported type ProposalLeaderData should have comment or be unexported (golint)
    • Line 102: warning: exported function NewProposalLeaderDataFromStorage should have comment or be unexported (golint)
    • Line 115: warning: exported method ProposalLeaderData.SignBytes should have comment or be unexported (golint)
    • Line 119: warning: exported method ProposalLeaderData.LessThan should have comment or be unexported (golint)
    • Line 123: warning: exported method ProposalLeaderData.ToHasProposalData should have comment or be unexported (golint)
    • Line 127: warning: exported method ProposalLeaderData.Valid should have comment or be unexported (golint)
    • Line 131: warning: exported type ProposalBlockData should have comment or be unexported (golint)
    • Line 138: warning: exported function NewProposalBlockDataFromProposalStorage should have comment or be unexported (golint)
    • Line 161: warning: exported method ProposalBlockData.NewProposalLeaderData should have comment or be unexported (golint)
    • Line 169: warning: exported method ProposalBlockData.LessThan should have comment or be unexported (golint)
    • Line 173: warning: exported method ProposalBlockData.ToHasProposalData should have comment or be unexported (golint)
    • Line 177: warning: exported method ProposalBlockData.ToProposalStorage should have comment or be unexported (golint)
    • Line 189: warning: exported method ProposalBlockData.SignBytes should have comment or be unexported (golint)
    • Line 193: warning: exported method ProposalBlockData.Valid should have comment or be unexported (golint)
    • Line 197: warning: exported type HasVoteData should have comment or be unexported (golint)
    • Line 212: warning: exported function ToHasVote should have comment or be unexported (golint)
    • Line 221: warning: comment on exported type VoteData should be of the form "VoteData ..." (with optional leading article) (golint)
    • Line 229: warning: exported function NewVoteDataFromCertVoteStorage should have comment or be unexported (golint)
    • Line 237: warning: exported method VoteData.SignBytes should have comment or be unexported (golint)
    • Line 241: warning: exported method VoteData.Valid should have comment or be unexported (golint)
    • Line 263: warning: exported type HasProposalData should have comment or be unexported (golint)
    • kaleido/light/txpool.go
    • Line 417: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 451: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 470: warning: comment on exported method TxPool.AddBatch should be of the form "AddBatch ..." (golint)
    • Line 472: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 489: warning: receiver name tp should be consistent with previous receiver name pool for TxPool (golint)
    • Line 499: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 512: warning: exported method TxPool.PendingCount should have comment or be unexported (golint)
    • Line 512: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 521: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 537: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • kaleido/p2p/peer_error.go
    • Line 57: warning: exported type DiscReason should have comment or be unexported (golint)
    • Line 60: warning: exported const DiscRequested should have comment (or a comment on this block) or be unexported (golint)
    • kaleido/p2p/simulations/http.go
    • Line 367: warning: comment on exported method Server.GetMockers should be of the form "GetMockers ..." (golint)
    • Line 723: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 738: warning: should not use basic type string as key in context.WithValue (golint)
    • kaleido/cmd/utils/flags.go
    • Line 65: warning: exported var CommandHelpTemplate should have comment or be unexported (golint)
    • Line 117: warning: comment on exported var DataDirFlag should be of the form "DataDirFlag ..." (golint)
    • Line 123: warning: exported var KeyStoreDirFlag should have comment or be unexported (golint)
    • Line 198: warning: comment on exported var DashboardEnabledFlag should be of the form "DashboardEnabledFlag ..." (golint)
    • Line 218: warning: comment on exported var EthashCacheDirFlag should be of the form "EthashCacheDirFlag ..." (golint)
    • Line 248: warning: comment on exported var TxPoolLocalsFlag should be of the form "TxPoolLocalsFlag ..." (golint)
    • Line 302: warning: comment on exported var CacheFlag should be of the form "CacheFlag ..." (golint)
    • Line 328: warning: comment on exported var MiningEnabledFlag should be of the form "MiningEnabledFlag ..." (golint)
    • Line 402: warning: comment on exported var UnlockedAccountFlag should be of the form "UnlockedAccountFlag ..." (golint)
    • Line 422: warning: comment on exported var EthStatsURLFlag should be of the form "EthStatsURLFlag ..." (golint)
    • Line 435: warning: comment on exported var RPCEnabledFlag should be of the form "RPCEnabledFlag ..." (golint)
    • Line 506: warning: comment on exported var MaxPeersFlag should be of the form "MaxPeersFlag ..." (golint)
    • Line 563: warning: comment on exported var JSpathFlag should be of the form "JSpathFlag ..." (golint)
    • Line 570: warning: comment on exported var GpoBlocksFlag should be of the form "GpoBlocksFlag ..." (golint)
    • Line 600: warning: comment on exported var MetricsEnabledFlag should be of the form "MetricsEnabledFlag ..." (golint)
    • Line 629: warning: comment on exported var MetricsInfluxDBTagsFlag should be of the form "MetricsInfluxDBTagsFlag ..." (golint)
    • Line 650: warning: comment on exported var MinerKeyCoinbaseFlag should be of the form "MinerKeyCoinbaseFlag ..." (golint)
    • Line 980: warning: exported function SetP2PConfig should have comment or be unexported (golint)
    • Line 1441: warning: exported function SetupMetrics should have comment or be unexported (golint)
    • Line 1462: warning: exported function SplitTagsFlag should have comment or be unexported (golint)
    • Line 1496: warning: exported function MakeGenesis should have comment or be unexported (golint)
    • kaleido/consensus/algorand/core/context.go
    • Line 74: warning: exported type Broadcaster should have comment or be unexported (golint)
    • Line 124: warning: exported type Snapshot should have comment or be unexported (golint)
    • Line 142: warning: exported type HeightState should have comment or be unexported (golint)
    • Line 182: warning: exported type Context should have comment or be unexported (golint)
    • Line 223: warning: exported function NewContext should have comment or be unexported (golint)
    • Line 270: warning: exported method Context.HRS should have comment or be unexported (golint)
    • Line 274: warning: exported method Context.HR should have comment or be unexported (golint)
    • Line 281: warning: exported method Context.IsMining should have comment or be unexported (golint)
    • Line 406: warning: error should be the last type when returning multiple items (golint)
    • Line 659: warning: exported method Context.Start should have comment or be unexported (golint)
    • Line 665: warning: exported method Context.Stop should have comment or be unexported (golint)
    • Line 670: warning: exported method Context.StartMining should have comment or be unexported (golint)
    • Line 678: warning: exported method Context.StopMining should have comment or be unexported (golint)
    • Line 702: warning: exported method Context.OnReceive should have comment or be unexported (golint)
    • Line 780: warning: exported function PrintVoteJournalEntry should have comment or be unexported (golint)
    • Line 1289: warning: exported method Context.GetParentRoundVoteSet should have comment or be unexported (golint)
    • Line 1314: warning: exported method Context.GetParentProposalBlockData should have comment or be unexported (golint)
    • Line 1448: warning: exported method Context.NewBlock should have comment or be unexported (golint)
    • Line 1636: warning: exported method Context.SetExtra should have comment or be unexported (golint)
    • Line 1644: warning: exported method Context.SetMiner should have comment or be unexported (golint)
    • Line 1683: warning: exported method Context.Pending should have comment or be unexported (golint)
    • Line 1687: warning: exported method Context.RoundVoteSet should have comment or be unexported (golint)
    • Line 1708: warning: exported method Context.Stake should have comment or be unexported (golint)
    • kaleido/eth/filters/filter_system.go
    • Line 56: warning: comment on exported const LastIndexSubscription should be of the form "LastIndexSubscription ..." (golint)
    • Line 74: warning: exported var ErrInvalidSubscriptionID should have comment or be unexported (golint)
    • kaleido/internal/cmdtest/test_cmd.go
    • Line 38: warning: exported function NewTestCmd should have comment or be unexported (golint)
    • Line 42: warning: exported type TestCmd should have comment or be unexported (golint)
    • Line 89: warning: exported method TestCmd.SetTemplateFunc should have comment or be unexported (golint)
    • Line 187: warning: exported method TestCmd.WaitExit should have comment or be unexported (golint)
    • Line 191: warning: exported method TestCmd.Interrupt should have comment or be unexported (golint)
    • Line 218: warning: exported method TestCmd.CloseStdin should have comment or be unexported (golint)
    • Line 222: warning: exported method TestCmd.Kill should have comment or be unexported (golint)
    • kaleido/consensus/algorand/miner.go
    • Line 51: warning: exported function NewMiner should have comment or be unexported (golint)
    • Line 99: warning: exported method Miner.StartService should have comment or be unexported (golint)
    • Line 104: warning: exported method Miner.StopService should have comment or be unexported (golint)
    • Line 110: warning: exported method Miner.Start should have comment or be unexported (golint)
    • Line 125: warning: exported method Miner.Stop should have comment or be unexported (golint)
    • Line 132: warning: exported method Miner.Mining should have comment or be unexported (golint)
    • Line 139: warning: exported method Miner.HashRate should have comment or be unexported (golint)
    • Line 143: warning: exported method Miner.SetExtra should have comment or be unexported (golint)
    • Line 165: warning: exported method Miner.SetEtherbase should have comment or be unexported (golint)
    • Line 170: warning: exported method Miner.Protocols should have comment or be unexported (golint)
    • Line 174: warning: exported method Miner.SetRecommitInterval should have comment or be unexported (golint)
    • kaleido/miner/miner.go
    • Line 57: warning: exported function New should have comment or be unexported (golint)
    • Line 75: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 110: warning: exported method Miner.Start should have comment or be unexported (golint)
    • Line 110: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 121: warning: exported method Miner.Stop should have comment or be unexported (golint)
    • Line 121: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 126: warning: exported method Miner.Close should have comment or be unexported (golint)
    • Line 126: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 131: warning: exported method Miner.Mining should have comment or be unexported (golint)
    • Line 131: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 135: warning: exported method Miner.HashRate should have comment or be unexported (golint)
    • Line 135: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 142: warning: exported method Miner.SetExtra should have comment or be unexported (golint)
    • Line 142: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 151: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 156: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 165: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 169: warning: exported method Miner.SetEtherbase should have comment or be unexported (golint)
    • Line 169: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 174: warning: exported method Miner.Protocols should have comment or be unexported (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 178: warning: exported method Miner.StartService should have comment or be unexported (golint)
    • Line 181: warning: exported method Miner.StopService should have comment or be unexported (golint)
    • kaleido/les/handler.go
    • Line 54: warning: exported const MaxHeaderFetch should have comment (or a comment on this block) or be unexported (golint)
    • Line 70: warning: exported type BlockChain should have comment or be unexported (golint)
    • Line 91: warning: exported type ProtocolManager should have comment or be unexported (golint)
    • Line 174: warning: exported method ProtocolManager.Start should have comment or be unexported (golint)
    • Line 188: warning: exported method ProtocolManager.Stop should have comment or be unexported (golint)
    • kaleido/ethdb/memory_database.go
    • Line 26: warning: comment on exported type MemDatabase should be of the form "MemDatabase ..." (with optional leading article) (golint)
    • Line 34: warning: exported function NewMemDatabase should have comment or be unexported (golint)
    • Line 40: warning: exported function NewMemDatabaseWithCap should have comment or be unexported (golint)
    • Line 46: warning: exported method MemDatabase.Put should have comment or be unexported (golint)
    • Line 54: warning: exported method MemDatabase.Has should have comment or be unexported (golint)
    • Line 62: warning: exported method MemDatabase.Get should have comment or be unexported (golint)
    • Line 72: warning: exported method MemDatabase.Keys should have comment or be unexported (golint)
    • Line 83: warning: exported method MemDatabase.Delete should have comment or be unexported (golint)
    • Line 91: warning: exported method MemDatabase.Close should have comment or be unexported (golint)
    • Line 93: warning: exported method MemDatabase.NewBatch should have comment or be unexported (golint)
    • Line 97: warning: exported method MemDatabase.Len should have comment or be unexported (golint)
    • kaleido/contracts/system.go
    • Line 6: warning: exported var CreatorAddress should have comment or be unexported (golint)
    • Line 13: warning: exported const CreatorAbi should have comment (or a comment on this block) or be unexported (golint)
    • kaleido/mobile/shhclient.go
    • Line 42: warning: comment on exported method WhisperClient.GetInfo should be of the form "GetInfo ..." (golint)
    • Line 64: warning: comment on exported method WhisperClient.MarkTrustedPeer should be of the form "MarkTrustedPeer ..." (golint)
    • Line 138: warning: comment on exported type NewMessageHandler should be of the form "NewMessageHandler ..." (with optional leading article) (golint)
    • kaleido/eth/protocol.go
    • Line 46: warning: exported const ProtocolMaxMsgSize should have comment or be unexported (golint)
    • Line 70: warning: exported const ErrMsgTooLarge should have comment (or a comment on this block) or be unexported (golint)
    • kaleido/mobile/interface.go
    • Line 45: warning: exported method Interface.SetBool should have comment or be unexported (golint)
    • Line 46: warning: exported method Interface.SetBools should have comment or be unexported (golint)
    • Line 47: warning: exported method Interface.SetString should have comment or be unexported (golint)
    • Line 48: warning: exported method Interface.SetStrings should have comment or be unexported (golint)
    • Line 49: warning: exported method Interface.SetBinary should have comment or be unexported (golint)
    • Line 50: warning: exported method Interface.SetBinaries should have comment or be unexported (golint)
    • Line 51: warning: exported method Interface.SetAddress should have comment or be unexported (golint)
    • Line 52: warning: exported method Interface.SetAddresses should have comment or be unexported (golint)
    • Line 53: warning: exported method Interface.SetHash should have comment or be unexported (golint)
    • Line 54: warning: exported method Interface.SetHashes should have comment or be unexported (golint)
    • Line 55: warning: exported method Interface.SetInt8 should have comment or be unexported (golint)
    • Line 56: warning: exported method Interface.SetInt16 should have comment or be unexported (golint)
    • Line 57: warning: exported method Interface.SetInt32 should have comment or be unexported (golint)
    • Line 58: warning: exported method Interface.SetInt64 should have comment or be unexported (golint)
    • Line 59: warning: exported method Interface.SetUint8 should have comment or be unexported (golint)
    • Line 60: warning: exported method Interface.SetUint16 should have comment or be unexported (golint)
    • Line 61: warning: exported method Interface.SetUint32 should have comment or be unexported (golint)
    • Line 62: warning: exported method Interface.SetUint64 should have comment or be unexported (golint)
    • Line 63: warning: exported method Interface.SetBigInt should have comment or be unexported (golint)
    • Line 64: warning: exported method Interface.SetBigInts should have comment or be unexported (golint)
    • Line 66: warning: exported method Interface.SetDefaultBool should have comment or be unexported (golint)
    • Line 67: warning: exported method Interface.SetDefaultBools should have comment or be unexported (golint)
    • Line 68: warning: exported method Interface.SetDefaultString should have comment or be unexported (golint)
    • Line 69: warning: exported method Interface.SetDefaultStrings should have comment or be unexported (golint)
    • Line 70: warning: exported method Interface.SetDefaultBinary should have comment or be unexported (golint)
    • Line 71: warning: exported method Interface.SetDefaultBinaries should have comment or be unexported (golint)
    • Line 72: warning: exported method Interface.SetDefaultAddress should have comment or be unexported (golint)
    • Line 73: warning: exported method Interface.SetDefaultAddresses should have comment or be unexported (golint)
    • Line 74: warning: exported method Interface.SetDefaultHash should have comment or be unexported (golint)
    • Line 75: warning: exported method Interface.SetDefaultHashes should have comment or be unexported (golint)
    • Line 76: warning: exported method Interface.SetDefaultInt8 should have comment or be unexported (golint)
    • Line 77: warning: exported method Interface.SetDefaultInt16 should have comment or be unexported (golint)
    • Line 78: warning: exported method Interface.SetDefaultInt32 should have comment or be unexported (golint)
    • Line 79: warning: exported method Interface.SetDefaultInt64 should have comment or be unexported (golint)
    • Line 80: warning: exported method Interface.SetDefaultUint8 should have comment or be unexported (golint)
    • Line 81: warning: exported method Interface.SetDefaultUint16 should have comment or be unexported (golint)
    • Line 82: warning: exported method Interface.SetDefaultUint32 should have comment or be unexported (golint)
    • Line 83: warning: exported method Interface.SetDefaultUint64 should have comment or be unexported (golint)
    • Line 84: warning: exported method Interface.SetDefaultBigInt should have comment or be unexported (golint)
    • Line 85: warning: exported method Interface.SetDefaultBigInts should have comment or be unexported (golint)
    • Line 87: warning: exported method Interface.GetBool should have comment or be unexported (golint)
    • Line 88: warning: exported method Interface.GetBools should have comment or be unexported (golint)
    • Line 89: warning: exported method Interface.GetString should have comment or be unexported (golint)
    • Line 90: warning: exported method Interface.GetStrings should have comment or be unexported (golint)
    • Line 91: warning: exported method Interface.GetBinary should have comment or be unexported (golint)
    • Line 92: warning: exported method Interface.GetBinaries should have comment or be unexported (golint)
    • Line 93: warning: exported method Interface.GetAddress should have comment or be unexported (golint)
    • Line 94: warning: exported method Interface.GetAddresses should have comment or be unexported (golint)
    • Line 95: warning: exported method Interface.GetHash should have comment or be unexported (golint)
    • Line 96: warning: exported method Interface.GetHashes should have comment or be unexported (golint)
    • Line 97: warning: exported method Interface.GetInt8 should have comment or be unexported (golint)
    • Line 98: warning: exported method Interface.GetInt16 should have comment or be unexported (golint)
    • Line 99: warning: exported method Interface.GetInt32 should have comment or be unexported (golint)
    • Line 100: warning: exported method Interface.GetInt64 should have comment or be unexported (golint)
    • Line 101: warning: exported method Interface.GetUint8 should have comment or be unexported (golint)
    • Line 104: warning: exported method Interface.GetUint16 should have comment or be unexported (golint)
    • Line 107: warning: exported method Interface.GetUint32 should have comment or be unexported (golint)
    • Line 110: warning: exported method Interface.GetUint64 should have comment or be unexported (golint)
    • Line 113: warning: exported method Interface.GetBigInt should have comment or be unexported (golint)
    • Line 114: warning: exported method Interface.GetBigInts should have comment or be unexported (golint)
    • kaleido/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)
    • kaleido/consensus/algorand/handler.go
    • Line 39: warning: exported type NodeInfo should have comment or be unexported (golint)
    • Line 43: warning: exported type ProtocolManager should have comment or be unexported (golint)
    • Line 57: warning: exported function NewProtocolManager should have comment or be unexported (golint)
    • Line 98: warning: exported method ProtocolManager.Start should have comment or be unexported (golint)
    • Line 102: warning: exported method ProtocolManager.Stop should have comment or be unexported (golint)
    • Line 108: warning: comment on exported method ProtocolManager.StartMining should be of the form "StartMining ..." (golint)
    • Line 113: warning: comment on exported method ProtocolManager.StopMining should be of the form "StopMining ..." (golint)
    • Line 241: warning: exported method ProtocolManager.Broadcast should have comment or be unexported (golint)
    • Line 541: warning: exported method ProtocolManager.HR should have comment or be unexported (golint)
    • Line 545: warning: exported method ProtocolManager.GossipInterval should have comment or be unexported (golint)
    • Line 549: warning: exported method ProtocolManager.RoundVoteSet should have comment or be unexported (golint)
    • Line 553: warning: exported method ProtocolManager.GetLeaderProposalValue should have comment or be unexported (golint)
    • Line 557: warning: exported method ProtocolManager.GetProposalBlock should have comment or be unexported (golint)
    • Line 615: warning: exported method ProtocolManager.Sub should have comment or be unexported (golint)
    • Line 618: warning: exported method ProtocolManager.UnSub should have comment or be unexported (golint)
    • Line 621: warning: exported method ProtocolManager.Request should have comment or be unexported (golint)
    • Line 624: warning: exported method ProtocolManager.Publish should have comment or be unexported (golint)
    • Line 627: warning: exported method ProtocolManager.Stake should have comment or be unexported (golint)
    • Line 631: warning: exported method ProtocolManager.Mining should have comment or be unexported (golint)
    • kaleido/les/flowcontrol/manager.go
    • Line 70: warning: exported type ClientManager should have comment or be unexported (golint)
    • Line 80: warning: exported function NewClientManager should have comment or be unexported (golint)
    • Line 92: warning: exported method ClientManager.Stop should have comment or be unexported (golint)
    • Line 92: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 101: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 117: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 128: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 146: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 167: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 171: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 187: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 209: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 218: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • kaleido/cmd/bencher/main.go
    • Line 127: warning: exported function NewBencher should have comment or be unexported (golint)
    • Line 297: warning: don't use underscores in Go names; var index_1 should be index1 (golint)
    • Line 299: warning: don't use underscores in Go names; var indexAccount_1 should be indexAccount1 (golint)
    • kaleido/p2p/simulations/network.go
    • Line 36: warning: exported var DialBanTimeout should have comment or be unexported (golint)
    • Line 412: warning: comment on exported method Network.GetNodeByName should be of the form "GetNodeByName ..." (golint)
    • Line 553: warning: comment on exported method Network.InitConn should be of the form "InitConn ..." (golint)
    • Line 630: warning: exported method Node.Up should have comment or be unexported (golint)
    • Line 636: warning: exported method Node.SetUp should have comment or be unexported (golint)
    • Line 778: warning: exported method Network.SnapshotWithServices should have comment or be unexported (golint)
    • Line 984: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • kaleido/p2p/message.go
    • Line 69: warning: exported type MsgReader should have comment or be unexported (golint)
    • Line 73: warning: exported type MsgWriter should have comment or be unexported (golint)
    • kaleido/cmd/clef/main.go
    • Line 616: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 617: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 618: warning: should not use basic type string as key in context.WithValue (golint)
    • kaleido/internal/web3ext/web3ext.go
    • Line 17: warning: package comment should be of the form "Package web3ext ..." (golint)
    • Line 20: warning: exported var Modules should have comment or be unexported (golint)
    • Line 38: warning: don't use underscores in Go names; const DGame_JS should be DGameJS (golint)
    • Line 38: warning: exported const DGame_JS should have comment or be unexported (golint)
    • Line 52: warning: don't use underscores in Go names; const Chequebook_JS should be ChequebookJS (golint)
    • Line 52: warning: exported const Chequebook_JS should have comment or be unexported (golint)
    • Line 83: warning: don't use underscores in Go names; const Clique_JS should be CliqueJS (golint)
    • Line 83: warning: exported const Clique_JS should have comment or be unexported (golint)
    • Line 129: warning: don't use underscores in Go names; const Ethash_JS should be EthashJS (golint)
    • Line 129: warning: exported const Ethash_JS should have comment or be unexported (golint)
    • Line 157: warning: don't use underscores in Go names; const Admin_JS should be AdminJS (golint)
    • Line 157: warning: exported const Admin_JS should have comment or be unexported (golint)
    • Line 235: warning: don't use underscores in Go names; const Debug_JS should be DebugJS (golint)
    • Line 235: warning: exported const Debug_JS should have comment or be unexported (golint)
    • Line 466: warning: don't use underscores in Go names; const Eth_JS should be EthJS (golint)
    • Line 466: warning: exported const Eth_JS should have comment or be unexported (golint)
    • Line 536: warning: don't use underscores in Go names; const Miner_JS should be MinerJS (golint)
    • Line 536: warning: exported const Miner_JS should have comment or be unexported (golint)
    • Line 581: warning: don't use underscores in Go names; const Net_JS should be NetJS (golint)
    • Line 581: warning: exported const Net_JS should have comment or be unexported (golint)
    • Line 594: warning: don't use underscores in Go names; const Personal_JS should be PersonalJS (golint)
    • Line 594: warning: exported const Personal_JS should have comment or be unexported (golint)
    • Line 640: warning: exported const RPC_JS should have comment or be unexported (golint)
    • Line 653: warning: don't use underscores in Go names; const Shh_JS should be ShhJS (golint)
    • Line 653: warning: exported const Shh_JS should have comment or be unexported (golint)
    • Line 673: warning: exported const SWARMFS_JS should have comment or be unexported (golint)
    • Line 697: warning: don't use underscores in Go names; const TxPool_JS should be TxPoolJS (golint)
    • Line 697: warning: exported const TxPool_JS should have comment or be unexported (golint)
    • Line 724: warning: don't use underscores in Go names; const Accounting_JS should be AccountingJS (golint)
    • Line 724: warning: exported const Accounting_JS should have comment or be unexported (golint)
    • kaleido/core/mortgage.go
    • Line 47: warning: exported type MortgageContractCounter should have comment or be unexported (golint)
    • Line 48: warning: exported type HeightMortgageContractCounter should have comment or be unexported (golint)
    • Line 98: warning: exported type MortgageEntry should have comment or be unexported (golint)
    • Line 102: warning: exported type MortgageWorker should have comment or be unexported (golint)
    • Line 111: warning: exported function NewMortgage should have comment or be unexported (golint)
    • Line 143: warning: exported function ProcessTx should have comment or be unexported (golint)
    • Line 174: warning: exported method MortgageWorker.Updates should have comment or be unexported (golint)
    • Line 201: warning: exported method MortgageWorker.Passable should have comment or be unexported (golint)
    • Line 221: warning: exported method MortgageWorker.AddPending should have comment or be unexported (golint)
    • kaleido/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)
    • kaleido/p2p/enr/enr.go
    • Line 46: warning: exported const SizeLimit should have comment or be unexported (golint)
    • Line 49: warning: exported var ErrInvalidSig should have comment or be unexported (golint)
    • Line 68: warning: exported method SchemeMap.Verify should have comment or be unexported (golint)
    • Line 76: warning: exported method SchemeMap.NodeAddr should have comment or be unexported (golint)
    • kaleido/consensus/algorand/core/state.go
    • Line 36: warning: exported type StateEvent should have comment or be unexported (golint)
    • Line 39: warning: exported const Unchanged should have comment (or a comment on this block) or be unexported (golint)
    • Line 44: warning: exported method StateEvent.IsChanged should have comment or be unexported (golint)
    • Line 77: warning: exported method StateBase.SetContext should have comment or be unexported (golint)
    • Line 81: warning: exported method StateBase.OnEnter should have comment or be unexported (golint)
    • Line 83: warning: exported method StateBase.OnExit should have comment or be unexported (golint)
    • Line 85: warning: exported method StateBase.OnTimeout should have comment or be unexported (golint)
    • Line 87: warning: exported method StateBase.OnPotentialVoteEnough should have comment or be unexported (golint)
    • Line 93: warning: exported method StateBase.OnSoftVoteEnough should have comment or be unexported (golint)
    • Line 95: warning: exported method StateBase.OnCertVoteEnough should have comment or be unexported (golint)
    • Line 175: warning: exported method StateBase.OnNextVoteEnough should have comment or be unexported (golint)
    • Line 189: warning: comment on exported method StateBase.OnProposalLeaderReceived should be of the form "OnProposalLeaderReceived ..." (golint)
    • Line 205: warning: exported method StateBase.OnProposalDataComplete should have comment or be unexported (golint)
    • Line 346: warning: exported method StateProposal.OnExit should have comment or be unexported (golint)
    • Line 350: warning: exported method StateProposal.OnTimeout should have comment or be unexported (golint)
    • Line 365: warning: exported method StateFiltering.OnEnter should have comment or be unexported (golint)
    • Line 407: warning: exported method StateCertifying.OnEnter should have comment or be unexported (golint)
    • Line 428: warning: exported method StateCertifying.OnExit should have comment or be unexported (golint)
    • Line 432: warning: exported method StateCertifying.OnSoftVoteEnough should have comment or be unexported (golint)
    • Line 460: warning: exported method StateCertifying.OnProposalDataComplete should have comment or be unexported (golint)
    • Line 482: warning: exported method StateCertifying.OnTimeout should have comment or be unexported (golint)
    • Line 488: warning: exported type StateFirstFinishing should have comment or be unexported (golint)
    • Line 496: warning: exported method StateFirstFinishing.OnEnter should have comment or be unexported (golint)
    • Line 531: warning: exported type StateSecondFinishing should have comment or be unexported (golint)
    • Line 540: warning: exported method StateSecondFinishing.OnEnter should have comment or be unexported (golint)
    • Line 555: warning: exported method StateSecondFinishing.OnExit should have comment or be unexported (golint)
    • Line 559: warning: exported method StateSecondFinishing.OnSoftVoteEnough should have comment or be unexported (golint)
    • Line 582: warning: exported method StateSecondFinishing.OnProposalDataComplete should have comment or be unexported (golint)
    • Line 602: warning: exported method StateSecondFinishing.OnNextVoteEnough should have comment or be unexported (golint)
    • Line 618: warning: exported method StateSecondFinishing.OnTimeout should have comment or be unexported (golint)
    • kaleido/signer/core/auditlog.go
    • Line 31: warning: exported type AuditLogger should have comment or be unexported (golint)
    • Line 36: warning: exported method AuditLogger.List should have comment or be unexported (golint)
    • Line 44: warning: exported method AuditLogger.New should have comment or be unexported (golint)
    • Line 48: warning: exported method AuditLogger.SignTransaction should have comment or be unexported (golint)
    • Line 66: warning: exported method AuditLogger.Sign should have comment or be unexported (golint)
    • Line 74: warning: exported method AuditLogger.Export should have comment or be unexported (golint)
    • Line 92: warning: exported function NewAuditLogger should have comment or be unexported (golint)
    • kaleido/whisper/whisperv5/envelope.go
    • Line 85: warning: exported method Envelope.IsSymmetric should have comment or be unexported (golint)
    • Line 93: warning: exported method Envelope.Ver should have comment or be unexported (golint)
    • Line 138: warning: exported method Envelope.PoW should have comment or be unexported (golint)
    • kaleido/core/genesis.go
    • Line 71: warning: exported method GenesisAlloc.UnmarshalJSON should have comment or be unexported (golint)
    • Line 162: warning: exported function SetupGenesisBlockWithOverride should have comment or be unexported (golint)
    • kaleido/les/api_backend.go
    • Line 41: warning: exported type LesApiBackend should have comment or be unexported (golint)
    • Line 46: warning: exported method LesApiBackend.ChainConfig should have comment or be unexported (golint)
    • Line 50: warning: exported method LesApiBackend.CurrentBlock should have comment or be unexported (golint)
    • Line 54: warning: exported method LesApiBackend.SetHead should have comment or be unexported (golint)
    • Line 59: warning: exported method LesApiBackend.HeaderByNumber should have comment or be unexported (golint)
    • Line 66: warning: exported method LesApiBackend.HeaderByHash should have comment or be unexported (golint)
    • Line 70: warning: exported method LesApiBackend.BlockByNumber should have comment or be unexported (golint)
    • Line 78: warning: exported method LesApiBackend.StateAndHeaderByNumber should have comment or be unexported (golint)
    • Line 87: warning: exported method LesApiBackend.GetBlock should have comment or be unexported (golint)
    • Line 91: warning: exported method LesApiBackend.GetReceipts should have comment or be unexported (golint)
    • Line 98: warning: exported method LesApiBackend.GetLogs should have comment or be unexported (golint)
    • Line 105: warning: exported method LesApiBackend.GetTd should have comment or be unexported (golint)
    • Line 109: warning: exported method LesApiBackend.GetEVM should have comment or be unexported (golint)
    • Line 115: warning: exported method LesApiBackend.SendTx should have comment or be unexported (golint)
    • Line 119: warning: exported method LesApiBackend.RemoveTx should have comment or be unexported (golint)
    • Line 123: warning: exported method LesApiBackend.GetPoolTransactions should have comment or be unexported (golint)
    • Line 127: warning: exported method LesApiBackend.GetPoolTransactionsCount should have comment or be unexported (golint)
    • Line 131: warning: exported method LesApiBackend.GetPoolTransaction should have comment or be unexported (golint)
    • Line 135: warning: exported method LesApiBackend.GetPoolNonce should have comment or be unexported (golint)
    • Line 139: warning: exported method LesApiBackend.Stats should have comment or be unexported (golint)
    • Line 143: warning: exported method LesApiBackend.TxPoolContent should have comment or be unexported (golint)
    • Line 147: warning: exported method LesApiBackend.SubscribeNewTxsEvent should have comment or be unexported (golint)
    • Line 151: warning: exported method LesApiBackend.SubscribeChainEvent should have comment or be unexported (golint)
    • Line 155: warning: exported method LesApiBackend.SubscribeChainHeadEvent should have comment or be unexported (golint)
    • Line 159: warning: exported method LesApiBackend.SubscribeChainSideEvent should have comment or be unexported (golint)
    • Line 163: warning: exported method LesApiBackend.SubscribeLogsEvent should have comment or be unexported (golint)
    • Line 167: warning: exported method LesApiBackend.SubscribeRemovedLogsEvent should have comment or be unexported (golint)
    • Line 171: warning: exported method LesApiBackend.Downloader should have comment or be unexported (golint)
    • Line 175: warning: exported method LesApiBackend.ProtocolVersion should have comment or be unexported (golint)
    • Line 179: warning: exported method LesApiBackend.SuggestPrice should have comment or be unexported (golint)
    • Line 183: warning: exported method LesApiBackend.ChainDb should have comment or be unexported (golint)
    • Line 187: warning: exported method LesApiBackend.EventMux should have comment or be unexported (golint)
    • Line 191: warning: exported method LesApiBackend.AccountManager should have comment or be unexported (golint)
    • Line 195: warning: exported method LesApiBackend.RPCGasCap should have comment or be unexported (golint)
    • Line 199: warning: exported method LesApiBackend.BloomStatus should have comment or be unexported (golint)
    • Line 207: warning: exported method LesApiBackend.ServiceFilter should have comment or be unexported (golint)
    • kaleido/les/flowcontrol/control.go
    • Line 29: warning: exported type ServerParams should have comment or be unexported (golint)
    • Line 33: warning: exported type ClientNode should have comment or be unexported (golint)
    • Line 42: warning: exported function NewClientNode should have comment or be unexported (golint)
    • Line 53: warning: exported method ClientNode.Remove should have comment or be unexported (golint)
    • Line 69: warning: exported method ClientNode.AcceptRequest should have comment or be unexported (golint)
    • Line 78: warning: exported method ClientNode.RequestProcessed should have comment or be unexported (golint)
    • Line 95: warning: exported type ServerNode should have comment or be unexported (golint)
    • Line 104: warning: exported function NewServerNode should have comment or be unexported (golint)
    • kaleido/eth/poker/handler.go
    • Line 16: warning: exported type ProtocolManager should have comment or be unexported (golint)
    • Line 26: warning: exported function NewProtocolManager should have comment or be unexported (golint)
    • Line 75: warning: exported method ProtocolManager.Start should have comment or be unexported (golint)
    • Line 79: warning: exported method ProtocolManager.Stop should have comment or be unexported (golint)
    • kaleido/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)
    • kaleido/rpc/client.go
    • Line 39: warning: exported var ErrClientQuit should have comment or be unexported (golint)
    • Line 294: warning: comment on exported method Client.BatchCallContext should be of the form "BatchCallContext ..." (golint)
    • Line 750: warning: error should be the last type when returning multiple items (golint)
    • kaleido/rpc/subscription.go
    • Line 28: warning: comment on exported var ErrSubscriptionNotFound should be of the form "ErrSubscriptionNotFound ..." (golint)
    • Line 35: warning: comment on exported type Subscription should be of the form "Subscription ..." (with optional leading article) (golint)
    • kaleido/internal/ethapi/api.go
    • Line 511: warning: comment on exported type AccountResult should be of the form "AccountResult ..." (with optional leading article) (golint)
    • Line 521: warning: exported type StorageResult should have comment or be unexported (golint)
    • Line 837: warning: comment on exported function FormatLogs should be of the form "FormatLogs ..." (golint)
    • Line 1545: warning: exported method PrivateDebugAPI.ChaindbCompact should have comment or be unexported (golint)
    • kaleido/core/weight.go
    • Line 19: warning: exported function GetSortitionWeight should have comment or be unexported (golint)
    • Line 32: warning: exported function GetSortitionWeightByState should have comment or be unexported (golint)
    • kaleido/p2p/enode/node.go
    • Line 85: warning: comment on exported method Node.TCP should be of the form "TCP ..." (golint)
    • Line 108: warning: comment on exported method Node.ValidateComplete should be of the form "ValidateComplete ..." (golint)
    • Line 158: warning: comment on exported method ID.GoString should be of the form "GoString ..." (golint)
    • kaleido/tests/vm_test_util.go
    • Line 42: warning: exported method VMTest.UnmarshalJSON should have comment or be unexported (golint)
    • Line 81: warning: exported method VMTest.Run should have comment or be unexported (golint)
    • kaleido/p2p/server.go
    • Line 347: warning: comment on exported method Server.SubscribeEvents should be of the form "SubscribeEvents ..." (golint)
    • Line 1082: warning: exported method Server.Resolve should have comment or be unexported (golint)
    • kaleido/dashboard/message.go
    • Line 24: warning: exported type Message should have comment or be unexported (golint)
    • Line 34: warning: exported type ChartEntries should have comment or be unexported (golint)
    • Line 36: warning: exported type ChartEntry should have comment or be unexported (golint)
    • Line 41: warning: exported type GeneralMessage should have comment or be unexported (golint)
    • Line 46: warning: exported type HomeMessage should have comment or be unexported (golint)
    • Line 50: warning: exported type ChainMessage should have comment or be unexported (golint)
    • Line 54: warning: exported type TxPoolMessage should have comment or be unexported (golint)
    • Line 58: warning: exported type NetworkMessage should have comment or be unexported (golint)
    • Line 62: warning: exported type SystemMessage should have comment or be unexported (golint)
    • Line 90: warning: exported type LogsRequest should have comment or be unexported (golint)
    • kaleido/consensus/ethash/algorithm.go
    • Line 60: warning: exported function CacheSize should have comment or be unexported (golint)
    • Line 84: warning: exported function DatasetSize should have comment or be unexported (golint)
    • Line 215: warning: exported function GenerateCache should have comment or be unexported (golint)
    • Line 401: warning: comment on exported function HashimotoLight should be of the form "HashimotoLight ..." (golint)
    • kaleido/mobile/vm.go
    • Line 33: warning: exported method Log.GetAddress should have comment or be unexported (golint)
    • Line 34: warning: exported method Log.GetTopics should have comment or be unexported (golint)
    • Line 35: warning: exported method Log.GetData should have comment or be unexported (golint)
    • Line 36: warning: exported method Log.GetBlockNumber should have comment or be unexported (golint)
    • Line 37: warning: exported method Log.GetTxHash should have comment or be unexported (golint)
    • Line 38: warning: exported method Log.GetTxIndex should have comment or be unexported (golint)
    • Line 39: warning: exported method Log.GetBlockHash should have comment or be unexported (golint)
    • Line 40: warning: exported method Log.GetIndex should have comment or be unexported (golint)
    • kaleido/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)
    • kaleido/gameutils/type.go
    • Line 13: warning: exported type UserID should have comment or be unexported (golint)
    • Line 15: warning: exported type DeskID should have comment or be unexported (golint)
    • Line 20: warning: exported type Card should have comment or be unexported (golint)
    • Line 22: warning: exported type MsgCodeType should have comment or be unexported (golint)
    • Line 24: warning: exported type KeyType should have comment or be unexported (golint)
    • Line 26: warning: exported type PublicKey should have comment or be unexported (golint)
    • Line 31: warning: exported type EcPoint should have comment or be unexported (golint)
    • Line 36: warning: exported type PointPair should have comment or be unexported (golint)
    • Line 41: warning: exported type LogicData should have comment or be unexported (golint)
    • Line 47: warning: exported type DealOP should have comment or be unexported (golint)
    • Line 53: warning: exported type DealOPBackup should have comment or be unexported (golint)
    • Line 74: warning: exported function PublicKeyVerify should have comment or be unexported (golint)
    • Line 97: warning: exported function PointVerify should have comment or be unexported (golint)
    • kaleido/internal/build/archive.go
    • Line 30: warning: exported type Archive should have comment or be unexported (golint)
    • Line 44: warning: exported function NewArchive should have comment or be unexported (golint)
    • Line 107: warning: exported type ZipArchive should have comment or be unexported (golint)
    • Line 113: warning: exported function NewZipArchive should have comment or be unexported (golint)
    • Line 117: warning: exported method ZipArchive.Directory should have comment or be unexported (golint)
    • Line 122: warning: exported method ZipArchive.Header should have comment or be unexported (golint)
    • Line 136: warning: exported method ZipArchive.Close should have comment or be unexported (golint)
    • Line 143: warning: exported type TarballArchive should have comment or be unexported (golint)
    • Line 150: warning: exported function NewTarballArchive should have comment or be unexported (golint)
    • Line 156: warning: exported method TarballArchive.Directory should have comment or be unexported (golint)
    • Line 165: warning: exported method TarballArchive.Header should have comment or be unexported (golint)
    • Line 177: warning: exported method TarballArchive.Close should have comment or be unexported (golint)
    • kaleido/signer/core/cliui.go
    • Line 34: warning: exported type CommandlineUI should have comment or be unexported (golint)
    • Line 39: warning: exported function NewCommandlineUI should have comment or be unexported (golint)
    • Line 86: warning: exported method CommandlineUI.OnInputRequired should have comment or be unexported (golint)
    • Line 262: warning: exported method CommandlineUI.OnApprovedTx should have comment or be unexported (golint)
    • Line 267: warning: exported method CommandlineUI.OnSignerStartup should have comment or be unexported (golint)
    • kaleido/p2p/simulations/mocker.go
    • Line 39: warning: comment on exported function LookupMocker should be of the form "LookupMocker ..." (golint)
    • Line 44: warning: comment on exported function GetMockerList should be of the form "GetMockerList ..." (golint)
    • kaleido/les/txrelay.go
    • Line 32: warning: exported type LesTxRelay should have comment or be unexported (golint)
    • Line 43: warning: exported function NewLesTxRelay should have comment or be unexported (golint)
    • Line 54: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 61: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 70: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 139: warning: exported method LesTxRelay.Send should have comment or be unexported (golint)
    • Line 139: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 146: warning: exported method LesTxRelay.NewHead should have comment or be unexported (golint)
    • Line 146: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 169: warning: exported method LesTxRelay.Discard should have comment or be unexported (golint)
    • Line 169: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • kaleido/cmd/utils/cmd.go
    • Line 66: warning: exported function StartNode should have comment or be unexported (golint)
    • Line 88: warning: exported function ImportChain should have comment or be unexported (golint)
    • kaleido/signer/core/stdioui.go
    • Line 29: warning: exported type StdIOUI should have comment or be unexported (golint)
    • Line 34: warning: exported function NewStdIOUI should have comment or be unexported (golint)
    • Line 52: warning: exported method StdIOUI.ApproveTx should have comment or be unexported (golint)
    • Line 58: warning: exported method StdIOUI.ApproveSignData should have comment or be unexported (golint)
    • Line 64: warning: exported method StdIOUI.ApproveExport should have comment or be unexported (golint)
    • Line 70: warning: exported method StdIOUI.ApproveImport should have comment or be unexported (golint)
    • Line 76: warning: exported method StdIOUI.ApproveListing should have comment or be unexported (golint)
    • Line 82: warning: exported method StdIOUI.ApproveNewAccount should have comment or be unexported (golint)
    • Line 88: warning: exported method StdIOUI.ShowError should have comment or be unexported (golint)
    • Line 95: warning: exported method StdIOUI.ShowInfo should have comment or be unexported (golint)
    • Line 101: warning: exported method StdIOUI.OnApprovedTx should have comment or be unexported (golint)
    • Line 108: warning: exported method StdIOUI.OnSignerStartup should have comment or be unexported (golint)
    • Line 114: warning: exported method StdIOUI.OnInputRequired should have comment or be unexported (golint)
    • kaleido/consensus/algorand/protocol.go
    • Line 21: warning: exported const ProtocolName should have comment or be unexported (golint)
    • Line 22: warning: exported const Version should have comment or be unexported (golint)
    • Line 24: warning: comment on exported var ProtocolVersions should be of the form "ProtocolVersions ..." (golint)
    • Line 27: warning: comment on exported var ProtocolLengths should be of the form "ProtocolLengths ..." (golint)
    • Line 30: warning: exported const ProtocolMaxMsgSize should have comment or be unexported (golint)
    • Line 35: warning: exported const ErrMsgTooLarge should have comment (or a comment on this block) or be unexported (golint)
    • kaleido/core/proof.go
    • Line 63: warning: exported function BuildProof should have comment or be unexported (golint)
    • Line 135: warning: exported function VerifyProof should have comment or be unexported (golint)
    • kaleido/p2p/discv5/net.go
    • Line 284: warning: exported method Network.RegisterTopic should have comment or be unexported (golint)
    • Line 300: warning: exported method Network.SearchTopic should have comment or be unexported (golint)
    • kaleido/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)
    • kaleido/p2p/peer.go
    • Line 37: warning: exported var ErrShuttingDown should have comment or be unexported (golint)
    • Line 195: warning: exported method Peer.Log should have comment or be unexported (golint)
    • kaleido/eth/downloader/modes.go
    • Line 25: warning: exported const FullSync should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: exported method SyncMode.IsValid should have comment or be unexported (golint)
    • Line 48: warning: exported method SyncMode.MarshalText should have comment or be unexported (golint)
    • Line 61: warning: exported method SyncMode.UnmarshalText should have comment or be unexported (golint)
    • kaleido/p2p/simulations/test.go
    • Line 18: warning: exported function NewNoopService should have comment or be unexported (golint)
    • Line 24: warning: exported method NoopService.Protocols should have comment or be unexported (golint)
    • Line 49: warning: exported method NoopService.APIs should have comment or be unexported (golint)
    • Line 53: warning: exported method NoopService.Start should have comment or be unexported (golint)
    • Line 57: warning: exported method NoopService.Stop should have comment or be unexported (golint)
    • Line 61: warning: exported function VerifyRing should have comment or be unexported (golint)
    • Line 80: warning: exported function VerifyChain should have comment or be unexported (golint)
    • Line 99: warning: exported function VerifyFull should have comment or be unexported (golint)
    • Line 117: warning: exported function VerifyStar should have comment or be unexported (golint)
    • kaleido/les/odr_requests.go
    • Line 17: warning: package comment should be of the form "Package les ..." (golint)
    • Line 50: warning: exported type LesOdrRequest should have comment or be unexported (golint)
    • Line 57: warning: exported function LesRequest should have comment or be unexported (golint)
    • Line 96: warning: comment on exported method BlockRequest.Validate should be of the form "Validate ..." (golint)
    • Line 152: warning: comment on exported method ReceiptsRequest.Validate should be of the form "Validate ..." (golint)
    • Line 181: warning: exported type ProofReq should have comment or be unexported (golint)
    • Line 187: warning: comment on exported type TrieRequest should be of the form "TrieRequest ..." (with optional leading article) (golint)
    • Line 219: warning: comment on exported method TrieRequest.Validate should be of the form "Validate ..." (golint)
    • Line 259: warning: exported type CodeReq should have comment or be unexported (golint)
    • Line 264: warning: comment on exported type CodeRequest should be of the form "CodeRequest ..." (with optional leading article) (golint)
    • Line 288: warning: comment on exported method CodeRequest.Validate should be of the form "Validate ..." (golint)
    • Line 323: warning: exported type HelperTrieReq should have comment or be unexported (golint)
    • Line 330: warning: exported type HelperTrieResps should have comment or be unexported (golint)
    • Line 335: warning: comment on exported type ChtReq should be of the form "ChtReq ..." (with optional leading article) (golint)
    • Line 341: warning: comment on exported type ChtResp should be of the form "ChtResp ..." (with optional leading article) (golint)
    • Line 347: warning: comment on exported type ChtRequest should be of the form "ChtRequest ..." (with optional leading article) (golint)
    • Line 399: warning: comment on exported method ChtRequest.Validate should be of the form "Validate ..." (golint)
    • Line 480: warning: exported type BloomReq should have comment or be unexported (golint)
    • Line 484: warning: comment on exported type BloomRequest should be of the form "BloomRequest ..." (with optional leading article) (golint)
    • Line 523: warning: comment on exported method BloomRequest.Validate should be of the form "Validate ..." (golint)
    • kaleido/consensus/algorand/core/minerverifier.go
    • Line 44: warning: exported type MinerVerifier should have comment or be unexported (golint)
    • Line 56: warning: exported method MinerVerifier.Coinbase should have comment or be unexported (golint)
    • Line 60: warning: exported method MinerVerifier.VerifySeed should have comment or be unexported (golint)
    • Line 82: warning: error should be the last type when returning multiple items (golint)
    • Line 82: warning: exported method MinerVerifier.VerifySortition should have comment or be unexported (golint)
    • Line 110: warning: exported method MinerVerifier.VerifySignature should have comment or be unexported (golint)
    • Line 112: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 125: warning: exported method MinerVerifier.AbiString should have comment or be unexported (golint)
    • Line 147: warning: exported method MinerVerifier.KeyValueStorage should have comment or be unexported (golint)
    • Line 170: warning: exported method MinerVerifier.GenesisString should have comment or be unexported (golint)
    • Line 176: warning: exported method MinerVerifier.Validate should have comment or be unexported (golint)
    • kaleido/light/odr_util.go
    • Line 31: warning: don't use underscores in Go names; var sha3_nil should be sha3Nil (golint)
    • Line 33: warning: exported function GetHeaderByNumber should have comment or be unexported (golint)
    • Line 72: warning: exported function GetCanonicalHash should have comment or be unexported (golint)
    • Line 92: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 228: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • kaleido/core/vm/logger_json.go
    • Line 29: warning: exported type JSONLogger should have comment or be unexported (golint)
    • Line 44: warning: exported method JSONLogger.CaptureStart should have comment or be unexported (golint)
    • kaleido/crypto/ed25519/vrf.go
    • Line 59: warning: exported function VrfPrivateKeyToPublicKey should have comment or be unexported (golint)
    • Line 107: warning: exported function VrfVerify256 should have comment or be unexported (golint)
    • kaleido/eth/api_backend.go
    • Line 50: warning: exported method EthAPIBackend.CurrentBlock should have comment or be unexported (golint)
    • Line 54: warning: exported method EthAPIBackend.SetHead should have comment or be unexported (golint)
    • Line 59: warning: exported method EthAPIBackend.HeaderByNumber should have comment or be unexported (golint)
    • Line 72: warning: exported method EthAPIBackend.HeaderByHash should have comment or be unexported (golint)
    • Line 76: warning: exported method EthAPIBackend.BlockByNumber should have comment or be unexported (golint)
    • Line 89: warning: exported method EthAPIBackend.StateAndHeaderByNumber should have comment or be unexported (golint)
    • Line 104: warning: exported method EthAPIBackend.GetBlock should have comment or be unexported (golint)
    • Line 108: warning: exported method EthAPIBackend.GetReceipts should have comment or be unexported (golint)
    • Line 112: warning: exported method EthAPIBackend.GetLogs should have comment or be unexported (golint)
    • Line 124: warning: exported method EthAPIBackend.GetTd should have comment or be unexported (golint)
    • Line 128: warning: exported method EthAPIBackend.GetEVM should have comment or be unexported (golint)
    • Line 136: warning: exported method EthAPIBackend.SubscribeRemovedLogsEvent should have comment or be unexported (golint)
    • Line 140: warning: exported method EthAPIBackend.SubscribeChainEvent should have comment or be unexported (golint)
    • Line 144: warning: exported method EthAPIBackend.SubscribeChainHeadEvent should have comment or be unexported (golint)
    • Line 148: warning: exported method EthAPIBackend.SubscribeChainSideEvent should have comment or be unexported (golint)
    • Line 152: warning: exported method EthAPIBackend.SubscribeLogsEvent should have comment or be unexported (golint)
    • Line 156: warning: exported method EthAPIBackend.SendTx should have comment or be unexported (golint)
    • Line 160: warning: exported method EthAPIBackend.GetPoolTransactions should have comment or be unexported (golint)
    • Line 172: warning: exported method EthAPIBackend.GetPoolTransactionsCount should have comment or be unexported (golint)
    • Line 176: warning: exported method EthAPIBackend.GetPoolTransaction should have comment or be unexported (golint)
    • Line 180: warning: exported method EthAPIBackend.GetPoolNonce should have comment or be unexported (golint)
    • Line 184: warning: exported method EthAPIBackend.Stats should have comment or be unexported (golint)
    • Line 188: warning: exported method EthAPIBackend.TxPoolContent should have comment or be unexported (golint)
    • Line 192: warning: exported method EthAPIBackend.SubscribeNewTxsEvent should have comment or be unexported (golint)
    • Line 196: warning: exported method EthAPIBackend.Downloader should have comment or be unexported (golint)
    • Line 200: warning: exported method EthAPIBackend.ProtocolVersion should have comment or be unexported (golint)
    • Line 204: warning: exported method EthAPIBackend.SuggestPrice should have comment or be unexported (golint)
    • Line 208: warning: exported method EthAPIBackend.ChainDb should have comment or be unexported (golint)
    • Line 212: warning: exported method EthAPIBackend.EventMux should have comment or be unexported (golint)
    • Line 216: warning: exported method EthAPIBackend.AccountManager should have comment or be unexported (golint)
    • Line 220: warning: exported method EthAPIBackend.RPCGasCap should have comment or be unexported (golint)
    • Line 224: warning: exported method EthAPIBackend.BloomStatus should have comment or be unexported (golint)
    • Line 229: warning: exported method EthAPIBackend.ServiceFilter should have comment or be unexported (golint)
    • kaleido/ethclient/ethclient.go
    • Line 45: warning: exported function DialContext should have comment or be unexported (golint)
    • Line 58: warning: exported method Client.Close should have comment or be unexported (golint)
    • Line 444: warning: comment on exported method Client.GetTxPoolPendingTransactionCount should be of the form "GetTxPoolPendingTransactionCount ..." (golint)
    • kaleido/eth/downloader/events.go
    • Line 19: warning: exported type DoneEvent should have comment or be unexported (golint)
    • Line 20: warning: exported type StartEvent should have comment or be unexported (golint)
    • Line 21: warning: exported type FailedEvent should have comment or be unexported (golint)
    • kaleido/consensus/algorand/core/minerkey.go
    • Line 49: warning: exported type MinerKey should have comment or be unexported (golint)
    • Line 56: warning: exported function NewEmptyMinerKey should have comment or be unexported (golint)
    • Line 62: warning: exported method MinerKey.Seed should have comment or be unexported (golint)
    • Line 91: warning: exported method MinerKey.Sortition should have comment or be unexported (golint)
    • Line 125: warning: exported method MinerKey.Sign should have comment or be unexported (golint)
    • Line 144: warning: exported method MinerKey.Validate should have comment or be unexported (golint)
    • Line 148: warning: exported method MinerKey.Update should have comment or be unexported (golint)
    • Line 156: warning: exported method MinerKey.EncodeRLP should have comment or be unexported (golint)
    • Line 163: warning: exported method MinerKey.DecodeRLP should have comment or be unexported (golint)
    • Line 170: warning: exported method MinerKey.ToVerifier should have comment or be unexported (golint)
    • kaleido/params/kalgoversion.go
    • Line 8: warning: exported const KalgoVersionMajor should have comment (or a comment on this block) or be unexported (golint)
    • Line 42: warning: exported function KalgoVersionWithCommit should have comment or be unexported (golint)
    • kaleido/params/protocol_params.go
    • Line 22: warning: exported const GasLimitBoundDivisor should have comment (or a comment on this block) or be unexported (golint)
    • Line 92: warning: exported var DifficultyBoundDivisor should have comment or be unexported (golint)
    • kaleido/p2p/metrics.go
    • Line 36: warning: exported const MetricsInboundConnects should have comment (or a comment on this block) or be unexported (golint)
    • Line 50: warning: exported var PeerIngressRegistry should have comment or be unexported (golint)
    • kaleido/signer/core/validation.go
    • Line 34: warning: exported type Validator should have comment or be unexported (golint)
    • Line 38: warning: exported function NewValidator should have comment or be unexported (golint)
    • Line 159: warning: exported var Printable7BitAscii should have comment or be unexported (golint)
    • kaleido/crypto/ed25519/ed25519.go
    • Line 31: warning: exported type Signature should have comment or be unexported (golint)
    • Line 32: warning: exported type PublicKey should have comment or be unexported (golint)
    • Line 33: warning: exported type PrivateKey should have comment or be unexported (golint)
    • Line 34: warning: exported type Seed should have comment or be unexported (golint)
    • kaleido/core/blockchain.go
    • Line 56: warning: exported var ErrNoGenesis should have comment or be unexported (golint)
    • Line 221: warning: exported method BlockChain.SetMortgage should have comment or be unexported (golint)
    • Line 616: warning: exported method BlockChain.BuildProof should have comment or be unexported (golint)
    • Line 785: warning: exported const NonStatTy should have comment (or a comment on this block) or be unexported (golint)
    • Line 1377: warning: exported method BlockChain.UpdateMortgage should have comment or be unexported (golint)
    • kaleido/les/protocol.go
    • Line 48: warning: comment on exported var ProtocolLengths should be of the form "ProtocolLengths ..." (golint)
    • Line 52: warning: exported const NetworkId should have comment (or a comment on this block) or be unexported (golint)
    • Line 87: warning: exported const ErrMsgTooLarge should have comment (or a comment on this block) or be unexported (golint)
    • kaleido/rpc/types.go
    • Line 119: warning: exported type BlockNumber should have comment or be unexported (golint)
    • Line 122: warning: exported const PendingBlockNumber should have comment (or a comment on this block) or be unexported (golint)
    • Line 163: warning: exported method BlockNumber.Int64 should have comment or be unexported (golint)
    • kaleido/accounts/keystore/key.go
    • Line 42: warning: exported type Key should have comment or be unexported (golint)
    • Line 81: warning: exported type CryptoJSON should have comment or be unexported (golint)
    • Line 94: warning: exported method Key.MarshalJSON should have comment or be unexported (golint)
    • Line 105: warning: exported method Key.UnmarshalJSON should have comment or be unexported (golint)
    • kaleido/p2p/testing/peerpool.go
    • Line 27: warning: exported type TestPeer should have comment or be unexported (golint)
    • Line 38: warning: exported function NewTestPeerPool should have comment or be unexported (golint)
    • Line 42: warning: exported method TestPeerPool.Add should have comment or be unexported (golint)
    • Line 50: warning: exported method TestPeerPool.Remove should have comment or be unexported (golint)
    • Line 56: warning: exported method TestPeerPool.Has should have comment or be unexported (golint)
    • Line 63: warning: exported method TestPeerPool.Get should have comment or be unexported (golint)
    • kaleido/p2p/protocols/accounting.go
    • Line 53: warning: exported type Payer should have comment or be unexported (golint)
    • Line 56: warning: exported const Sender should have comment (or a comment on this block) or be unexported (golint)
    • Line 103: warning: exported function NewAccounting should have comment or be unexported (golint)
    • kaleido/light/trie.go
    • Line 32: warning: exported function NewState should have comment or be unexported (golint)
    • Line 36: warning: exported function NewStateDatabase should have comment or be unexported (golint)
    • kaleido/core/asm/asm.go
    • Line 17: warning: package comment should be of the form "Package asm ..." (golint)
    • Line 37: warning: comment on exported function NewInstructionIterator should be of the form "NewInstructionIterator ..." (golint)
    • Line 102: warning: comment on exported function PrintDisassembled should be of the form "PrintDisassembled ..." (golint)
    • Line 120: warning: comment on exported function Disassemble should be of the form "Disassemble ..." (golint)
    • kaleido/gameutils/msgcommon.go
    • Line 57: warning: comment on exported type StatusData should be of the form "StatusData ..." (with optional leading article) (golint)
    • Line 72: warning: exported type SitReusltData should have comment or be unexported (golint)
    • Line 76: warning: exported type LeaveData should have comment or be unexported (golint)
    • Line 80: warning: exported type ChangeSeatData should have comment or be unexported (golint)
    • Line 91: warning: comment on exported type EcPointData should be of the form "EcPointData ..." (with optional leading article) (golint)
    • Line 99: warning: exported type SumpointSignData should have comment or be unexported (golint)
    • Line 106: warning: comment on exported type SumpublicKeySignData should be of the form "SumpublicKeySignData ..." (with optional leading article) (golint)
    • Line 114: warning: exported type FinalShuffSignData should have comment or be unexported (golint)
    • Line 121: warning: comment on exported type ShuffleDataRsp should be of the form "ShuffleDataRsp ..." (with optional leading article) (golint)
    • Line 126: warning: comment on exported type DealCardData should be of the form "DealCardData ..." (with optional leading article) (golint)
    • Line 136: warning: comment on exported type CallCardData should be of the form "CallCardData ..." (with optional leading article) (golint)
    • Line 145: warning: exported type NotifyNotaryData should have comment or be unexported (golint)
    • Line 150: warning: comment on exported type PublicKeyData should be of the form "PublicKeyData ..." (with optional leading article) (golint)
    • Line 159: warning: comment on exported type ShuffleData should be of the form "ShuffleData ..." (with optional leading article) (golint)
    • Line 168: warning: comment on exported type KeyCardData should be of the form "KeyCardData ..." (with optional leading article) (golint)
    • Line 180: warning: comment on exported type BetData should be of the form "BetData ..." (with optional leading article) (golint)
    • Line 196: warning: exported type CheckOutOriginalData should have comment or be unexported (golint)
    • Line 202: warning: exported type CheckOutSignData should have comment or be unexported (golint)
    • Line 208: warning: exported type CheckOutData should have comment or be unexported (golint)
    • Line 214: warning: exported type MsgData should have comment or be unexported (golint)
    • Line 218: warning: exported method MsgData.Decode should have comment or be unexported (golint)
    • Line 222: warning: exported type BetSignData should have comment or be unexported (golint)
    • Line 229: warning: exported type SettleSignData should have comment or be unexported (golint)
    • Line 236: warning: exported type GameBetData should have comment or be unexported (golint)
    • Line 245: warning: comment on exported type DeskCommonData should be of the form "DeskCommonData ..." (with optional leading article) (golint)
    • Line 259: warning: exported type NotaireSign should have comment or be unexported (golint)
    • Line 264: warning: exported type NotairePK should have comment or be unexported (golint)
    • Line 269: warning: exported type Witness should have comment or be unexported (golint)
    • Line 282: warning: exported type NotaireContext should have comment or be unexported (golint)
    • Line 298: warning: exported type Judgment should have comment or be unexported (golint)
    • Line 327: warning: exported method NotaireContext.PublicKey should have comment or be unexported (golint)
    • Line 331: warning: exported method NotaireContext.Signature should have comment or be unexported (golint)
    • Line 346: warning: exported method NotaireContext.VerifySignature should have comment or be unexported (golint)
    • kaleido/mobile/ethereum.go
    • Line 50: warning: exported method CallMsg.GetFrom should have comment or be unexported (golint)
    • Line 51: warning: exported method CallMsg.GetGas should have comment or be unexported (golint)
    • Line 52: warning: exported method CallMsg.GetGasPrice should have comment or be unexported (golint)
    • Line 53: warning: exported method CallMsg.GetValue should have comment or be unexported (golint)
    • Line 54: warning: exported method CallMsg.GetData should have comment or be unexported (golint)
    • Line 55: warning: exported method CallMsg.GetTo should have comment or be unexported (golint)
    • Line 62: warning: exported method CallMsg.SetFrom should have comment or be unexported (golint)
    • Line 63: warning: exported method CallMsg.SetGas should have comment or be unexported (golint)
    • Line 64: warning: exported method CallMsg.SetGasPrice should have comment or be unexported (golint)
    • Line 65: warning: exported method CallMsg.SetValue should have comment or be unexported (golint)
    • Line 66: warning: exported method CallMsg.SetData should have comment or be unexported (golint)
    • Line 67: warning: exported method CallMsg.SetTo should have comment or be unexported (golint)
    • Line 81: warning: exported method SyncProgress.GetStartingBlock should have comment or be unexported (golint)
    • Line 82: warning: exported method SyncProgress.GetCurrentBlock should have comment or be unexported (golint)
    • Line 83: warning: exported method SyncProgress.GetHighestBlock should have comment or be unexported (golint)
    • Line 84: warning: exported method SyncProgress.GetPulledStates should have comment or be unexported (golint)
    • Line 85: warning: exported method SyncProgress.GetKnownStates should have comment or be unexported (golint)
    • Line 139: warning: exported method FilterQuery.GetFromBlock should have comment or be unexported (golint)
    • Line 140: warning: exported method FilterQuery.GetToBlock should have comment or be unexported (golint)
    • Line 141: warning: exported method FilterQuery.GetAddresses should have comment or be unexported (golint)
    • Line 142: warning: exported method FilterQuery.GetTopics should have comment or be unexported (golint)
    • Line 144: warning: exported method FilterQuery.SetFromBlock should have comment or be unexported (golint)
    • Line 145: warning: exported method FilterQuery.SetToBlock should have comment or be unexported (golint)
    • Line 146: warning: exported method FilterQuery.SetAddresses should have comment or be unexported (golint)
    • Line 147: warning: exported method FilterQuery.SetTopics should have comment or be unexported (golint)
    • kaleido/core/vm/contracts.go
    • Line 40: warning: exported type PrecompiledContractExt should have comment or be unexported (golint)
    • Line 69: warning: exported var KalPrecompiledContracts should have comment or be unexported (golint)
    • Line 82: warning: exported function RunXblonePrecompiledContract should have comment or be unexported (golint)
    • Line 394: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • kaleido/signer/rules/rules.go
    • Line 35: warning: don't use underscores in Go names; var BigNumber_JS should be BigNumberJS (golint)
    • Line 35: warning: exported var BigNumber_JS should have comment or be unexported (golint)
    • Line 58: warning: exported function NewRuleEvaluator should have comment or be unexported (golint)
    • kaleido/params/config.go
    • Line 45: warning: exported var KaleidoMainnetChainConfig should have comment or be unexported (golint)
    • Line 304: warning: exported type AlgorandConfig should have comment or be unexported (golint)
    • Line 310: warning: exported method AlgorandConfig.GetIntervalSn should have comment or be unexported (golint)
    • Line 314: warning: exported method AlgorandConfig.GetInterval should have comment or be unexported (golint)
    • Line 318: warning: exported method AlgorandConfig.TimeoutTwoLambdaDuration should have comment or be unexported (golint)
    • Line 326: warning: exported type CommitteeConfig should have comment or be unexported (golint)
    • Line 337: warning: exported var HeightUpdateThresholdv1 should have comment or be unexported (golint)
    • kaleido/whisper/whisperv5/filter.go
    • Line 29: warning: exported type Filter should have comment or be unexported (golint)
    • Line 42: warning: exported type Filters should have comment or be unexported (golint)
    • Line 48: warning: exported function NewFilters should have comment or be unexported (golint)
    • Line 55: warning: exported method Filters.Install should have comment or be unexported (golint)
    • Line 80: warning: exported method Filters.Uninstall should have comment or be unexported (golint)
    • Line 90: warning: exported method Filters.Get should have comment or be unexported (golint)
    • Line 96: warning: exported method Filters.NotifyWatchers should have comment or be unexported (golint)
    • Line 139: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 156: warning: exported method Filter.Trigger should have comment or be unexported (golint)
    • Line 165: warning: exported method Filter.Retrieve should have comment or be unexported (golint)
    • Line 178: warning: exported method Filter.MatchMessage should have comment or be unexported (golint)
    • Line 191: warning: exported method Filter.MatchEnvelope should have comment or be unexported (golint)
    • Line 204: warning: exported method Filter.MatchTopic should have comment or be unexported (golint)
    • Line 235: warning: exported function IsPubKeyEqual should have comment or be unexported (golint)
    • kaleido/consensus/algorand/algorand.go
    • Line 54: warning: exported function New should have comment or be unexported (golint)
    • Line 66: warning: exported method Algorand.Author should have comment or be unexported (golint)
    • Line 70: warning: exported method Algorand.Coinbase should have comment or be unexported (golint)
    • Line 381: warning: exported method Algorand.SealHash should have comment or be unexported (golint)
    • Line 391: warning: exported function EidosBlockReward should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign98%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!