Preparing report...

Report for github.com/Smilo-platform/go-smilo

A+    Excellent!    Found 302 issues across 781 files

Tweet

gofmt99%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


golint73%

Golint is a linter for Go source code.

    • go-smilo/src/blockchain/smilobft/core/state/statedb.go
    • Line 63: warning: comment on exported type StateDB should be of the form "StateDB ..." (with optional leading article) (golint)
    • Line 110: warning: comment on exported function New should be of the form "New ..." (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 134: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 140: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 158: warning: exported method StateDB.AddLog should have comment or be unexported (golint)
    • Line 158: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 169: warning: exported method StateDB.GetLogs 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 173: warning: exported method StateDB.Logs should have comment or be unexported (golint)
    • Line 173: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 182: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 192: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 197: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 204: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 214: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 220: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 225: warning: comment on exported method StateDB.GetBalance should be of the form "GetBalance ..." (golint)
    • Line 226: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 234: warning: exported method StateDB.GetSmiloPay should have comment or be unexported (golint)
    • Line 234: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 244: warning: exported method StateDB.GetNonce should have comment or be unexported (golint)
    • Line 244: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 254: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 259: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 263: warning: exported method StateDB.GetCode should have comment or be unexported (golint)
    • Line 263: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 271: warning: exported method StateDB.GetCodeSize should have comment or be unexported (golint)
    • Line 271: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 286: warning: exported method StateDB.GetCodeHash should have comment or be unexported (golint)
    • Line 286: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 295: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 304: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 310: warning: comment on exported method StateDB.GetStorageProof should be of the form "GetStorageProof ..." (golint)
    • Line 311: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 322: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 331: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 337: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 346: warning: exported method StateDB.HasSuicided should have comment or be unexported (golint)
    • Line 346: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 355: 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 375: warning: comment on exported method StateDB.AddSmiloPay should be of the form "AddSmiloPay ..." (golint)
    • Line 376: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 384: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 391: warning: exported method StateDB.SubSmiloPay should have comment or be unexported (golint)
    • Line 391: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 398: warning: exported method StateDB.SetBalance should have comment or be unexported (golint)
    • Line 398: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 405: warning: exported method StateDB.SetSmiloPay should have comment or be unexported (golint)
    • Line 405: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 415: warning: exported method StateDB.UpdateSmiloPay should have comment or be unexported (golint)
    • Line 415: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 422: warning: exported method StateDB.SetNonce should have comment or be unexported (golint)
    • Line 422: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 429: warning: exported method StateDB.SetCode should have comment or be unexported (golint)
    • Line 429: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 436: warning: exported method StateDB.SetState should have comment or be unexported (golint)
    • Line 436: 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 457: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 536: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 540: warning: comment on exported method StateDB.GetOrNewStateObject should be of the form "GetOrNewStateObject ..." (golint)
    • Line 541: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 551: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 574: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 581: warning: exported method StateDB.ForEachStorage should have comment or be unexported (golint)
    • Line 581: warning: receiver name db should be consistent with previous receiver name s for StateDB (golint)
    • Line 612: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 660: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 668: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 684: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 730: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-smilo/src/blockchain/smilobft/miner/miner.go
    • Line 77: warning: exported function New should have comment or be unexported (golint)
    • Line 96: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 124: warning: exported method Miner.Start should have comment or be unexported (golint)
    • Line 124: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 139: warning: exported method Miner.Stop should have comment or be unexported (golint)
    • Line 139: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 145: warning: exported method Miner.Register should have comment or be unexported (golint)
    • Line 145: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 152: warning: exported method Miner.Unregister should have comment or be unexported (golint)
    • Line 152: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 156: warning: exported method Miner.Mining should have comment or be unexported (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 160: warning: exported method Miner.HashRate should have comment or be unexported (golint)
    • Line 160: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 175: warning: exported method Miner.SetExtra should have comment or be unexported (golint)
    • Line 175: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 184: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 189: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 198: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 202: warning: exported method Miner.SetEtherbase should have comment or be unexported (golint)
    • Line 202: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-smilo/src/blockchain/smilobft/signer/core/uiapi.go
    • Line 36: warning: comment on exported type UIServerAPI should be of the form "UIServerAPI ..." (with optional leading article) (golint)
    • Line 53: warning: comment on exported method UIServerAPI.ListAccounts should be of the form "ListAccounts ..." (golint)
    • Line 188: warning: receiver name api should be consistent with previous receiver name s for UIServerAPI (golint)
    • go-smilo/src/blockchain/smilobft/les/backend.go
    • Line 54: warning: exported type LightEthereum should have comment or be unexported (golint)
    • Line 86: warning: exported function New should have comment or be unexported (golint)
    • Line 187: warning: exported type LightDummyAPI should have comment or be unexported (golint)
    • Line 242: warning: exported method LightEthereum.ResetWithGenesisBlock should have comment or be unexported (golint)
    • Line 246: warning: exported method LightEthereum.BlockChain should have comment or be unexported (golint)
    • Line 247: warning: exported method LightEthereum.TxPool should have comment or be unexported (golint)
    • Line 248: warning: exported method LightEthereum.Engine should have comment or be unexported (golint)
    • Line 249: warning: exported method LightEthereum.LesVersion should have comment or be unexported (golint)
    • Line 250: warning: exported method LightEthereum.Downloader should have comment or be unexported (golint)
    • Line 251: warning: exported method LightEthereum.EventMux should have comment or be unexported (golint)
    • Line 293: warning: comment on exported method LightEthereum.SetContractBackend should be of the form "SetContractBackend ..." (golint)
    • go-smilo/src/blockchain/smilobft/core/state/dump.go
    • Line 60: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 64: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 68: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 84: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 90: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 139: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 148: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 158: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-smilo/src/blockchain/smilobft/light/txpool_test.go
    • 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: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-smilo/src/blockchain/smilobft/rpc/types.go
    • Line 61: warning: exported type BlockNumber should have comment or be unexported (golint)
    • Line 64: warning: exported const PendingBlockNumber should have comment (or a comment on this block) or be unexported (golint)
    • Line 105: warning: exported method BlockNumber.Int64 should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/graphql/graphql.go
    • Line 59: warning: exported method Account.Address should have comment or be unexported (golint)
    • Line 63: warning: exported method Account.Balance should have comment or be unexported (golint)
    • Line 72: warning: exported method Account.TransactionCount should have comment or be unexported (golint)
    • Line 80: warning: exported method Account.Code should have comment or be unexported (golint)
    • Line 88: warning: exported method Account.Storage should have comment or be unexported (golint)
    • Line 103: warning: exported method Log.Transaction should have comment or be unexported (golint)
    • Line 107: warning: exported method Log.Account should have comment or be unexported (golint)
    • Line 115: warning: exported method Log.Index should have comment or be unexported (golint)
    • Line 119: warning: exported method Log.Topics should have comment or be unexported (golint)
    • Line 123: warning: exported method Log.Data should have comment or be unexported (golint)
    • Line 156: warning: exported method Transaction.Hash should have comment or be unexported (golint)
    • Line 160: warning: exported method Transaction.InputData should have comment or be unexported (golint)
    • Line 168: warning: exported method Transaction.Gas should have comment or be unexported (golint)
    • Line 176: warning: exported method Transaction.GasPrice should have comment or be unexported (golint)
    • Line 184: warning: exported method Transaction.Value should have comment or be unexported (golint)
    • Line 192: warning: exported method Transaction.Nonce should have comment or be unexported (golint)
    • Line 200: warning: exported method Transaction.To should have comment or be unexported (golint)
    • Line 216: warning: exported method Transaction.From should have comment or be unexported (golint)
    • Line 234: warning: exported method Transaction.Block should have comment or be unexported (golint)
    • Line 241: warning: exported method Transaction.Index should have comment or be unexported (golint)
    • Line 267: warning: exported method Transaction.Status should have comment or be unexported (golint)
    • Line 276: warning: exported method Transaction.GasUsed should have comment or be unexported (golint)
    • Line 285: warning: exported method Transaction.CumulativeGasUsed should have comment or be unexported (golint)
    • Line 294: warning: exported method Transaction.CreatedContract should have comment or be unexported (golint)
    • Line 306: warning: exported method Transaction.Logs should have comment or be unexported (golint)
    • Line 322: warning: exported type BlockType should have comment or be unexported (golint)
    • Line 422: warning: exported method Block.Number should have comment or be unexported (golint)
    • Line 434: warning: exported method Block.Hash should have comment or be unexported (golint)
    • Line 445: warning: exported method Block.GasLimit should have comment or be unexported (golint)
    • Line 453: warning: exported method Block.GasUsed should have comment or be unexported (golint)
    • Line 461: warning: exported method Block.Parent should have comment or be unexported (golint)
    • Line 488: warning: exported method Block.Difficulty should have comment or be unexported (golint)
    • Line 496: warning: exported method Block.Timestamp should have comment or be unexported (golint)
    • Line 504: warning: exported method Block.Nonce should have comment or be unexported (golint)
    • Line 512: warning: exported method Block.MixHash should have comment or be unexported (golint)
    • Line 520: warning: exported method Block.TransactionsRoot should have comment or be unexported (golint)
    • Line 528: warning: exported method Block.StateRoot should have comment or be unexported (golint)
    • Line 536: warning: exported method Block.ReceiptsRoot should have comment or be unexported (golint)
    • Line 544: warning: exported method Block.OmmerHash should have comment or be unexported (golint)
    • Line 552: warning: exported method Block.OmmerCount should have comment or be unexported (golint)
    • Line 561: warning: exported method Block.Ommers should have comment or be unexported (golint)
    • Line 580: warning: exported method Block.ExtraData should have comment or be unexported (golint)
    • Line 588: warning: exported method Block.LogsBloom should have comment or be unexported (golint)
    • Line 596: warning: exported method Block.TotalDifficulty should have comment or be unexported (golint)
    • Line 622: warning: exported method Block.Miner should have comment or be unexported (golint)
    • Line 634: warning: exported method Block.TransactionCount should have comment or be unexported (golint)
    • Line 643: warning: exported method Block.Transactions should have comment or be unexported (golint)
    • Line 661: warning: exported method Block.TransactionAt should have comment or be unexported (golint)
    • Line 680: warning: exported method Block.OmmerAt should have comment or be unexported (golint)
    • Line 737: warning: exported method Block.Logs should have comment or be unexported (golint)
    • Line 761: warning: exported method Block.Account should have comment or be unexported (golint)
    • Line 799: warning: exported method CallResult.Data should have comment or be unexported (golint)
    • Line 803: warning: exported method CallResult.GasUsed should have comment or be unexported (golint)
    • Line 807: warning: exported method CallResult.Status should have comment or be unexported (golint)
    • Line 811: warning: exported method Block.Call should have comment or be unexported (golint)
    • Line 837: warning: exported method Block.EstimateGas should have comment or be unexported (golint)
    • Line 854: warning: exported type Pending should have comment or be unexported (golint)
    • Line 858: warning: exported method Pending.TransactionCount should have comment or be unexported (golint)
    • Line 863: warning: exported method Pending.Transactions should have comment or be unexported (golint)
    • Line 880: warning: exported method Pending.Account should have comment or be unexported (golint)
    • Line 890: warning: exported method Pending.Call should have comment or be unexported (golint)
    • Line 905: warning: exported method Pending.EstimateGas should have comment or be unexported (golint)
    • Line 916: warning: exported method Resolver.Block should have comment or be unexported (golint)
    • Line 954: warning: exported method Resolver.Blocks should have comment or be unexported (golint)
    • Line 981: warning: exported method Resolver.Pending should have comment or be unexported (golint)
    • Line 985: warning: exported method Resolver.Transaction should have comment or be unexported (golint)
    • Line 1000: warning: exported method Resolver.SendRawTransaction should have comment or be unexported (golint)
    • Line 1029: warning: exported method Resolver.Logs should have comment or be unexported (golint)
    • Line 1052: warning: exported method Resolver.GasPrice should have comment or be unexported (golint)
    • Line 1057: warning: exported method Resolver.ProtocolVersion should have comment or be unexported (golint)
    • Line 1066: warning: exported method SyncState.StartingBlock should have comment or be unexported (golint)
    • Line 1070: warning: exported method SyncState.CurrentBlock should have comment or be unexported (golint)
    • Line 1074: warning: exported method SyncState.HighestBlock should have comment or be unexported (golint)
    • Line 1078: warning: exported method SyncState.PulledStates should have comment or be unexported (golint)
    • Line 1083: warning: exported method SyncState.KnownStates should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/params/protocol_params.go
    • Line 22: warning: exported var TargetGasLimit should have comment or be unexported (golint)
    • Line 26: warning: exported const GasLimitBoundDivisor should have comment (or a comment on this block) or be unexported (golint)
    • Line 76: warning: comment on exported const CallGasFrontier should be of the form "CallGasFrontier ..." (golint)
    • Line 91: warning: comment on exported const ExpByteFrontier should be of the form "ExpByteFrontier ..." (golint)
    • Line 95: warning: comment on exported const ExtcodeCopyBaseFrontier should be of the form "ExtcodeCopyBaseFrontier ..." (golint)
    • Line 131: warning: exported var DifficultyBoundDivisor should have comment or be unexported (golint)
    • Line 137: warning: exported function GetMaximumExtraDataSize should have comment or be unexported (golint)
    • Line 140: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-smilo/src/blockchain/smilobft/p2p/discover/v4_udp.go
    • Line 71: warning: don't use underscores in Go names; const p_pingV4 should be pPingV4 (golint)
    • Line 72: warning: don't use underscores in Go names; const p_pongV4 should be pPongV4 (golint)
    • Line 73: warning: don't use underscores in Go names; const p_findnodeV4 should be pFindnodeV4 (golint)
    • Line 74: warning: don't use underscores in Go names; const p_neighborsV4 should be pNeighborsV4 (golint)
    • Line 75: warning: don't use underscores in Go names; const p_enrRequestV4 should be pEnrRequestV4 (golint)
    • Line 76: warning: don't use underscores in Go names; const p_enrResponseV4 should be pEnrResponseV4 (golint)
    • Line 260: warning: exported function ListenV4 should have comment or be unexported (golint)
    • Line 318: warning: exported method UDPv4.LookupPubkey should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/signer/core/signed_data.go
    • Line 44: warning: exported type SigFormat should have comment or be unexported (golint)
    • Line 50: warning: exported var IntendedValidator should have comment or be unexported (golint)
    • Line 68: warning: exported type ValidatorData should have comment or be unexported (golint)
    • Line 73: warning: exported type TypedData should have comment or be unexported (golint)
    • Line 80: warning: exported type Type should have comment or be unexported (golint)
    • Line 106: warning: exported type Types should have comment or be unexported (golint)
    • Line 108: warning: exported type TypePriority should have comment or be unexported (golint)
    • Line 113: warning: exported type TypedDataMessage should have comment or be unexported (golint)
    • Line 115: warning: exported type TypedDataDomain should have comment or be unexported (golint)
    • Line 268: 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 271: 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 289: warning: comment on exported function SignTextValidator should be of the form "SignTextValidator ..." (golint)
    • Line 581: 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 771: 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 777: 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 790: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • go-smilo/src/blockchain/smilobft/miner/worker.go
    • Line 91: warning: exported type Result should have comment or be unexported (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 194: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 198: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 204: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 217: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 230: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 249: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 267: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 274: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 281: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 339: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 412: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 425: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 458: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 578: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 593: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 692: warning: error should be the last type when returning multiple items (golint)
    • go-smilo/src/blockchain/smilobft/vault/vault.go
    • Line 28: warning: exported function GetBlackboxVault should have comment or be unexported (golint)
    • Line 33: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 39: warning: exported var VaultInstance should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/internal/web3ext/web3ext.go
    • Line 17: warning: package comment should be of the form "Package web3ext ..." (golint)
    • Line 20: warning: exported var Modules should have comment or be unexported (golint)
    • Line 39: warning: exported const ChequebookJs should have comment or be unexported (golint)
    • Line 70: warning: exported const CliqueJs should have comment or be unexported (golint)
    • Line 116: warning: exported const EthashJs should have comment or be unexported (golint)
    • Line 144: warning: exported const AdminJs should have comment or be unexported (golint)
    • Line 222: warning: exported const DebugJs should have comment or be unexported (golint)
    • Line 454: warning: exported const EthJs should have comment or be unexported (golint)
    • Line 556: warning: exported const MinerJs should have comment or be unexported (golint)
    • Line 601: warning: exported const NetJs should have comment or be unexported (golint)
    • Line 614: warning: exported const PersonalJs should have comment or be unexported (golint)
    • Line 670: warning: exported const RpcJs should have comment or be unexported (golint)
    • Line 683: warning: exported const ShhJs should have comment or be unexported (golint)
    • Line 703: warning: exported const SwarmfsJs should have comment or be unexported (golint)
    • Line 727: warning: exported const TxpoolJs should have comment or be unexported (golint)
    • Line 754: warning: exported const AccountingJs should have comment or be unexported (golint)
    • Line 798: warning: exported const LESJs should have comment or be unexported (golint)
    • Line 823: warning: exported const SmiloBFTJS should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/signer/core/api.go
    • Line 130: warning: exported function StartClefAccountManager should have comment or be unexported (golint)
    • Line 220: warning: comment on exported type ListRequest should be of the form "ListRequest ..." (with optional leading article) (golint)
    • Line 220: warning: comment on exported type ListResponse should be of the form "ListResponse ..." (with optional leading article) (golint)
    • Line 220: warning: comment on exported type Message should be of the form "Message ..." (with optional leading article) (golint)
    • Line 220: warning: comment on exported type NewAccountRequest should be of the form "NewAccountRequest ..." (with optional leading article) (golint)
    • Line 220: warning: comment on exported type NewAccountResponse should be of the form "NewAccountResponse ..." (with optional leading article) (golint)
    • Line 220: warning: comment on exported type SignDataRequest should be of the form "SignDataRequest ..." (with optional leading article) (golint)
    • Line 220: warning: comment on exported type SignDataResponse should be of the form "SignDataResponse ..." (with optional leading article) (golint)
    • Line 220: warning: comment on exported type StartupInfo should be of the form "StartupInfo ..." (with optional leading article) (golint)
    • Line 220: warning: comment on exported type UserInputRequest should be of the form "UserInputRequest ..." (with optional leading article) (golint)
    • Line 220: warning: comment on exported type UserInputResponse should be of the form "UserInputResponse ..." (with optional leading article) (golint)
    • Line 274: warning: exported var ErrRequestDenied should have comment or be unexported (golint)
    • Line 566: warning: comment on exported method SignerAPI.Version should be of the form "Version ..." (golint)
    • go-smilo/src/blockchain/smilobft/tests/util.go
    • Line 30: warning: exported type Account should have comment or be unexported (golint)
    • Line 37: warning: exported type Log should have comment or be unexported (golint)
    • Line 44: warning: exported method Log.Address should have comment or be unexported (golint)
    • Line 44: 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 Log.Data 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 46: warning: exported method Log.RlpData should have comment or be unexported (golint)
    • Line 46: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 47: warning: exported method Log.Topics should have comment or be unexported (golint)
    • Line 47: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-smilo/src/blockchain/smilobft/core/types/bloom9.go
    • Line 71: warning: exported method Bloom.Bytes should have comment or be unexported (golint)
    • Line 75: warning: exported method Bloom.Test should have comment or be unexported (golint)
    • Line 79: warning: exported method Bloom.TestBytes should have comment or be unexported (golint)
    • Line 94: warning: exported function CreateBloom should have comment or be unexported (golint)
    • Line 103: warning: exported function LogsBloom should have comment or be unexported (golint)
    • Line 129: warning: exported var Bloom9 should have comment or be unexported (golint)
    • Line 131: warning: exported function BloomLookup should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/eth/backend.go
    • Line 63: warning: exported type LesServer should have comment or be unexported (golint)
    • Line 110: warning: exported method Smilo.ChainConfig should have comment or be unexported (golint)
    • Line 114: warning: exported method Smilo.AddLesServer should have comment or be unexported (golint)
    • Line 119: warning: comment on exported method Smilo.SetContractBackend should be of the form "SetContractBackend ..." (golint)
    • Line 386: warning: exported method Smilo.ResetWithGenesisBlock should have comment or be unexported (golint)
    • Line 390: warning: exported method Smilo.Etherbase should have comment or be unexported (golint)
    • Line 547: warning: exported method Smilo.IsMining should have comment or be unexported (golint)
    • Line 548: warning: exported method Smilo.Miner should have comment or be unexported (golint)
    • Line 550: warning: exported method Smilo.AccountManager should have comment or be unexported (golint)
    • Line 551: warning: exported method Smilo.BlockChain should have comment or be unexported (golint)
    • Line 552: warning: exported method Smilo.TxPool should have comment or be unexported (golint)
    • Line 553: warning: exported method Smilo.EventMux should have comment or be unexported (golint)
    • Line 554: warning: exported method Smilo.Engine should have comment or be unexported (golint)
    • Line 555: warning: exported method Smilo.ChainDb should have comment or be unexported (golint)
    • Line 556: warning: exported method Smilo.IsListening should have comment or be unexported (golint)
    • Line 557: warning: exported method Smilo.EthVersion should have comment or be unexported (golint)
    • Line 558: warning: exported method Smilo.NetVersion should have comment or be unexported (golint)
    • Line 559: warning: exported method Smilo.Downloader should have comment or be unexported (golint)
    • Line 560: warning: exported method Smilo.Synced should have comment or be unexported (golint)
    • Line 561: warning: exported method Smilo.ArchiveMode should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/p2p/testing/peerpool.go
    • Line 28: warning: exported type TestPeer should have comment or be unexported (golint)
    • Line 39: warning: exported function NewTestPeerPool should have comment or be unexported (golint)
    • Line 43: warning: exported method TestPeerPool.Add should have comment or be unexported (golint)
    • Line 51: warning: exported method TestPeerPool.Remove should have comment or be unexported (golint)
    • Line 57: warning: exported method TestPeerPool.Has should have comment or be unexported (golint)
    • Line 64: warning: exported method TestPeerPool.Get should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/mobile/shhclient.go
    • Line 43: warning: comment on exported method WhisperClient.GetInfo should be of the form "GetInfo ..." (golint)
    • Line 65: warning: comment on exported method WhisperClient.MarkTrustedPeer should be of the form "MarkTrustedPeer ..." (golint)
    • Line 139: warning: comment on exported type NewMessageHandler should be of the form "NewMessageHandler ..." (with optional leading article) (golint)
    • go-smilo/src/blockchain/smilobft/consensus/sport/smilobftcore/core_func_test.go
    • Line 65: 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 74: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 78: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 87: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 96: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 101: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 113: 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 122: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 126: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 130: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 134: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 140: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 144: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 153: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 157: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 161: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-smilo/src/blockchain/smilobft/p2p/simulations/network.go
    • Line 38: warning: exported var DialBanTimeout should have comment or be unexported (golint)
    • Line 414: warning: comment on exported method Network.GetNodeByName should be of the form "GetNodeByName ..." (golint)
    • Line 555: warning: comment on exported method Network.InitConn should be of the form "InitConn ..." (golint)
    • Line 638: warning: exported method Node.Up should have comment or be unexported (golint)
    • Line 644: warning: exported method Node.SetUp should have comment or be unexported (golint)
    • Line 786: warning: exported method Network.SnapshotWithServices should have comment or be unexported (golint)
    • Line 993: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-smilo/src/blockchain/smilobft/core/asm/asm.go
    • Line 17: warning: package comment should be of the form "Package asm ..." (golint)
    • Line 37: warning: comment on exported function NewInstructionIterator should be of the form "NewInstructionIterator ..." (golint)
    • Line 102: warning: comment on exported function PrintDisassembled should be of the form "PrintDisassembled ..." (golint)
    • Line 120: warning: comment on exported function Disassemble should be of the form "Disassemble ..." (golint)
    • go-smilo/src/blockchain/smilobft/internal/build/archive.go
    • Line 30: warning: exported type Archive should have comment or be unexported (golint)
    • Line 44: warning: exported function NewArchive should have comment or be unexported (golint)
    • Line 107: warning: exported type ZipArchive should have comment or be unexported (golint)
    • Line 113: warning: exported function NewZipArchive should have comment or be unexported (golint)
    • Line 117: warning: exported method ZipArchive.Directory should have comment or be unexported (golint)
    • Line 122: warning: exported method ZipArchive.Header should have comment or be unexported (golint)
    • Line 136: warning: exported method ZipArchive.Close should have comment or be unexported (golint)
    • Line 143: warning: exported type TarballArchive should have comment or be unexported (golint)
    • Line 150: warning: exported function NewTarballArchive should have comment or be unexported (golint)
    • Line 156: warning: exported method TarballArchive.Directory should have comment or be unexported (golint)
    • Line 165: warning: exported method TarballArchive.Header should have comment or be unexported (golint)
    • Line 177: warning: exported method TarballArchive.Close should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/eth/downloader/modes.go
    • Line 25: warning: exported const FullSync should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: exported method SyncMode.IsValid should have comment or be unexported (golint)
    • Line 48: warning: exported method SyncMode.MarshalText should have comment or be unexported (golint)
    • Line 61: warning: exported method SyncMode.UnmarshalText should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/eth/handler.go
    • Line 74: warning: exported type ProtocolManager should have comment or be unexported (golint)
    • Line 308: warning: exported method ProtocolManager.Start should have comment or be unexported (golint)
    • Line 325: warning: exported method ProtocolManager.Stop should have comment or be unexported (golint)
    • Line 815: warning: exported method ProtocolManager.Enqueue should have comment or be unexported (golint)
    • Line 924: warning: exported method ProtocolManager.FindPeers should have comment or be unexported (golint)
    • Line 924: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-smilo/src/blockchain/smilobft/rpc/http.go
    • Line 256: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 257: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 258: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 260: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 263: warning: should not use basic type string as key in context.WithValue (golint)
    • go-smilo/src/blockchain/smilobft/cmd/clef/main.go
    • Line 600: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 699: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 700: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 701: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 834: warning: should not use basic type string as key in context.WithValue (golint)
    • go-smilo/src/blockchain/smilobft/core/types/block.go
    • Line 37: warning: exported var EmptyRootHash should have comment or be unexported (golint)
    • Line 205: warning: comment on exported type StorageBlock should be of the form "StorageBlock ..." (with optional leading article) (golint)
    • Line 311: warning: comment on exported method StorageBlock.DecodeRLP should be of the form "DecodeRLP ..." (golint)
    • Line 323: warning: exported method Block.Uncles should have comment or be unexported (golint)
    • Line 324: warning: exported method Block.Transactions should have comment or be unexported (golint)
    • Line 326: warning: exported method Block.Transaction should have comment or be unexported (golint)
    • Line 335: warning: exported method Block.Number should have comment or be unexported (golint)
    • Line 336: warning: exported method Block.GasLimit should have comment or be unexported (golint)
    • Line 337: warning: exported method Block.GasUsed should have comment or be unexported (golint)
    • Line 338: warning: exported method Block.Difficulty should have comment or be unexported (golint)
    • Line 339: warning: exported method Block.Time should have comment or be unexported (golint)
    • Line 341: warning: exported method Block.NumberU64 should have comment or be unexported (golint)
    • Line 342: warning: exported method Block.MixDigest should have comment or be unexported (golint)
    • Line 343: warning: exported method Block.Nonce should have comment or be unexported (golint)
    • Line 344: warning: exported method Block.Bloom should have comment or be unexported (golint)
    • Line 345: warning: exported method Block.Coinbase should have comment or be unexported (golint)
    • Line 346: warning: exported method Block.Root should have comment or be unexported (golint)
    • Line 347: warning: exported method Block.ParentHash should have comment or be unexported (golint)
    • Line 348: warning: exported method Block.TxHash should have comment or be unexported (golint)
    • Line 349: warning: exported method Block.ReceiptHash should have comment or be unexported (golint)
    • Line 350: warning: exported method Block.UncleHash should have comment or be unexported (golint)
    • Line 351: warning: exported method Block.Extra should have comment or be unexported (golint)
    • Line 353: warning: exported method Block.Header should have comment or be unexported (golint)
    • Line 358: warning: exported method Block.HashNoNonce should have comment or be unexported (golint)
    • Line 387: warning: exported function CalcUncleHash should have comment or be unexported (golint)
    • Line 431: warning: exported type Blocks should have comment or be unexported (golint)
    • Line 433: warning: exported type BlockBy should have comment or be unexported (golint)
    • Line 435: warning: exported method BlockBy.Sort should have comment or be unexported (golint)
    • Line 435: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 448: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 449: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 452: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 454: warning: exported function Number should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/mobile/bind.go
    • Line 41: warning: exported type MobileSigner should have comment or be unexported (golint)
    • Line 45: warning: exported method MobileSigner.Sign should have comment or be unexported (golint)
    • Line 63: warning: exported method CallOpts.IsPending should have comment or be unexported (golint)
    • Line 64: warning: exported method CallOpts.GetGasLimit should have comment or be unexported (golint)
    • Line 70: warning: exported method CallOpts.SetPending should have comment or be unexported (golint)
    • Line 71: warning: exported method CallOpts.SetGasLimit should have comment or be unexported (golint)
    • Line 72: warning: exported method CallOpts.SetContext should have comment or be unexported (golint)
    • Line 85: warning: comment on exported function NewKeyedTransactOpts should be of the form "NewKeyedTransactOpts ..." (golint)
    • Line 109: warning: exported method TransactOpts.GetFrom should have comment or be unexported (golint)
    • Line 110: warning: exported method TransactOpts.GetNonce should have comment or be unexported (golint)
    • Line 111: warning: exported method TransactOpts.GetValue should have comment or be unexported (golint)
    • Line 112: warning: exported method TransactOpts.GetGasPrice should have comment or be unexported (golint)
    • Line 113: warning: exported method TransactOpts.GetGasLimit should have comment or be unexported (golint)
    • Line 122: warning: exported method TransactOpts.SetFrom should have comment or be unexported (golint)
    • Line 123: warning: exported method TransactOpts.SetNonce should have comment or be unexported (golint)
    • Line 124: warning: exported method TransactOpts.SetSigner should have comment or be unexported (golint)
    • Line 133: warning: exported method TransactOpts.SetValue should have comment or be unexported (golint)
    • Line 134: warning: exported method TransactOpts.SetGasPrice should have comment or be unexported (golint)
    • Line 135: warning: exported method TransactOpts.SetGasLimit should have comment or be unexported (golint)
    • Line 136: warning: exported method TransactOpts.SetContext should have comment or be unexported (golint)
    • Line 179: warning: exported method BoundContract.GetAddress should have comment or be unexported (golint)
    • Line 180: warning: exported method BoundContract.GetDeployer should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/accounts/external/backend.go
    • Line 39: warning: exported type ExternalBackend should have comment or be unexported (golint)
    • Line 43: warning: exported method ExternalBackend.Wallets should have comment or be unexported (golint)
    • Line 47: warning: exported function NewExternalBackend should have comment or be unexported (golint)
    • Line 57: warning: exported method ExternalBackend.Subscribe should have comment or be unexported (golint)
    • Line 75: warning: exported function NewExternalSigner should have comment or be unexported (golint)
    • Line 93: warning: exported method ExternalSigner.URL should have comment or be unexported (golint)
    • Line 100: warning: exported method ExternalSigner.Status should have comment or be unexported (golint)
    • Line 104: warning: exported method ExternalSigner.Open should have comment or be unexported (golint)
    • Line 108: warning: exported method ExternalSigner.Close should have comment or be unexported (golint)
    • Line 112: warning: exported method ExternalSigner.Accounts should have comment or be unexported (golint)
    • Line 134: warning: exported method ExternalSigner.Contains should have comment or be unexported (golint)
    • Line 145: warning: exported method ExternalSigner.Derive should have comment or be unexported (golint)
    • Line 149: warning: exported method ExternalSigner.SelfDerive should have comment or be unexported (golint)
    • Line 174: warning: exported method ExternalSigner.SignText should have comment or be unexported (golint)
    • Line 186: warning: exported method ExternalSigner.SignTx should have comment or be unexported (golint)
    • Line 209: warning: exported method ExternalSigner.SignTextWithPassphrase should have comment or be unexported (golint)
    • Line 213: warning: exported method ExternalSigner.SignTxWithPassphrase should have comment or be unexported (golint)
    • Line 216: warning: exported method ExternalSigner.SignDataWithPassphrase should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/light/odr_util.go
    • Line 34: warning: exported function GetHeaderByNumber should have comment or be unexported (golint)
    • Line 83: warning: exported function GetCanonicalHash should have comment or be unexported (golint)
    • Line 103: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 259: 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 272: 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 281: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • go-smilo/src/blockchain/smilobft/les/protocol.go
    • Line 46: warning: comment on exported var ProtocolLengths should be of the form "ProtocolLengths ..." (golint)
    • Line 50: warning: exported const NetworkId should have comment (or a comment on this block) or be unexported (golint)
    • Line 99: warning: exported const ErrMsgTooLarge should have comment (or a comment on this block) or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/signer/core/types.go
    • Line 31: warning: exported type ValidationInfo should have comment or be unexported (golint)
    • Line 35: warning: exported type ValidationMessages should have comment or be unexported (golint)
    • Line 40: warning: exported const WARN should have comment (or a comment on this block) or be unexported (golint)
    • Line 45: warning: exported method ValidationMessages.Crit should have comment or be unexported (golint)
    • Line 48: warning: exported method ValidationMessages.Warn should have comment or be unexported (golint)
    • Line 51: warning: exported method ValidationMessages.Info should have comment or be unexported (golint)
    • Line 56: warning: receiver name v should be consistent with previous receiver name vs for ValidationMessages (golint)
    • go-smilo/src/blockchain/smilobft/les/server.go
    • Line 47: warning: exported type LesServer should have comment or be unexported (golint)
    • Line 68: warning: exported function NewLesServer should have comment or be unexported (golint)
    • Line 122: warning: exported method LesServer.APIs should have comment or be unexported (golint)
    • Line 192: warning: exported method LesServer.Protocols should have comment or be unexported (golint)
    • Line 239: warning: exported method LesServer.SetBloomBitsIndexer should have comment or be unexported (golint)
    • Line 243: warning: comment on exported method LesServer.SetContractBackend should be of the form "SetContractBackend ..." (golint)
    • go-smilo/src/blockchain/smilobft/cmd/utils/customflags.go
    • Line 34: warning: comment on exported type DirectoryString should be of the form "DirectoryString ..." (with optional leading article) (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 45: warning: exported method DirectoryString.Set should have comment or be unexported (golint)
    • Line 45: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 50: warning: comment on exported type DirectoryFlag should be of the form "DirectoryFlag ..." (with optional leading article) (golint)
    • Line 58: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 74: warning: comment on exported method DirectoryFlag.Apply should be of the form "Apply ..." (golint)
    • Line 76: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 82: warning: exported type TextMarshaler should have comment or be unexported (golint)
    • Line 111: warning: exported method TextMarshalerFlag.GetName should have comment or be unexported (golint)
    • Line 119: warning: exported method TextMarshalerFlag.Apply should have comment or be unexported (golint)
    • Line 161: warning: exported method BigFlag.GetName should have comment or be unexported (golint)
    • Line 173: warning: exported method BigFlag.Apply should have comment or be unexported (golint)
    • Line 210: warning: exported method DirectoryFlag.GetName should have comment or be unexported (golint)
    • Line 210: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 214: warning: exported method DirectoryFlag.Set should have comment or be unexported (golint)
    • Line 214: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-smilo/src/blockchain/smilobft/cmd/utils/flags.go
    • Line 73: warning: exported var CommandHelpTemplate should have comment or be unexported (golint)
    • Line 121: warning: comment on exported var DataDirFlag should be of the form "DataDirFlag ..." (golint)
    • Line 127: warning: exported var AncientFlag should have comment or be unexported (golint)
    • Line 221: warning: comment on exported var LightLegacyServFlag should be of the form "LightLegacyServFlag ..." (golint)
    • Line 266: warning: comment on exported var DashboardEnabledFlag should be of the form "DashboardEnabledFlag ..." (golint)
    • Line 286: warning: comment on exported var EthashCacheDirFlag should be of the form "EthashCacheDirFlag ..." (golint)
    • Line 316: warning: comment on exported var TxPoolLocalsFlag should be of the form "TxPoolLocalsFlag ..." (golint)
    • Line 370: warning: comment on exported var CacheFlag should be of the form "CacheFlag ..." (golint)
    • Line 395: warning: comment on exported var MiningEnabledFlag should be of the form "MiningEnabledFlag ..." (golint)
    • Line 466: warning: comment on exported var UnlockedAccountFlag should be of the form "UnlockedAccountFlag ..." (golint)
    • Line 494: warning: comment on exported var EthStatsURLFlag should be of the form "EthStatsURLFlag ..." (golint)
    • Line 507: warning: comment on exported var IPCDisabledFlag should be of the form "IPCDisabledFlag ..." (golint)
    • Line 602: warning: comment on exported var MaxPeersFlag should be of the form "MaxPeersFlag ..." (golint)
    • Line 659: warning: comment on exported var JSpathFlag should be of the form "JSpathFlag ..." (golint)
    • Line 666: warning: comment on exported var GpoBlocksFlag should be of the form "GpoBlocksFlag ..." (golint)
    • Line 696: warning: comment on exported var MetricsEnabledFlag should be of the form "MetricsEnabledFlag ..." (golint)
    • Line 729: warning: comment on exported var MetricsInfluxDBTagsFlag should be of the form "MetricsInfluxDBTagsFlag ..." (golint)
    • Line 754: warning: comment on exported var SportEnableNodePermissionFlag should be of the form "SportEnableNodePermissionFlag ..." (golint)
    • Line 1138: warning: exported function SetP2PConfig should have comment or be unexported (golint)
    • Line 1695: warning: exported function SetupMetrics should have comment or be unexported (golint)
    • Line 1716: warning: exported function SplitTagsFlag should have comment or be unexported (golint)
    • Line 1751: warning: exported function MakeGenesis should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/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)
    • go-smilo/src/blockchain/smilobft/internal/jsre/jsre.go
    • Line 36: warning: exported var BignumberJs should have comment or be unexported (golint)
    • Line 70: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 234: warning: comment on exported method JSRE.Stop should be of the form "Stop ..." (golint)
    • Line 243: warning: comment on exported method JSRE.Exec should be of the form "Exec ..." (golint)
    • go-smilo/src/blockchain/smilobft/les/handler.go
    • Line 57: warning: exported const MaxHeaderFetch should have comment (or a comment on this block) or be unexported (golint)
    • Line 73: warning: exported type BlockChain should have comment or be unexported (golint)
    • Line 96: warning: exported type ProtocolManager should have comment or be unexported (golint)
    • Line 199: warning: exported method ProtocolManager.Start should have comment or be unexported (golint)
    • Line 211: warning: exported method ProtocolManager.Stop should have comment or be unexported (golint)
    • Line 400: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • go-smilo/src/blockchain/smilobft/signer/core/stdioui.go
    • Line 31: warning: exported type StdIOUI should have comment or be unexported (golint)
    • Line 36: warning: exported function NewStdIOUI should have comment or be unexported (golint)
    • Line 45: warning: exported method StdIOUI.RegisterUIServer should have comment or be unexported (golint)
    • Line 68: warning: exported method StdIOUI.ApproveTx should have comment or be unexported (golint)
    • Line 74: warning: exported method StdIOUI.ApproveSignData should have comment or be unexported (golint)
    • Line 80: warning: exported method StdIOUI.ApproveListing should have comment or be unexported (golint)
    • Line 86: warning: exported method StdIOUI.ApproveNewAccount should have comment or be unexported (golint)
    • Line 92: warning: exported method StdIOUI.ShowError should have comment or be unexported (golint)
    • Line 99: warning: exported method StdIOUI.ShowInfo should have comment or be unexported (golint)
    • Line 105: warning: exported method StdIOUI.OnApprovedTx should have comment or be unexported (golint)
    • Line 112: warning: exported method StdIOUI.OnSignerStartup should have comment or be unexported (golint)
    • Line 118: warning: exported method StdIOUI.OnInputRequired should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/les/api_backend.go
    • Line 44: warning: exported type LesApiBackend should have comment or be unexported (golint)
    • Line 50: warning: exported method LesApiBackend.ChainConfig should have comment or be unexported (golint)
    • Line 54: warning: exported method LesApiBackend.CurrentBlock should have comment or be unexported (golint)
    • Line 58: warning: exported method LesApiBackend.SetHead should have comment or be unexported (golint)
    • Line 63: warning: exported method LesApiBackend.HeaderByNumber should have comment or be unexported (golint)
    • Line 70: warning: exported method LesApiBackend.HeaderByHash should have comment or be unexported (golint)
    • Line 74: warning: exported method LesApiBackend.BlockByNumber should have comment or be unexported (golint)
    • Line 82: warning: exported method LesApiBackend.BlockByHash should have comment or be unexported (golint)
    • Line 86: warning: exported method LesApiBackend.StateAndHeaderByNumber should have comment or be unexported (golint)
    • Line 97: warning: exported method LesApiBackend.GetReceipts should have comment or be unexported (golint)
    • Line 104: warning: exported method LesApiBackend.GetLogs should have comment or be unexported (golint)
    • Line 111: warning: exported method LesApiBackend.GetTd should have comment or be unexported (golint)
    • Line 115: warning: exported method LesApiBackend.GetEVM should have comment or be unexported (golint)
    • Line 122: warning: exported method LesApiBackend.SendTx should have comment or be unexported (golint)
    • Line 126: warning: exported method LesApiBackend.RemoveTx should have comment or be unexported (golint)
    • Line 130: warning: exported method LesApiBackend.GetPoolTransactions should have comment or be unexported (golint)
    • Line 134: warning: exported method LesApiBackend.GetPoolTransaction should have comment or be unexported (golint)
    • Line 138: warning: exported method LesApiBackend.GetTransaction should have comment or be unexported (golint)
    • Line 142: warning: exported method LesApiBackend.GetPoolNonce should have comment or be unexported (golint)
    • Line 146: warning: exported method LesApiBackend.Stats should have comment or be unexported (golint)
    • Line 150: warning: exported method LesApiBackend.TxPoolContent should have comment or be unexported (golint)
    • Line 154: warning: exported method LesApiBackend.SubscribeNewTxsEvent should have comment or be unexported (golint)
    • Line 158: warning: exported method LesApiBackend.SubscribeChainEvent should have comment or be unexported (golint)
    • Line 162: warning: exported method LesApiBackend.SubscribeChainHeadEvent should have comment or be unexported (golint)
    • Line 166: warning: exported method LesApiBackend.SubscribeChainSideEvent should have comment or be unexported (golint)
    • Line 170: warning: exported method LesApiBackend.SubscribeLogsEvent should have comment or be unexported (golint)
    • Line 174: warning: exported method LesApiBackend.SubscribeRemovedLogsEvent should have comment or be unexported (golint)
    • Line 178: warning: exported method LesApiBackend.Downloader should have comment or be unexported (golint)
    • Line 182: warning: exported method LesApiBackend.ProtocolVersion should have comment or be unexported (golint)
    • Line 186: warning: exported method LesApiBackend.SuggestPrice should have comment or be unexported (golint)
    • Line 190: warning: exported method LesApiBackend.ChainDb should have comment or be unexported (golint)
    • Line 194: warning: exported method LesApiBackend.EventMux should have comment or be unexported (golint)
    • Line 198: warning: exported method LesApiBackend.AccountManager should have comment or be unexported (golint)
    • Line 202: warning: exported method LesApiBackend.ExtRPCEnabled should have comment or be unexported (golint)
    • Line 206: warning: exported method LesApiBackend.RPCGasCap should have comment or be unexported (golint)
    • Line 210: warning: exported method LesApiBackend.BloomStatus should have comment or be unexported (golint)
    • Line 218: warning: exported method LesApiBackend.ServiceFilter should have comment or be unexported (golint)
    • Line 224: warning: exported method LesApiBackend.GetSolcPath should have comment or be unexported (golint)
    • Line 229: warning: exported method LesApiBackend.GetSmiloCodeAnalysisPath should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/les/benchmark.go
    • Line 78: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 101: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 122: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-smilo/src/blockchain/smilobft/core/vm/evm.go
    • Line 114: warning: exported type PublicState should have comment or be unexported (golint)
    • Line 115: warning: exported type VaultState should have comment or be unexported (golint)
    • Line 628: warning: exported method EVM.PublicState should have comment or be unexported (golint)
    • Line 628: warning: receiver name env should be consistent with previous receiver name evm for EVM (golint)
    • Line 629: warning: exported method EVM.VaultState should have comment or be unexported (golint)
    • Line 629: warning: receiver name env should be consistent with previous receiver name evm for EVM (golint)
    • Line 630: warning: exported method EVM.Push should have comment or be unexported (golint)
    • Line 630: warning: receiver name env should be consistent with previous receiver name evm for EVM (golint)
    • Line 643: warning: exported method EVM.Pop should have comment or be unexported (golint)
    • Line 643: warning: receiver name env should be consistent with previous receiver name evm for EVM (golint)
    • Line 651: warning: exported method EVM.Depth should have comment or be unexported (golint)
    • Line 651: warning: receiver name env should be consistent with previous receiver name evm for EVM (golint)
    • Line 653: warning: comment on exported method EVM.RevertToSnapshot should be of the form "RevertToSnapshot ..." (golint)
    • Line 657: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-smilo/src/blockchain/smilobft/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 43: warning: exported method CommandlineUI.RegisterUIServer should have comment or be unexported (golint)
    • Line 90: warning: exported method CommandlineUI.OnInputRequired should have comment or be unexported (golint)
    • Line 236: warning: exported method CommandlineUI.OnApprovedTx should have comment or be unexported (golint)
    • Line 245: warning: exported method CommandlineUI.OnSignerStartup should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/miner/agent.go
    • Line 29: warning: exported type CpuAgent should have comment or be unexported (golint)
    • Line 43: warning: exported function NewCpuAgent should have comment or be unexported (golint)
    • Line 53: warning: exported method CpuAgent.Work should have comment or be unexported (golint)
    • Line 53: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: exported method CpuAgent.SetReturnCh 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 56: warning: exported method CpuAgent.Stop should have comment or be unexported (golint)
    • Line 56: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 72: warning: exported method CpuAgent.Start should have comment or be unexported (golint)
    • Line 72: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 79: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 104: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 114: warning: exported method CpuAgent.GetHashRate should have comment or be unexported (golint)
    • Line 114: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-smilo/src/blockchain/smilobft/eth/api_backend.go
    • Line 57: warning: exported method EthAPIBackend.CurrentBlock should have comment or be unexported (golint)
    • Line 61: warning: exported method EthAPIBackend.SetHead should have comment or be unexported (golint)
    • Line 66: warning: exported method EthAPIBackend.HeaderByNumber should have comment or be unexported (golint)
    • Line 79: warning: exported method EthAPIBackend.HeaderByHash should have comment or be unexported (golint)
    • Line 83: warning: exported method EthAPIBackend.BlockByNumber should have comment or be unexported (golint)
    • Line 96: warning: exported method EthAPIBackend.BlockByHash should have comment or be unexported (golint)
    • Line 100: warning: exported method EthAPIBackend.StateAndHeaderByNumber should have comment or be unexported (golint)
    • Line 118: warning: exported method EthAPIBackend.GetBlock should have comment or be unexported (golint)
    • Line 122: warning: exported method EthAPIBackend.GetReceipts should have comment or be unexported (golint)
    • Line 126: warning: exported method EthAPIBackend.GetLogs should have comment or be unexported (golint)
    • Line 138: warning: exported method EthAPIBackend.GetTd should have comment or be unexported (golint)
    • Line 142: warning: exported method EthAPIBackend.GetEVM should have comment or be unexported (golint)
    • Line 165: warning: exported method EthAPIBackend.SubscribeRemovedLogsEvent should have comment or be unexported (golint)
    • Line 169: warning: exported method EthAPIBackend.SubscribeChainEvent should have comment or be unexported (golint)
    • Line 173: warning: exported method EthAPIBackend.SubscribeChainHeadEvent should have comment or be unexported (golint)
    • Line 177: warning: exported method EthAPIBackend.SubscribeChainSideEvent should have comment or be unexported (golint)
    • Line 181: warning: exported method EthAPIBackend.SubscribeLogsEvent should have comment or be unexported (golint)
    • Line 185: warning: exported method EthAPIBackend.SendTx should have comment or be unexported (golint)
    • Line 189: warning: exported method EthAPIBackend.GetPoolTransactions should have comment or be unexported (golint)
    • Line 201: warning: exported method EthAPIBackend.GetPoolTransaction should have comment or be unexported (golint)
    • Line 205: warning: exported method EthAPIBackend.GetTransaction should have comment or be unexported (golint)
    • Line 210: warning: exported method EthAPIBackend.GetPoolNonce should have comment or be unexported (golint)
    • Line 214: warning: exported method EthAPIBackend.Stats should have comment or be unexported (golint)
    • Line 218: warning: exported method EthAPIBackend.TxPoolContent should have comment or be unexported (golint)
    • Line 222: warning: exported method EthAPIBackend.SubscribeNewTxsEvent should have comment or be unexported (golint)
    • Line 226: warning: exported method EthAPIBackend.Downloader should have comment or be unexported (golint)
    • Line 230: warning: exported method EthAPIBackend.ProtocolVersion should have comment or be unexported (golint)
    • Line 234: warning: exported method EthAPIBackend.SuggestPrice should have comment or be unexported (golint)
    • Line 238: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 243: warning: exported method EthAPIBackend.ChainDb should have comment or be unexported (golint)
    • Line 247: warning: exported method EthAPIBackend.EventMux should have comment or be unexported (golint)
    • Line 251: warning: exported method EthAPIBackend.AccountManager should have comment or be unexported (golint)
    • Line 255: warning: exported method EthAPIBackend.ExtRPCEnabled should have comment or be unexported (golint)
    • Line 259: warning: exported method EthAPIBackend.RPCGasCap should have comment or be unexported (golint)
    • Line 263: warning: exported method EthAPIBackend.BloomStatus should have comment or be unexported (golint)
    • Line 268: warning: exported method EthAPIBackend.ServiceFilter should have comment or be unexported (golint)
    • Line 274: warning: exported method EthAPIBackend.GetSolcPath should have comment or be unexported (golint)
    • Line 279: warning: exported method EthAPIBackend.GetSmiloCodeAnalysisPath should have comment or be unexported (golint)
    • Line 284: warning: exported type EthAPIState should have comment or be unexported (golint)
    • Line 288: warning: exported method EthAPIState.SetCode should have comment or be unexported (golint)
    • Line 302: warning: exported method EthAPIState.SetState should have comment or be unexported (golint)
    • Line 316: warning: exported method EthAPIState.SetBalance should have comment or be unexported (golint)
    • Line 330: warning: exported method EthAPIState.SetStorage should have comment or be unexported (golint)
    • Line 344: warning: exported method EthAPIState.SetNonce should have comment or be unexported (golint)
    • Line 358: warning: exported method EthAPIState.GetBalance should have comment or be unexported (golint)
    • Line 409: warning: exported method EthAPIState.GetCode should have comment or be unexported (golint)
    • Line 416: warning: exported method EthAPIState.GetState should have comment or be unexported (golint)
    • Line 423: warning: exported method EthAPIState.GetNonce should have comment or be unexported (golint)
    • Line 430: warning: exported method EthAPIState.GetProof should have comment or be unexported (golint)
    • Line 437: warning: exported method EthAPIState.GetStorageProof should have comment or be unexported (golint)
    • Line 444: warning: exported method EthAPIState.StorageTrie should have comment or be unexported (golint)
    • Line 458: warning: exported method EthAPIState.GetCodeHash should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/core/types/transaction_signing.go
    • Line 32: warning: exported var ErrInvalidChainID should have comment or be unexported (golint)
    • Line 106: warning: comment on exported type EIP155Signer should be of the form "EIP155Signer ..." (with optional leading article) (golint)
    • Line 111: warning: exported function NewEIP155Signer should have comment or be unexported (golint)
    • Line 121: warning: exported method EIP155Signer.Equal should have comment or be unexported (golint)
    • Line 128: warning: exported method EIP155Signer.Sender should have comment or be unexported (golint)
    • Line 175: warning: comment on exported type HomesteadSigner should be of the form "HomesteadSigner ..." (with optional leading article) (golint)
    • Line 179: warning: exported method HomesteadSigner.Equal should have comment or be unexported (golint)
    • Line 186: warning: receiver name hs should be consistent with previous receiver name s for HomesteadSigner (golint)
    • Line 190: warning: exported method HomesteadSigner.Sender should have comment or be unexported (golint)
    • Line 190: warning: receiver name hs should be consistent with previous receiver name s for HomesteadSigner (golint)
    • Line 194: warning: exported type FrontierSigner should have comment or be unexported (golint)
    • Line 196: warning: exported method FrontierSigner.Equal should have comment or be unexported (golint)
    • Line 203: warning: receiver name fs should be consistent with previous receiver name s for FrontierSigner (golint)
    • Line 219: warning: receiver name fs should be consistent with previous receiver name s for FrontierSigner (golint)
    • Line 230: warning: exported method FrontierSigner.Sender should have comment or be unexported (golint)
    • Line 230: warning: receiver name fs should be consistent with previous receiver name s for FrontierSigner (golint)
    • go-smilo/src/blockchain/smilobft/internal/ethapi/api_codeanalysis.go
    • Line 19: warning: exported type PublicCodeAnalysisAPI should have comment or be unexported (golint)
    • Line 20: warning: exported type CodeAnalysisAdminAPI should have comment or be unexported (golint)
    • Line 22: warning: exported type AnalysysResult should have comment or be unexported (golint)
    • Line 27: warning: exported type SmiloAnalysisArgs should have comment or be unexported (golint)
    • Line 46: warning: exported method PublicCodeAnalysisAPI.CodeAnalysis should have comment or be unexported (golint)
    • Line 101: warning: comment on exported method CodeAnalysisAdminAPI.SetSmiloAnalysis should be of the form "SetSmiloAnalysis ..." (golint)
    • go-smilo/src/blockchain/smilobft/p2p/enr/enr.go
    • Line 46: warning: exported const SizeLimit should have comment or be unexported (golint)
    • Line 49: warning: exported var ErrInvalidSig should have comment or be unexported (golint)
    • Line 68: warning: exported method SchemeMap.Verify should have comment or be unexported (golint)
    • Line 76: warning: exported method SchemeMap.NodeAddr should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/vault/blackbox/node.go
    • Line 49: warning: exported function RunNode should have comment or be unexported (golint)
    • Line 61: warning: exported method Client.PostData should have comment or be unexported (golint)
    • Line 87: warning: exported method Client.PostDataRawTransaction should have comment or be unexported (golint)
    • Line 111: warning: exported method Client.GetData should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/dashboard/message.go
    • Line 23: warning: exported type Message should have comment or be unexported (golint)
    • Line 33: warning: exported type ChartEntries should have comment or be unexported (golint)
    • Line 35: warning: exported type ChartEntry should have comment or be unexported (golint)
    • Line 39: warning: exported type GeneralMessage should have comment or be unexported (golint)
    • Line 44: warning: exported type HomeMessage should have comment or be unexported (golint)
    • Line 48: warning: exported type ChainMessage should have comment or be unexported (golint)
    • Line 52: warning: exported type TxPoolMessage should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/mobile/vm.go
    • Line 33: warning: exported method Log.GetAddress should have comment or be unexported (golint)
    • Line 34: warning: exported method Log.GetTopics should have comment or be unexported (golint)
    • Line 35: warning: exported method Log.GetData should have comment or be unexported (golint)
    • Line 36: warning: exported method Log.GetBlockNumber should have comment or be unexported (golint)
    • Line 37: warning: exported method Log.GetTxHash should have comment or be unexported (golint)
    • Line 38: warning: exported method Log.GetTxIndex should have comment or be unexported (golint)
    • Line 39: warning: exported method Log.GetBlockHash should have comment or be unexported (golint)
    • Line 40: warning: exported method Log.GetIndex should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/core/types/transaction.go
    • Line 38: warning: exported var ErrInvalidSig should have comment or be unexported (golint)
    • Line 45: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 50: warning: exported type Transaction should have comment or be unexported (golint)
    • Line 86: warning: exported function NewTransaction should have comment or be unexported (golint)
    • Line 90: warning: exported function NewContractCreation should have comment or be unexported (golint)
    • Line 187: warning: exported method Transaction.Data should have comment or be unexported (golint)
    • Line 188: warning: exported method Transaction.Gas should have comment or be unexported (golint)
    • Line 189: warning: exported method Transaction.GasPrice should have comment or be unexported (golint)
    • Line 190: warning: exported method Transaction.Value should have comment or be unexported (golint)
    • Line 191: warning: exported method Transaction.Nonce should have comment or be unexported (golint)
    • Line 192: warning: exported method Transaction.CheckNonce should have comment or be unexported (golint)
    • Line 376: warning: exported method TxByPrice.Push should have comment or be unexported (golint)
    • Line 380: warning: exported method TxByPrice.Pop should have comment or be unexported (golint)
    • Line 469: warning: exported function NewMessage should have comment or be unexported (golint)
    • Line 482: warning: exported method Message.From should have comment or be unexported (golint)
    • Line 483: warning: exported method Message.To should have comment or be unexported (golint)
    • Line 484: warning: exported method Message.GasPrice should have comment or be unexported (golint)
    • Line 485: warning: exported method Message.Value should have comment or be unexported (golint)
    • Line 486: warning: exported method Message.Gas should have comment or be unexported (golint)
    • Line 487: warning: exported method Message.Nonce should have comment or be unexported (golint)
    • Line 488: warning: exported method Message.Data should have comment or be unexported (golint)
    • Line 489: warning: exported method Message.CheckNonce should have comment or be unexported (golint)
    • Line 491: warning: exported method Message.IsVault should have comment or be unexported (golint)
    • Line 495: warning: exported method Transaction.IsVault should have comment or be unexported (golint)
    • Line 502: warning: exported method Transaction.SetVault should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/core/blockchain.go
    • Line 86: warning: exported const TriesInMemory should have comment (or a comment on this block) or be unexported (golint)
    • Line 499: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 923: warning: exported const NonStatTy should have comment (or a comment on this block) or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/signer/core/auditlog.go
    • Line 29: warning: exported type AuditLogger should have comment or be unexported (golint)
    • Line 34: warning: exported method AuditLogger.List should have comment or be unexported (golint)
    • Line 42: warning: exported method AuditLogger.New should have comment or be unexported (golint)
    • Line 46: warning: exported method AuditLogger.SignTransaction should have comment or be unexported (golint)
    • Line 64: warning: exported method AuditLogger.SignData should have comment or be unexported (golint)
    • Line 72: warning: exported method AuditLogger.SignTypedData should have comment or be unexported (golint)
    • Line 80: warning: exported method AuditLogger.EcRecover should have comment or be unexported (golint)
    • Line 88: warning: exported method AuditLogger.Version should have comment or be unexported (golint)
    • Line 96: warning: exported function NewAuditLogger should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/tests/state_test_util.go
    • Line 57: warning: exported method StateTest.UnmarshalJSON should have comment or be unexported (golint)
    • Line 132: 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 200: warning: exported function MakePreState should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/core/vm/noop.go
    • Line 27: warning: exported function NoopCanTransfer should have comment or be unexported (golint)
    • Line 30: warning: exported function NoopTransfer should have comment or be unexported (golint)
    • Line 32: warning: exported type NoopEVMCallContext should have comment or be unexported (golint)
    • Line 34: warning: exported method NoopEVMCallContext.Call should have comment or be unexported (golint)
    • Line 37: warning: exported method NoopEVMCallContext.CallCode should have comment or be unexported (golint)
    • Line 40: warning: exported method NoopEVMCallContext.Create should have comment or be unexported (golint)
    • Line 43: warning: exported method NoopEVMCallContext.DelegateCall should have comment or be unexported (golint)
    • Line 47: warning: exported type NoopStateDB should have comment or be unexported (golint)
    • Line 49: warning: exported method NoopStateDB.CreateAccount should have comment or be unexported (golint)
    • Line 50: warning: exported method NoopStateDB.SubBalance should have comment or be unexported (golint)
    • Line 51: warning: exported method NoopStateDB.AddBalance should have comment or be unexported (golint)
    • Line 52: warning: exported method NoopStateDB.GetBalance should have comment or be unexported (golint)
    • Line 53: warning: exported method NoopStateDB.GetNonce should have comment or be unexported (golint)
    • Line 54: warning: exported method NoopStateDB.SetNonce should have comment or be unexported (golint)
    • Line 55: warning: exported method NoopStateDB.GetCodeHash should have comment or be unexported (golint)
    • Line 56: warning: exported method NoopStateDB.GetCode should have comment or be unexported (golint)
    • Line 57: warning: exported method NoopStateDB.SetCode should have comment or be unexported (golint)
    • Line 58: warning: exported method NoopStateDB.GetCodeSize should have comment or be unexported (golint)
    • Line 59: warning: exported method NoopStateDB.AddRefund should have comment or be unexported (golint)
    • Line 60: warning: exported method NoopStateDB.GetRefund should have comment or be unexported (golint)
    • Line 61: warning: exported method NoopStateDB.GetState should have comment or be unexported (golint)
    • Line 62: warning: exported method NoopStateDB.SetState should have comment or be unexported (golint)
    • Line 63: warning: exported method NoopStateDB.Suicide should have comment or be unexported (golint)
    • Line 64: warning: exported method NoopStateDB.HasSuicided should have comment or be unexported (golint)
    • Line 65: warning: exported method NoopStateDB.Exist should have comment or be unexported (golint)
    • Line 66: warning: exported method NoopStateDB.Empty should have comment or be unexported (golint)
    • Line 67: warning: exported method NoopStateDB.RevertToSnapshot should have comment or be unexported (golint)
    • Line 68: warning: exported method NoopStateDB.Snapshot should have comment or be unexported (golint)
    • Line 69: warning: exported method NoopStateDB.AddLog should have comment or be unexported (golint)
    • Line 70: warning: exported method NoopStateDB.AddPreimage should have comment or be unexported (golint)
    • Line 71: warning: exported method NoopStateDB.ForEachStorage should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/internal/ethapi/api.go
    • Line 229: warning: comment on exported method PrivateAccountAPI.ListAccounts should be of the form "ListAccounts ..." (golint)
    • Line 571: warning: comment on exported type AccountResult should be of the form "AccountResult ..." (with optional leading article) (golint)
    • Line 581: warning: exported type StorageResult should have comment or be unexported (golint)
    • Line 790: warning: exported function DoCall should have comment or be unexported (golint)
    • Line 913: warning: exported function DoEstimateGas should have comment or be unexported (golint)
    • Line 1842: warning: exported method PrivateDebugAPI.ChaindbCompact should have comment or be unexported (golint)
    • Line 1888: warning: exported type AsyncSendTxArgs should have comment or be unexported (golint)
    • Line 1893: warning: exported type AsyncResultSuccess should have comment or be unexported (golint)
    • Line 1898: warning: exported type AsyncResultFailure should have comment or be unexported (golint)
    • Line 1903: warning: exported type Async should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/mobile/ethereum.go
    • Line 51: warning: exported method CallMsg.GetFrom should have comment or be unexported (golint)
    • Line 52: warning: exported method CallMsg.GetGas should have comment or be unexported (golint)
    • Line 53: warning: exported method CallMsg.GetGasPrice should have comment or be unexported (golint)
    • Line 54: warning: exported method CallMsg.GetValue should have comment or be unexported (golint)
    • Line 55: warning: exported method CallMsg.GetData should have comment or be unexported (golint)
    • Line 56: warning: exported method CallMsg.GetTo should have comment or be unexported (golint)
    • Line 63: warning: exported method CallMsg.SetFrom should have comment or be unexported (golint)
    • Line 64: warning: exported method CallMsg.SetGas should have comment or be unexported (golint)
    • Line 65: warning: exported method CallMsg.SetGasPrice should have comment or be unexported (golint)
    • Line 66: warning: exported method CallMsg.SetValue should have comment or be unexported (golint)
    • Line 67: warning: exported method CallMsg.SetData should have comment or be unexported (golint)
    • Line 68: warning: exported method CallMsg.SetTo should have comment or be unexported (golint)
    • Line 82: warning: exported method SyncProgress.GetStartingBlock should have comment or be unexported (golint)
    • Line 83: warning: exported method SyncProgress.GetCurrentBlock should have comment or be unexported (golint)
    • Line 84: warning: exported method SyncProgress.GetHighestBlock should have comment or be unexported (golint)
    • Line 85: warning: exported method SyncProgress.GetPulledStates should have comment or be unexported (golint)
    • Line 86: warning: exported method SyncProgress.GetKnownStates should have comment or be unexported (golint)
    • Line 140: warning: exported method FilterQuery.GetFromBlock should have comment or be unexported (golint)
    • Line 141: warning: exported method FilterQuery.GetToBlock should have comment or be unexported (golint)
    • Line 142: warning: exported method FilterQuery.GetAddresses should have comment or be unexported (golint)
    • Line 143: warning: exported method FilterQuery.GetTopics should have comment or be unexported (golint)
    • Line 145: warning: exported method FilterQuery.SetFromBlock should have comment or be unexported (golint)
    • Line 146: warning: exported method FilterQuery.SetToBlock should have comment or be unexported (golint)
    • Line 147: warning: exported method FilterQuery.SetAddresses should have comment or be unexported (golint)
    • Line 148: warning: exported method FilterQuery.SetTopics should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/mobile/interface.go
    • Line 45: warning: exported method Interface.SetBool should have comment or be unexported (golint)
    • Line 46: warning: exported method Interface.SetBools should have comment or be unexported (golint)
    • Line 47: warning: exported method Interface.SetString should have comment or be unexported (golint)
    • Line 48: warning: exported method Interface.SetStrings should have comment or be unexported (golint)
    • Line 49: warning: exported method Interface.SetBinary should have comment or be unexported (golint)
    • Line 50: warning: exported method Interface.SetBinaries should have comment or be unexported (golint)
    • Line 51: warning: exported method Interface.SetAddress should have comment or be unexported (golint)
    • Line 52: warning: exported method Interface.SetAddresses should have comment or be unexported (golint)
    • Line 53: warning: exported method Interface.SetHash should have comment or be unexported (golint)
    • Line 54: warning: exported method Interface.SetHashes should have comment or be unexported (golint)
    • Line 55: warning: exported method Interface.SetInt8 should have comment or be unexported (golint)
    • Line 56: warning: exported method Interface.SetInt16 should have comment or be unexported (golint)
    • Line 57: warning: exported method Interface.SetInt32 should have comment or be unexported (golint)
    • Line 58: warning: exported method Interface.SetInt64 should have comment or be unexported (golint)
    • Line 59: warning: exported method Interface.SetInt8s should have comment or be unexported (golint)
    • Line 66: warning: exported method Interface.SetInt16s should have comment or be unexported (golint)
    • Line 73: warning: exported method Interface.SetInt32s should have comment or be unexported (golint)
    • Line 80: warning: exported method Interface.SetInt64s should have comment or be unexported (golint)
    • Line 87: warning: exported method Interface.SetUint8 should have comment or be unexported (golint)
    • Line 88: warning: exported method Interface.SetUint16 should have comment or be unexported (golint)
    • Line 89: warning: exported method Interface.SetUint32 should have comment or be unexported (golint)
    • Line 90: warning: exported method Interface.SetUint64 should have comment or be unexported (golint)
    • Line 91: warning: exported method Interface.SetUint8s should have comment or be unexported (golint)
    • Line 98: warning: exported method Interface.SetUint16s should have comment or be unexported (golint)
    • Line 105: warning: exported method Interface.SetUint32s should have comment or be unexported (golint)
    • Line 112: warning: exported method Interface.SetUint64s should have comment or be unexported (golint)
    • Line 119: warning: exported method Interface.SetBigInt should have comment or be unexported (golint)
    • Line 120: warning: exported method Interface.SetBigInts should have comment or be unexported (golint)
    • Line 122: warning: exported method Interface.SetDefaultBool should have comment or be unexported (golint)
    • Line 123: warning: exported method Interface.SetDefaultBools should have comment or be unexported (golint)
    • Line 124: warning: exported method Interface.SetDefaultString should have comment or be unexported (golint)
    • Line 125: warning: exported method Interface.SetDefaultStrings should have comment or be unexported (golint)
    • Line 126: warning: exported method Interface.SetDefaultBinary should have comment or be unexported (golint)
    • Line 127: warning: exported method Interface.SetDefaultBinaries should have comment or be unexported (golint)
    • Line 128: warning: exported method Interface.SetDefaultAddress should have comment or be unexported (golint)
    • Line 129: warning: exported method Interface.SetDefaultAddresses should have comment or be unexported (golint)
    • Line 130: warning: exported method Interface.SetDefaultHash should have comment or be unexported (golint)
    • Line 131: warning: exported method Interface.SetDefaultHashes should have comment or be unexported (golint)
    • Line 132: warning: exported method Interface.SetDefaultInt8 should have comment or be unexported (golint)
    • Line 133: warning: exported method Interface.SetDefaultInt8s should have comment or be unexported (golint)
    • Line 134: warning: exported method Interface.SetDefaultInt16 should have comment or be unexported (golint)
    • Line 135: warning: exported method Interface.SetDefaultInt16s should have comment or be unexported (golint)
    • Line 136: warning: exported method Interface.SetDefaultInt32 should have comment or be unexported (golint)
    • Line 137: warning: exported method Interface.SetDefaultInt32s should have comment or be unexported (golint)
    • Line 138: warning: exported method Interface.SetDefaultInt64 should have comment or be unexported (golint)
    • Line 139: warning: exported method Interface.SetDefaultInt64s should have comment or be unexported (golint)
    • Line 140: warning: exported method Interface.SetDefaultUint8 should have comment or be unexported (golint)
    • Line 141: warning: exported method Interface.SetDefaultUint8s should have comment or be unexported (golint)
    • Line 142: warning: exported method Interface.SetDefaultUint16 should have comment or be unexported (golint)
    • Line 143: warning: exported method Interface.SetDefaultUint16s should have comment or be unexported (golint)
    • Line 144: warning: exported method Interface.SetDefaultUint32 should have comment or be unexported (golint)
    • Line 145: warning: exported method Interface.SetDefaultUint32s should have comment or be unexported (golint)
    • Line 146: warning: exported method Interface.SetDefaultUint64 should have comment or be unexported (golint)
    • Line 147: warning: exported method Interface.SetDefaultUint64s should have comment or be unexported (golint)
    • Line 148: warning: exported method Interface.SetDefaultBigInt should have comment or be unexported (golint)
    • Line 149: warning: exported method Interface.SetDefaultBigInts should have comment or be unexported (golint)
    • Line 151: warning: exported method Interface.GetBool should have comment or be unexported (golint)
    • Line 152: warning: exported method Interface.GetBools should have comment or be unexported (golint)
    • Line 153: warning: exported method Interface.GetString should have comment or be unexported (golint)
    • Line 154: warning: exported method Interface.GetStrings should have comment or be unexported (golint)
    • Line 155: warning: exported method Interface.GetBinary should have comment or be unexported (golint)
    • Line 156: warning: exported method Interface.GetBinaries should have comment or be unexported (golint)
    • Line 157: warning: exported method Interface.GetAddress should have comment or be unexported (golint)
    • Line 158: warning: exported method Interface.GetAddresses should have comment or be unexported (golint)
    • Line 159: warning: exported method Interface.GetHash should have comment or be unexported (golint)
    • Line 160: warning: exported method Interface.GetHashes should have comment or be unexported (golint)
    • Line 161: warning: exported method Interface.GetInt8 should have comment or be unexported (golint)
    • Line 162: warning: exported method Interface.GetInt16 should have comment or be unexported (golint)
    • Line 163: warning: exported method Interface.GetInt32 should have comment or be unexported (golint)
    • Line 164: warning: exported method Interface.GetInt64 should have comment or be unexported (golint)
    • Line 165: warning: exported method Interface.GetInt8s should have comment or be unexported (golint)
    • Line 173: warning: exported method Interface.GetInt16s should have comment or be unexported (golint)
    • Line 181: warning: exported method Interface.GetInt32s should have comment or be unexported (golint)
    • Line 189: warning: exported method Interface.GetInt64s should have comment or be unexported (golint)
    • Line 197: warning: exported method Interface.GetUint8 should have comment or be unexported (golint)
    • Line 200: warning: exported method Interface.GetUint16 should have comment or be unexported (golint)
    • Line 203: warning: exported method Interface.GetUint32 should have comment or be unexported (golint)
    • Line 206: warning: exported method Interface.GetUint64 should have comment or be unexported (golint)
    • Line 209: warning: exported method Interface.GetUint8s should have comment or be unexported (golint)
    • Line 217: warning: exported method Interface.GetUint16s should have comment or be unexported (golint)
    • Line 225: warning: exported method Interface.GetUint32s should have comment or be unexported (golint)
    • Line 233: warning: exported method Interface.GetUint64s should have comment or be unexported (golint)
    • Line 241: warning: exported method Interface.GetBigInt should have comment or be unexported (golint)
    • Line 242: warning: exported method Interface.GetBigInts should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/cmn/types.go
    • Line 25: warning: exported function StringToHash should have comment or be unexported (golint)
    • Line 26: warning: exported function BigToHash should have comment or be unexported (golint)
    • Line 27: warning: exported function HexToHash should have comment or be unexported (golint)
    • Line 29: warning: exported function StringToAddress should have comment or be unexported (golint)
    • Line 30: warning: exported function BigToAddress should have comment or be unexported (golint)
    • Line 31: warning: exported function HexToAddress should have comment or be unexported (golint)
    • Line 33: warning: exported function EmptyHash should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/p2p/enode/idscheme.go
    • Line 32: warning: comment on exported var ValidSchemes should be of the form "ValidSchemes ..." (golint)
    • Line 37: warning: exported var ValidSchemesForTesting should have comment or be unexported (golint)
    • Line 42: warning: comment on exported type V4ID should be of the form "V4ID ..." (with optional leading article) (golint)
    • Line 65: warning: exported method V4ID.Verify should have comment or be unexported (golint)
    • Line 81: warning: exported method V4ID.NodeAddr should have comment or be unexported (golint)
    • Line 96: warning: exported method Secp256k1.ENRKey should have comment or be unexported (golint)
    • Line 144: warning: exported method NullID.Verify should have comment or be unexported (golint)
    • Line 148: warning: exported method NullID.NodeAddr should have comment or be unexported (golint)
    • Line 154: warning: exported function SignNull should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/les/txrelay.go
    • Line 59: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 63: 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 79: 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 155: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 178: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • go-smilo/src/blockchain/smilobft/les/odr_requests.go
    • Line 17: warning: package comment should be of the form "Package les ..." (golint)
    • Line 52: warning: exported type LesOdrRequest should have comment or be unexported (golint)
    • Line 59: warning: exported function LesRequest should have comment or be unexported (golint)
    • Line 100: warning: comment on exported method BlockRequest.Validate should be of the form "Validate ..." (golint)
    • Line 156: warning: comment on exported method ReceiptsRequest.Validate should be of the form "Validate ..." (golint)
    • Line 187: warning: exported type ProofReq should have comment or be unexported (golint)
    • Line 193: warning: comment on exported type TrieRequest should be of the form "TrieRequest ..." (with optional leading article) (golint)
    • Line 218: warning: comment on exported method TrieRequest.Validate should be of the form "Validate ..." (golint)
    • Line 242: warning: exported type CodeReq should have comment or be unexported (golint)
    • Line 247: warning: comment on exported type CodeRequest should be of the form "CodeRequest ..." (with optional leading article) (golint)
    • Line 271: warning: comment on exported method CodeRequest.Validate should be of the form "Validate ..." (golint)
    • Line 306: warning: exported type HelperTrieReq should have comment or be unexported (golint)
    • Line 313: warning: exported type HelperTrieResps should have comment or be unexported (golint)
    • Line 318: warning: comment on exported type ChtRequest should be of the form "ChtRequest ..." (with optional leading article) (golint)
    • Line 334: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 353: warning: comment on exported method ChtRequest.Validate should be of the form "Validate ..." (golint)
    • Line 411: warning: exported type BloomReq should have comment or be unexported (golint)
    • Line 415: warning: comment on exported type BloomRequest should be of the form "BloomRequest ..." (with optional leading article) (golint)
    • Line 454: warning: comment on exported method BloomRequest.Validate should be of the form "Validate ..." (golint)
    • Line 511: warning: comment on exported method TxStatusRequest.Validate should be of the form "Validate ..." (golint)
    • go-smilo/src/blockchain/smilobft/mobile/types.go
    • Line 104: warning: exported method Header.GetParentHash should have comment or be unexported (golint)
    • Line 105: warning: exported method Header.GetUncleHash should have comment or be unexported (golint)
    • Line 106: warning: exported method Header.GetCoinbase should have comment or be unexported (golint)
    • Line 107: warning: exported method Header.GetRoot should have comment or be unexported (golint)
    • Line 108: warning: exported method Header.GetTxHash should have comment or be unexported (golint)
    • Line 109: warning: exported method Header.GetReceiptHash should have comment or be unexported (golint)
    • Line 110: warning: exported method Header.GetBloom should have comment or be unexported (golint)
    • Line 111: warning: exported method Header.GetDifficulty should have comment or be unexported (golint)
    • Line 112: warning: exported method Header.GetNumber should have comment or be unexported (golint)
    • Line 113: warning: exported method Header.GetGasLimit should have comment or be unexported (golint)
    • Line 114: warning: exported method Header.GetGasUsed should have comment or be unexported (golint)
    • Line 115: warning: exported method Header.GetTime should have comment or be unexported (golint)
    • Line 116: warning: exported method Header.GetExtra should have comment or be unexported (golint)
    • Line 117: warning: exported method Header.GetMixDigest should have comment or be unexported (golint)
    • Line 118: warning: exported method Header.GetNonce should have comment or be unexported (golint)
    • Line 119: warning: exported method Header.GetHash should have comment or be unexported (golint)
    • Line 175: warning: exported method Block.GetParentHash should have comment or be unexported (golint)
    • Line 176: warning: exported method Block.GetUncleHash should have comment or be unexported (golint)
    • Line 177: warning: exported method Block.GetCoinbase should have comment or be unexported (golint)
    • Line 178: warning: exported method Block.GetRoot should have comment or be unexported (golint)
    • Line 179: warning: exported method Block.GetTxHash should have comment or be unexported (golint)
    • Line 180: warning: exported method Block.GetReceiptHash should have comment or be unexported (golint)
    • Line 181: warning: exported method Block.GetBloom should have comment or be unexported (golint)
    • Line 182: warning: exported method Block.GetDifficulty should have comment or be unexported (golint)
    • Line 183: warning: exported method Block.GetNumber should have comment or be unexported (golint)
    • Line 184: warning: exported method Block.GetGasLimit should have comment or be unexported (golint)
    • Line 185: warning: exported method Block.GetGasUsed should have comment or be unexported (golint)
    • Line 186: warning: exported method Block.GetTime should have comment or be unexported (golint)
    • Line 187: warning: exported method Block.GetExtra should have comment or be unexported (golint)
    • Line 188: warning: exported method Block.GetMixDigest should have comment or be unexported (golint)
    • Line 189: warning: exported method Block.GetNonce should have comment or be unexported (golint)
    • Line 190: warning: exported method Block.GetHash should have comment or be unexported (golint)
    • Line 191: warning: exported method Block.GetHeader should have comment or be unexported (golint)
    • Line 192: warning: exported method Block.GetUncles should have comment or be unexported (golint)
    • Line 193: warning: exported method Block.GetTransactions should have comment or be unexported (golint)
    • Line 194: warning: exported method Block.GetTransaction should have comment or be unexported (golint)
    • Line 251: warning: exported method Transaction.GetData should have comment or be unexported (golint)
    • Line 252: warning: exported method Transaction.GetGas should have comment or be unexported (golint)
    • Line 253: warning: exported method Transaction.GetGasPrice should have comment or be unexported (golint)
    • Line 254: warning: exported method Transaction.GetValue should have comment or be unexported (golint)
    • Line 255: warning: exported method Transaction.GetNonce should have comment or be unexported (golint)
    • Line 257: warning: exported method Transaction.GetHash should have comment or be unexported (golint)
    • Line 258: warning: exported method Transaction.GetCost should have comment or be unexported (golint)
    • Line 260: warning: comment on exported method Transaction.GetSigHash should be of the form "GetSigHash ..." (golint)
    • Line 263: warning: comment on exported method Transaction.GetFrom should be of the form "GetFrom ..." (golint)
    • Line 273: warning: exported method Transaction.GetTo should have comment or be unexported (golint)
    • Line 280: warning: exported method Transaction.WithSignature should have comment or be unexported (golint)
    • Line 343: warning: exported method Receipt.GetStatus should have comment or be unexported (golint)
    • Line 344: warning: exported method Receipt.GetPostState should have comment or be unexported (golint)
    • Line 345: warning: exported method Receipt.GetCumulativeGasUsed should have comment or be unexported (golint)
    • Line 346: warning: exported method Receipt.GetBloom should have comment or be unexported (golint)
    • Line 347: warning: exported method Receipt.GetLogs should have comment or be unexported (golint)
    • Line 348: warning: exported method Receipt.GetTxHash should have comment or be unexported (golint)
    • Line 349: warning: exported method Receipt.GetContractAddress should have comment or be unexported (golint)
    • Line 350: warning: exported method Receipt.GetGasUsed should have comment or be unexported (golint)
    • Line 362: warning: exported function NewNewMessage should have comment or be unexported (golint)
    • Line 369: warning: exported method NewMessage.GetSymKeyID should have comment or be unexported (golint)
    • Line 370: warning: exported method NewMessage.SetSymKeyID should have comment or be unexported (golint)
    • Line 371: warning: exported method NewMessage.GetPublicKey should have comment or be unexported (golint)
    • Line 372: warning: exported method NewMessage.SetPublicKey should have comment or be unexported (golint)
    • Line 375: warning: exported method NewMessage.GetSig should have comment or be unexported (golint)
    • Line 376: warning: exported method NewMessage.SetSig should have comment or be unexported (golint)
    • Line 377: warning: exported method NewMessage.GetTTL should have comment or be unexported (golint)
    • Line 378: warning: exported method NewMessage.SetTTL should have comment or be unexported (golint)
    • Line 379: warning: exported method NewMessage.GetPayload should have comment or be unexported (golint)
    • Line 380: warning: exported method NewMessage.SetPayload should have comment or be unexported (golint)
    • Line 381: warning: exported method NewMessage.GetPowTime should have comment or be unexported (golint)
    • Line 382: warning: exported method NewMessage.SetPowTime should have comment or be unexported (golint)
    • Line 383: warning: exported method NewMessage.GetPowTarget should have comment or be unexported (golint)
    • Line 384: warning: exported method NewMessage.SetPowTarget should have comment or be unexported (golint)
    • Line 385: warning: exported method NewMessage.GetTargetPeer should have comment or be unexported (golint)
    • Line 386: warning: exported method NewMessage.SetTargetPeer should have comment or be unexported (golint)
    • Line 387: warning: exported method NewMessage.GetTopic should have comment or be unexported (golint)
    • Line 388: warning: exported method NewMessage.SetTopic should have comment or be unexported (golint)
    • Line 395: warning: exported method Message.GetSig should have comment or be unexported (golint)
    • Line 396: warning: exported method Message.GetTTL should have comment or be unexported (golint)
    • Line 397: warning: exported method Message.GetTimestamp should have comment or be unexported (golint)
    • Line 398: warning: exported method Message.GetPayload should have comment or be unexported (golint)
    • Line 399: warning: exported method Message.GetPoW should have comment or be unexported (golint)
    • Line 400: warning: exported method Message.GetHash should have comment or be unexported (golint)
    • Line 401: warning: exported method Message.GetDst should have comment or be unexported (golint)
    • Line 426: warning: exported function NewCriteria should have comment or be unexported (golint)
    • Line 435: warning: exported method Criteria.GetSymKeyID should have comment or be unexported (golint)
    • Line 436: warning: exported method Criteria.SetSymKeyID should have comment or be unexported (golint)
    • Line 437: warning: exported method Criteria.GetPrivateKeyID should have comment or be unexported (golint)
    • Line 438: warning: exported method Criteria.SetPrivateKeyID should have comment or be unexported (golint)
    • Line 439: warning: exported method Criteria.GetSig should have comment or be unexported (golint)
    • Line 440: warning: exported method Criteria.SetSig should have comment or be unexported (golint)
    • Line 441: warning: exported method Criteria.GetMinPow should have comment or be unexported (golint)
    • Line 442: warning: exported method Criteria.SetMinPow should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/p2p/permissions.go
    • Line 15: warning: exported const NODE_NAME_LENGTH should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: comment on exported function IsNodePermissioned should be of the form "IsNodePermissioned ..." (golint)
    • Line 39: warning: exported function ParsePermissionedNodes should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/core/tx_pool.go
    • Line 90: warning: exported var ErrInvalidGasPrice should have comment or be unexported (golint)
    • Line 129: warning: exported const TxStatusUnknown should have comment (or a comment on this block) or be unexported (golint)
    • Line 601: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 818: warning: comment on exported method TxPool.AddRemotesSync should be of the form "AddRemotesSync ..." (golint)
    • go-smilo/src/blockchain/smilobft/vault/blackbox/blackbox.go
    • Line 30: warning: exported method Blackbox.Post should have comment or be unexported (golint)
    • Line 44: warning: exported method Blackbox.PostRawTransaction should have comment or be unexported (golint)
    • Line 56: warning: exported method Blackbox.Get should have comment or be unexported (golint)
    • Line 78: warning: exported function New should have comment or be unexported (golint)
    • Line 112: warning: exported function CreateNew should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/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)
    • go-smilo/src/blockchain/smilobft/cmd/extradata/main.go
    • Line 60: warning: exported var ExtraCommand should have comment or be unexported (golint)
    • Line 99: warning: exported function Encode should have comment or be unexported (golint)
    • Line 113: warning: exported function MixHash should have comment or be unexported (golint)
    • Line 124: warning: exported function Decode should have comment or be unexported (golint)
    • Line 164: warning: exported function GenerateExtraFromFullnodes should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/vault/blackbox/model.go
    • Line 29: warning: exported var ErrBlackboxIsNotStarted should have comment or be unexported (golint)
    • Line 34: warning: exported type Blackbox should have comment or be unexported (golint)
    • Line 42: warning: exported type Client should have comment or be unexported (golint)
    • Line 46: warning: exported function CreateClient should have comment or be unexported (golint)
    • Line 54: warning: exported type Config should have comment or be unexported (golint)
    • Line 62: warning: exported function LoadConfig should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/les/peer.go
    • Line 151: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 834: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • go-smilo/src/blockchain/smilobft/p2p/enr/entries.go
    • Line 61: warning: exported method TCP.ENRKey should have comment or be unexported (golint)
    • Line 63: warning: comment on exported type TCP6 should be of the form "TCP6 ..." (with optional leading article) (golint)
    • Line 66: warning: exported method TCP6.ENRKey should have comment or be unexported (golint)
    • Line 71: warning: exported method UDP.ENRKey should have comment or be unexported (golint)
    • Line 73: warning: comment on exported type UDP6 should be of the form "UDP6 ..." (with optional leading article) (golint)
    • Line 76: warning: exported method UDP6.ENRKey should have comment or be unexported (golint)
    • Line 81: warning: exported const IDv4 should have comment or be unexported (golint)
    • Line 83: warning: exported method ID.ENRKey should have comment or be unexported (golint)
    • Line 90: warning: exported method IP.ENRKey should have comment or be unexported (golint)
    • Line 122: warning: exported method IPv4.ENRKey should have comment or be unexported (golint)
    • Line 147: warning: exported method IPv6.ENRKey should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/params/version.go
    • Line 24: warning: exported const VersionMajor should have comment (or a comment on this block) or be unexported (golint)
    • Line 63: warning: comment on exported var SmiloVersion should be of the form "SmiloVersion ..." (golint)
    • Line 68: warning: exported function VersionWithCommit should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/rpc/client.go
    • Line 35: warning: exported var ErrClientQuit should have comment or be unexported (golint)
    • Line 188: warning: comment on exported function ClientFromContext should be of the form "ClientFromContext ..." (golint)
    • Line 319: warning: comment on exported method Client.BatchCallContext should be of the form "BatchCallContext ..." (golint)
    • Line 391: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • go-smilo/src/blockchain/smilobft/cmn/bytes.go
    • Line 17: warning: package comment should be of the form "Package cmn ..." (golint)
    • Line 24: warning: exported function ToHex should have comment or be unexported (golint)
    • Line 33: warning: exported function FromHex should have comment or be unexported (golint)
    • Line 46: warning: comment on exported function CopyBytes should be of the form "CopyBytes ..." (golint)
    • Line 59: warning: exported function HasHexPrefix should have comment or be unexported (golint)
    • Line 64: warning: exported function IsHex should have comment or be unexported (golint)
    • Line 69: warning: exported function Bytes2Hex should have comment or be unexported (golint)
    • Line 73: warning: exported function Hex2Bytes should have comment or be unexported (golint)
    • Line 79: warning: exported function Hex2BytesFixed should have comment or be unexported (golint)
    • Line 83: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 86: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 94: warning: exported function RightPadBytes should have comment or be unexported (golint)
    • Line 105: warning: exported function LeftPadBytes should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/p2p/simulations/test.go
    • Line 35: warning: exported function NewNoopService should have comment or be unexported (golint)
    • Line 41: warning: exported method NoopService.Protocols should have comment or be unexported (golint)
    • Line 66: warning: exported method NoopService.APIs should have comment or be unexported (golint)
    • Line 70: warning: exported method NoopService.Start should have comment or be unexported (golint)
    • Line 74: warning: exported method NoopService.Stop should have comment or be unexported (golint)
    • Line 78: warning: exported function VerifyRing should have comment or be unexported (golint)
    • Line 97: warning: exported function VerifyChain should have comment or be unexported (golint)
    • Line 116: warning: exported function VerifyFull should have comment or be unexported (golint)
    • Line 134: warning: exported function VerifyStar should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/signer/storage/storage.go
    • Line 30: warning: exported type Storage should have comment or be unexported (golint)
    • Line 74: warning: exported function NewEphemeralStorage should have comment or be unexported (golint)
    • Line 84: warning: exported method NoStorage.Put should have comment or be unexported (golint)
    • Line 85: warning: exported method NoStorage.Del should have comment or be unexported (golint)
    • Line 86: warning: exported method NoStorage.Get should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/consensus/sport/model_config.go
    • Line 1: warning: package comment should be of the form "Package sport ..." (golint)
    • Line 21: warning: exported type SpeakerPolicy should have comment or be unexported (golint)
    • Line 24: warning: exported const RoundRobin should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported type Config should have comment or be unexported (golint)
    • Line 39: warning: exported var DefaultConfig should have comment or be unexported (golint)
    • go-smilo/src/blockchain/smilobft/core/state/state_object.go
    • Line 35: warning: exported type Code should have comment or be unexported (golint)
    • Line 41: warning: exported type Storage should have comment or be unexported (golint)
    • Line 51: warning: exported method Storage.Copy should have comment or be unexported (golint)
    • Line 174: warning: receiver name so should be consistent with previous receiver name s for stateObject (golint)
    • Line 343: warning: receiver name c should be consistent with previous receiver name s for stateObject (golint)
    • Line 365: warning: receiver name c should be consistent with previous receiver name s for stateObject (golint)
    • go-smilo/src/blockchain/smilobft/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)

gocyclo82%

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

    • go-smilo/src/blockchain/smilobft/eth/api_tracer.go
    • Line 145: warning: cyclomatic complexity 43 of function (*PrivateDebugAPI).traceChain() is high (> 15) (gocyclo)
    • Line 548: warning: cyclomatic complexity 19 of function (*PrivateDebugAPI).standardTraceBlockToFile() is high (> 15) (gocyclo)
    • Line 658: warning: cyclomatic complexity 17 of function (*PrivateDebugAPI).computeStateDB() is high (> 15) (gocyclo)
    • go-smilo/src/blockchain/smilobft/core/blockchain_test.go
    • Line 590: warning: cyclomatic complexity 28 of function TestFastVsFullChains() is high (> 15) (gocyclo)
    • Line 979: warning: cyclomatic complexity 24 of function TestLogRebirth() is high (> 15) (gocyclo)
    • Line 1883: warning: cyclomatic complexity 22 of function testInsertKnownChainData() is high (> 15) (gocyclo)
    • Line 376: warning: cyclomatic complexity 17 of function testReorg() is high (> 15) (gocyclo)
    • Line 1313: warning: cyclomatic complexity 17 of function TestEIP155Transition() is high (> 15) (gocyclo)
    • Line 818: warning: cyclomatic complexity 17 of function TestChainTxReorgs() is high (> 15) (gocyclo)
    • Line 707: warning: cyclomatic complexity 16 of function TestLightVsFastVsFullChainHeads() is high (> 15) (gocyclo)
    • go-smilo/src/blockchain/smilobft/eth/downloader/downloader.go
    • Line 704: warning: cyclomatic complexity 45 of function (*Downloader).findAncestor() is high (> 15) (gocyclo)
    • Line 1188: warning: cyclomatic complexity 44 of function (*Downloader).fetchParts() is high (> 15) (gocyclo)
    • Line 1362: warning: cyclomatic complexity 41 of function (*Downloader).processHeaders() is high (> 15) (gocyclo)
    • Line 914: warning: cyclomatic complexity 35 of function (*Downloader).fetchHeaders() is high (> 15) (gocyclo)
    • Line 1577: warning: cyclomatic complexity 25 of function (*Downloader).processFastSyncContent() is high (> 15) (gocyclo)
    • Line 419: warning: cyclomatic complexity 24 of function (*Downloader).syncWithPeer() is high (> 15) (gocyclo)
    • Line 351: warning: cyclomatic complexity 17 of function (*Downloader).synchronise() is high (> 15) (gocyclo)
    • go-smilo/src/blockchain/smilobft/les/fetcher.go
    • Line 254: warning: cyclomatic complexity 24 of function (*lightFetcher).announce() is high (> 15) (gocyclo)
    • Line 139: warning: cyclomatic complexity 21 of function (*lightFetcher).syncLoop() is high (> 15) (gocyclo)
    • Line 629: warning: cyclomatic complexity 17 of function (*lightFetcher).checkAnnouncedHeaders() is high (> 15) (gocyclo)
    • go-smilo/src/blockchain/smilobft/internal/ethapi/api.go
    • Line 1418: warning: cyclomatic complexity 20 of function (*SendTxArgs).setDefaults() is high (> 15) (gocyclo)
    • Line 790: warning: cyclomatic complexity 19 of function DoCall() is high (> 15) (gocyclo)
    • Line 1685: warning: cyclomatic complexity 17 of function (*PublicTransactionPoolAPI).Resend() is high (> 15) (gocyclo)
    • Line 913: warning: cyclomatic complexity 16 of function DoEstimateGas() is high (> 15) (gocyclo)
    • go-smilo/src/blockchain/smilobft/core/tx_pool_test.go
    • Line 652: warning: cyclomatic complexity 28 of function TestTransactionPostponing() is high (> 15) (gocyclo)
    • Line 1248: warning: cyclomatic complexity 24 of function TestTransactionPoolRepricing() is high (> 15) (gocyclo)
    • Line 1431: warning: cyclomatic complexity 20 of function TestTransactionPoolUnderpricing() is high (> 15) (gocyclo)
    • Line 555: warning: cyclomatic complexity 19 of function TestTransactionDropping() is high (> 15) (gocyclo)
    • Line 1686: warning: cyclomatic complexity 19 of function testTransactionJournaling() is high (> 15) (gocyclo)
    • Line 1603: warning: cyclomatic complexity 17 of function TestTransactionReplacement() is high (> 15) (gocyclo)
    • go-smilo/src/blockchain/smilobft/core/tx_pool.go
    • Line 531: warning: cyclomatic complexity 22 of function (*TxPool).validateTx() is high (> 15) (gocyclo)
    • Line 1262: warning: cyclomatic complexity 21 of function (*TxPool).truncatePending() is high (> 15) (gocyclo)
    • Line 628: warning: cyclomatic complexity 19 of function (*TxPool).add() is high (> 15) (gocyclo)
    • Line 328: warning: cyclomatic complexity 17 of function (*TxPool).loop() is high (> 15) (gocyclo)
    • go-smilo/src/blockchain/smilobft/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)
    • go-smilo/src/blockchain/smilobft/core/blockchain.go
    • Line 1041: warning: cyclomatic complexity 55 of function (*BlockChain).InsertReceiptChain() is high (> 15) (gocyclo)
    • Line 1556: warning: cyclomatic complexity 54 of function (*BlockChain).insertChain() is high (> 15) (gocyclo)
    • Line 1350: warning: cyclomatic complexity 30 of function (*BlockChain).WriteBlockWithState() is high (> 15) (gocyclo)
    • Line 2003: warning: cyclomatic complexity 27 of function (*BlockChain).reorg() is high (> 15) (gocyclo)
    • Line 1888: warning: cyclomatic complexity 21 of function (*BlockChain).insertSidechain() is high (> 15) (gocyclo)
    • Line 190: warning: cyclomatic complexity 21 of function NewBlockChain() is high (> 15) (gocyclo)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!