Preparing report...

Report for github.com/ontio/ontology

(v1.13.2)

A+    Excellent!    Found 401 issues across 556 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!


golint29%

Golint is a linter for Go source code.

    • p2pserver/message/types/data_req.go
    • Line 28: warning: exported type DataReq should have comment or be unexported (golint)
    • Line 33: warning: comment on exported method DataReq.Serialization should be of the form "Serialization ..." (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: exported method DataReq.CmdType should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 43: warning: comment on exported method DataReq.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 44: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • p2pserver/message/types/ping.go
    • Line 28: warning: exported type Ping should have comment or be unexported (golint)
    • Line 32: warning: comment on exported method Ping.Serialization should be of the form "Serialization ..." (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: exported method Ping.CmdType should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 41: warning: comment on exported method Ping.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • validator/stateful/stateful_validator.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 109: 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 121: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • cmd/tx_cmd.go
    • Line 1: warning: package comment should be of the form "Package cmd ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 33: warning: exported var SendTxCommand should have comment or be unexported (golint)
    • Line 79: warning: exported var TxCommond should have comment or be unexported (golint)
    • Line 91: warning: exported var TransferTxCommond should have comment or be unexported (golint)
    • Line 108: warning: exported var ApproveTxCommond should have comment or be unexported (golint)
    • Line 125: warning: exported var TransferFromTxCommond should have comment or be unexported (golint)
    • Line 143: warning: exported var WithdrawONGTxCommond should have comment or be unexported (golint)
    • errors/errors.go
    • Line 27: warning: exported type DetailError should have comment or be unexported (golint)
    • Line 34: warning: exported function NewErr should have comment or be unexported (golint)
    • Line 38: warning: exported function NewDetailErr should have comment or be unexported (golint)
    • Line 58: warning: exported function RootErr should have comment or be unexported (golint)
    • validator/stateless/stateless_validator.go
    • Line 57: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 89: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 94: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 103: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/native/ontfs/file_transfer.go
    • Line 29: warning: exported type FileTransfer should have comment or be unexported (golint)
    • Line 35: warning: exported type FileTransferList should have comment or be unexported (golint)
    • Line 39: warning: exported method FileTransfer.Serialization should have comment or be unexported (golint)
    • Line 39: 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 FileTransfer.Deserialization 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 62: warning: exported method FileTransferList.Serialization should have comment or be unexported (golint)
    • Line 62: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 73: warning: exported method FileTransferList.Deserialization should have comment or be unexported (golint)
    • Line 73: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/wasmvm/storage.go
    • Line 1: warning: package comment should be of the form "Package wasmvm ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 58: warning: exported function StorageRead should have comment or be unexported (golint)
    • Line 82: warning: exported function StorageWrite should have comment or be unexported (golint)
    • Line 102: warning: exported function StorageDelete should have comment or be unexported (golint)
    • cmd/sigsvr/handlers/sig_raw_tx.go
    • Line 33: warning: exported type SigRawTransactionReq should have comment or be unexported (golint)
    • Line 37: warning: exported type SigRawTransactionRsp should have comment or be unexported (golint)
    • Line 41: warning: exported function SigRawTransaction should have comment or be unexported (golint)
    • smartcontract/service/native/utils/linked_list.go
    • Line 1: warning: package comment should be of the form "Package utils ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 29: warning: exported type LinkedlistNode should have comment or be unexported (golint)
    • Line 35: warning: exported method LinkedlistNode.GetPrevious should have comment or be unexported (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: exported method LinkedlistNode.GetNext should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 43: warning: exported method LinkedlistNode.GetPayload should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 49: warning: don't use underscores in Go names; var node_bytes should be nodeBytes (golint)
    • Line 55: warning: exported method LinkedlistNode.Serialization should have comment or be unexported (golint)
    • Line 55: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 63: warning: exported method LinkedlistNode.Deserialization should have comment or be unexported (golint)
    • Line 63: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 122: warning: exported function LinkedlistInsert should have comment or be unexported (golint)
    • Line 183: warning: exported function LinkedlistDelete should have comment or be unexported (golint)
    • Line 233: warning: don't use underscores in Go names; var node_prev should be nodePrev (golint)
    • Line 237: warning: don't use underscores in Go names; var node_next should be nodeNext (golint)
    • Line 249: warning: exported function LinkedlistGetItem should have comment or be unexported (golint)
    • Line 260: warning: exported function LinkedlistGetHead should have comment or be unexported (golint)
    • Line 268: warning: exported function LinkedlistGetNumOfItems should have comment or be unexported (golint)
    • Line 286: warning: exported function LinkedlistDeleteAll should have comment or be unexported (golint)
    • smartcontract/service/neovm/gas_cost.go
    • Line 26: warning: exported function StoreGasCost should have comment or be unexported (golint)
    • Line 37: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 42: warning: exported function GasPrice should have comment or be unexported (golint)
    • cmd/abi/abi_mgr.go
    • Line 30: warning: exported var DefAbiMgr should have comment or be unexported (golint)
    • Line 32: warning: exported type AbiMgr should have comment or be unexported (golint)
    • Line 37: warning: exported function NewAbiMgr should have comment or be unexported (golint)
    • Line 43: warning: exported method AbiMgr.GetNativeAbi should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 51: warning: exported method AbiMgr.Init should have comment or be unexported (golint)
    • Line 51: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 56: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • p2pserver/message/types/message.go
    • Line 31: warning: exported type Message should have comment or be unexported (golint)
    • Line 37: warning: exported type UnknownMessage should have comment or be unexported (golint)
    • Line 42: warning: exported method UnknownMessage.CmdType should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: exported method UnknownMessage.Serialization 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 50: warning: exported method UnknownMessage.Deserialization should have comment or be unexported (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 104: warning: exported function WriteMessage should have comment or be unexported (golint)
    • Line 122: warning: exported function ReadMessage should have comment or be unexported (golint)
    • smartcontract/service/native/ont/utils.go
    • Line 35: warning: exported const UNBOUND_TIME_OFFSET should have comment (or a comment on this block) or be unexported (golint)
    • Line 51: warning: exported function AddNotifications should have comment or be unexported (golint)
    • Line 61: warning: exported function GetToUInt64StorageItem should have comment or be unexported (golint)
    • Line 67: warning: exported function GenTotalSupplyKey should have comment or be unexported (golint)
    • Line 71: warning: exported function GenBalanceKey should have comment or be unexported (golint)
    • Line 75: warning: exported function Transfer should have comment or be unexported (golint)
    • Line 92: warning: exported function GenApproveKey should have comment or be unexported (golint)
    • Line 97: warning: exported function TransferedFrom should have comment or be unexported (golint)
    • txnpool/common/transaction_pool.go
    • Line 34: warning: exported type TXAttr should have comment or be unexported (golint)
    • Line 40: warning: exported type TXEntry should have comment or be unexported (golint)
    • Line 195: warning: comment on exported method TXPool.GetTransactionHashList should be of the form "GetTransactionHashList ..." (golint)
    • vm/neovm/types/interop_value.go
    • Line 27: warning: exported type InteropValue should have comment or be unexported (golint)
    • Line 31: warning: exported function NewInteropValue should have comment or be unexported (golint)
    • Line 35: warning: exported method InteropValue.Equals should have comment or be unexported (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • cmd/utils/export.go
    • Line 32: warning: exported const COMPRESS_TYPE_ZLIB should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: exported const DEFAULT_COMPRESS_TYPE should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: exported type ExportBlockMetadata should have comment or be unexported (golint)
    • Line 48: warning: exported function NewExportBlockMetadata should have comment or be unexported (golint)
    • Line 55: warning: exported method ExportBlockMetadata.Serialize should have comment or be unexported (golint)
    • Line 55: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 83: warning: exported method ExportBlockMetadata.Deserialize should have comment or be unexported (golint)
    • Line 83: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 116: warning: exported function CompressBlockData should have comment or be unexported (golint)
    • Line 125: warning: exported function DecompressBlockData should have comment or be unexported (golint)
    • Line 134: warning: exported function ZLibCompress should have comment or be unexported (golint)
    • Line 145: warning: exported function ZLibDecompress should have comment or be unexported (golint)
    • consensus/actor/actor.go
    • Line 31: warning: exported type TxPoolActor should have comment or be unexported (golint)
    • Line 35: warning: exported method TxPoolActor.GetTxnPool should have comment or be unexported (golint)
    • Line 35: 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 TxPoolActor.VerifyBlock 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)
    • consensus/dbft/consensus_state.go
    • Line 21: warning: exported type ConsensusState should have comment or be unexported (golint)
    • Line 24: warning: exported const Initial should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: exported method ConsensusState.HasFlag should have comment or be unexported (golint)
    • p2pserver/actor/req/consensus.go
    • Line 30: warning: exported function SetConsensusPid should have comment or be unexported (golint)
    • Line 34: warning: exported function GetConsensusPid should have comment or be unexported (golint)
    • merkle/file_hash_store.go
    • Line 38: warning: don't use underscores in Go names; struct field file_name should be fileName (golint)
    • Line 43: warning: don't use underscores in Go names; func parameter tree_size should be treeSize (golint)
    • Line 58: warning: don't use underscores in Go names; var num_hashes should be numHashes (golint)
    • Line 68: warning: don't use underscores in Go names; func parameter tree_size should be treeSize (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 78: warning: don't use underscores in Go names; method parameter tree_size should be treeSize (golint)
    • Line 79: warning: don't use underscores in Go names; var num_hashes should be numHashes (golint)
    • Line 91: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 103: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 110: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 117: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 139: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 144: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 148: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 152: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/native/cross_chain/header_sync/utils.go
    • Line 19: warning: don't use an underscore in package name (golint)
    • Line 36: warning: exported function PutBlockHeader should have comment or be unexported (golint)
    • Line 56: warning: exported function GetHeaderByHeight should have comment or be unexported (golint)
    • Line 95: warning: exported function GetHeaderByHash should have comment or be unexported (golint)
    • Line 119: warning: comment on exported function VerifyHeader should be of the form "VerifyHeader ..." (golint)
    • Line 151: warning: exported function GetKeyHeights should have comment or be unexported (golint)
    • Line 248: warning: exported function UpdateConsensusPeer should have comment or be unexported (golint)
    • Line 294: warning: exported function ProcessHeader should have comment or be unexported (golint)
    • smartcontract/service/util/util.go
    • Line 1: warning: package comment should be of the form "Package util ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 32: warning: exported function BuildNeoVMParamEvalStack should have comment or be unexported (golint)
    • Line 47: warning: comment on exported function GenerateNeoVMParamEvalStack should be of the form "GenerateNeoVMParamEvalStack ..." (golint)
    • Line 67: warning: exported function SetNeoServiceParamAndEngine should have comment or be unexported (golint)
    • core/store/common/data_entry_prefix.go
    • Line 21: warning: comment on exported type DataEntryPrefix should be of the form "DataEntryPrefix ..." (with optional leading article) (golint)
    • Line 25: warning: comment on exported const DATA_BLOCK_HASH should be of the form "DATA_BLOCK_HASH ..." (golint)
    • Line 27: warning: exported const DATA_HEADER should have comment (or a comment on this block) or be unexported (golint)
    • Line 31: warning: comment on exported const ST_BOOKKEEPER should be of the form "ST_BOOKKEEPER ..." (golint)
    • Line 39: warning: comment on exported const SYS_CURRENT_BLOCK should be of the form "SYS_CURRENT_BLOCK ..." (golint)
    • smartcontract/service/native/ontid/group.go
    • Line 1: warning: package comment should be of the form "Package ontid ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 30: warning: exported const MAX_DEPTH should have comment or be unexported (golint)
    • Line 38: warning: exported type GroupJson should have comment or be unexported (golint)
    • Line 61: warning: exported method Group.ToJson should have comment or be unexported (golint)
    • Line 143: warning: exported type Signer should have comment or be unexported (golint)
    • Line 148: warning: exported function SerializeSigners should have comment or be unexported (golint)
    • consensus/solo/solo.go
    • Line 41: warning: comment on exported const ContextVersion should be of the form "ContextVersion ..." (golint)
    • Line 46: warning: exported type SoloService should have comment or be unexported (golint)
    • Line 56: warning: exported function NewSoloService should have comment or be unexported (golint)
    • Line 75: warning: exported method SoloService.Receive should have comment or be unexported (golint)
    • Line 75: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 130: warning: exported method SoloService.GetPID should have comment or be unexported (golint)
    • Line 130: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 134: warning: exported method SoloService.Start should have comment or be unexported (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 139: warning: exported method SoloService.Halt 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 144: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 177: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • merkle/merkle_hasher.go
    • Line 32: warning: exported const LEFT should have comment (or a comment on this block) or be unexported (golint)
    • Line 39: warning: exported type TreeHasher should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 42: warning: don't use underscores in Go names; method hash_empty should be hashEmpty (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 46: warning: don't use underscores in Go names; method hash_leaf should be hashLeaf (golint)
    • Line 51: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 51: warning: don't use underscores in Go names; method hash_children should be hashChildren (golint)
    • Line 57: warning: exported method TreeHasher.HashFullTreeWithLeafHash should have comment or be unexported (golint)
    • Line 57: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 59: warning: don't use underscores in Go names; var root_hash should be rootHash (golint)
    • Line 82: warning: exported method TreeHasher.HashFullTree should have comment or be unexported (golint)
    • Line 82: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 92: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 92: warning: don't use underscores in Go names; method _hash_full should be _hashFull (golint)
    • Line 92: warning: don't use underscores in Go names; method parameter l_idx should be lIdx (golint)
    • Line 92: warning: don't use underscores in Go names; method parameter r_idx should be rIdx (golint)
    • Line 92: warning: don't use underscores in Go names; method result root_hash should be rootHash (golint)
    • Line 97: warning: don't use underscores in Go names; var leaf_hash should be leafHash (golint)
    • Line 100: warning: don't use underscores in Go names; var split_width should be splitWidth (golint)
    • Line 101: warning: don't use underscores in Go names; var l_root should be lRoot (golint)
    • Line 101: warning: don't use underscores in Go names; var l_hashes should be lHashes (golint)
    • Line 105: warning: don't use underscores in Go names; var r_root should be rRoot (golint)
    • Line 105: warning: don't use underscores in Go names; var r_hashes should be rHashes (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 117: warning: don't use underscores in Go names; method _hash_fold should be _hashFold (golint)
    • Line 127: warning: exported function HashLeaf should have comment or be unexported (golint)
    • Line 132: warning: exported function HashChildren should have comment or be unexported (golint)
    • Line 138: warning: exported function MerkleLeafPath should have comment or be unexported (golint)
    • Line 171: warning: exported function MerkleHashes should have comment or be unexported (golint)
    • Line 195: warning: exported function MerkleProve should have comment or be unexported (golint)
    • smartcontract/service/native/ontfs/pdp/pdp.go
    • Line 33: warning: exported const MerklePdp should have comment (or a comment on this block) or be unexported (golint)
    • Line 37: warning: exported const VersionLength should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: exported type Pdp should have comment or be unexported (golint)
    • Line 45: warning: exported function NewPdp should have comment or be unexported (golint)
    • Line 49: warning: exported method Pdp.GenUniqueIdWithFileBlocks should have comment or be unexported (golint)
    • Line 108: warning: comment on exported method Pdp.GenProofWithBlocks should be of the form "GenProofWithBlocks ..." (golint)
    • Line 146: warning: comment on exported function VerifyProofWithUniqueId should be of the form "VerifyProofWithUniqueId ..." (golint)
    • core/store/overlaydb/iterator.go
    • Line 1: warning: package comment should be of the form "Package overlaydb ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 25: warning: exported type KeyOrigin should have comment or be unexported (golint)
    • Line 28: warning: exported const FromMem should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: exported type JoinIter should have comment or be unexported (golint)
    • Line 43: warning: exported function NewJoinIter should have comment or be unexported (golint)
    • Line 51: warning: exported method JoinIter.First should have comment or be unexported (golint)
    • Line 99: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 110: warning: exported method JoinIter.Key should have comment or be unexported (golint)
    • Line 114: warning: exported method JoinIter.Value should have comment or be unexported (golint)
    • Line 118: warning: exported method JoinIter.Next should have comment or be unexported (golint)
    • Line 151: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 187: warning: exported method JoinIter.Release should have comment or be unexported (golint)
    • p2pserver/message/types/update_kadid.go
    • Line 26: warning: exported type UpdatePeerKeyId should have comment or be unexported (golint)
    • Line 31: warning: comment on exported method UpdatePeerKeyId.Serialization should be of the form "Serialization ..." (golint)
    • Line 32: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 36: warning: exported method UpdatePeerKeyId.Deserialization should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 41: warning: exported method UpdatePeerKeyId.CmdType should have comment or be unexported (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • core/payload/bookkeeper.go
    • Line 29: warning: exported const BookkeeperPayloadVersion should have comment or be unexported (golint)
    • Line 31: warning: exported type BookkeeperAction should have comment or be unexported (golint)
    • Line 34: warning: don't use underscores in Go names; const BookkeeperAction_ADD should be BookkeeperActionADD (golint)
    • Line 34: warning: exported const BookkeeperAction_ADD should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: don't use underscores in Go names; const BookkeeperAction_SUB should be BookkeeperActionSUB (golint)
    • Line 46: warning: exported method Bookkeeper.Serialization 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 52: warning: exported method Bookkeeper.Deserialization should have comment or be unexported (golint)
    • Line 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • vm/neovm/vm_state.go
    • Line 21: warning: exported type VMState should have comment or be unexported (golint)
    • Line 24: warning: exported const NONE should have comment (or a comment on this block) or be unexported (golint)
    • http/websocket/websocket/server.go
    • Line 42: warning: exported const WSTOPIC_EVENT should have comment (or a comment on this block) or be unexported (golint)
    • Line 49: warning: exported type Handler should have comment or be unexported (golint)
    • Line 62: warning: exported type WsServer should have comment or be unexported (golint)
    • Line 73: warning: comment on exported function InitWsServer should be of the form "InitWsServer ..." (golint)
    • Line 84: warning: comment on exported method WsServer.Start should be of the form "Start ..." (golint)
    • Line 85: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 128: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 213: warning: exported method WsServer.Stop should have comment or be unexported (golint)
    • Line 213: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 219: warning: exported method WsServer.Restart should have comment or be unexported (golint)
    • Line 219: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 229: 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 292: warning: exported method WsServer.IsValidMsg should have comment or be unexported (golint)
    • Line 292: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 304: warning: exported method WsServer.OnDataHandle should have comment or be unexported (golint)
    • Line 304: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 361: warning: exported method WsServer.InsertTxHashMap should have comment or be unexported (golint)
    • Line 361: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 366: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 375: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 392: warning: exported method WsServer.PushTxResult should have comment or be unexported (golint)
    • Line 392: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 417: warning: exported method WsServer.BroadcastToSubscribers should have comment or be unexported (golint)
    • Line 417: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 448: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • http/test/func_test.go
    • Line 58: warning: don't use underscores in Go names; var leaf_hash should be leafHash (golint)
    • Line 62: warning: don't use underscores in Go names; var root_hash should be rootHash (golint)
    • http/base/rpc/local_interfaces.go
    • Line 33: warning: exported const RANDBYTELEN should have comment (or a comment on this block) or be unexported (golint)
    • Line 44: warning: exported function GetNeighbor should have comment or be unexported (golint)
    • Line 49: warning: exported function GetNodeState should have comment or be unexported (golint)
    • Line 74: warning: exported function StartConsensus should have comment or be unexported (golint)
    • Line 81: warning: exported function StopConsensus should have comment or be unexported (golint)
    • Line 88: warning: exported function SetDebugInfo should have comment or be unexported (golint)
    • smartcontract/service/native/ontfs/pdp/merkle_pdp/merkle_pdp.go
    • Line 19: warning: don't use an underscore in package name (golint)
    • Line 32: warning: exported const PROOF_LEN should have comment (or a comment on this block) or be unexported (golint)
    • Line 57: warning: exported function MerkleProof should have comment or be unexported (golint)
    • Line 120: warning: exported function VerifyMerkleProof should have comment or be unexported (golint)
    • Line 165: warning: exported function CalcRootHash should have comment or be unexported (golint)
    • vm/neovm/types/neovm_value.go
    • Line 49: warning: exported const MAX_COUNT should have comment (or a comment on this block) or be unexported (golint)
    • Line 53: warning: exported type VmValue should have comment or be unexported (golint)
    • Line 64: warning: exported function VmValueFromInt64 should have comment or be unexported (golint)
    • Line 68: warning: exported function VmValueFromBytes should have comment or be unexported (golint)
    • Line 78: warning: exported function VmValueFromBool should have comment or be unexported (golint)
    • Line 81: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 86: warning: exported function VmValueFromUint64 should have comment or be unexported (golint)
    • Line 96: warning: exported function VmValueFromBigInt should have comment or be unexported (golint)
    • Line 106: warning: exported function VmValueFromArrayVal should have comment or be unexported (golint)
    • Line 110: warning: exported function VmValueFromStructVal should have comment or be unexported (golint)
    • Line 114: warning: exported function VmValueFromInteropValue should have comment or be unexported (golint)
    • Line 117: warning: exported function VmValueFromMapValue should have comment or be unexported (golint)
    • Line 121: warning: exported function NewMapVmValue should have comment or be unexported (golint)
    • Line 125: warning: exported function VmValueFromIntValue should have comment or be unexported (golint)
    • Line 128: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 133: warning: exported method VmValue.AsBytes should have comment or be unexported (golint)
    • Line 133: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 138: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 154: warning: exported method VmValue.BuildParamToNative should have comment or be unexported (golint)
    • Line 154: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 165: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 206: warning: exported method VmValue.ConvertNeoVmValueHexString should have comment or be unexported (golint)
    • Line 206: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 219: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 235: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 290: warning: exported method VmValue.Deserialize should have comment or be unexported (golint)
    • Line 290: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 294: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 412: warning: exported method VmValue.Serialize should have comment or be unexported (golint)
    • Line 412: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 485: warning: exported method VmValue.CircularRefAndDepthDetection should have comment or be unexported (golint)
    • Line 485: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 489: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 553: warning: exported method VmValue.AsInt64 should have comment or be unexported (golint)
    • Line 553: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 568: warning: comment on exported method VmValue.AsBigInt should be of the form "AsBigInt ..." (golint)
    • Line 569: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 585: warning: exported method VmValue.AsIntValue should have comment or be unexported (golint)
    • Line 585: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 600: warning: exported method VmValue.AsBool should have comment or be unexported (golint)
    • Line 600: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 624: warning: exported method VmValue.AsMapValue should have comment or be unexported (golint)
    • Line 624: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 633: warning: exported method VmValue.AsStructValue should have comment or be unexported (golint)
    • Line 633: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 642: warning: exported method VmValue.AsArrayValue should have comment or be unexported (golint)
    • Line 642: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 651: warning: exported method VmValue.AsInteropValue should have comment or be unexported (golint)
    • Line 651: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 660: warning: exported method VmValue.Equals should have comment or be unexported (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 687: warning: exported method VmValue.GetType should have comment or be unexported (golint)
    • Line 687: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 696: warning: exported method VmValue.GetMapKey should have comment or be unexported (golint)
    • Line 696: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 704: warning: comment on exported method VmValue.Stringify should be of the form "Stringify ..." (golint)
    • Line 705: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 715: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 752: warning: comment on exported method VmValue.Dump should be of the form "Dump ..." (golint)
    • Line 753: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 764: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 808: warning: comment on exported function BuildResultFromNeo should be of the form "BuildResultFromNeo ..." (golint)
    • vm/neovm/types/struct_value.go
    • Line 29: warning: exported const MAX_STRUCT_DEPTH should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: comment on exported type StructValue should be of the form "StructValue ..." (with optional leading article) (golint)
    • Line 38: warning: exported function NewStructValue should have comment or be unexported (golint)
    • Line 42: warning: exported method StructValue.Append should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 50: warning: exported method StructValue.Len should have comment or be unexported (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: exported method StructValue.Clone 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)
    • consensus/vbft/msg_types.go
    • Line 34: warning: exported type MsgType should have comment or be unexported (golint)
    • Line 37: warning: exported const BlockProposalMessage should have comment (or a comment on this block) or be unexported (golint)
    • Line 52: warning: exported type ConsensusMsg should have comment or be unexported (golint)
    • Line 145: warning: exported type FaultyReport should have comment or be unexported (golint)
    • Line 295: warning: exported type BlockInfoFetchMsg should have comment or be unexported (golint)
    • Line 299: warning: exported method BlockInfoFetchMsg.Type should have comment or be unexported (golint)
    • Line 303: warning: exported method BlockInfoFetchMsg.Verify should have comment or be unexported (golint)
    • Line 307: warning: exported method BlockInfoFetchMsg.GetBlockNum should have comment or be unexported (golint)
    • Line 311: warning: exported method BlockInfoFetchMsg.Serialize should have comment or be unexported (golint)
    • Line 315: warning: don't use underscores in Go names; type BlockInfo_ should be BlockInfo (golint)
    • Line 315: warning: exported type BlockInfo_ should have comment or be unexported (golint)
    • Line 321: warning: comment on exported type BlockInfoFetchRespMsg should be of the form "BlockInfoFetchRespMsg ..." (with optional leading article) (golint)
    • Line 326: warning: exported method BlockInfoFetchRespMsg.Type should have comment or be unexported (golint)
    • Line 330: warning: exported method BlockInfoFetchRespMsg.Verify should have comment or be unexported (golint)
    • Line 334: warning: exported method BlockInfoFetchRespMsg.GetBlockNum should have comment or be unexported (golint)
    • Line 338: warning: exported method BlockInfoFetchRespMsg.Serialize should have comment or be unexported (golint)
    • Line 363: warning: exported type BlockFetchRespMsg should have comment or be unexported (golint)
    • Line 369: warning: exported method BlockFetchRespMsg.Type should have comment or be unexported (golint)
    • Line 373: warning: exported method BlockFetchRespMsg.Verify should have comment or be unexported (golint)
    • Line 377: warning: exported method BlockFetchRespMsg.GetBlockNum should have comment or be unexported (golint)
    • Line 381: warning: exported method BlockFetchRespMsg.Serialize should have comment or be unexported (golint)
    • Line 390: warning: exported method BlockFetchRespMsg.Deserialize should have comment or be unexported (golint)
    • cmd/config.go
    • Line 32: warning: exported function SetOntologyConfig should have comment or be unexported (golint)
    • Line 203: warning: exported function SetRpcPort should have comment or be unexported (golint)
    • consensus/vbft/service.go
    • Line 51: warning: exported type BftActionType should have comment or be unexported (golint)
    • Line 54: warning: exported const MakeProposal should have comment (or a comment on this block) or be unexported (golint)
    • Line 64: warning: exported const CAP_MESSAGE_CHANNEL should have comment (or a comment on this block) or be unexported (golint)
    • Line 69: warning: exported type BftAction should have comment or be unexported (golint)
    • Line 76: warning: exported type BlockParticipantConfig should have comment or be unexported (golint)
    • Line 90: warning: exported type Server should have comment or be unexported (golint)
    • Line 133: warning: exported function NewVbftServer should have comment or be unexported (golint)
    • Line 161: warning: exported method Server.Receive should have comment or be unexported (golint)
    • Line 161: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 193: warning: exported method Server.GetPID should have comment or be unexported (golint)
    • Line 193: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 197: warning: exported method Server.Start should have comment or be unexported (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 201: warning: exported method Server.Halt should have comment or be unexported (golint)
    • Line 201: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 206: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 231: warning: exported method Server.CheckSubmitBlock should have comment or be unexported (golint)
    • Line 231: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 254: warning: exported method Server.NewConsensusPayload should have comment or be unexported (golint)
    • Line 254: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 280: warning: exported method Server.LoadChainConfig should have comment or be unexported (golint)
    • Line 280: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 338: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 343: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 422: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 513: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 539: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 559: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 632: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 636: 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 740: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 765: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1077: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1097: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1208: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1214: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1400: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1653: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1671: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1807: 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 1851: 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 1889: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1904: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1919: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1979: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 2043: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 2058: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 2080: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 2118: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 2150: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 2158: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 2172: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 2182: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 2194: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 2208: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 2263: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 2270: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 2292: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 2301: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 2310: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 2319: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 2328: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 2395: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 2485: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 2502: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 2526: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • common/int128.go
    • Line 28: warning: exported const I128_SIZE should have comment or be unexported (golint)
    • Line 30: warning: exported type U128 should have comment or be unexported (golint)
    • Line 31: warning: exported type I128 should have comment or be unexported (golint)
    • Line 33: warning: exported var U128_EMPTY should have comment or be unexported (golint)
    • Line 53: warning: exported function I128FromUint64 should have comment or be unexported (golint)
    • Line 59: warning: exported function I128FromInt64 should have comment or be unexported (golint)
    • Line 69: warning: comment on exported function I128FromBigInt should be of the form "I128FromBigInt ..." (golint)
    • Line 86: warning: exported method U128.ToBigInt should have comment or be unexported (golint)
    • Line 86: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 92: warning: exported method U128.ToI128 should have comment or be unexported (golint)
    • Line 92: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 96: warning: exported method I128.ToBigInt 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 106: warning: comment on exported method I128.ToBEHex should be of the form "ToBEHex ..." (golint)
    • Line 107: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 111: warning: exported method I128.ToNumString should have comment or be unexported (golint)
    • Line 111: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 116: warning: comment on exported method I128.ToLEHex should be of the form "ToLEHex ..." (golint)
    • Line 117: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • core/types/cross_state.go
    • Line 1: warning: package comment should be of the form "Package types ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 28: warning: exported const CURR_CROSS_STATES_VERSION should have comment (or a comment on this block) or be unexported (golint)
    • Line 31: warning: exported type CrossChainMsg should have comment or be unexported (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 47: warning: exported method CrossChainMsg.Serialization 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)
    • Line 55: warning: exported method CrossChainMsg.Deserialization should have comment or be unexported (golint)
    • Line 55: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 85: warning: exported method CrossChainMsg.Hash should have comment or be unexported (golint)
    • Line 85: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 97: warning: exported method CrossChainMsg.SetHash should have comment or be unexported (golint)
    • Line 97: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • http/base/common/common.go
    • Line 48: warning: exported const MAX_SEARCH_HEIGHT should have comment or be unexported (golint)
    • Line 49: warning: exported const MAX_REQUEST_BODY_SIZE should have comment or be unexported (golint)
    • Line 51: warning: exported type BalanceOfRsp should have comment or be unexported (golint)
    • Line 57: warning: exported type MerkleProof should have comment or be unexported (golint)
    • Line 66: warning: exported type LogEventArgs should have comment or be unexported (golint)
    • Line 72: warning: exported type ExecuteNotify should have comment or be unexported (golint)
    • Line 79: warning: exported type PreExecuteResult should have comment or be unexported (golint)
    • Line 86: warning: exported type NotifyEventInfo should have comment or be unexported (golint)
    • Line 91: warning: exported type TxAttributeInfo should have comment or be unexported (golint)
    • Line 96: warning: exported type AmountMap should have comment or be unexported (golint)
    • Line 101: warning: exported type Fee should have comment or be unexported (golint)
    • Line 106: warning: exported type Sig should have comment or be unexported (golint)
    • Line 112: warning: exported type CrossStatesProof should have comment or be unexported (golint)
    • Line 117: warning: exported type Transactions should have comment or be unexported (golint)
    • Line 131: warning: exported type BlockHead should have comment or be unexported (golint)
    • Line 148: warning: exported type BlockInfo should have comment or be unexported (golint)
    • Line 155: warning: exported type NodeInfo should have comment or be unexported (golint)
    • Line 167: warning: exported type ConsensusInfo should have comment or be unexported (golint)
    • Line 171: warning: exported type TXNAttrInfo should have comment or be unexported (golint)
    • Line 177: warning: exported type TXNEntryInfo should have comment or be unexported (golint)
    • Line 181: warning: exported function GetLogEvent should have comment or be unexported (golint)
    • Line 188: warning: exported function GetExecuteNotify should have comment or be unexported (golint)
    • Line 199: warning: exported function ConvertPreExecuteResult should have comment or be unexported (golint)
    • Line 207: warning: exported function TransArryByteToHexString should have comment or be unexported (golint)
    • Line 236: warning: exported function TransferCrossChainMsg should have comment or be unexported (golint)
    • Line 250: warning: exported function SendTxToPool should have comment or be unexported (golint)
    • Line 258: warning: exported function GetBlockInfo should have comment or be unexported (golint)
    • Line 303: warning: exported function GetBalance should have comment or be unexported (golint)
    • Line 315: warning: exported function GetGrantOng should have comment or be unexported (golint)
    • Line 334: warning: exported function GetAllowance should have comment or be unexported (golint)
    • Line 351: warning: exported function GetContractBalance should have comment or be unexported (golint)
    • Line 387: warning: exported function GetContractAllowance should have comment or be unexported (golint)
    • Line 421: warning: exported function GetGasPrice should have comment or be unexported (golint)
    • Line 448: warning: exported function GetBlockTransactions should have comment or be unexported (golint)
    • Line 478: warning: exported function NewNeovmInvokeTransaction should have comment or be unexported (golint)
    • Line 486: warning: exported function NewSmartContractTransaction should have comment or be unexported (golint)
    • Line 513: warning: exported function GetAddress should have comment or be unexported (golint)
    • Line 524: warning: exported type SyncStatus should have comment or be unexported (golint)
    • Line 530: warning: exported function GetSyncStatus should have comment or be unexported (golint)
    • p2pserver/actor/req/txnpool.go
    • Line 30: warning: exported function SetTxnPoolPid should have comment or be unexported (golint)
    • Line 34: warning: comment on exported function AddTransaction should be of the form "AddTransaction ..." (golint)
    • p2pserver/handshake/handshake.go
    • Line 1: warning: package comment should be of the form "Package handshake ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 32: warning: exported var HANDSHAKE_DURATION should have comment or be unexported (golint)
    • Line 34: warning: exported function HandshakeClient should have comment or be unexported (golint)
    • Line 98: warning: exported function HandshakeServer should have comment or be unexported (golint)
    • p2pserver/message/types/pong.go
    • Line 28: warning: exported type Pong should have comment or be unexported (golint)
    • Line 32: warning: comment on exported method Pong.Serialization should be of the form "Serialization ..." (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: exported method Pong.CmdType should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 41: warning: comment on exported method Pong.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • validator/db/store.go
    • Line 36: warning: exported type Store should have comment or be unexported (golint)
    • Line 44: warning: exported function NewStore should have comment or be unexported (golint)
    • Line 59: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 91: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 110: warning: exported method Store.GetBestBlock should have comment or be unexported (golint)
    • Line 110: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 120: warning: exported method Store.GetBestHeader should have comment or be unexported (golint)
    • Line 120: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 128: warning: comment on exported method Store.ContainTransaction should be of the form "ContainTransaction ..." (golint)
    • Line 129: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 134: warning: exported method Store.GetTransactionBytes should have comment or be unexported (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 142: warning: exported method Store.GetTransaction should have comment or be unexported (golint)
    • Line 142: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 154: warning: exported method Store.Close should have comment or be unexported (golint)
    • Line 154: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 160: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 174: warning: exported method Store.PersistBlock should have comment or be unexported (golint)
    • Line 174: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/native/ontfs/node_govern.go
    • Line 29: warning: exported function FsNodeRegister should have comment or be unexported (golint)
    • Line 76: warning: exported function FsNodeQuery should have comment or be unexported (golint)
    • Line 93: warning: exported function FsNodeUpdate should have comment or be unexported (golint)
    • Line 157: warning: exported function FsNodeCancel should have comment or be unexported (golint)
    • Line 197: warning: exported function FsNodeWithdrawProfit should have comment or be unexported (golint)
    • p2pserver/message/types/verack.go
    • Line 28: warning: exported type VerACK should have comment or be unexported (golint)
    • Line 33: warning: comment on exported method VerACK.Serialization should be of the form "Serialization ..." (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 38: warning: exported method VerACK.CmdType should have comment or be unexported (golint)
    • Line 38: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 42: warning: comment on exported method VerACK.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • common/config/config.go
    • Line 36: warning: exported var Version should have comment or be unexported (golint)
    • Line 38: warning: exported type VerifyMethod should have comment or be unexported (golint)
    • Line 41: warning: exported const InterpVerifyMethod should have comment (or a comment on this block) or be unexported (golint)
    • Line 47: warning: exported const DEFAULT_CONFIG_FILE_NAME should have comment (or a comment on this block) or be unexported (golint)
    • Line 86: warning: exported const WASM_GAS_FACTOR should have comment (or a comment on this block) or be unexported (golint)
    • Line 90: warning: exported const NETWORK_ID_MAIN_NET should have comment (or a comment on this block) or be unexported (golint)
    • Line 98: warning: exported var NETWORK_MAGIC should have comment or be unexported (golint)
    • Line 104: warning: exported var NETWORK_NAME should have comment or be unexported (golint)
    • Line 110: warning: exported function GetNetworkMagic should have comment or be unexported (golint)
    • Line 118: warning: exported var STATE_HASH_CHECK_HEIGHT should have comment or be unexported (golint)
    • Line 124: warning: exported function GetStateHashCheckHeight should have comment or be unexported (golint)
    • Line 128: warning: exported var OPCODE_HASKEY_ENABLE_HEIGHT should have comment or be unexported (golint)
    • Line 134: warning: exported function GetOpcodeUpdateCheckHeight should have comment or be unexported (golint)
    • Line 138: warning: exported var GAS_ROUND_TUNE_HEIGHT should have comment or be unexported (golint)
    • Line 144: warning: exported function GetGasRoundTuneHeight should have comment or be unexported (golint)
    • Line 148: warning: exported function GetContractApiDeprecateHeight should have comment or be unexported (golint)
    • Line 159: warning: exported function GetSelfGovRegisterHeight should have comment or be unexported (golint)
    • Line 170: warning: exported function GetOntFsHeight should have comment or be unexported (golint)
    • Line 181: warning: exported function GetNewOntIdHeight should have comment or be unexported (golint)
    • Line 192: warning: exported function GetCrossChainHeight should have comment or be unexported (golint)
    • Line 201: warning: exported function GetOntHolderUnboundDeadline should have comment or be unexported (golint)
    • Line 212: warning: exported function GetNewPeerCostHeight should have comment or be unexported (golint)
    • Line 223: warning: exported function GetTrackDestroyedContractHeight should have comment or be unexported (golint)
    • Line 234: warning: comment on exported function GetGovUnboundDeadline should be of the form "GetGovUnboundDeadline ..." (golint)
    • Line 260: warning: exported function GetNetworkName should have comment or be unexported (golint)
    • Line 268: warning: exported var PolarisConfig should have comment or be unexported (golint)
    • Line 337: warning: exported var MainNetConfig should have comment or be unexported (golint)
    • Line 400: warning: exported var DefConfig should have comment or be unexported (golint)
    • Line 402: warning: exported type GenesisConfig should have comment or be unexported (golint)
    • Line 410: warning: exported function NewGenesisConfig should have comment or be unexported (golint)
    • Line 420: warning: comment on exported type VBFTConfig should be of the form "VBFTConfig ..." (with optional leading article) (golint)
    • Line 439: warning: exported method VBFTConfig.Serialization should have comment or be unexported (golint)
    • Line 439: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 462: warning: exported method VBFTConfig.Deserialization should have comment or be unexported (golint)
    • Line 462: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 552: warning: exported type VBFTPeerStakeInfo should have comment or be unexported (golint)
    • Line 559: warning: exported method VBFTPeerStakeInfo.Serialization should have comment or be unexported (golint)
    • Line 559: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 572: warning: exported method VBFTPeerStakeInfo.Deserialization should have comment or be unexported (golint)
    • Line 572: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 600: warning: exported type DBFTConfig should have comment or be unexported (golint)
    • Line 605: warning: exported type SOLOConfig should have comment or be unexported (golint)
    • Line 610: warning: exported type CommonConfig should have comment or be unexported (golint)
    • Line 621: warning: exported type ConsensusConfig should have comment or be unexported (golint)
    • Line 626: warning: exported type P2PRsvConfig should have comment or be unexported (golint)
    • Line 631: warning: exported type P2PNodeConfig should have comment or be unexported (golint)
    • Line 649: warning: exported type RpcConfig should have comment or be unexported (golint)
    • Line 655: warning: exported type RestfulConfig should have comment or be unexported (golint)
    • Line 663: warning: exported type GraphQLConfig should have comment or be unexported (golint)
    • Line 669: warning: exported type WebSocketConfig should have comment or be unexported (golint)
    • Line 676: warning: exported type OntologyConfig should have comment or be unexported (golint)
    • Line 687: warning: exported function NewOntologyConfig should have comment or be unexported (golint)
    • Line 739: warning: exported method OntologyConfig.GetBookkeepers should have comment or be unexported (golint)
    • Line 739: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 770: warning: exported method OntologyConfig.GetDefaultNetworkId should have comment or be unexported (golint)
    • Line 770: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 792: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • common/bigint.go
    • Line 32: warning: comment on exported function BigIntToNeoBytes should be of the form "BigIntToNeoBytes ..." (golint)
    • Line 64: warning: exported function BigIntFromNeoBytes should have comment or be unexported (golint)
    • core/types/transaction_attribute.go
    • Line 29: warning: exported type TransactionAttributeUsage should have comment or be unexported (golint)
    • Line 32: warning: exported const Nonce should have comment (or a comment on this block) or be unexported (golint)
    • Line 38: warning: exported function IsValidAttributeType should have comment or be unexported (golint)
    • Line 43: warning: exported type TxAttribute should have comment or be unexported (golint)
    • Line 49: warning: exported function NewTxAttribute should have comment or be unexported (golint)
    • Line 55: warning: exported method TxAttribute.GetSize should have comment or be unexported (golint)
    • Line 62: warning: exported method TxAttribute.Serialization should have comment or be unexported (golint)
    • Line 62: warning: receiver name tx should be consistent with previous receiver name u for TxAttribute (golint)
    • Line 71: warning: exported method TxAttribute.Deserialization should have comment or be unexported (golint)
    • Line 71: warning: receiver name tx should be consistent with previous receiver name u for TxAttribute (golint)
    • Line 92: warning: exported method TxAttribute.ToArray should have comment or be unexported (golint)
    • Line 92: warning: receiver name tx should be consistent with previous receiver name u for TxAttribute (golint)
    • p2pserver/net/protocol/protocol.go
    • Line 1: warning: package comment should be of the form "Package p2p ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 25: warning: exported type Context should have comment or be unexported (golint)
    • Line 31: warning: exported function NewContext should have comment or be unexported (golint)
    • Line 35: warning: exported method Context.Sender should have comment or be unexported (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: exported method Context.Network should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 43: warning: exported type Protocol should have comment or be unexported (golint)
    • Line 48: warning: exported type SystemMessage 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 type PeerConnected should have comment or be unexported (golint)
    • Line 61: warning: exported type PeerDisConnected should have comment or be unexported (golint)
    • Line 66: warning: exported type NetworkStart should have comment or be unexported (golint)
    • Line 70: warning: exported type NetworkStop should have comment or be unexported (golint)
    • Line 74: warning: exported type HostAddrDetected should have comment or be unexported (golint)
    • p2pserver/net/netserver/nbr_peers.go
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 68: warning: comment on exported type NbrPeers should be of the form "NbrPeers ..." (with optional leading article) (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 80: warning: exported function NewNbrPeers should have comment or be unexported (golint)
    • Line 87: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 101: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 107: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 117: warning: exported method NbrPeers.ReplacePeer should have comment or be unexported (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 138: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 158: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 171: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 186: 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)
    • p2pserver/mock/discovery_test.go
    • Line 55: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 66: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 82: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • common/constants/constants.go
    • Line 50: warning: comment on exported const UNBOUND_TIME_INTERVAL should be of the form "UNBOUND_TIME_INTERVAL ..." (golint)
    • Line 53: warning: exported var UNBOUND_GENERATION_AMOUNT should have comment or be unexported (golint)
    • Line 54: warning: exported var NEW_UNBOUND_GENERATION_AMOUNT should have comment or be unexported (golint)
    • Line 56: warning: comment on exported const MULTI_SIG_MAX_PUBKEY_SIZE should be of the form "MULTI_SIG_MAX_PUBKEY_SIZE ..." (golint)
    • Line 59: warning: comment on exported const TX_MAX_SIG_SIZE should be of the form "TX_MAX_SIG_SIZE ..." (golint)
    • Line 68: warning: comment on exported const STATE_HASH_HEIGHT_MAINNET should be of the form "STATE_HASH_HEIGHT_MAINNET ..." (golint)
    • Line 70: warning: exported const STATE_HASH_HEIGHT_POLARIS should have comment or be unexported (golint)
    • Line 72: warning: comment on exported const OPCODE_HEIGHT_UPDATE_FIRST_MAINNET should be of the form "OPCODE_HEIGHT_UPDATE_FIRST_MAINNET ..." (golint)
    • Line 74: warning: exported const OPCODE_HEIGHT_UPDATE_FIRST_POLARIS should have comment or be unexported (golint)
    • Line 76: warning: comment on exported const GAS_ROUND_TUNE_HEIGHT_MAINNET should be of the form "GAS_ROUND_TUNE_HEIGHT_MAINNET ..." (golint)
    • Line 78: warning: exported const GAS_ROUND_TUNE_HEIGHT_POLARIS should have comment or be unexported (golint)
    • Line 80: warning: exported const CONTRACT_DEPRECATE_API_HEIGHT_MAINNET should have comment or be unexported (golint)
    • Line 81: warning: exported const CONTRACT_DEPRECATE_API_HEIGHT_POLARIS should have comment or be unexported (golint)
    • Line 83: warning: comment on exported const BLOCKHEIGHT_SELFGOV_REGISTER_MAINNET should be of the form "BLOCKHEIGHT_SELFGOV_REGISTER_MAINNET ..." (golint)
    • Line 85: warning: exported const BLOCKHEIGHT_SELFGOV_REGISTER_POLARIS should have comment or be unexported (golint)
    • Line 87: warning: exported const BLOCKHEIGHT_NEW_ONTID_MAINNET should have comment or be unexported (golint)
    • Line 88: warning: exported const BLOCKHEIGHT_NEW_ONTID_POLARIS should have comment or be unexported (golint)
    • Line 90: warning: exported const BLOCKHEIGHT_ONTFS_MAINNET should have comment or be unexported (golint)
    • Line 91: warning: exported const BLOCKHEIGHT_ONTFS_POLARIS should have comment or be unexported (golint)
    • Line 93: warning: exported const BLOCKHEIGHT_CC_POLARIS should have comment or be unexported (golint)
    • Line 95: warning: comment on exported const BLOCKHEIGHT_NEW_PEER_COST_MAINNET should be of the form "BLOCKHEIGHT_NEW_PEER_COST_MAINNET ..." (golint)
    • Line 97: warning: exported const BLOCKHEIGHT_NEW_PEER_COST_POLARIS should have comment or be unexported (golint)
    • Line 99: warning: exported const BLOCKHEIGHT_TRACK_DESTROYED_CONTRACT_MAINNET should have comment or be unexported (golint)
    • Line 100: warning: exported const BLOCKHEIGHT_TRACK_DESTROYED_CONTRACT_POLARIS should have comment or be unexported (golint)
    • smartcontract/service/native/cross_chain/lock_proxy/lock_proxy.go
    • Line 19: warning: don't use an underscore in package name (golint)
    • Line 39: warning: exported function InitLockProxy should have comment or be unexported (golint)
    • Line 43: warning: exported function RegisterLockProxyContract should have comment or be unexported (golint)
    • Line 55: warning: exported function BindProxyHash should have comment or be unexported (golint)
    • Line 82: warning: exported function BindAssetHash should have comment or be unexported (golint)
    • Line 137: warning: exported function Lock should have comment or be unexported (golint)
    • Line 212: warning: exported function Unlock should have comment or be unexported (golint)
    • Line 278: warning: exported function WithdrawONG should have comment or be unexported (golint)
    • Line 315: warning: exported function GetProxyHash should have comment or be unexported (golint)
    • Line 328: warning: exported function GetAssetHash should have comment or be unexported (golint)
    • Line 346: warning: exported function GetCrossedAmount should have comment or be unexported (golint)
    • Line 365: warning: exported function GetCrossedLimit should have comment or be unexported (golint)
    • consensus/vbft/chain_store.go
    • Line 35: warning: exported type PendingBlock should have comment or be unexported (golint)
    • Line 40: warning: exported type ChainStore should have comment or be unexported (golint)
    • Line 47: warning: exported function OpenBlockStore should have comment or be unexported (golint)
    • Line 74: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 78: warning: exported method ChainStore.GetChainedBlockNum should have comment or be unexported (golint)
    • Line 78: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 82: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 86: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 94: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 99: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 107: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 112: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 119: warning: exported method ChainStore.ReloadFromLedger should have comment or be unexported (golint)
    • Line 119: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 137: warning: exported method ChainStore.AddBlock should have comment or be unexported (golint)
    • Line 137: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 175: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 190: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • validator/increment/increment.go
    • Line 38: warning: exported function NewIncrementValidator should have comment or be unexported (golint)
    • Line 47: warning: exported method IncrementValidator.Clean 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)
    • Line 55: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 61: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 66: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 91: warning: comment on exported method IncrementValidator.Verify should be of the form "Verify ..." (golint)
    • Line 92: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • common/common.go
    • Line 47: warning: exported function ToArrayReverse should have comment or be unexported (golint)
    • Line 62: warning: exported function PubKeyToHex should have comment or be unexported (golint)
    • Line 67: warning: exported function PubKeyFromHex should have comment or be unexported (golint)
    • smartcontract/smart_contract.go
    • Line 1: warning: package comment should be of the form "Package smartcontract ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 38: warning: exported const MAX_EXECUTE_ENGINE should have comment (or a comment on this block) or be unexported (golint)
    • Line 67: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 72: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 80: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 88: 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 103: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 107: warning: exported method SmartContract.CheckExecStep should have comment or be unexported (golint)
    • Line 107: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 115: warning: exported method SmartContract.CheckUseGas should have comment or be unexported (golint)
    • Line 115: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 123: warning: exported method SmartContract.PutCrossStateHashes should have comment or be unexported (golint)
    • Line 123: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 127: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 134: warning: exported function NewVmFeatureFlag should have comment or be unexported (golint)
    • Line 143: warning: comment on exported method SmartContract.NewExecuteEngine should be of the form "NewExecuteEngine ..." (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 194: warning: exported method SmartContract.NewNativeService should have comment or be unexported (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 216: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 223: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 234: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 241: warning: exported method SmartContract.GetCallerAddress should have comment or be unexported (golint)
    • Line 241: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 251: warning: exported method SmartContract.SetInternalErr should have comment or be unexported (golint)
    • Line 251: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 255: warning: exported method SmartContract.IsInternalErr should have comment or be unexported (golint)
    • Line 255: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/neovm/runtime.go
    • Line 35: warning: comment on exported function RuntimeGetTime should be of the form "RuntimeGetTime ..." (golint)
    • Line 65: warning: exported function RuntimeSerialize should have comment or be unexported (golint)
    • Line 78: warning: comment on exported function RuntimeDeserialize should be of the form "RuntimeDeserialize ..." (golint)
    • Line 93: warning: exported function RuntimeVerifyMutiSig should have comment or be unexported (golint)
    • Line 174: warning: exported function RuntimeGetTrigger should have comment or be unexported (golint)
    • Line 178: warning: exported function RuntimeBase58ToAddress should have comment or be unexported (golint)
    • Line 190: warning: exported function RuntimeAddressToBase58 should have comment or be unexported (golint)
    • Line 202: warning: exported function RuntimeGetCurrentBlockHash should have comment or be unexported (golint)
    • smartcontract/service/native/ontfs/file_get_pledge.go
    • Line 26: warning: exported type GetReadPledge should have comment or be unexported (golint)
    • Line 31: warning: exported method GetReadPledge.Serialization should have comment or be unexported (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 36: warning: exported method GetReadPledge.Deserialization should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/wasmvm/contract.go
    • Line 25: warning: exported function ContractCreate should have comment or be unexported (golint)
    • Line 86: warning: exported function ContractMigrate should have comment or be unexported (golint)
    • Line 155: warning: exported function ContractDestroy should have comment or be unexported (golint)
    • events/subscriber.go
    • Line 21: warning: exported type EventFunc should have comment or be unexported (golint)
    • Line 23: warning: exported type Subscriber should have comment or be unexported (golint)
    • account/identity.go
    • Line 36: warning: exported const SCHEME should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: exported function GenerateID should have comment or be unexported (golint)
    • Line 50: warning: exported function CreateID should have comment or be unexported (golint)
    • Line 68: warning: exported function VerifyID should have comment or be unexported (golint)
    • Line 102: warning: exported type Identity should have comment or be unexported (golint)
    • Line 110: warning: exported type Controller should have comment or be unexported (golint)
    • Line 116: warning: exported function NewIdentity should have comment or be unexported (golint)
    • http/base/actor/txnpool.go
    • Line 36: warning: exported var DisableSyncVerifyTx should have comment or be unexported (golint)
    • Line 38: warning: exported function SetTxPid should have comment or be unexported (golint)
    • Line 41: warning: exported function SetTxnPoolPid should have comment or be unexported (golint)
    • Line 45: warning: comment on exported function AppendTxToPool should be of the form "AppendTxToPool ..." (golint)
    • smartcontract/service/native/cross_chain/cross_chain_manager/cross_chain.go
    • Line 19: warning: don't use an underscore in package name (golint)
    • Line 36: warning: exported const CREATE_CROSS_CHAIN_TX should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: comment on exported const DONE_TX should be of the form "DONE_TX ..." (golint)
    • Line 46: warning: comment on exported const ONT_CHAIN_ID should be of the form "ONT_CHAIN_ID ..." (golint)
    • Line 50: warning: comment on exported function InitCrossChain should be of the form "InitCrossChain ..." (golint)
    • Line 55: warning: comment on exported function RegisterCrossChainContract should be of the form "RegisterCrossChainContract ..." (golint)
    • Line 61: warning: exported function CreateCrossChainTx should have comment or be unexported (golint)
    • Line 74: warning: exported function ProcessCrossChainTx should have comment or be unexported (golint)
    • core/payload/deploy_code.go
    • Line 29: warning: exported type VmType should have comment or be unexported (golint)
    • Line 32: warning: exported const NEOVM_TYPE should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: exported function VmTypeFromByte should have comment or be unexported (golint)
    • Line 59: warning: exported function NewDeployCode should have comment or be unexported (golint)
    • Line 76: warning: exported method DeployCode.Address should have comment or be unexported (golint)
    • Line 83: warning: exported method DeployCode.GetRawCode should have comment or be unexported (golint)
    • Line 87: warning: exported method DeployCode.GetWasmCode should have comment or be unexported (golint)
    • Line 90: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 95: warning: exported method DeployCode.GetNeoCode should have comment or be unexported (golint)
    • Line 98: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 112: warning: exported method DeployCode.VmType should have comment or be unexported (golint)
    • Line 123: warning: exported method DeployCode.ToArray should have comment or be unexported (golint)
    • Line 129: warning: exported method DeployCode.Serialization should have comment or be unexported (golint)
    • Line 139: warning: comment on exported method DeployCode.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 250: warning: exported function CreateDeployCode should have comment or be unexported (golint)
    • smartcontract/service/native/ontfs/file_del.go
    • Line 26: warning: exported type FileDel should have comment or be unexported (golint)
    • Line 30: warning: exported type FileDelList should have comment or be unexported (golint)
    • Line 34: warning: exported method FileDel.Serialization should have comment or be unexported (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 38: warning: exported method FileDel.Deserialization should have comment or be unexported (golint)
    • Line 38: 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 FileDelList.Serialization 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)
    • Line 58: warning: exported method FileDelList.Deserialization should have comment or be unexported (golint)
    • Line 58: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • cmd/sigsvr/handlers/sig_native_invoke_tx.go
    • Line 32: warning: exported type SigNativeInvokeTxReq should have comment or be unexported (golint)
    • Line 42: warning: exported type SigNativeInvokeTxRsp should have comment or be unexported (golint)
    • Line 46: warning: exported function SigNativeInvokeTx should have comment or be unexported (golint)
    • p2pserver/message/types/version.go
    • Line 28: warning: exported type VersionPayload should have comment or be unexported (golint)
    • Line 44: warning: exported type Version should have comment or be unexported (golint)
    • Line 48: warning: comment on exported method Version.Serialization should be of the form "Serialization ..." (golint)
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 64: warning: exported method Version.CmdType should have comment or be unexported (golint)
    • Line 64: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 68: warning: comment on exported method Version.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 69: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/native/cross_chain/header_sync/header_sync.go
    • Line 19: warning: don't use an underscore in package name (golint)
    • Line 32: warning: comment on exported const SYNC_GENESIS_HEADER should be of the form "SYNC_GENESIS_HEADER ..." (golint)
    • Line 34: warning: exported const SYNC_BLOCK_HEADER should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: comment on exported const BLOCK_HEADER should be of the form "BLOCK_HEADER ..." (golint)
    • Line 44: warning: comment on exported function InitHeaderSync should be of the form "InitHeaderSync ..." (golint)
    • Line 49: warning: comment on exported function RegisterHeaderSyncContract should be of the form "RegisterHeaderSyncContract ..." (golint)
    • Line 55: warning: exported function SyncGenesisHeader should have comment or be unexported (golint)
    • Line 92: warning: exported function SyncBlockHeader should have comment or be unexported (golint)
    • smartcontract/service/native/auth/auth.go
    • Line 37: warning: exported function Init should have comment or be unexported (golint)
    • Line 61: warning: exported function InitContractAdmin should have comment or be unexported (golint)
    • Line 113: warning: exported function Transfer should have comment or be unexported (golint)
    • Line 137: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 143: warning: exported function AssignFuncsToRole should have comment or be unexported (golint)
    • Line 267: warning: exported function AssignOntIDsToRole should have comment or be unexported (golint)
    • Line 296: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 457: warning: exported function Delegate should have comment or be unexported (golint)
    • Line 483: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 534: warning: exported function Withdraw should have comment or be unexported (golint)
    • Line 556: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 614: warning: exported function VerifyToken should have comment or be unexported (golint)
    • Line 650: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 655: warning: exported function RegisterAuthContract should have comment or be unexported (golint)
    • consensus/vbft/config/config.go
    • Line 33: warning: exported var Version should have comment or be unexported (golint)
    • Line 36: warning: exported type PeerConfig should have comment or be unexported (golint)
    • Line 41: warning: exported type ChainConfig should have comment or be unexported (golint)
    • Line 54: warning: comment on exported type VbftBlockInfo should be of the form "VbftBlockInfo ..." (with optional leading article) (golint)
    • Line 66: warning: exported const VRF_SIZE should have comment (or a comment on this block) or be unexported (golint)
    • Line 72: warning: exported type VRFValue should have comment or be unexported (golint)
    • Line 74: warning: exported var NilVRF should have comment or be unexported (golint)
    • Line 76: warning: exported method VRFValue.Bytes should have comment or be unexported (golint)
    • Line 80: warning: exported method VRFValue.IsNil should have comment or be unexported (golint)
    • Line 84: warning: exported function VerifyChainConfig should have comment or be unexported (golint)
    • Line 103: warning: exported method PeerConfig.Serialization should have comment or be unexported (golint)
    • Line 108: warning: exported method PeerConfig.Deserialization should have comment or be unexported (golint)
    • Line 123: warning: exported method ChainConfig.Hash should have comment or be unexported (golint)
    • http/graphql/service.go
    • Line 86: warning: exported type TxPayload should have comment or be unexported (golint)
    • Line 90: warning: exported method TxPayload.ToInvokeCode should have comment or be unexported (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 95: warning: exported method TxPayload.ToDeployCode should have comment or be unexported (golint)
    • Line 95: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 100: warning: exported method TxPayload.Code should have comment or be unexported (golint)
    • Line 100: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 111: warning: exported function NewTxPayload should have comment or be unexported (golint)
    • Line 135: warning: exported function NewTransaction should have comment or be unexported (golint)
    • Line 172: warning: exported function NewBlock should have comment or be unexported (golint)
    • Line 183: warning: exported function NewHeader 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 219: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 228: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 238: warning: exported type TxType should have comment or be unexported (golint)
    • Line 240: warning: exported const INVOKE_NEO should have comment or be unexported (golint)
    • Line 241: warning: exported const INVOKE_WASM should have comment or be unexported (golint)
    • Line 242: warning: exported const DEPLOY_NEO should have comment or be unexported (golint)
    • Line 243: warning: exported const DEPLOY_WASM should have comment or be unexported (golint)
    • Line 250: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 280: warning: exported type Sig 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 309: warning: exported function StartServer should have comment or be unexported (golint)
    • p2pserver/dht/kbucket/table.go
    • Line 19: warning: package comment should be of the form "Package kbucket ..." (golint)
    • Line 31: warning: exported var ErrPeerRejectedHighLatency should have comment or be unexported (golint)
    • Line 32: warning: exported var ErrPeerRejectedNoCapacity should have comment or be unexported (golint)
    • Line 95: warning: comment on exported method RouteTable.GenRandKadId should be of the form "GenRandKadId ..." (golint)
    • Line 216: warning: exported method RouteTable.NearestPeers should have comment or be unexported (golint)
    • p2pserver/connect_controller/connect_controller.go
    • Line 1: warning: package comment should be of the form "Package connect_controller ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 18: warning: don't use an underscore in package name (golint)
    • Line 34: warning: exported const INBOUND_INDEX should have comment or be unexported (golint)
    • Line 35: warning: exported const OUTBOUND_INDEX should have comment or be unexported (golint)
    • Line 37: warning: exported var ErrHandshakeSelf should have comment or be unexported (golint)
    • Line 45: warning: exported type ConnectController should have comment or be unexported (golint)
    • Line 63: warning: exported function NewConnectController should have comment or be unexported (golint)
    • Line 79: warning: exported method ConnectController.OwnAddress should have comment or be unexported (golint)
    • Line 79: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 85: warning: exported method ConnectController.SetOwnAddress should have comment or be unexported (golint)
    • Line 85: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 91: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 95: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 101: warning: exported method ConnectController.OutboundsCount should have comment or be unexported (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 107: warning: exported method ConnectController.InboundsCount should have comment or be unexported (golint)
    • Line 107: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 113: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 121: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 127: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 135: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 147: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 154: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 162: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 178: warning: exported method ConnectController.AcceptConnect should have comment or be unexported (golint)
    • Line 178: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 203: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 237: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 245: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 277: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 292: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 299: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 328: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 346: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/native/cross_chain/common/states.go
    • Line 1: warning: package comment should be of the form "Package common ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 26: warning: exported type ToMerkleValue should have comment or be unexported (golint)
    • Line 32: warning: exported method ToMerkleValue.Deserialization should have comment or be unexported (golint)
    • Line 32: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: exported type MakeTxParam should have comment or be unexported (golint)
    • Line 64: warning: exported method MakeTxParam.Serialization should have comment or be unexported (golint)
    • Line 64: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 74: warning: exported method MakeTxParam.Deserialization should have comment or be unexported (golint)
    • Line 74: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • vm/crossvm_codec/codec.go
    • Line 19: warning: don't use an underscore in package name (golint)
    • Line 31: warning: exported const ByteArrayType should have comment (or a comment on this block) or be unexported (golint)
    • Line 38: warning: comment on exported const ListType should be of the form "ListType ..." (golint)
    • Line 45: warning: error var ERROR_PARAM_FORMAT should have name of the form ErrFoo (golint)
    • Line 45: warning: exported var ERROR_PARAM_FORMAT should have comment or be unexported (golint)
    • Line 46: warning: error var ERROR_PARAM_NOT_SUPPORTED_TYPE should have name of the form ErrFoo (golint)
    • Line 46: warning: exported var ERROR_PARAM_NOT_SUPPORTED_TYPE should have comment or be unexported (golint)
    • Line 48: warning: comment on exported function EncodeValue should be of the form "EncodeValue ..." (golint)
    • Line 83: warning: exported function DecodeValue should have comment or be unexported (golint)
    • Line 167: warning: exported function EncodeBytes should have comment or be unexported (golint)
    • Line 173: warning: exported function EncodeString should have comment or be unexported (golint)
    • Line 179: warning: exported function EncodeAddress should have comment or be unexported (golint)
    • Line 184: warning: exported function EncodeBool should have comment or be unexported (golint)
    • Line 193: warning: exported function EncodeH256 should have comment or be unexported (golint)
    • Line 198: warning: exported function EncodeInt128 should have comment or be unexported (golint)
    • Line 203: warning: exported function EncodeBigInt should have comment or be unexported (golint)
    • Line 212: warning: exported function EncodeList should have comment or be unexported (golint)
    • vm/crossvm_codec/notify_codec.go
    • Line 1: warning: package comment should be of the form "Package crossvm_codec ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 18: warning: don't use an underscore in package name (golint)
    • Line 31: warning: exported function DeserializeNotify should have comment or be unexported (golint)
    • cmd/usage.go
    • Line 1: warning: package comment should be of the form "Package cmd ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 97: warning: exported var AppHelpFlagGroups should have comment or be unexported (golint)
    • Line 322: warning: exported type FmtFlag should have comment or be unexported (golint)
    • Line 327: warning: exported method FmtFlag.GetName should have comment or be unexported (golint)
    • Line 327: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 331: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 335: warning: exported method FmtFlag.Apply should have comment or be unexported (golint)
    • Line 335: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 441: warning: exported function PrintErrorMsg should have comment or be unexported (golint)
    • Line 446: warning: exported function PrintWarnMsg should have comment or be unexported (golint)
    • Line 451: warning: exported function PrintInfoMsg should have comment or be unexported (golint)
    • Line 455: warning: exported function PrintJsonData should have comment or be unexported (golint)
    • Line 465: warning: exported function PrintJsonObject should have comment or be unexported (golint)
    • smartcontract/service/native/governance/governance.go
    • Line 19: warning: package comment should be of the form "Package governance ..." (golint)
    • Line 42: warning: comment on exported const RegisterCandidateStatus should be of the form "RegisterCandidateStatus ..." (golint)
    • Line 44: warning: exported const CandidateStatus should have comment (or a comment on this block) or be unexported (golint)
    • Line 52: warning: comment on exported const INIT_CONFIG should be of the form "INIT_CONFIG ..." (golint)
    • Line 54: warning: exported const REGISTER_CANDIDATE should have comment (or a comment on this block) or be unexported (golint)
    • Line 85: warning: comment on exported const GLOBAL_PARAM should be of the form "GLOBAL_PARAM ..." (golint)
    • Line 104: warning: comment on exported const PRECISE should be of the form "PRECISE ..." (golint)
    • Line 111: warning: comment on exported var MIN_CANDIDATE_FEE should be of the form "MIN_CANDIDATE_FEE ..." (golint)
    • Line 113: warning: exported var AUTHORIZE_INFO_POOL should have comment or be unexported (golint)
    • Line 114: warning: exported var Xi should have comment or be unexported (golint)
    • Line 125: warning: comment on exported function InitGovernance should be of the form "InitGovernance ..." (golint)
    • Line 130: warning: comment on exported function RegisterGovernanceContract should be of the form "RegisterGovernanceContract ..." (golint)
    • Line 167: warning: comment on exported function InitConfig should be of the form "InitConfig ..." (golint)
    • Line 314: warning: comment on exported function RegisterCandidate should be of the form "RegisterCandidate ..." (golint)
    • Line 326: warning: comment on exported function RegisterCandidateTransferFrom should be of the form "RegisterCandidateTransferFrom ..." (golint)
    • Line 338: warning: comment on exported function UnRegisterCandidate should be of the form "UnRegisterCandidate ..." (golint)
    • Line 401: warning: comment on exported function ApproveCandidate should be of the form "ApproveCandidate ..." (golint)
    • Line 529: warning: comment on exported function RejectCandidate should be of the form "RejectCandidate ..." (golint)
    • Line 592: warning: comment on exported function BlackNode should be of the form "BlackNode ..." (golint)
    • Line 665: warning: comment on exported function WhiteNode should be of the form "WhiteNode ..." (golint)
    • Line 706: warning: comment on exported function QuitNode should be of the form "QuitNode ..." (golint)
    • Line 779: warning: comment on exported function AuthorizeForPeer should be of the form "AuthorizeForPeer ..." (golint)
    • Line 788: warning: comment on exported function AuthorizeForPeerTransferFrom should be of the form "AuthorizeForPeerTransferFrom ..." (golint)
    • Line 797: warning: comment on exported function UnAuthorizeForPeer should be of the form "UnAuthorizeForPeer ..." (golint)
    • Line 946: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 975: warning: comment on exported function CommitDpos should be of the form "CommitDpos ..." (golint)
    • Line 1023: warning: comment on exported function UpdateConfig should be of the form "UpdateConfig ..." (golint)
    • Line 1111: warning: comment on exported function UpdateGlobalParam should be of the form "UpdateGlobalParam ..." (golint)
    • Line 1168: warning: comment on exported function UpdateGlobalParam2 should be of the form "UpdateGlobalParam2 ..." (golint)
    • Line 1209: warning: comment on exported function UpdateSplitCurve should be of the form "UpdateSplitCurve ..." (golint)
    • Line 1238: warning: comment on exported function TransferPenalty should be of the form "TransferPenalty ..." (golint)
    • Line 1267: warning: comment on exported function WithdrawOng should be of the form "WithdrawOng ..." (golint)
    • Line 1310: warning: comment on exported function ChangeMaxAuthorization should be of the form "ChangeMaxAuthorization ..." (golint)
    • Line 1371: warning: comment on exported function SetPeerCost should be of the form "SetPeerCost ..." (golint)
    • Line 1426: warning: comment on exported function SetFeePercentage should be of the form "SetFeePercentage ..." (golint)
    • Line 1488: warning: comment on exported function WithdrawFee should be of the form "WithdrawFee ..." (golint)
    • Line 1537: warning: comment on exported function AddInitPos should be of the form "AddInitPos ..." (golint)
    • Line 1603: warning: comment on exported function ReduceInitPos should be of the form "ReduceInitPos ..." (golint)
    • Line 1694: warning: comment on exported function SetPromisePos should be of the form "SetPromisePos ..." (golint)
    • Line 1726: warning: comment on exported function SetGasAddress should be of the form "SetGasAddress ..." (golint)
    • Line 1754: warning: exported function GetPeerPool should have comment or be unexported (golint)
    • Line 1764: warning: exported function GetPeerInfo should have comment or be unexported (golint)
    • Line 1788: warning: exported function GetPeerPoolByAddress should have comment or be unexported (golint)
    • Line 1846: warning: exported function GetPeerPoolForVm should have comment or be unexported (golint)
    • p2pserver/net/netserver/netserver.go
    • Line 62: warning: exported function NewCustomNetServer should have comment or be unexported (golint)
    • Line 98: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 119: warning: comment on exported method NetServer.Start should be of the form "Start ..." (golint)
    • Line 120: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 130: warning: comment on exported method NetServer.GetHostInfo should be of the form "GetHostInfo ..." (golint)
    • Line 131: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 135: warning: comment on exported method NetServer.GetID should be of the form "GetID ..." (golint)
    • Line 136: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 141: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 146: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 151: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 156: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 161: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 165: warning: exported method NetServer.ReplacePeer should have comment or be unexported (golint)
    • Line 165: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 173: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 178: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 182: warning: comment on exported method NetServer.Send should be of the form "Send ..." (golint)
    • Line 183: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 192: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 200: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 219: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 223: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 228: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 241: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 255: 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 278: warning: comment on exported method NetServer.IsOwnAddress should be of the form "IsOwnAddress ..." (golint)
    • Line 279: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 283: warning: exported method NetServer.ConnectController should have comment or be unexported (golint)
    • Line 287: warning: exported method NetServer.Protocol should have comment or be unexported (golint)
    • Line 291: warning: exported method NetServer.SendTo should have comment or be unexported (golint)
    • Line 291: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 298: warning: exported method NetServer.GetSubnetMembersInfo should have comment or be unexported (golint)
    • Line 298: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • consensus/vbft/config/genesis.go
    • Line 36: warning: don't use underscores in Go names; func shuffle_hash should be shuffleHash (golint)
    • Line 197: warning: exported function GenesisConsensusPayload should have comment or be unexported (golint)
    • core/payload/invoke_code.go
    • Line 32: warning: comment on exported method InvokeCode.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: exported method InvokeCode.Serialization 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)
    • smartcontract/service/native/governance/states.go
    • Line 31: warning: exported type Status should have comment or be unexported (golint)
    • Line 33: warning: exported method Status.Serialization should have comment or be unexported (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: exported method Status.Deserialization should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: exported type BlackListItem should have comment or be unexported (golint)
    • Line 52: warning: exported method BlackListItem.Serialization should have comment or be unexported (golint)
    • Line 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 58: warning: exported method BlackListItem.Deserialization should have comment or be unexported (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 78: warning: exported type PeerPoolList should have comment or be unexported (golint)
    • Line 82: warning: exported type PeerPoolMap should have comment or be unexported (golint)
    • Line 86: warning: exported method PeerPoolMap.Serialization should have comment or be unexported (golint)
    • Line 86: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 102: warning: exported method PeerPoolMap.Deserialization should have comment or be unexported (golint)
    • Line 102: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 120: warning: exported type PeerPoolListForVm should have comment or be unexported (golint)
    • Line 124: warning: exported method PeerPoolListForVm.Serialization 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 131: warning: exported type PeerPoolItem should have comment or be unexported (golint)
    • Line 140: warning: exported method PeerPoolItem.Serialization should have comment or be unexported (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 149: warning: exported method PeerPoolItem.Deserialization should have comment or be unexported (golint)
    • Line 149: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 185: warning: comment on exported type PeerPoolItemForVm should be of the form "PeerPoolItemForVm ..." (with optional leading article) (golint)
    • Line 195: warning: exported method PeerPoolItemForVm.Serialization should have comment or be unexported (golint)
    • Line 195: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 204: warning: exported type AuthorizeInfo should have comment or be unexported (golint)
    • Line 215: warning: exported method AuthorizeInfo.Serialization should have comment or be unexported (golint)
    • Line 215: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 226: warning: exported method AuthorizeInfo.Deserialization should have comment or be unexported (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 271: warning: exported type PeerStakeInfo should have comment or be unexported (golint)
    • Line 277: warning: exported type GovernanceView should have comment or be unexported (golint)
    • Line 283: warning: exported method GovernanceView.Serialize should have comment or be unexported (golint)
    • Line 283: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 296: warning: exported method GovernanceView.Deserialize should have comment or be unexported (golint)
    • Line 296: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 315: warning: exported type TotalStake should have comment or be unexported (golint)
    • Line 321: warning: exported method TotalStake.Serialization should have comment or be unexported (golint)
    • Line 321: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 327: warning: exported method TotalStake.Deserialization should have comment or be unexported (golint)
    • Line 327: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 347: warning: exported type PenaltyStake should have comment or be unexported (golint)
    • Line 355: warning: exported method PenaltyStake.Serialization should have comment or be unexported (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 363: warning: exported method PenaltyStake.Deserialization should have comment or be unexported (golint)
    • Line 363: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 392: warning: exported type CandidateSplitInfo should have comment or be unexported (golint)
    • Line 400: warning: exported type PeerAttributes should have comment or be unexported (golint)
    • Line 412: warning: exported method PeerAttributes.Serialization should have comment or be unexported (golint)
    • Line 412: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 424: warning: exported method PeerAttributes.Deserialization should have comment or be unexported (golint)
    • Line 424: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 473: warning: exported type SplitFeeAddress should have comment or be unexported (golint)
    • Line 478: warning: exported method SplitFeeAddress.Serialization should have comment or be unexported (golint)
    • Line 478: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 483: warning: exported method SplitFeeAddress.Deserialization should have comment or be unexported (golint)
    • Line 483: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • account/client.go
    • Line 79: warning: exported function Open should have comment or be unexported (golint)
    • Line 89: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 93: warning: exported type ClientImpl should have comment or be unexported (golint)
    • Line 103: warning: exported function NewClientImpl should have comment or be unexported (golint)
    • Line 120: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 137: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 141: warning: exported method ClientImpl.NewAccount should have comment or be unexported (golint)
    • Line 141: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 173: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 205: warning: exported method ClientImpl.ImportAccount should have comment or be unexported (golint)
    • Line 205: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 226: warning: exported method ClientImpl.GetAccountByAddress should have comment or be unexported (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 236: warning: exported method ClientImpl.GetAccountByLabel should have comment or be unexported (golint)
    • Line 236: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 249: warning: comment on exported method ClientImpl.GetAccountByIndex should be of the form "GetAccountByIndex ..." (golint)
    • Line 250: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 260: warning: exported method ClientImpl.GetDefaultAccount should have comment or be unexported (golint)
    • Line 260: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 269: warning: exported method ClientImpl.GetAccountMetadataByAddress should have comment or be unexported (golint)
    • Line 269: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 279: warning: exported method ClientImpl.GetAccountMetadataByLabel should have comment or be unexported (golint)
    • Line 279: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 292: warning: comment on exported method ClientImpl.GetAccountMetadataByIndex should be of the form "GetAccountMetadataByIndex ..." (golint)
    • Line 293: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 303: warning: exported method ClientImpl.GetDefaultAccountMetadata should have comment or be unexported (golint)
    • Line 303: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 312: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 331: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 347: warning: exported method ClientImpl.GetAccountNum should have comment or be unexported (golint)
    • Line 347: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 353: warning: exported method ClientImpl.DeleteAccount should have comment or be unexported (golint)
    • Line 353: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 383: warning: exported method ClientImpl.UnLockAccount should have comment or be unexported (golint)
    • Line 383: 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 ClientImpl.LockAccount 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 411: warning: exported method ClientImpl.GetUnlockAccount should have comment or be unexported (golint)
    • Line 411: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 425: warning: exported method ClientImpl.SetDefaultAccount should have comment or be unexported (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 453: warning: exported method ClientImpl.SetLabel should have comment or be unexported (golint)
    • Line 453: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 479: warning: exported method ClientImpl.ChangePassword should have comment or be unexported (golint)
    • Line 479: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 508: warning: exported method ClientImpl.ChangeSigScheme should have comment or be unexported (golint)
    • Line 508: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 533: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 567: warning: exported method ClientImpl.GetWalletData should have comment or be unexported (golint)
    • Line 567: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • p2pserver/protocols/msg_handler.go
    • Line 54: warning: exported type MsgHandler should have comment or be unexported (golint)
    • Line 68: warning: exported function NewMsgHandler should have comment or be unexported (golint)
    • Line 79: warning: exported method MsgHandler.GetReservedAddrFilter should have comment or be unexported (golint)
    • Line 79: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 83: warning: exported method MsgHandler.GetMaskAddrFilter should have comment or be unexported (golint)
    • Line 83: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 87: warning: exported method MsgHandler.GetSubnetMembersInfo should have comment or be unexported (golint)
    • Line 87: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 91: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 108: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 118: warning: exported method MsgHandler.HandleSystemMessage should have comment or be unexported (golint)
    • Line 118: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 143: warning: exported method MsgHandler.HandlePeerMessage should have comment or be unexported (golint)
    • Line 143: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 188: warning: comment on exported function HeadersReqHandle should be of the form "HeadersReqHandle ..." (golint)
    • Line 208: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 390: warning: comment on exported function GetHeadersFromHash should be of the form "GetHeadersFromHash ..." (golint)
    • Line 484: warning: exported method MsgHandler.ReconnectService should have comment or be unexported (golint)
    • core/store/ledgerstore/block_cache.go
    • Line 30: warning: exported const BLOCK_CAHE_SIZE should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: comment on exported type TransactionCacheaValue should be of the form "TransactionCacheaValue ..." (with optional leading article) (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 69: 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 83: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 92: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 102: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/native/testsuite/ont_suite.go
    • Line 1: warning: package comment should be of the form "Package testsuite ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 36: warning: exported function RandomAddress should have comment or be unexported (golint)
    • Line 43: warning: exported function InvokeNativeContract should have comment or be unexported (golint)
    • Line 62: warning: exported function AppendNativeContract should have comment or be unexported (golint)
    • Line 105: warning: exported function BuildInvokeTx should have comment or be unexported (golint)
    • http/websocket/session/sessionlist.go
    • Line 29: warning: exported const MAX_SESSION_COUNT should have comment or be unexported (golint)
    • Line 31: warning: exported type SessionList should have comment or be unexported (golint)
    • Line 36: warning: comment on exported function NewSessionList should be of the form "NewSessionList ..." (golint)
    • Line 42: warning: exported method SessionList.NewSession should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: exported method SessionList.CloseSession 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 62: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 68: warning: exported method SessionList.GetSessionById should have comment or be unexported (golint)
    • Line 68: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 75: warning: exported method SessionList.GetSessionCount should have comment or be unexported (golint)
    • Line 75: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 81: warning: exported method SessionList.ForEachSession should have comment or be unexported (golint)
    • Line 81: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • http/base/common/payload_to_hex.go
    • Line 1: warning: package comment should be of the form "Package common ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 27: warning: exported type PayloadInfo should have comment or be unexported (golint)
    • Line 29: warning: exported type InvokeCodeInfo should have comment or be unexported (golint)
    • Line 32: warning: exported type DeployCodeInfo should have comment or be unexported (golint)
    • Line 42: warning: exported type BookkeeperInfo should have comment or be unexported (golint)
    • Line 49: warning: comment on exported function TransPayloadToHex should be of the form "TransPayloadToHex ..." (golint)
    • http/restful/restful/server.go
    • Line 43: warning: exported type Action should have comment or be unexported (golint)
    • Line 57: warning: exported const GET_ALL_API should have comment (or a comment on this block) or be unexported (golint)
    • Line 86: warning: comment on exported function InitRestServer should be of the form "InitRestServer ..." (golint)
    • Line 98: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 137: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 186: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 225: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 270: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 292: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 324: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 332: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 343: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 351: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 364: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • p2pserver/protocols/block_sync/block_sync.go
    • Line 19: warning: don't use an underscore in package name (golint)
    • Line 39: warning: exported const SYNC_MAX_HEADER_FORWARD_SIZE should have comment (or a comment on this block) or be unexported (golint)
    • Line 86: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 91: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 96: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 100: warning: comment on exported method NodeWeight.AppendNewReqtime should be of the form "AppendNewReqtime ..." (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 108: warning: comment on exported method NodeWeight.AppendNewSpeed should be of the form "AppendNewSpeed ..." (golint)
    • Line 109: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 117: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 178: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 185: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 192: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 200: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 211: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 217: warning: comment on exported method SyncFlightInfo.ResetStartTime should be of the form "ResetStartTime ..." (golint)
    • Line 218: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 225: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 267: warning: exported type BlockCache should have comment or be unexported (golint)
    • Line 272: warning: exported function NewBlockCache should have comment or be unexported (golint)
    • Line 279: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 295: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 301: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 309: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 318: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 328: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 333: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 336: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 343: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 364: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 439: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 444: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 482: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 544: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 554: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 616: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 644: warning: comment on exported method BlockSyncMgr.OnAddNode should be of the form "OnAddNode ..." (golint)
    • Line 645: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 654: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 659: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 669: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 679: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 685: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 695: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 701: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 708: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 715: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 721: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 731: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 737: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 769: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 779: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 785: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 791: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 801: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 812: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 818: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 823: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 829: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 839: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 854: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 865: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 875: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 880: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 911: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 937: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 942: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 949: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 960: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 968: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 976: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 984: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 992: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/native/utils/operation.go
    • Line 31: warning: exported function ConcatKey should have comment or be unexported (golint)
    • Line 39: warning: exported function ConcatBytes should have comment or be unexported (golint)
    • Line 47: warning: exported function ValidateOwner should have comment or be unexported (golint)
    • Line 54: warning: exported function GetUint32Bytes should have comment or be unexported (golint)
    • Line 62: warning: exported function GetBytesUint32 should have comment or be unexported (golint)
    • Line 70: warning: exported function GetUint64Bytes should have comment or be unexported (golint)
    • Line 78: warning: exported function GetBytesUint64 should have comment or be unexported (golint)
    • txnpool/proc/txnpool_actor.go
    • Line 117: warning: comment on exported type TxActor should be of the form "TxActor ..." (with optional leading article) (golint)
    • Line 300: warning: comment on exported type TxPoolActor should be of the form "TxPoolActor ..." (with optional leading article) (golint)
    • Line 361: warning: comment on exported type VerifyRspActor should be of the form "VerifyRspActor ..." (with optional leading article) (golint)
    • vm/neovm/value_stack_conversion.go
    • Line 26: warning: exported method ValueStack.PushBool should have comment or be unexported (golint)
    • Line 26: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 30: warning: exported method ValueStack.PopAsBool should have comment or be unexported (golint)
    • Line 30: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: exported method ValueStack.PushInt64 should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 43: warning: exported method ValueStack.PushUint64 should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: exported method ValueStack.PushUint32 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 50: warning: exported method ValueStack.PopAsInt64 should have comment or be unexported (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 58: warning: exported method ValueStack.PopAsIntValue should have comment or be unexported (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 66: warning: exported method ValueStack.PushBytes should have comment or be unexported (golint)
    • Line 66: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 74: warning: exported method ValueStack.PopAsBytes should have comment or be unexported (golint)
    • Line 74: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 82: warning: exported method ValueStack.PopAsArray should have comment or be unexported (golint)
    • Line 82: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 90: warning: exported method ValueStack.PopAsMap should have comment or be unexported (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 98: warning: exported method ValueStack.PopAsStruct should have comment or be unexported (golint)
    • Line 98: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 106: warning: exported method ValueStack.PushAsInteropValue should have comment or be unexported (golint)
    • Line 106: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 110: warning: exported method ValueStack.PopAsInteropValue should have comment or be unexported (golint)
    • Line 110: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 118: warning: exported method ValueStack.PopPairAsBytes should have comment or be unexported (golint)
    • Line 118: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 127: warning: exported method ValueStack.PopPairAsBool should have comment or be unexported (golint)
    • Line 127: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 136: warning: exported method ValueStack.PopPairAsInt64 should have comment or be unexported (golint)
    • Line 136: 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 ValueStack.PopPairAsIntVal 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 154: warning: exported method ValueStack.PopTripleAsBytes should have comment or be unexported (golint)
    • Line 154: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 167: warning: exported method ValueStack.PopTripleAsBool should have comment or be unexported (golint)
    • Line 167: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 180: warning: exported method ValueStack.PopTripleAsIntVal should have comment or be unexported (golint)
    • Line 180: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 193: warning: exported method ValueStack.PeekAsBytes should have comment or be unexported (golint)
    • Line 193: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • consensus/dbft/consensus_message.go
    • Line 29: warning: exported type ConsensusMessage should have comment or be unexported (golint)
    • Line 37: warning: exported type ConsensusMessageData should have comment or be unexported (golint)
    • Line 42: warning: exported function DeserializeMessage should have comment or be unexported (golint)
    • Line 91: warning: exported method ConsensusMessageData.Serialization should have comment or be unexported (golint)
    • Line 96: warning: comment on exported method ConsensusMessageData.Deserialization should be of the form "Deserialization ..." (golint)
    • consensus/vbft/node_utils.go
    • Line 34: warning: exported method Server.GetCompletedBlockNum should have comment or be unexported (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 38: warning: exported method Server.SetCompletedBlockNum should have comment or be unexported (golint)
    • Line 38: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 42: warning: exported method Server.GetCurrentBlockNo should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: exported method Server.SetCurrentBlockNo 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 50: warning: exported method Server.GetChainConfig should have comment or be unexported (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 58: warning: exported method Server.GetPeerMsgChan should have comment or be unexported (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 65: warning: exported method Server.CreatePeerMsgChan should have comment or be unexported (golint)
    • Line 65: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 73: warning: exported method Server.ClosePeerMsgChan should have comment or be unexported (golint)
    • Line 73: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 81: warning: exported method Server.GetCommittedBlockNo should have comment or be unexported (golint)
    • Line 81: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 85: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 95: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 116: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 136: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 141: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 148: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 171: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 194: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 207: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 235: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 247: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 399: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 417: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 432: 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 472: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 479: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • core/states/storage_item.go
    • Line 28: warning: exported type StorageItem should have comment or be unexported (golint)
    • Line 33: warning: exported method StorageItem.Serialization should have comment or be unexported (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 38: warning: exported method StorageItem.Deserialization should have comment or be unexported (golint)
    • Line 38: 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 StorageItem.ToArray should have comment or be unexported (golint)
    • Line 58: warning: exported function GetValueFromRawStorageItem should have comment or be unexported (golint)
    • Line 68: warning: exported function GenRawStorageItem should have comment or be unexported (golint)
    • p2pserver/p2pserver.go
    • Line 74: 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 84: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 89: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 102: 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)
    • smartcontract/service/native/global_params/global_params.go
    • Line 19: warning: don't use an underscore in package name (golint)
    • Line 35: warning: exported const VERSION_CONTRACT_GLOBAL_PARAMS should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: exported const INIT_NAME should have comment (or a comment on this block) or be unexported (golint)
    • Line 52: warning: exported function InitGlobalParams should have comment or be unexported (golint)
    • Line 56: warning: exported function RegisterParamContract should have comment or be unexported (golint)
    • Line 70: warning: exported function ParamInit should have comment or be unexported (golint)
    • Line 100: warning: exported function AcceptAdmin should have comment or be unexported (golint)
    • Line 123: warning: exported function TransferAdmin should have comment or be unexported (golint)
    • Line 143: warning: exported function SetOperator should have comment or be unexported (golint)
    • Line 162: warning: exported function SetGlobalParam should have comment or be unexported (golint)
    • Line 195: warning: exported function GetGlobalParam should have comment or be unexported (golint)
    • Line 224: warning: exported function CreateSnapshot should have comment or be unexported (golint)
    • Line 249: warning: exported type AddressParam should have comment or be unexported (golint)
    • Line 253: warning: exported method AddressParam.Serialization should have comment or be unexported (golint)
    • Line 253: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 260: warning: exported method AddressParam.Deserialization should have comment or be unexported (golint)
    • Line 260: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 278: warning: exported function AddDestroyedContracts should have comment or be unexported (golint)
    • Line 303: warning: exported function RemoveDestroyedContracts should have comment or be unexported (golint)
    • smartcontract/service/native/ontfs/app_sdk.go
    • Line 32: warning: exported function FsGetNodeInfoList should have comment or be unexported (golint)
    • Line 71: warning: exported function FsChallenge should have comment or be unexported (golint)
    • Line 145: warning: exported function FsJudge should have comment or be unexported (golint)
    • Line 245: warning: exported function FsGetChallenge should have comment or be unexported (golint)
    • Line 272: warning: exported function FsGetFileChallengeList should have comment or be unexported (golint)
    • Line 303: warning: exported function FsCreateSpace should have comment or be unexported (golint)
    • Line 364: warning: exported function FsDeleteSpace should have comment or be unexported (golint)
    • Line 397: warning: exported function FsUpdateSpace should have comment or be unexported (golint)
    • Line 506: warning: exported function FsGetSpaceInfo should have comment or be unexported (golint)
    • Line 524: warning: exported function FsStoreFiles should have comment or be unexported (golint)
    • Line 635: warning: exported function FsRenewFiles should have comment or be unexported (golint)
    • Line 697: warning: exported function FsDeleteFiles should have comment or be unexported (golint)
    • Line 842: warning: exported function FsTransferFiles should have comment or be unexported (golint)
    • Line 906: warning: exported function FsGetFileHashList should have comment or be unexported (golint)
    • Line 934: warning: exported function FsGetFileInfo should have comment or be unexported (golint)
    • Line 953: warning: exported function FsGetPdpInfoList should have comment or be unexported (golint)
    • Line 975: warning: exported function FsReadFilePledge should have comment or be unexported (golint)
    • Line 1068: warning: exported function FsGetReadPledge should have comment or be unexported (golint)
    • consensus/sbft/sbft_service.go
    • Line 21: warning: exported type SbftService should have comment or be unexported (golint)
    • Line 24: warning: exported method SbftService.Halt should have comment or be unexported (golint)
    • Line 28: warning: exported method SbftService.Start should have comment or be unexported (golint)
    • Line 28: warning: receiver name ds should be consistent with previous receiver name ss for SbftService (golint)
    • p2pserver/mock/interface.go
    • Line 32: warning: exported type Network should have comment or be unexported (golint)
    • Line 45: warning: exported function NewNode should have comment or be unexported (golint)
    • p2pserver/message/types/consensus_payload.go
    • Line 32: warning: exported type ConsensusPayload should have comment or be unexported (golint)
    • Line 45: warning: comment on exported method ConsensusPayload.Hash should be of the form "Hash ..." (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 50: warning: comment on exported method ConsensusPayload.Verify should be of the form "Verify ..." (golint)
    • Line 51: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 62: warning: comment on exported method ConsensusPayload.ToArray should be of the form "ToArray ..." (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 67: warning: exported method ConsensusPayload.GetMessage should have comment or be unexported (golint)
    • Line 67: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 73: warning: exported method ConsensusPayload.Serialization should have comment or be unexported (golint)
    • Line 73: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 80: warning: comment on exported method ConsensusPayload.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 81: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 110: warning: exported method ConsensusPayload.SerializationUnsigned should have comment or be unexported (golint)
    • Line 110: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 119: warning: exported method ConsensusPayload.DeserializationUnsigned should have comment or be unexported (golint)
    • Line 119: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • vm/neovm/common.go
    • Line 25: warning: exported function ToBigInt should have comment or be unexported (golint)
    • Line 56: warning: exported function BigIntZip should have comment or be unexported (golint)
    • smartcontract/service/native/cross_chain/common/header.go
    • Line 31: warning: exported const CURR_HEADER_VERSION should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported type Header should have comment or be unexported (golint)
    • Line 53: warning: exported function HeaderFromRawBytes should have comment or be unexported (golint)
    • Line 63: warning: exported method Header.Serialization should have comment or be unexported (golint)
    • Line 92: warning: exported method Header.Hash should have comment or be unexported (golint)
    • Line 105: warning: exported method Header.Deserialization should have comment or be unexported (golint)
    • wasmtest/common/common.go
    • Line 1: warning: package comment should be of the form "Package common ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 35: warning: exported type TestEnv should have comment or be unexported (golint)
    • Line 39: warning: exported method TestEnv.MarshalJSON should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 51: warning: exported method TestEnv.UnmarshalJSON should have comment or be unexported (golint)
    • Line 51: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 73: warning: exported type TestCase should have comment or be unexported (golint)
    • Line 82: warning: exported type ConAddr should have comment or be unexported (golint)
    • Line 87: warning: exported type TestContext should have comment or be unexported (golint)
    • Line 92: warning: exported function GenWasmTransaction should have comment or be unexported (golint)
    • Line 170: warning: exported function GenNeoVMTransaction should have comment or be unexported (golint)
    • common/zero_copy_source.go
    • Line 27: warning: exported var ErrIrregularData should have comment or be unexported (golint)
    • Line 29: warning: exported type ZeroCopySource should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 44: warning: exported method ZeroCopySource.Pos 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 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: comment on exported method ZeroCopySource.NextBytes should be of the form "NextBytes ..." (golint)
    • Line 55: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 68: warning: exported method ZeroCopySource.Skip should have comment or be unexported (golint)
    • Line 68: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 80: warning: comment on exported method ZeroCopySource.NextByte should be of the form "NextByte ..." (golint)
    • Line 81: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 91: warning: exported method ZeroCopySource.NextUint8 should have comment or be unexported (golint)
    • Line 91: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 97: warning: exported method ZeroCopySource.NextBool should have comment or be unexported (golint)
    • Line 97: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 111: warning: comment on exported method ZeroCopySource.BackUp should be of the form "BackUp ..." (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: exported method ZeroCopySource.NextUint16 should have comment or be unexported (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 127: warning: exported method ZeroCopySource.NextUint32 should have comment or be unexported (golint)
    • Line 127: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 137: warning: exported method ZeroCopySource.ReadUint32 should have comment or be unexported (golint)
    • Line 137: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 146: warning: exported method ZeroCopySource.NextUint64 should have comment or be unexported (golint)
    • Line 146: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 156: warning: exported method ZeroCopySource.NextInt32 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 162: warning: exported method ZeroCopySource.NextInt64 should have comment or be unexported (golint)
    • Line 162: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 168: warning: exported method ZeroCopySource.NextInt16 should have comment or be unexported (golint)
    • Line 168: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 174: warning: exported method ZeroCopySource.NextVarBytes should have comment or be unexported (golint)
    • Line 174: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 186: warning: exported method ZeroCopySource.ReadString should have comment or be unexported (golint)
    • Line 186: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 191: warning: exported method ZeroCopySource.ReadVarBytes should have comment or be unexported (golint)
    • Line 191: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 203: warning: exported method ZeroCopySource.NextAddress should have comment or be unexported (golint)
    • Line 203: 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 ZeroCopySource.NextI128 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)
    • Line 225: warning: exported method ZeroCopySource.NextHash should have comment or be unexported (golint)
    • Line 225: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 236: warning: exported method ZeroCopySource.NextString should have comment or be unexported (golint)
    • Line 236: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 243: warning: exported method ZeroCopySource.NextVarUint should have comment or be unexported (golint)
    • Line 243: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 297: warning: comment on exported function NewZeroCopySource should be of the form "NewZeroCopySource ..." (golint)
    • common/safeMath.go
    • Line 24: warning: exported const MAX_UINT64 should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported function SafeSub should have comment or be unexported (golint)
    • Line 31: warning: exported function SafeAdd should have comment or be unexported (golint)
    • Line 35: warning: exported function SafeMul should have comment or be unexported (golint)
    • cmd/info_cmd.go
    • Line 32: warning: exported var InfoCommand should have comment or be unexported (golint)
    • Line 81: warning: exported var ShowTxCommand should have comment or be unexported (golint)
    • smartcontract/service/native/ontid/param.go
    • Line 1: warning: package comment should be of the form "Package ontid ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 28: warning: exported type SetKeyAccessParam should have comment or be unexported (golint)
    • Line 35: warning: exported method SetKeyAccessParam.Serialization should have comment or be unexported (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 42: warning: exported method SetKeyAccessParam.Deserialization should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 66: warning: exported type ProofParam should have comment or be unexported (golint)
    • Line 73: warning: exported method ProofParam.Serialization should have comment or be unexported (golint)
    • Line 73: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 80: warning: exported method ProofParam.Deserialization should have comment or be unexported (golint)
    • Line 80: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 104: warning: exported type ServiceParam should have comment or be unexported (golint)
    • Line 112: warning: exported method ServiceParam.Serialization should have comment or be unexported (golint)
    • Line 112: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 120: warning: exported method ServiceParam.Deserialization should have comment or be unexported (golint)
    • Line 120: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 149: warning: exported type ServiceRemoveParam should have comment or be unexported (golint)
    • Line 155: warning: exported method ServiceRemoveParam.Serialization should have comment or be unexported (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 161: warning: exported method ServiceRemoveParam.Deserialization should have comment or be unexported (golint)
    • Line 161: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 180: warning: exported type Service should have comment or be unexported (golint)
    • Line 186: warning: exported method Service.Serialization should have comment or be unexported (golint)
    • Line 186: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 192: warning: exported method Service.Deserialization should have comment or be unexported (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 211: warning: exported type Services should have comment or be unexported (golint)
    • Line 213: warning: exported method Services.Serialization should have comment or be unexported (golint)
    • Line 223: warning: exported method Services.Deserialization should have comment or be unexported (golint)
    • Line 248: warning: exported type Context should have comment or be unexported (golint)
    • Line 254: warning: exported method Context.Serialization should have comment or be unexported (golint)
    • Line 254: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 264: warning: exported method Context.Deserialization should have comment or be unexported (golint)
    • Line 264: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 292: warning: exported type Contexts should have comment or be unexported (golint)
    • Line 294: warning: exported method Contexts.Serialization should have comment or be unexported (golint)
    • Line 302: warning: exported method Contexts.Deserialization should have comment or be unexported (golint)
    • Line 318: warning: exported type AddNewAuthKeyParam should have comment or be unexported (golint)
    • Line 324: warning: exported method AddNewAuthKeyParam.Serialization should have comment or be unexported (golint)
    • Line 324: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 330: warning: exported method AddNewAuthKeyParam.Deserialization should have comment or be unexported (golint)
    • Line 330: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 350: warning: exported type SetAuthKeyParam should have comment or be unexported (golint)
    • Line 356: warning: exported method SetAuthKeyParam.Serialization should have comment or be unexported (golint)
    • Line 356: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 362: warning: exported method SetAuthKeyParam.Deserialization should have comment or be unexported (golint)
    • Line 362: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 381: warning: exported type RemoveAuthKeyParam should have comment or be unexported (golint)
    • Line 387: warning: exported method RemoveAuthKeyParam.Serialization should have comment or be unexported (golint)
    • Line 387: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 393: warning: exported method RemoveAuthKeyParam.Deserialization should have comment or be unexported (golint)
    • Line 393: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 412: warning: exported type NewPublicKey should have comment or be unexported (golint)
    • Line 417: warning: exported method NewPublicKey.Serialization should have comment or be unexported (golint)
    • Line 417: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 422: warning: exported method NewPublicKey.Deserialization 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 437: warning: exported type SearchServiceParam should have comment or be unexported (golint)
    • Line 442: warning: exported method SearchServiceParam.Serialization should have comment or be unexported (golint)
    • Line 442: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 447: warning: exported method SearchServiceParam.Deserialization should have comment or be unexported (golint)
    • Line 447: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 462: warning: exported type Document should have comment or be unexported (golint)
    • common/codec.go
    • Line 1: warning: package comment should be of the form "Package common ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 20: warning: exported type Serializable should have comment or be unexported (golint)
    • Line 24: warning: exported function SerializeToBytes should have comment or be unexported (golint)
    • p2pserver/connect_controller/connection.go
    • Line 1: warning: package comment should be of the form "Package connect_controller ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 18: warning: don't use an underscore in package name (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • events/actor_event.go
    • Line 28: warning: exported var DefEvtHub should have comment or be unexported (golint)
    • Line 29: warning: exported var DefPublisherPID should have comment or be unexported (golint)
    • Line 30: warning: exported var DefActorPublisher should have comment or be unexported (golint)
    • Line 33: warning: exported function Init should have comment or be unexported (golint)
    • Line 44: warning: exported function NewActorPublisher should have comment or be unexported (golint)
    • Line 60: warning: exported type ActorPublisher should have comment or be unexported (golint)
    • Line 65: warning: exported method ActorPublisher.Publish should have comment or be unexported (golint)
    • Line 65: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 75: warning: exported method ActorPublisher.PublishEvent should have comment or be unexported (golint)
    • Line 75: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 79: warning: exported type ActorSubscriber should have comment or be unexported (golint)
    • Line 84: warning: exported function NewActorSubscriber should have comment or be unexported (golint)
    • Line 97: warning: exported method ActorSubscriber.Subscribe should have comment or be unexported (golint)
    • Line 97: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 101: warning: exported method ActorSubscriber.Unsubscribe should have comment or be unexported (golint)
    • Line 101: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • cmd/sigsvr/handlers/sig_neovm_invoke_tx_abi.go
    • Line 1: warning: package comment should be of the form "Package handlers ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 31: warning: exported type SigNeoVMInvokeTxAbiReq should have comment or be unexported (golint)
    • Line 41: warning: exported type SigNeoVMInvokeTxAbiRsp should have comment or be unexported (golint)
    • Line 45: warning: exported function SigNeoVMInvokeAbiTx should have comment or be unexported (golint)
    • p2pserver/message/msg_pack/msg_pack.go
    • Line 29: warning: comment on exported function NewAddrs should be of the form "NewAddrs ..." (golint)
    • Line 38: warning: comment on exported function NewAddrReq should be of the form "NewAddrReq ..." (golint)
    • Line 45: warning: comment on exported function NewBlock should be of the form "NewBlock ..." (golint)
    • Line 56: warning: comment on exported function NewHeaders should be of the form "NewHeaders ..." (golint)
    • Line 65: warning: comment on exported function NewHeadersReq should be of the form "NewHeadersReq ..." (golint)
    • Line 75: warning: comment on exported function NewConsensus should be of the form "NewConsensus ..." (golint)
    • Line 84: warning: comment on exported function NewInvPayload should be of the form "NewInvPayload ..." (golint)
    • Line 93: warning: comment on exported function NewInv should be of the form "NewInv ..." (golint)
    • Line 103: warning: comment on exported function NewNotFound should be of the form "NewNotFound ..." (golint)
    • Line 112: warning: comment on exported function NewPingMsg should be of the form "NewPingMsg ..." (golint)
    • Line 121: warning: comment on exported function NewPongMsg should be of the form "NewPongMsg ..." (golint)
    • Line 130: warning: comment on exported function NewTxn should be of the form "NewTxn ..." (golint)
    • Line 139: warning: comment on exported function NewTxnDataReq should be of the form "NewTxnDataReq ..." (golint)
    • Line 149: warning: comment on exported function NewBlkDataReq should be of the form "NewBlkDataReq ..." (golint)
    • Line 159: warning: comment on exported function NewConsensusDataReq should be of the form "NewConsensusDataReq ..." (golint)
    • Line 169: warning: exported function NewFindNodeReq should have comment or be unexported (golint)
    • p2pserver/net/protocol/address_filter.go
    • Line 21: warning: exported type AddressFilter should have comment or be unexported (golint)
    • Line 26: warning: exported function CombineAddrFilter should have comment or be unexported (golint)
    • Line 30: warning: exported function NoneAddrFilter should have comment or be unexported (golint)
    • Line 39: 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 49: warning: exported function AllAddrFilter should have comment or be unexported (golint)
    • Line 55: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • p2pserver/protocols/reconnect/reconnect.go
    • Line 33: warning: exported type ReconnectPeerInfo should have comment or be unexported (golint)
    • Line 38: warning: exported const MaxRetryCountForReserveNode should have comment or be unexported (golint)
    • Line 50: warning: exported function NewReconectService should have comment or be unexported (golint)
    • Line 60: warning: exported method ReconnectService.Start should have comment or be unexported (golint)
    • Line 60: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 64: warning: exported method ReconnectService.Stop should have comment or be unexported (golint)
    • Line 64: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 68: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 81: warning: exported method ReconnectService.OnAddPeer should have comment or be unexported (golint)
    • Line 81: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 88: warning: exported method ReconnectService.OnDelPeer should have comment or be unexported (golint)
    • Line 88: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 99: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 133: warning: exported method ReconnectService.ReconnectCount should have comment or be unexported (golint)
    • Line 133: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/native/ontfs/init.go
    • Line 28: warning: exported function InitFs should have comment or be unexported (golint)
    • Line 32: warning: exported function RegisterFsContract should have comment or be unexported (golint)
    • Line 71: warning: comment on exported function FsSetGlobalParam should be of the form "FsSetGlobalParam ..." (golint)
    • Line 86: warning: exported function FsGetGlobalParam should have comment or be unexported (golint)
    • core/store/ledgerstore/block_store.go
    • Line 34: warning: comment on exported type BlockStore should be of the form "BlockStore ..." (with optional leading article) (golint)
    • Line 67: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 72: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 89: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 107: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 137: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 170: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 186: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 196: warning: exported method BlockStore.GetRawHeader should have comment or be unexported (golint)
    • Line 196: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 207: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 222: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 236: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 258: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 278: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 288: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 319: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 332: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 352: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 359: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 369: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 379: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 409: warning: comment on exported method BlockStore.ContainTransaction should be of the form "ContainTransaction ..." (golint)
    • Line 410: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 429: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 440: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 446: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 460: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 465: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 519: warning: exported method BlockStore.GetBlockPrunedHeight should have comment or be unexported (golint)
    • Line 519: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 536: warning: exported method BlockStore.SaveBlockPrunedHeight should have comment or be unexported (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 544: warning: exported method BlockStore.PruneBlock should have comment or be unexported (golint)
    • Line 544: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • cmd/sigsvr/handlers/sig_mutil_raw_tx.go
    • Line 34: warning: exported type SigMutilRawTransactionReq should have comment or be unexported (golint)
    • Line 40: warning: exported type SigMutilRawTransactionRsp should have comment or be unexported (golint)
    • Line 44: warning: exported function SigMutilRawTransaction should have comment or be unexported (golint)
    • http/base/actor/ledger.go
    • Line 31: warning: exported const REQ_TIMEOUT should have comment (or a comment on this block) or be unexported (golint)
    • Line 92: warning: exported function PreExecuteContractBatch should have comment or be unexported (golint)
    • Line 111: warning: exported function GetCrossChainMsg should have comment or be unexported (golint)
    • Line 115: warning: exported function GetCrossStatesProof should have comment or be unexported (golint)
    • http/nodeinfo/ngbnodeinfo.go
    • Line 23: warning: exported type NgbNodeInfo should have comment or be unexported (golint)
    • Line 32: warning: exported type NgbNodeInfoSlice 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)
    • p2pserver/connect_controller/control_option.go
    • Line 1: warning: package comment should be of the form "Package connect_controller ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 18: warning: don't use an underscore in package name (golint)
    • Line 25: warning: exported type ConnCtrlOption should have comment or be unexported (golint)
    • Line 33: warning: exported function NewConnCtrlOption should have comment or be unexported (golint)
    • Line 43: warning: exported method ConnCtrlOption.MaxOutBound should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 48: warning: exported method ConnCtrlOption.MaxInBound should have comment or be unexported (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 53: warning: exported method ConnCtrlOption.MaxInBoundPerIp 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 58: warning: exported method ConnCtrlOption.ReservedOnly should have comment or be unexported (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 63: warning: exported method ConnCtrlOption.WithDialer should have comment or be unexported (golint)
    • Line 63: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 68: warning: exported function ConnCtrlOptionFromConfig should have comment or be unexported (golint)
    • smartcontract/service/native/cross_chain/lock_proxy/utils.go
    • Line 19: warning: don't use an underscore in package name (golint)
    • Line 36: warning: exported const LOCK_NAME should have comment (or a comment on this block) or be unexported (golint)
    • Line 51: warning: exported function AddLockNotifications should have comment or be unexported (golint)
    • Line 61: warning: exported function AddUnLockNotifications should have comment or be unexported (golint)
    • Line 92: warning: exported function GenBindProxyKey should have comment or be unexported (golint)
    • Line 100: warning: exported function GenBindAssetHashKey should have comment or be unexported (golint)
    • Line 110: warning: exported function GenCrossedLimitKey should have comment or be unexported (golint)
    • Line 120: warning: exported function GenCrossedAmountKey should have comment or be unexported (golint)
    • validator/db/best_block.go
    • Line 26: warning: exported type BestBlock should have comment or be unexported (golint)
    • Line 31: warning: exported type BestStateProvider should have comment or be unexported (golint)
    • smartcontract/service/neovm/header.go
    • Line 30: warning: exported type HeaderValue should have comment or be unexported (golint)
    • Line 36: warning: exported method HeaderValue.ToArray should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • cmd/sigsvr/store/common.go
    • Line 1: warning: package comment should be of the form "Package store ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 23: warning: exported const DEFAULT_WALLET_NAME should have comment (or a comment on this block) or be unexported (golint)
    • Line 29: warning: exported const WALLET_INIT_PREFIX should have comment (or a comment on this block) or be unexported (golint)
    • Line 40: warning: exported function GetWalletInitKey should have comment or be unexported (golint)
    • Line 44: warning: exported function GetWalletNameKey should have comment or be unexported (golint)
    • Line 48: warning: exported function GetWalletVersionKey should have comment or be unexported (golint)
    • Line 52: warning: exported function GetWalletScryptKey should have comment or be unexported (golint)
    • Line 56: warning: exported function GetAccountIndexKey should have comment or be unexported (golint)
    • Line 62: warning: exported function GetNextAccountIndexKey should have comment or be unexported (golint)
    • Line 66: warning: exported function GetAccountKey should have comment or be unexported (golint)
    • Line 70: warning: exported function GetWalletExtraKey should have comment or be unexported (golint)
    • Line 74: warning: exported function GetWalletAccountNumberKey should have comment or be unexported (golint)
    • vm/neovm/types/array_value.go
    • Line 26: warning: exported type ArrayValue should have comment or be unexported (golint)
    • Line 32: warning: exported function NewArrayValue should have comment or be unexported (golint)
    • Line 36: warning: exported method ArrayValue.Append should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 44: warning: exported method ArrayValue.Len 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 48: warning: exported method ArrayValue.RemoveAt should have comment or be unexported (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/neovm/neovm_service.go
    • Line 40: warning: exported var ServiceMapDeprecated should have comment or be unexported (golint)
    • Line 69: warning: comment on exported var ServiceMap should be of the form "ServiceMap ..." (golint)
    • Line 113: warning: exported var ERR_CHECK_STACK_SIZE should have comment or be unexported (golint)
    • Line 122: warning: exported type ServiceHandler should have comment or be unexported (golint)
    • Line 141: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 253: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 283: warning: exported method NeoVmService.GetNeoContract should have comment or be unexported (golint)
    • Line 283: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • account/account.go
    • Line 29: warning: comment on exported type Account should be of the form "Account ..." (with optional leading article) (golint)
    • Line 37: warning: exported function NewAccount should have comment or be unexported (golint)
    • Line 84: warning: exported method Account.PrivKey should have comment or be unexported (golint)
    • Line 84: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 88: warning: exported method Account.PubKey should have comment or be unexported (golint)
    • Line 88: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 92: warning: exported method Account.Scheme should have comment or be unexported (golint)
    • Line 92: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • common/address.go
    • Line 32: warning: exported const ADDR_LEN should have comment or be unexported (golint)
    • Line 34: warning: exported type Address should have comment or be unexported (golint)
    • Line 36: warning: exported var ADDRESS_EMPTY should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 43: warning: comment on exported method Address.Serialization should be of the form "Serialization ..." (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 48: warning: comment on exported method Address.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 81: warning: comment on exported function AddressFromHexString should be of the form "AddressFromHexString ..." (golint)
    • Line 90: warning: exported const MaxBase58AddrLen should have comment or be unexported (golint)
    • Line 125: warning: exported function AddressFromVmCode should have comment or be unexported (golint)
    • http/graphql/scalar.go
    • Line 1: warning: package comment should be of the form "Package graphql ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 29: warning: exported type Uint32 should have comment or be unexported (golint)
    • Line 31: warning: exported method Uint32.ImplementsGraphQLType should have comment or be unexported (golint)
    • Line 35: warning: exported method Uint32.UnmarshalGraphQL should have comment or be unexported (golint)
    • Line 51: warning: exported method Uint32.MarshalJSON should have comment or be unexported (golint)
    • Line 55: warning: exported type Uint64 should have comment or be unexported (golint)
    • Line 57: warning: exported method Uint64.ImplementsGraphQLType should have comment or be unexported (golint)
    • Line 61: warning: exported method Uint64.UnmarshalGraphQL should have comment or be unexported (golint)
    • Line 87: warning: exported method Uint64.MarshalJSON should have comment or be unexported (golint)
    • Line 91: warning: exported type Addr should have comment or be unexported (golint)
    • Line 95: warning: exported method Addr.ImplementsGraphQLType should have comment or be unexported (golint)
    • Line 99: warning: exported method Addr.UnmarshalGraphQL should have comment or be unexported (golint)
    • Line 116: warning: exported method Addr.MarshalJSON should have comment or be unexported (golint)
    • Line 120: warning: exported type H256 should have comment or be unexported (golint)
    • Line 122: warning: exported method H256.ImplementsGraphQLType should have comment or be unexported (golint)
    • Line 126: warning: exported method H256.UnmarshalGraphQL should have comment or be unexported (golint)
    • Line 144: warning: exported method H256.MarshalJSON should have comment or be unexported (golint)
    • Line 149: warning: exported type PubKey should have comment or be unexported (golint)
    • Line 151: warning: exported method PubKey.ImplementsGraphQLType should have comment or be unexported (golint)
    • Line 155: warning: exported method PubKey.UnmarshalGraphQL should have comment or be unexported (golint)
    • Line 169: warning: exported method PubKey.MarshalJSON should have comment or be unexported (golint)
    • core/genesis/genesis.go
    • Line 43: warning: exported const BlockVersion should have comment (or a comment on this block) or be unexported (golint)
    • Line 48: warning: exported var ONTToken should have comment or be unexported (golint)
    • Line 54: warning: exported var GenBlockTime should have comment or be unexported (golint)
    • Line 56: warning: exported var INIT_PARAM should have comment or be unexported (golint)
    • Line 60: warning: exported var GenesisBookkeepers should have comment or be unexported (golint)
    • smartcontract/service/native/ontfs/result_info.go
    • Line 27: warning: exported type RetInfo should have comment or be unexported (golint)
    • Line 32: warning: exported method RetInfo.Serialization should have comment or be unexported (golint)
    • Line 32: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: exported method RetInfo.Deserialization should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 48: warning: exported function EncRet should have comment or be unexported (golint)
    • Line 55: warning: exported function DecRet should have comment or be unexported (golint)
    • wasmtest/wasm-test.go
    • Line 62: warning: exported function NewDeployWasmContract should have comment or be unexported (golint)
    • Line 76: warning: exported function NewDeployNeoContract should have comment or be unexported (golint)
    • Line 90: warning: exported function GenNeoTextCaseTransaction should have comment or be unexported (golint)
    • Line 124: warning: exported function ExactTestCase should have comment or be unexported (golint)
    • Line 169: warning: exported type Item should have comment or be unexported (golint)
    • Line 174: warning: exported function LoadContracts should have comment or be unexported (golint)
    • Line 214: warning: don't use underscores in Go names; var res_jit should be resJit (golint)
    • Line 221: warning: don't use underscores in Go names; var res_inter should be resInter (golint)
    • Line 374: warning: exported type ExecEnv should have comment or be unexported (golint)
    • Line 469: warning: exported function GenAccounts should have comment or be unexported (golint)
    • consensus/vbft/utils.go
    • Line 43: warning: exported function SignMsg should have comment or be unexported (golint)
    • Line 59: warning: exported function HashMsg should have comment or be unexported (golint)
    • Line 129: warning: exported function GetVbftConfigInfo should have comment or be unexported (golint)
    • Line 185: warning: exported function GetPeersConfig should have comment or be unexported (golint)
    • Line 236: warning: exported function GetStorageValue should have comment or be unexported (golint)
    • Line 252: warning: exported function GetGovernanceView should have comment or be unexported (golint)
    • smartcontract/service/neovm/config.go
    • Line 28: warning: comment on exported var MIN_TRANSACTION_GAS should be of the form "MIN_TRANSACTION_GAS ..." (golint)
    • Line 30: warning: exported var BLOCKCHAIN_GETHEADER_GAS should have comment or be unexported (golint)
    • Line 59: warning: comment on exported var ATTRIBUTE_GETUSAGE_NAME should be of the form "ATTRIBUTE_GETUSAGE_NAME ..." (golint)
    • Line 178: warning: don't use underscores in Go names; func initGAS_TABLE should be initGASTABLE (golint)
    • p2pserver/protocols/utils/parker.go
    • Line 23: warning: exported type Parker should have comment or be unexported (golint)
    • Line 27: warning: exported function NewParker should have comment or be unexported (golint)
    • Line 32: warning: exported method Parker.ParkTimeout should have comment or be unexported (golint)
    • Line 32: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: exported method Parker.Unpark should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • vm/neovm/utils/vm_reader.go
    • Line 27: warning: exported type VmReader should have comment or be unexported (golint)
    • Line 33: warning: exported function NewVmReader should have comment or be unexported (golint)
    • Line 40: warning: exported method VmReader.ReadByte should have comment or be unexported (golint)
    • Line 45: warning: exported method VmReader.ReadBytes should have comment or be unexported (golint)
    • Line 64: warning: exported method VmReader.ReadBytesInto should have comment or be unexported (golint)
    • Line 72: warning: exported method VmReader.ReadUint16 should have comment or be unexported (golint)
    • Line 81: warning: exported method VmReader.ReadUint32 should have comment or be unexported (golint)
    • Line 90: warning: exported method VmReader.ReadUint64 should have comment or be unexported (golint)
    • Line 99: warning: exported method VmReader.ReadInt16 should have comment or be unexported (golint)
    • Line 104: warning: exported method VmReader.ReadInt32 should have comment or be unexported (golint)
    • Line 109: warning: exported method VmReader.Position should have comment or be unexported (golint)
    • Line 113: warning: exported method VmReader.Length should have comment or be unexported (golint)
    • Line 117: warning: exported method VmReader.Seek should have comment or be unexported (golint)
    • Line 121: warning: exported method VmReader.ReadVarBytes should have comment or be unexported (golint)
    • Line 129: warning: exported method VmReader.ReadVarInt should have comment or be unexported (golint)
    • Line 159: warning: exported method VmReader.ReadVarString should have comment or be unexported (golint)
    • consensus/vbft/block_pool.go
    • Line 34: warning: exported type BlockList should have comment or be unexported (golint)
    • Line 40: warning: exported type CandidateEndorseSigInfo should have comment or be unexported (golint)
    • Line 47: warning: exported type CandidateInfo should have comment or be unexported (golint)
    • Line 69: warning: exported type BlockPool should have comment or be unexported (golint)
    • Line 247: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 810: warning: exported method BlockPool.ReloadFromLedger should have comment or be unexported (golint)
    • p2pserver/protocols/utils/govnode_resolver.go
    • Line 38: warning: exported const GovNodeCacheTime should have comment or be unexported (golint)
    • Line 40: warning: exported type GovNodeResolver should have comment or be unexported (golint)
    • Line 45: warning: exported type GovNodeMockResolver should have comment or be unexported (golint)
    • Line 49: warning: exported function NewGovNodeMockResolver should have comment or be unexported (golint)
    • Line 58: warning: exported method GovNodeMockResolver.IsGovNode should have comment or be unexported (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 64: warning: exported method GovNodeMockResolver.IsGovNodePubKey should have comment or be unexported (golint)
    • Line 64: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 71: warning: exported type GovNodeLedgerResolver should have comment or be unexported (golint)
    • Line 77: warning: exported type GovCache should have comment or be unexported (golint)
    • Line 84: warning: exported function NewGovNodeResolver should have comment or be unexported (golint)
    • Line 91: warning: exported method GovNodeLedgerResolver.IsGovNodePubKey should have comment or be unexported (golint)
    • Line 91: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 96: warning: exported method GovNodeLedgerResolver.IsGovNode 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 136: warning: exported function GetGovernanceView should have comment or be unexported (golint)
    • Line 149: warning: exported function GetPeersConfig should have comment or be unexported (golint)
    • http/nodeinfo/server.go
    • Line 35: warning: exported type Info should have comment or be unexported (golint)
    • Line 50: warning: exported const VERIFYNODE should have comment (or a comment on this block) or be unexported (golint)
    • Line 114: warning: exported function StartServer should have comment or be unexported (golint)
    • p2pserver/protocols/bootstrap/bootstrap.go
    • Line 1: warning: package comment should be of the form "Package bootstrap ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 35: warning: exported type BootstrapService should have comment or be unexported (golint)
    • Line 42: warning: exported function NewBootstrapService should have comment or be unexported (golint)
    • Line 50: warning: exported method BootstrapService.Start should have comment or be unexported (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 54: warning: exported method BootstrapService.Stop 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 58: warning: exported method BootstrapService.OnAddPeer should have comment or be unexported (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 62: warning: exported method BootstrapService.OnDelPeer should have comment or be unexported (golint)
    • Line 62: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 67: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 88: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 127: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • cmd/sigsvr/handlers/sig_data.go
    • Line 1: warning: package comment should be of the form "Package handlers ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 29: warning: exported type SigDataReq should have comment or be unexported (golint)
    • Line 33: warning: exported type SigDataRsp should have comment or be unexported (golint)
    • Line 37: warning: exported function SigData should have comment or be unexported (golint)
    • core/store/ledgerstore/cross_chain_store.go
    • Line 1: warning: package comment should be of the form "Package ledgerstore ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 32: warning: exported const DBDirCrossChain should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: comment on exported type CrossChainStore should be of the form "CrossChainStore ..." (with optional leading article) (golint)
    • Line 54: warning: exported method CrossChainStore.SaveMsgToCrossChainStore 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 64: warning: exported method CrossChainStore.GetCrossChainMsg should have comment or be unexported (golint)
    • Line 64: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 81: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • p2pserver/mock/subnet_test.go
    • Line 201: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 205: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 209: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 219: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 225: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 244: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • p2pserver/message/types/inventory.go
    • Line 28: warning: exported var LastInvHash should have comment or be unexported (golint)
    • Line 30: warning: exported type InvPayload should have comment or be unexported (golint)
    • Line 35: warning: exported type Inv should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 43: warning: exported method Inv.CmdType should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 47: warning: comment on exported method Inv.Serialization should be of the form "Serialization ..." (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 58: warning: comment on exported method Inv.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 59: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • p2pserver/message/types/subnet.go
    • Line 33: warning: exported type SubnetMembersRequest should have comment or be unexported (golint)
    • Line 41: warning: exported type SubnetMembers 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 51: warning: exported type MemberInfo should have comment or be unexported (golint)
    • Line 56: warning: exported function NewMembersRequestFromSeed should have comment or be unexported (golint)
    • Line 60: warning: exported method SubnetMembersRequest.FromSeed should have comment or be unexported (golint)
    • Line 60: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 64: warning: exported method SubnetMembersRequest.Role should have comment or be unexported (golint)
    • Line 64: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 72: warning: exported function NewMembersRequest should have comment or be unexported (golint)
    • Line 88: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 96: warning: comment on exported method SubnetMembersRequest.Serialization should be of the form "Serialization ..." (golint)
    • Line 97: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 107: warning: exported method SubnetMembersRequest.CmdType should have comment or be unexported (golint)
    • Line 107: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 111: warning: comment on exported method SubnetMembersRequest.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 112: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 153: warning: exported method SubnetMembers.Serialization should have comment or be unexported (golint)
    • Line 153: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 161: warning: exported method SubnetMembers.CmdType should have comment or be unexported (golint)
    • Line 161: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 165: warning: comment on exported method SubnetMembers.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 166: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • vm/neovm/params.go
    • Line 22: warning: exported const STACK_LIMIT should have comment (or a comment on this block) or be unexported (golint)
    • vm/neovm/executor.go
    • Line 35: warning: exported type VmFeatureFlag should have comment or be unexported (golint)
    • Line 40: warning: exported function NewExecutor should have comment or be unexported (golint)
    • Line 51: warning: exported type Executor should have comment or be unexported (golint)
    • Line 60: warning: exported method Executor.PopContext should have comment or be unexported (golint)
    • Line 60: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 70: warning: exported method Executor.PushContext should have comment or be unexported (golint)
    • Line 70: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 78: warning: exported method Executor.Execute should have comment or be unexported (golint)
    • Line 78: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 102: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 113: warning: exported method Executor.ExecuteOp should have comment or be unexported (golint)
    • Line 113: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • http/base/actor/event.go
    • Line 27: warning: exported type EventActor should have comment or be unexported (golint)
    • Line 32: warning: comment on exported method EventActor.Receive should be of the form "Receive ..." (golint)
    • Line 43: warning: comment on exported function SubscribeEvent should be of the form "SubscribeEvent ..." (golint)
    • http/base/actor/consensus.go
    • Line 28: warning: exported function SetConsensusPid should have comment or be unexported (golint)
    • Line 32: warning: comment on exported function ConsensusSrvStart should be of the form "ConsensusSrvStart ..." (golint)
    • Line 40: warning: comment on exported function ConsensusSrvHalt should be of the form "ConsensusSrvHalt ..." (golint)
    • smartcontract/service/native/global_params/states.go
    • Line 19: warning: don't use an underscore in package name (golint)
    • Line 29: warning: exported type Param should have comment or be unexported (golint)
    • Line 34: warning: exported type Params should have comment or be unexported (golint)
    • Line 36: warning: exported type ParamNameList should have comment or be unexported (golint)
    • Line 38: warning: exported method Params.SetParam should have comment or be unexported (golint)
    • Line 48: warning: exported method Params.GetParam should have comment or be unexported (golint)
    • Line 57: warning: exported method Params.Serialization should have comment or be unexported (golint)
    • Line 65: warning: exported method Params.Deserialization should have comment or be unexported (golint)
    • Line 86: warning: exported method ParamNameList.Serialization should have comment or be unexported (golint)
    • Line 94: warning: exported method ParamNameList.Deserialization should have comment or be unexported (golint)
    • consensus/vbft/types.go
    • Line 31: warning: exported type Block should have comment or be unexported (golint)
    • Line 74: warning: exported method Block.Serialize should have comment or be unexported (golint)
    • Line 90: warning: exported method Block.Deserialize should have comment or be unexported (golint)
    • cmd/sigsvr/httpsvr.go
    • Line 31: warning: exported var DefCliRpcSvr should have comment or be unexported (golint)
    • Line 33: warning: exported type CliRpcServer should have comment or be unexported (golint)
    • Line 41: warning: exported function NewCliRpcServer should have comment or be unexported (golint)
    • Line 47: warning: exported method CliRpcServer.Start 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)
    • Line 65: warning: exported method CliRpcServer.RegHandler should have comment or be unexported (golint)
    • Line 65: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 69: warning: exported method CliRpcServer.GetHandler should have comment or be unexported (golint)
    • Line 69: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 77: warning: exported method CliRpcServer.Handler should have comment or be unexported (golint)
    • Line 77: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 140: warning: exported method CliRpcServer.Close should have comment or be unexported (golint)
    • Line 140: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • http/websocket/server.go
    • Line 38: warning: exported function StartServer should have comment or be unexported (golint)
    • Line 54: warning: exported function Stop should have comment or be unexported (golint)
    • Line 60: warning: exported function ReStartServer should have comment or be unexported (golint)
    • smartcontract/service/native/ontfs/file_read_pledge.go
    • Line 28: warning: exported type ReadPlan should have comment or be unexported (golint)
    • Line 35: warning: exported type ReadPledge should have comment or be unexported (golint)
    • Line 42: warning: exported method ReadPlan.Serialization should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 49: warning: exported method ReadPlan.Deserialization should have comment or be unexported (golint)
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 70: warning: exported method ReadPledge.Serialization should have comment or be unexported (golint)
    • Line 70: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 85: warning: exported method ReadPledge.Deserialization should have comment or be unexported (golint)
    • Line 85: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/wasmvm/runtime.go
    • Line 1: warning: package comment should be of the form "Package wasmvm ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 43: warning: exported type ContractType should have comment or be unexported (golint)
    • Line 46: warning: exported const NATIVE_CONTRACT should have comment (or a comment on this block) or be unexported (golint)
    • Line 52: warning: exported type Runtime should have comment or be unexported (golint)
    • Line 59: warning: exported function Timestamp should have comment or be unexported (golint)
    • Line 65: warning: exported function BlockHeight should have comment or be unexported (golint)
    • Line 71: warning: exported function SelfAddress should have comment or be unexported (golint)
    • Line 81: warning: exported function Sha256 should have comment or be unexported (golint)
    • Line 101: warning: exported function CallerAddress should have comment or be unexported (golint)
    • Line 119: warning: exported function EntryAddress should have comment or be unexported (golint)
    • Line 129: warning: exported function Checkwitness should have comment or be unexported (golint)
    • Line 149: warning: exported function Ret should have comment or be unexported (golint)
    • Line 160: warning: exported function Debug should have comment or be unexported (golint)
    • Line 184: warning: exported function Notify should have comment or be unexported (golint)
    • Line 197: warning: exported function InputLength should have comment or be unexported (golint)
    • Line 202: warning: exported function GetInput should have comment or be unexported (golint)
    • Line 210: warning: exported function CallOutputLength should have comment or be unexported (golint)
    • Line 215: warning: exported function GetCallOut should have comment or be unexported (golint)
    • Line 223: warning: exported function GetCurrentTxHash should have comment or be unexported (golint)
    • Line 237: warning: exported function RaiseException should have comment or be unexported (golint)
    • Line 247: warning: exported function CallContract should have comment or be unexported (golint)
    • Line 270: warning: exported function NewHostModule should have comment or be unexported (golint)
    • Line 615: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 629: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • core/states/storage_key.go
    • Line 27: warning: exported type StorageKey should have comment or be unexported (golint)
    • Line 32: warning: exported method StorageKey.Serialization should have comment or be unexported (golint)
    • Line 32: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: exported method StorageKey.Deserialization should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 52: warning: exported method StorageKey.ToArray should have comment or be unexported (golint)
    • Line 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/native/ong/ong.go
    • Line 33: warning: exported function InitOng should have comment or be unexported (golint)
    • Line 37: warning: exported function RegisterOngContract should have comment or be unexported (golint)
    • Line 51: warning: exported function OngInit should have comment or be unexported (golint)
    • Line 69: warning: exported function OngTransfer should have comment or be unexported (golint)
    • Line 91: warning: exported function OngApprove should have comment or be unexported (golint)
    • Line 108: warning: exported function OngTransferFrom should have comment or be unexported (golint)
    • Line 128: warning: exported function OngName should have comment or be unexported (golint)
    • Line 132: warning: exported function OngDecimals should have comment or be unexported (golint)
    • Line 136: warning: exported function OngSymbol should have comment or be unexported (golint)
    • Line 140: warning: exported function OngTotalSupply should have comment or be unexported (golint)
    • Line 149: warning: exported function OngBalanceOf should have comment or be unexported (golint)
    • Line 153: warning: exported function OngAllowance should have comment or be unexported (golint)
    • Line 157: warning: exported function OngTotalAllowance should have comment or be unexported (golint)
    • smartcontract/service/neovm/wasmvm.go
    • Line 1: warning: package comment should be of the form "Package neovm ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 32: warning: comment on exported function WASMInvoke should be of the form "WASMInvoke ..." (golint)
    • cmd/sig_tx_cmd.go
    • Line 1: warning: package comment should be of the form "Package cmd ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 34: warning: exported var MultiSigAddrCommand should have comment or be unexported (golint)
    • Line 45: warning: exported var MultiSigTxCommand should have comment or be unexported (golint)
    • Line 62: warning: exported var SigTxCommand should have comment or be unexported (golint)
    • core/store/ledgerstore/ledger_store.go
    • Line 1: warning: package comment should be of the form "Package ledgerstore ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 61: warning: exported const SYSTEM_VERSION should have comment (or a comment on this block) or be unexported (golint)
    • Line 66: warning: comment on exported var DBDirEvent should be of the form "DBDirEvent ..." (golint)
    • Line 68: warning: exported var DBDirBlock should have comment or be unexported (golint)
    • Line 73: warning: exported type PrexecuteParam 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 242: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 250: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 254: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 270: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 281: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 305: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 344: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 350: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 362: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 373: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 383: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 392: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 399: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 406: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 412: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 418: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 424: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 434: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 530: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 551: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 567: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 581: warning: exported method LedgerStoreImp.GetStateMerkleRoot should have comment or be unexported (golint)
    • Line 581: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 585: warning: exported method LedgerStoreImp.ExecuteBlock should have comment or be unexported (golint)
    • Line 585: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 604: warning: exported method LedgerStoreImp.SubmitBlock should have comment or be unexported (golint)
    • Line 604: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 653: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 693: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 714: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 811: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 854: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 868: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 877: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 881: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 892: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 919: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 971: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1000: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1027: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1052: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1057: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1062: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1081: warning: exported method LedgerStoreImp.GetCrossStatesRoot should have comment or be unexported (golint)
    • Line 1081: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1085: warning: exported method LedgerStoreImp.GetCrossChainMsg should have comment or be unexported (golint)
    • Line 1085: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1089: warning: exported method LedgerStoreImp.GetCrossStatesProof should have comment or be unexported (golint)
    • Line 1089: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1106: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1111: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1119: warning: exported method LedgerStoreImp.GetRawHeaderByHash should have comment or be unexported (golint)
    • Line 1119: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1127: warning: comment on exported method LedgerStoreImp.GetHeaderByHeight should be of the form "GetHeaderByHeight ..." (golint)
    • Line 1128: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1134: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1139: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1144: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1149: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1159: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1164: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1169: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1174: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1179: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1184: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1188: warning: comment on exported method LedgerStoreImp.PreExecuteContractBatch should be of the form "PreExecuteContractBatch ..." (golint)
    • Line 1189: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1208: warning: comment on exported method LedgerStoreImp.PreExecuteContractWithParam should be of the form "PreExecuteContractWithParam ..." (golint)
    • Line 1209: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1310: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1321: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1345: warning: exported method LedgerStoreImp.EnableBlockPrune should have comment or be unexported (golint)
    • Line 1345: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 1355: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • p2pserver/protocols/subnet/address_filter.go
    • Line 23: warning: exported type SubNetReservedAddrFilter should have comment or be unexported (golint)
    • Line 28: warning: exported method SubNetReservedAddrFilter.Contains should have comment or be unexported (golint)
    • Line 28: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 48: warning: exported type SubNetMaskAddrFilter should have comment or be unexported (golint)
    • Line 52: warning: exported method SubNetMaskAddrFilter.Contains should have comment or be unexported (golint)
    • Line 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • vm/neovm/execution_context.go
    • Line 27: warning: exported type ExecutionContext should have comment or be unexported (golint)
    • Line 34: warning: exported function NewExecutionContext should have comment or be unexported (golint)
    • Line 45: warning: exported method ExecutionContext.GetInstructionPointer should have comment or be unexported (golint)
    • Line 49: warning: exported method ExecutionContext.SetInstructionPointer should have comment or be unexported (golint)
    • Line 54: warning: exported method ExecutionContext.NextInstruction should have comment or be unexported (golint)
    • Line 58: warning: exported method ExecutionContext.ReadOpCode should have comment or be unexported (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 68: warning: exported method ExecutionContext.Clone should have comment or be unexported (golint)
    • common/uint256.go
    • Line 28: warning: exported const UINT16_SIZE should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported type Uint256 should have comment or be unexported (golint)
    • Line 36: warning: exported var UINT256_EMPTY should have comment or be unexported (golint)
    • Line 38: warning: exported method Uint256.ToArray should have comment or be unexported (golint)
    • Line 47: warning: exported method Uint256.ToHexString should have comment or be unexported (golint)
    • Line 51: warning: exported method Uint256.Serialize should have comment or be unexported (golint)
    • Line 56: warning: exported method Uint256.Deserialize should have comment or be unexported (golint)
    • Line 64: warning: exported function Uint256ParseFromBytes should have comment or be unexported (golint)
    • Line 74: warning: exported function Uint256FromHexString should have comment or be unexported (golint)
    • validator/db/key_prefix.go
    • Line 27: warning: comment on exported type KeyPrefix should be of the form "KeyPrefix ..." (with optional leading article) (golint)
    • Line 31: warning: comment on exported const SYS_VERSION should be of the form "SYS_VERSION ..." (golint)
    • Line 33: warning: exported const SYS_GENESIS_BLOCK should have comment (or a comment on this block) or be unexported (golint)
    • Line 38: warning: comment on exported const DATA_TRANSACTION should be of the form "DATA_TRANSACTION ..." (golint)
    • Line 44: warning: exported function GenGenesisBlockKey should have comment or be unexported (golint)
    • Line 50: warning: exported function GenBestBlockHeaderKey should have comment or be unexported (golint)
    • Line 56: warning: exported function GenDataTransactionKey should have comment or be unexported (golint)
    • events/message/message.go
    • Line 26: warning: exported const TOPIC_SAVE_BLOCK_COMPLETE should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: exported type SaveBlockCompleteMsg should have comment or be unexported (golint)
    • Line 34: warning: exported type SmartCodeEventMsg should have comment or be unexported (golint)
    • Line 38: warning: exported type BlockConsensusComplete should have comment or be unexported (golint)
    • cmd/utils/neovm_param_abi.go
    • Line 1: warning: package comment should be of the form "Package utils ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 30: warning: exported function NewNeovmContractAbi should have comment or be unexported (golint)
    • Line 39: warning: exported function ParseNeovmFunc should have comment or be unexported (golint)
    • Line 61: warning: exported function ParseNeovmParam should have comment or be unexported (golint)
    • Line 91: warning: exported function ParseNeovmParamString should have comment or be unexported (golint)
    • Line 95: warning: exported function ParseNeovmParamInteger should have comment or be unexported (golint)
    • Line 106: warning: exported function ParseNeovmParamBoolean should have comment or be unexported (golint)
    • Line 119: warning: exported function ParseNeovmParamByteArray should have comment or be unexported (golint)
    • smartcontract/errors/errors.go
    • Line 24: warning: error var ERR_ASSET_NAME_INVALID should have name of the form ErrFoo (golint)
    • Line 24: warning: exported var ERR_ASSET_NAME_INVALID should have comment or be unexported (golint)
    • Line 25: warning: error var ERR_ASSET_PRECISION_INVALID should have name of the form ErrFoo (golint)
    • Line 26: warning: error var ERR_ASSET_AMOUNT_INVALID should have name of the form ErrFoo (golint)
    • Line 27: warning: error var ERR_ASSET_CHECK_OWNER_INVALID should have name of the form ErrFoo (golint)
    • smartcontract/service/native/auth/param.go
    • Line 30: warning: comment on exported type InitContractAdminParam should be of the form "InitContractAdminParam ..." (with optional leading article) (golint)
    • Line 35: warning: exported method InitContractAdminParam.Serialization should have comment or be unexported (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: exported method InitContractAdminParam.Deserialization should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 51: warning: comment on exported type TransferParam should be of the form "TransferParam ..." (with optional leading article) (golint)
    • Line 58: warning: exported method TransferParam.Serialization should have comment or be unexported (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 64: warning: exported method TransferParam.Deserialization should have comment or be unexported (golint)
    • Line 64: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 79: warning: comment on exported type FuncsToRoleParam should be of the form "FuncsToRoleParam ..." (with optional leading article) (golint)
    • Line 88: warning: exported method FuncsToRoleParam.Serialization should have comment or be unexported (golint)
    • Line 88: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 99: warning: exported method FuncsToRoleParam.Deserialization should have comment or be unexported (golint)
    • Line 99: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 130: warning: exported type OntIDsToRoleParam should have comment or be unexported (golint)
    • Line 138: warning: exported method OntIDsToRoleParam.Serialization should have comment or be unexported (golint)
    • Line 138: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 150: warning: exported method OntIDsToRoleParam.Deserialization should have comment or be unexported (golint)
    • Line 150: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 179: warning: exported type DelegateParam should have comment or be unexported (golint)
    • Line 189: warning: exported method DelegateParam.Serialization should have comment or be unexported (golint)
    • Line 189: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 199: warning: exported method DelegateParam.Deserialization should have comment or be unexported (golint)
    • Line 199: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 230: warning: exported type WithdrawParam should have comment or be unexported (golint)
    • Line 238: warning: exported method WithdrawParam.Serialization should have comment or be unexported (golint)
    • Line 238: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 245: warning: exported method WithdrawParam.Deserialization should have comment or be unexported (golint)
    • Line 245: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 265: warning: exported type VerifyTokenParam should have comment or be unexported (golint)
    • Line 272: warning: exported method VerifyTokenParam.Serialization should have comment or be unexported (golint)
    • Line 272: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 279: warning: exported method VerifyTokenParam.Deserialization should have comment or be unexported (golint)
    • Line 279: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/native/ont/ont.go
    • Line 38: warning: exported const TRANSFER_FLAG should have comment (or a comment on this block) or be unexported (golint)
    • Line 42: warning: exported function InitOnt should have comment or be unexported (golint)
    • Line 46: warning: exported function RegisterOntContract should have comment or be unexported (golint)
    • Line 61: warning: exported function OntInit should have comment or be unexported (golint)
    • Line 118: warning: exported function OntTransfer should have comment or be unexported (golint)
    • Line 150: warning: exported function OntTransferFrom should have comment or be unexported (golint)
    • Line 177: warning: exported function OntApprove should have comment or be unexported (golint)
    • Line 194: warning: exported function OntName should have comment or be unexported (golint)
    • Line 198: warning: exported function OntDecimals should have comment or be unexported (golint)
    • Line 202: warning: exported function OntSymbol should have comment or be unexported (golint)
    • Line 206: warning: exported function OntTotalSupply should have comment or be unexported (golint)
    • Line 215: warning: exported function OntBalanceOf should have comment or be unexported (golint)
    • Line 219: warning: exported function OntAllowance should have comment or be unexported (golint)
    • Line 223: warning: exported function GetBalanceValue should have comment or be unexported (golint)
    • Line 247: warning: exported function OntTotalAllowance should have comment or be unexported (golint)
    • Line 251: warning: exported function TotalAllowance should have comment or be unexported (golint)
    • Line 280: warning: exported function UnboundOngToGovernance should have comment or be unexported (golint)
    • smartcontract/service/native/ontfs/file_renew.go
    • Line 26: warning: exported type FileReNew should have comment or be unexported (golint)
    • Line 33: warning: exported type FileReNewList should have comment or be unexported (golint)
    • Line 37: warning: exported method FileReNew.Serialization should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 44: warning: exported method FileReNew.Deserialization 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 65: warning: exported method FileReNewList.Serialization should have comment or be unexported (golint)
    • Line 65: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 76: warning: exported method FileReNewList.Deserialization should have comment or be unexported (golint)
    • Line 76: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/native/ontfs/node_info.go
    • Line 28: warning: exported type FsNodeInfo should have comment or be unexported (golint)
    • Line 38: warning: exported type FsNodeInfoList should have comment or be unexported (golint)
    • Line 42: warning: exported method FsNodeInfo.Serialization should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 52: warning: exported method FsNodeInfo.Deserialization should have comment or be unexported (golint)
    • Line 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 85: warning: exported method FsNodeInfoList.Serialization should have comment or be unexported (golint)
    • Line 85: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 99: warning: exported method FsNodeInfoList.Deserialization should have comment or be unexported (golint)
    • Line 99: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • common/log/log.go
    • Line 39: warning: exported const Blue should have comment (or a comment on this block) or be unexported (golint)
    • Line 47: warning: exported function Color should have comment or be unexported (golint)
    • Line 52: warning: exported const TraceLog should have comment (or a comment on this block) or be unexported (golint)
    • Line 70: warning: exported var Stdout should have comment or be unexported (golint)
    • Line 75: warning: exported const NAME_PREFIX should have comment (or a comment on this block) or be unexported (golint)
    • Line 81: warning: exported function GetGID should have comment or be unexported (golint)
    • Line 92: warning: exported function Log should have comment or be unexported (golint)
    • Line 109: warning: exported function LevelName should have comment or be unexported (golint)
    • Line 116: warning: exported type Logger should have comment or be unexported (golint)
    • Line 122: warning: exported function New should have comment or be unexported (golint)
    • Line 130: warning: exported method Logger.SetDebugLevel should have comment or be unexported (golint)
    • Line 139: warning: exported method Logger.Output should have comment or be unexported (golint)
    • Line 152: warning: exported method Logger.Outputf should have comment or be unexported (golint)
    • Line 163: warning: exported method Logger.Trace should have comment or be unexported (golint)
    • Line 167: warning: exported method Logger.Tracef should have comment or be unexported (golint)
    • Line 171: warning: exported method Logger.Debug should have comment or be unexported (golint)
    • Line 175: warning: exported method Logger.Debugf should have comment or be unexported (golint)
    • Line 179: warning: exported method Logger.Info should have comment or be unexported (golint)
    • Line 183: warning: exported method Logger.Infof should have comment or be unexported (golint)
    • Line 187: warning: exported method Logger.Warn should have comment or be unexported (golint)
    • Line 191: warning: exported method Logger.Warnf should have comment or be unexported (golint)
    • Line 199: warning: exported method Logger.Errorf should have comment or be unexported (golint)
    • Line 203: warning: exported method Logger.Fatal should have comment or be unexported (golint)
    • Line 207: warning: exported method Logger.Fatalf should have comment or be unexported (golint)
    • Line 211: warning: exported function Trace should have comment or be unexported (golint)
    • Line 231: warning: exported function Tracef should have comment or be unexported (golint)
    • Line 251: warning: exported function Debug should have comment or be unexported (golint)
    • Line 267: warning: exported function Debugf should have comment or be unexported (golint)
    • Line 283: warning: exported function Info should have comment or be unexported (golint)
    • Line 287: warning: exported function Warn should have comment or be unexported (golint)
    • Line 291: warning: exported function Error should have comment or be unexported (golint)
    • Line 295: warning: exported function Fatal should have comment or be unexported (golint)
    • Line 299: warning: exported function Infof should have comment or be unexported (golint)
    • Line 303: warning: exported function Warnf should have comment or be unexported (golint)
    • Line 307: warning: exported function Errorf should have comment or be unexported (golint)
    • Line 311: warning: exported function Fatalf should have comment or be unexported (golint)
    • Line 315: warning: comment on exported var Test should be of the form "Test ..." (golint)
    • Line 317: warning: exported var Testf should have comment or be unexported (golint)
    • Line 319: warning: exported function FileOpen should have comment or be unexported (golint)
    • Line 382: warning: exported function InitLog should have comment or be unexported (golint)
    • Line 391: warning: exported function GetLogFileSize should have comment or be unexported (golint)
    • Line 399: warning: exported function GetMaxLogChangeInterval should have comment or be unexported (golint)
    • Line 402: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 415: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 420: warning: exported function ClosePrintLog should have comment or be unexported (golint)
    • Line 428: warning: exported function CheckRotateLogFile should have comment or be unexported (golint)
    • core/program/program.go
    • Line 34: warning: exported type ProgramBuilder should have comment or be unexported (golint)
    • Line 38: warning: exported method ProgramBuilder.PushOpCode should have comment or be unexported (golint)
    • Line 38: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 43: warning: exported method ProgramBuilder.PushPubKey should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 48: warning: exported method ProgramBuilder.PushNum should have comment or be unexported (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 59: warning: exported method ProgramBuilder.PushBytes should have comment or be unexported (golint)
    • Line 59: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 81: warning: exported method ProgramBuilder.Finish should have comment or be unexported (golint)
    • Line 81: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 85: warning: exported function NewProgramBuilder should have comment or be unexported (golint)
    • Line 89: warning: exported function ProgramFromPubKey should have comment or be unexported (golint)
    • Line 95: warning: exported function EncodeSinglePubKeyProgramInto should have comment or be unexported (golint)
    • Line 101: warning: exported function EncodeMultiPubKeyProgramInto should have comment or be unexported (golint)
    • Line 121: warning: exported function ProgramFromMultiPubKey should have comment or be unexported (golint)
    • Line 127: warning: exported function ProgramFromParams should have comment or be unexported (golint)
    • Line 136: warning: exported function EncodeParamProgramInto should have comment or be unexported (golint)
    • Line 143: warning: exported type ProgramInfo 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 164: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 172: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 179: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 183: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 250: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 260: warning: exported function GetProgramInfo should have comment or be unexported (golint)
    • Line 354: warning: comment on exported function GetParamInfo should be of the form "GetParamInfo ..." (golint)
    • p2pserver/connect_controller/connect_controller_test.go
    • Line 18: warning: don't use an underscore in package name (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 64: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • p2pserver/message/types/notfound.go
    • Line 28: warning: exported type NotFound should have comment or be unexported (golint)
    • Line 32: warning: comment on exported method NotFound.Serialization should be of the form "Serialization ..." (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: exported method NotFound.CmdType should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 41: warning: comment on exported method NotFound.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/wasmvm/utils.go
    • Line 1: warning: package comment should be of the form "Package wasmvm ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 31: warning: exported function ReadWasmMemory should have comment or be unexported (golint)
    • Line 83: warning: exported function ReadWasmModule should have comment or be unexported (golint)
    • p2pserver/dht/dht.go
    • Line 29: warning: comment on exported var PoolSize should be of the form "PoolSize ..." (golint)
    • Line 32: warning: comment on exported var KValue should be of the form "KValue ..." (golint)
    • Line 35: warning: comment on exported var AlphaValue should be of the form "AlphaValue ..." (golint)
    • Line 38: warning: exported type DHT should have comment or be unexported (golint)
    • Line 81: warning: exported method DHT.Contains should have comment or be unexported (golint)
    • Line 86: warning: exported method DHT.Remove should have comment or be unexported (golint)
    • Line 90: warning: exported method DHT.BetterPeers should have comment or be unexported (golint)
    • cmd/utils/ont.go
    • Line 49: warning: exported const VERSION_TRANSACTION should have comment (or a comment on this block) or be unexported (golint)
    • Line 64: warning: comment on exported function GetBalance should be of the form "GetBalance ..." (golint)
    • Line 82: warning: exported function GetAccountBalance should have comment or be unexported (golint)
    • Line 102: warning: exported function GetAllowance should have comment or be unexported (golint)
    • Line 136: warning: exported function TransferFrom should have comment or be unexported (golint)
    • Line 157: warning: exported function Approve should have comment or be unexported (golint)
    • Line 177: warning: exported function ApproveTx should have comment or be unexported (golint)
    • Line 211: warning: exported function TransferTx should have comment or be unexported (golint)
    • Line 246: warning: exported function TransferFromTx should have comment or be unexported (golint)
    • Line 301: warning: exported function SignTransaction should have comment or be unexported (golint)
    • Line 332: warning: exported function MultiSigTransaction should have comment or be unexported (golint)
    • Line 443: warning: exported function SendRawTransactionData should have comment or be unexported (golint)
    • Line 456: warning: exported function PrepareSendRawTransaction should have comment or be unexported (golint)
    • Line 487: warning: exported function GetSmartContractEventInfo should have comment or be unexported (golint)
    • Line 499: warning: exported function GetRawTransaction should have comment or be unexported (golint)
    • Line 511: warning: exported function GetBlock should have comment or be unexported (golint)
    • Line 523: warning: exported function GetNetworkId should have comment or be unexported (golint)
    • Line 536: warning: exported function GetBlockData should have comment or be unexported (golint)
    • Line 557: warning: exported function GetCrossChainMsg should have comment or be unexported (golint)
    • Line 578: warning: exported function GetBlockCount should have comment or be unexported (golint)
    • Line 591: warning: exported function GetTxHeight should have comment or be unexported (golint)
    • Line 608: warning: exported function DeployContract should have comment or be unexported (golint)
    • Line 644: warning: exported function PrepareDeployContract should have comment or be unexported (golint)
    • Line 668: warning: comment on exported function InvokeNeoVMContract should be of the form "InvokeNeoVMContract ..." (golint)
    • Line 682: warning: comment on exported function InvokeWasmVMContract should be of the form "InvokeWasmVMContract ..." (golint)
    • Line 713: warning: exported function PrepareInvokeNeoVMContract should have comment or be unexported (golint)
    • Line 731: warning: exported function PrepareInvokeCodeNeoVMContract should have comment or be unexported (golint)
    • Line 744: warning: comment on exported function PrepareInvokeWasmVMContract should be of the form "PrepareInvokeWasmVMContract ..." (golint)
    • Line 760: warning: exported function PrepareInvokeNativeContract should have comment or be unexported (golint)
    • Line 825: warning: exported function ParseWasmVMContractReturnTypeByteArray should have comment or be unexported (golint)
    • p2pserver/common/id.go
    • Line 38: warning: exported var Difficulty should have comment or be unexported (golint)
    • Line 40: warning: exported type PeerId should have comment or be unexported (golint)
    • Line 44: warning: exported type PeerIDAddressPair should have comment or be unexported (golint)
    • Line 49: warning: exported method PeerId.IsEmpty should have comment or be unexported (golint)
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 53: warning: exported method PeerId.Serialization 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 57: warning: exported method PeerId.Deserialization should have comment or be unexported (golint)
    • Line 57: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 66: warning: exported method PeerId.ToHexString should have comment or be unexported (golint)
    • Line 66: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 70: warning: exported type PeerKeyId should have comment or be unexported (golint)
    • Line 76: warning: exported method PeerId.GenRandPeerId should have comment or be unexported (golint)
    • Line 76: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 114: warning: exported method PeerId.ToUint64 should have comment or be unexported (golint)
    • Line 114: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 125: warning: exported method PeerId.IsPseudoPeerId should have comment or be unexported (golint)
    • Line 125: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 134: warning: exported function PseudoPeerIdFromUint64 should have comment or be unexported (golint)
    • Line 142: warning: exported method PeerKeyId.Serialization should have comment or be unexported (golint)
    • Line 142: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 146: warning: exported method PeerKeyId.Deserialization should have comment or be unexported (golint)
    • Line 146: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 170: warning: exported function RandPeerKeyId should have comment or be unexported (golint)
    • Line 203: warning: exported method PeerId.Distance should have comment or be unexported (golint)
    • Line 203: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 213: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 220: warning: comment on exported function CommonPrefixLen should be of the form "CommonPrefixLen ..." (golint)
    • consensus/dbft/block_signatures.go
    • Line 27: warning: exported type BlockSignatures should have comment or be unexported (golint)
    • Line 32: warning: exported type SignaturesData should have comment or be unexported (golint)
    • Line 37: warning: exported method BlockSignatures.Serialization should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 47: warning: exported method BlockSignatures.Deserialization 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)
    • Line 84: warning: exported method BlockSignatures.Type should have comment or be unexported (golint)
    • Line 84: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 88: warning: exported method BlockSignatures.ViewNumber should have comment or be unexported (golint)
    • Line 88: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 92: warning: exported method BlockSignatures.ConsensusMessageData should have comment or be unexported (golint)
    • Line 92: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • cmd/utils/utils.go
    • Line 35: warning: exported const PRECISION_ONG should have comment (or a comment on this block) or be unexported (golint)
    • Line 69: warning: exported function FormatOng should have comment or be unexported (golint)
    • Line 73: warning: exported function ParseOng should have comment or be unexported (golint)
    • Line 77: warning: exported function FormatOnt should have comment or be unexported (golint)
    • Line 81: warning: exported function ParseOnt should have comment or be unexported (golint)
    • Line 85: warning: exported function CheckAssetAmount should have comment or be unexported (golint)
    • Line 101: warning: exported function GetJsonObjectFromFile should have comment or be unexported (golint)
    • Line 116: warning: exported function GetStoreDirPath should have comment or be unexported (golint)
    • Line 120: warning: exported function GenExportBlocksFileName should have comment or be unexported (golint)
    • p2pserver/protocols/heatbeat/heartbeat.go
    • Line 1: warning: package comment should be of the form "Package heatbeat ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 32: warning: exported type HeartBeat should have comment or be unexported (golint)
    • Line 39: warning: exported function NewHeartBeat should have comment or be unexported (golint)
    • Line 48: warning: exported method HeartBeat.Start should have comment or be unexported (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 52: warning: exported method HeartBeat.Stop should have comment or be unexported (golint)
    • Line 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 55: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 71: warning: 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 91: warning: exported method HeartBeat.PingHandle should have comment or be unexported (golint)
    • Line 91: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 106: warning: exported method HeartBeat.PongHandle should have comment or be unexported (golint)
    • Line 106: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/native/cross_chain/header_sync/states.go
    • Line 19: warning: don't use an underscore in package name (golint)
    • Line 30: warning: exported type Peer should have comment or be unexported (golint)
    • Line 35: warning: exported method Peer.Serialization should have comment or be unexported (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 40: warning: exported method Peer.Deserialization should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 57: warning: exported type KeyHeights should have comment or be unexported (golint)
    • Line 61: warning: exported method KeyHeights.Serialization should have comment or be unexported (golint)
    • Line 61: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 72: warning: exported method KeyHeights.Deserialization 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 92: warning: exported type ConsensusPeers should have comment or be unexported (golint)
    • Line 98: warning: exported method ConsensusPeers.Serialization should have comment or be unexported (golint)
    • Line 98: 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 ConsensusPeers.Deserialization 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)
    • events/event.go
    • Line 26: warning: exported type Event should have comment or be unexported (golint)
    • Line 31: warning: exported function NewEvent should have comment or be unexported (golint)
    • Line 37: warning: comment on exported method Event.Subscribe should be of the form "Subscribe ..." (golint)
    • Line 86: warning: exported method Event.NotifySubscriber should have comment or be unexported (golint)
    • Line 96: warning: comment on exported method Event.NotifyAll should be of the form "NotifyAll ..." (golint)
    • p2pserver/message/types/blocks_req.go
    • Line 28: warning: exported type BlocksReq should have comment or be unexported (golint)
    • Line 34: warning: comment on exported method BlocksReq.Serialization should be of the form "Serialization ..." (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 41: warning: exported method BlocksReq.CmdType should have comment or be unexported (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 45: warning: comment on exported method BlocksReq.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 46: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/native/utils/serialization.go
    • Line 29: warning: exported function EncodeAddress should have comment or be unexported (golint)
    • Line 33: warning: exported function EncodeVarUint should have comment or be unexported (golint)
    • Line 37: warning: exported function EncodeVarBytes should have comment or be unexported (golint)
    • Line 41: warning: exported function EncodeString should have comment or be unexported (golint)
    • Line 45: warning: exported function EncodeBool should have comment or be unexported (golint)
    • Line 48: warning: exported function DecodeVarUint should have comment or be unexported (golint)
    • Line 63: warning: exported function DecodeAddress should have comment or be unexported (golint)
    • Line 74: warning: exported function DecodeVarBytes should have comment or be unexported (golint)
    • Line 85: warning: exported function DecodeUint64 should have comment or be unexported (golint)
    • Line 92: warning: exported function DecodeUint32 should have comment or be unexported (golint)
    • Line 99: warning: exported function DecodeBool should have comment or be unexported (golint)
    • Line 109: warning: exported function DecodeString should have comment or be unexported (golint)
    • smartcontract/service/native/governance/utils.go
    • Line 38: warning: exported function GetPeerPoolMap should have comment or be unexported (golint)
    • Line 72: warning: exported function GetGovernanceView should have comment or be unexported (golint)
    • Line 80: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 101: warning: exported function GetView should have comment or be unexported (golint)
    • Line 210: warning: exported function GetUint32Bytes should have comment or be unexported (golint)
    • Line 216: warning: exported function GetBytesUint32 should have comment or be unexported (golint)
    • Line 224: warning: exported function GetUint64Bytes should have comment or be unexported (golint)
    • Line 230: warning: exported function GetBytesUint64 should have comment or be unexported (golint)
    • Line 246: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 311: warning: exported function CheckVBFTConfig should have comment or be unexported (golint)
    • Line 430: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 607: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • smartcontract/service/native/ontid/controller.go
    • Line 1: warning: package comment should be of the form "Package ontid ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 131: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 345: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 361: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • smartcontract/service/native/native_service.go
    • Line 36: warning: exported type Handler should have comment or be unexported (golint)
    • Line 37: warning: exported type RegisterService should have comment or be unexported (golint)
    • Line 41: warning: exported var Contracts should have comment or be unexported (golint)
    • Line 44: warning: comment on exported type NativeService should be of the form "NativeService ..." (with optional leading article) (golint)
    • Line 62: warning: exported method NativeService.Register should have comment or be unexported (golint)
    • Line 62: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 66: warning: exported method NativeService.Invoke should have comment or be unexported (golint)
    • Line 66: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 98: warning: exported method NativeService.NativeCall should have comment or be unexported (golint)
    • Line 98: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 108: warning: exported method NativeService.PushCrossState should have comment or be unexported (golint)
    • Line 108: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • common/limited_writer.go
    • Line 26: warning: exported var ErrWriteExceedLimitedCount should have comment or be unexported (golint)
    • Line 28: warning: exported type LimitedWriter should have comment or be unexported (golint)
    • Line 34: warning: exported function NewLimitedWriter should have comment or be unexported (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 51: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • p2pserver/dht/kbucket/bucket.go
    • Line 40: warning: exported method Bucket.Peers should have comment or be unexported (golint)
    • Line 51: warning: exported method Bucket.Has should have comment or be unexported (golint)
    • Line 63: warning: exported method Bucket.Remove should have comment or be unexported (golint)
    • Line 76: warning: exported method Bucket.MoveToFront should have comment or be unexported (golint)
    • Line 87: warning: exported method Bucket.PushFront should have comment or be unexported (golint)
    • Line 93: warning: exported method Bucket.PopBack should have comment or be unexported (golint)
    • Line 101: warning: exported method Bucket.Len should have comment or be unexported (golint)
    • http/base/rpc/rpc.go
    • Line 44: warning: comment on exported type ServeMux should be of the form "ServeMux ..." (with optional leading article) (golint)
    • Line 51: warning: comment on exported function HandleFunc should be of the form "HandleFunc ..." (golint)
    • Line 58: warning: comment on exported function SetDefaultFunc should be of the form "SetDefaultFunc ..." (golint)
    • Line 63: warning: comment on exported function Handle should be of the form "Handle ..." (golint)
    • Line 80: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 91: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • p2pserver/mock/listener.go
    • Line 28: warning: exported type Listener should have comment or be unexported (golint)
    • Line 57: warning: exported method Listener.Accept should have comment or be unexported (golint)
    • Line 67: warning: exported method Listener.Close should have comment or be unexported (golint)
    • Line 72: warning: exported method Listener.Addr should have comment or be unexported (golint)
    • Line 77: warning: exported method Listener.Network should have comment or be unexported (golint)
    • Line 85: warning: exported method Listener.ID should have comment or be unexported (golint)
    • Line 89: warning: exported method Listener.PushToAccept should have comment or be unexported (golint)
    • smartcontract/service/native/ont/states.go
    • Line 26: warning: comment on exported type Transfers should be of the form "Transfers ..." (with optional leading article) (golint)
    • Line 31: warning: exported method Transfers.Serialization should have comment or be unexported (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 38: warning: exported method Transfers.Deserialization should have comment or be unexported (golint)
    • Line 38: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 53: warning: exported type State should have comment or be unexported (golint)
    • Line 59: warning: exported method State.Serialization should have comment or be unexported (golint)
    • Line 59: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 65: warning: exported method State.Deserialization should have comment or be unexported (golint)
    • Line 65: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 82: warning: exported type TransferFrom should have comment or be unexported (golint)
    • Line 89: warning: exported method TransferFrom.Serialization should have comment or be unexported (golint)
    • Line 89: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 96: warning: exported method TransferFrom.Deserialization 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)
    • smartcontract/service/native/ontfs/space_update.go
    • Line 26: warning: exported type SpaceUpdate should have comment or be unexported (golint)
    • Line 33: warning: exported method SpaceUpdate.Serialization should have comment or be unexported (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 40: warning: exported method SpaceUpdate.Deserialization should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • cmd/sigsvr/common/common.go
    • Line 29: warning: exported var DefWalletStore should have comment or be unexported (golint)
    • Line 31: warning: exported type CliRpcRequest should have comment or be unexported (golint)
    • Line 39: warning: exported method CliRpcRequest.GetAccount should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 60: warning: exported type CliRpcResponse should have comment or be unexported (golint)
    • events/event_type.go
    • Line 21: warning: exported type EventType should have comment or be unexported (golint)
    • Line 24: warning: exported const EventSaveBlock should have comment (or a comment on this block) or be unexported (golint)
    • core/store/ledgerstore/event_store.go
    • Line 39: warning: comment on exported type EventStore should be of the form "EventStore ..." (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 63: 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 85: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 105: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 133: warning: exported method EventStore.PruneBlock should have comment or be unexported (golint)
    • Line 133: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 142: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 147: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 152: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 166: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 175: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 194: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • p2pserver/common/checksum.go
    • Line 1: warning: package comment should be of the form "Package common ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 30: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 41: warning: exported function NewChecksum should have comment or be unexported (golint)
    • Line 45: warning: exported function Checksum should have comment or be unexported (golint)
    • p2pserver/protocols/discovery/discovery.go
    • Line 36: warning: exported type Discovery should have comment or be unexported (golint)
    • Line 45: warning: exported function NewDiscovery should have comment or be unexported (golint)
    • Line 60: warning: exported method Discovery.Start should have comment or be unexported (golint)
    • Line 60: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 65: warning: exported method Discovery.Stop should have comment or be unexported (golint)
    • Line 65: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 69: warning: exported method Discovery.OnAddPeer should have comment or be unexported (golint)
    • Line 69: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 73: warning: exported method Discovery.OnDelPeer should have comment or be unexported (golint)
    • Line 73: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 77: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 103: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 130: warning: exported method Discovery.FindNodeHandle should have comment or be unexported (golint)
    • Line 130: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 188: warning: exported method Discovery.FindNodeResponseHandle should have comment or be unexported (golint)
    • Line 188: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 241: warning: exported method Discovery.AddrReqHandle should have comment or be unexported (golint)
    • Line 241: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 278: warning: exported method Discovery.AddrHandle should have comment or be unexported (golint)
    • Line 278: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • consensus/vbft/msg_pool.go
    • Line 30: warning: exported type ConsensusRoundMsgs should have comment or be unexported (golint)
    • Line 32: warning: exported type ConsensusRound 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 63: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 80: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 87: warning: exported type MsgPool should have comment or be unexported (golint)
    • Line 110: warning: exported method MsgPool.AddMsg should have comment or be unexported (golint)
    • Line 130: warning: exported method MsgPool.DropMsg should have comment or be unexported (golint)
    • Line 139: warning: exported method MsgPool.HasMsg should have comment or be unexported (golint)
    • Line 145: 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 152: warning: exported method MsgPool.GetProposalMsgs should have comment or be unexported (golint)
    • Line 167: warning: exported method MsgPool.GetEndorsementsMsgs should have comment or be unexported (golint)
    • Line 182: warning: exported method MsgPool.GetCommitMsgs should have comment or be unexported (golint)
    • Line 197: warning: exported method MsgPool.GetBlockSubmitMsgNums should have comment or be unexported (golint)
    • core/states/state_base.go
    • Line 27: warning: exported type StateBase should have comment or be unexported (golint)
    • Line 31: warning: exported method StateBase.Serialization should have comment or be unexported (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 35: warning: exported method StateBase.Deserialization should have comment or be unexported (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • consensus/dbft/prepare_request.go
    • Line 30: warning: exported type PrepareRequest should have comment or be unexported (golint)
    • Line 38: warning: exported method PrepareRequest.Serialization should have comment or be unexported (golint)
    • Line 49: warning: exported method PrepareRequest.Deserialization should have comment or be unexported (golint)
    • Line 99: warning: exported method PrepareRequest.Type should have comment or be unexported (golint)
    • Line 104: warning: exported method PrepareRequest.ViewNumber should have comment or be unexported (golint)
    • Line 109: warning: exported method PrepareRequest.ConsensusMessageData should have comment or be unexported (golint)
    • vm/neovm/types/map_value.go
    • Line 25: warning: exported type MapValue should have comment or be unexported (golint)
    • Line 29: warning: exported function NewMapValue should have comment or be unexported (golint)
    • Line 32: warning: exported method MapValue.Set should have comment or be unexported (golint)
    • Line 32: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 42: warning: exported method MapValue.Reset should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: exported method MapValue.Remove 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 57: warning: exported method MapValue.Get should have comment or be unexported (golint)
    • Line 57: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 69: warning: exported method MapValue.GetMapSortedKey should have comment or be unexported (golint)
    • Line 69: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 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: exported method MapValue.GetValues should have comment or be unexported (golint)
    • Line 87: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • core/store/common/store.go
    • Line 28: warning: exported var ErrNotFound should have comment or be unexported (golint)
    • Line 30: warning: comment on exported type StoreIterator should be of the form "StoreIterator ..." (with optional leading article) (golint)
    • consensus/dbft/dbft_service.go
    • Line 45: warning: exported type DbftService should have comment or be unexported (golint)
    • Line 62: warning: exported function NewDbftService should have comment or be unexported (golint)
    • Line 98: warning: exported method DbftService.Receive should have comment or be unexported (golint)
    • Line 98: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 135: warning: exported method DbftService.GetPID should have comment or be unexported (golint)
    • Line 135: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 138: warning: exported method DbftService.Start should have comment or be unexported (golint)
    • Line 138: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 143: warning: exported method DbftService.Halt should have comment or be unexported (golint)
    • Line 143: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 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: exported method DbftService.BlockPersistCompleted should have comment or be unexported (golint)
    • Line 169: warning: exported method DbftService.CheckExpectedView should have comment or be unexported (golint)
    • Line 193: warning: exported method DbftService.CheckPolicy should have comment or be unexported (golint)
    • Line 199: warning: exported method DbftService.CheckSignatures should have comment or be unexported (golint)
    • Line 248: warning: exported method DbftService.ChangeViewReceived should have comment or be unexported (golint)
    • Line 273: warning: exported method DbftService.InitializeConsensus should have comment or be unexported (golint)
    • Line 319: warning: exported method DbftService.NewConsensusPayload should have comment or be unexported (golint)
    • Line 379: warning: exported method DbftService.PrepareRequestReceived should have comment or be unexported (golint)
    • Line 501: warning: exported method DbftService.PrepareResponseReceived should have comment or be unexported (golint)
    • Line 532: warning: exported method DbftService.BlockSignaturesReceived should have comment or be unexported (golint)
    • Line 578: warning: exported method DbftService.RefreshPolicy should have comment or be unexported (golint)
    • Line 581: warning: exported method DbftService.RequestChangeView should have comment or be unexported (golint)
    • Line 601: warning: exported method DbftService.SignAndRelay should have comment or be unexported (golint)
    • Line 625: warning: exported method DbftService.Timeout should have comment or be unexported (golint)
    • common/inventory.go
    • Line 21: warning: exported type InventoryType should have comment or be unexported (golint)
    • Line 24: warning: exported const TRANSACTION should have comment (or a comment on this block) or be unexported (golint)
    • cmd/utils/flags.go
    • Line 31: warning: exported const DEFAULT_EXPORT_FILE should have comment (or a comment on this block) or be unexported (golint)
    • Line 38: warning: comment on exported var ConfigFlag should be of the form "ConfigFlag ..." (golint)
    • Line 43: warning: exported var LogLevelFlag should have comment or be unexported (golint)
    • Line 85: warning: comment on exported var EnableConsensusFlag should be of the form "EnableConsensusFlag ..." (golint)
    • Line 105: warning: comment on exported var EnableTestModeFlag should be of the form "EnableTestModeFlag ..." (golint)
    • Line 116: warning: comment on exported var ReservedPeersOnlyFlag should be of the form "ReservedPeersOnlyFlag ..." (golint)
    • Line 156: warning: comment on exported var RPCDisabledFlag should be of the form "RPCDisabledFlag ..." (golint)
    • Line 176: warning: comment on exported var WsEnabledFlag should be of the form "WsEnabledFlag ..." (golint)
    • Line 187: warning: comment on exported var RestfulEnableFlag should be of the form "RestfulEnableFlag ..." (golint)
    • Line 203: warning: comment on exported var GraphQLEnableFlag should be of the form "GraphQLEnableFlag ..." (golint)
    • Line 219: warning: comment on exported var AccountPassFlag should be of the form "AccountPassFlag ..." (golint)
    • Line 296: warning: comment on exported var ContractAddrFlag should be of the form "ContractAddrFlag ..." (golint)
    • Line 350: warning: comment on exported var BlockHashInfoFlag should be of the form "BlockHashInfoFlag ..." (golint)
    • Line 360: warning: comment on exported var TransactionAssetFlag should be of the form "TransactionAssetFlag ..." (golint)
    • Line 397: warning: comment on exported var ApproveAssetFromFlag should be of the form "ApproveAssetFromFlag ..." (golint)
    • Line 452: warning: comment on exported var CliAddressFlag should be of the form "CliAddressFlag ..." (golint)
    • Line 474: warning: comment on exported var ExportFileFlag should be of the form "ExportFileFlag ..." (golint)
    • Line 496: warning: comment on exported var TxpoolPreExecDisableFlag should be of the form "TxpoolPreExecDisableFlag ..." (golint)
    • Line 502: warning: comment on exported var DisableSyncVerifyTxFlag should be of the form "DisableSyncVerifyTxFlag ..." (golint)
    • http/base/rpc/interfaces.go
    • Line 37: warning: comment on exported function GetBestBlockHash should be of the form "GetBestBlockHash ..." (golint)
    • Line 43: warning: comment on exported function GetBlock should be of the form "GetBlock ..." (golint)
    • Line 89: warning: comment on exported function GetBlockCount should be of the form "GetBlockCount ..." (golint)
    • Line 95: warning: comment on exported function GetBlockHash should be of the form "GetBlockHash ..." (golint)
    • Line 115: warning: comment on exported function GetConnectionCount should be of the form "GetConnectionCount ..." (golint)
    • Line 121: warning: comment on exported function GetSyncStatus should be of the form "GetSyncStatus ..." (golint)
    • Line 132: warning: exported function GetRawMemPool should have comment or be unexported (golint)
    • Line 144: warning: comment on exported function GetMemPoolTxCount should be of the form "GetMemPoolTxCount ..." (golint)
    • Line 153: warning: comment on exported function GetMemPoolTxHashList should be of the form "GetMemPoolTxHashList ..." (golint)
    • Line 162: warning: comment on exported function GetMemPoolTxState should be of the form "GetMemPoolTxState ..." (golint)
    • Line 189: warning: comment on exported function GetRawTransaction should be of the form "GetRawTransaction ..." (golint)
    • Line 232: warning: comment on exported function GetStorage should be of the form "GetStorage ..." (golint)
    • Line 274: warning: comment on exported function SendRawTransaction should be of the form "SendRawTransaction ..." (golint)
    • Line 321: warning: comment on exported function GetNodeVersion should be of the form "GetNodeVersion ..." (golint)
    • Line 326: warning: comment on exported function GetNetworkId should be of the form "GetNetworkId ..." (golint)
    • Line 331: warning: comment on exported function GetContractState should be of the form "GetContractState ..." (golint)
    • Line 368: warning: comment on exported function GetSmartCodeEvent should be of the form "GetSmartCodeEvent ..." (golint)
    • Line 416: warning: comment on exported function GetBlockHeightByTxHash should be of the form "GetBlockHeightByTxHash ..." (golint)
    • Line 441: warning: comment on exported function GetBalance should be of the form "GetBalance ..." (golint)
    • Line 461: warning: comment on exported function GetAllowance should be of the form "GetAllowance ..." (golint)
    • Line 493: warning: comment on exported function GetMerkleProof should be of the form "GetMerkleProof ..." (golint)
    • Line 532: warning: comment on exported function GetBlockTxsByHeight should be of the form "GetBlockTxsByHeight ..." (golint)
    • Line 554: warning: comment on exported function GetGasPrice should be of the form "GetGasPrice ..." (golint)
    • Line 563: warning: comment on exported function GetUnboundOng should be of the form "GetUnboundOng ..." (golint)
    • Line 584: warning: comment on exported function GetGrantOng should be of the form "GetGrantOng ..." (golint)
    • Line 604: warning: comment on exported function GetCrossChainMsg should be of the form "GetCrossChainMsg ..." (golint)
    • Line 626: warning: comment on exported function GetCrossStatesProof should be of the form "GetCrossStatesProof ..." (golint)
    • http/restful/restful/router.go
    • Line 31: warning: comment on exported type Route should be of the form "Route ..." (with optional leading article) (golint)
    • Line 38: warning: exported type Router should have comment or be unexported (golint)
    • Line 42: warning: exported function NewRouter should have comment or be unexported (golint)
    • Line 46: warning: exported method Router.Try 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 66: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 87: warning: exported method Router.Head should have comment or be unexported (golint)
    • Line 91: warning: exported method Router.Connect should have comment or be unexported (golint)
    • Line 95: warning: exported method Router.Get should have comment or be unexported (golint)
    • Line 99: warning: exported method Router.Post should have comment or be unexported (golint)
    • Line 103: warning: exported method Router.Put should have comment or be unexported (golint)
    • Line 107: warning: exported method Router.Delete should have comment or be unexported (golint)
    • Line 111: warning: exported method Router.Options should have comment or be unexported (golint)
    • Line 121: warning: should not use basic type string as key in context.WithValue (golint)
    • txnpool/common/txnpool_common.go
    • Line 28: warning: exported const MAX_CAPACITY should have comment (or a comment on this block) or be unexported (golint)
    • Line 47: warning: exported const TxActor should have comment (or a comment on this block) or be unexported (golint)
    • Line 57: warning: exported const NilSender should have comment (or a comment on this block) or be unexported (golint)
    • Line 62: warning: exported method SenderType.Sender should have comment or be unexported (golint)
    • Line 80: warning: exported const RcvStats should have comment (or a comment on this block) or be unexported (golint)
    • Line 104: warning: exported type TxResult should have comment or be unexported (golint)
    • Line 169: warning: comment on exported type GetTxnStatsRsp should be of the form "GetTxnStatsRsp ..." (with optional leading article) (golint)
    • Line 204: warning: comment on exported type GetTxnPoolReq should be of the form "GetTxnPoolReq ..." (with optional leading article) (golint)
    • Line 234: warning: comment on exported type LB should be of the form "LB ..." (with optional leading article) (golint)
    • Line 242: warning: exported type LBSlice 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 248: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 253: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 257: warning: exported type OrderByNetWorkFee should have comment or be unexported (golint)
    • smartcontract/service/native/ontfs/constants.go
    • Line 22: warning: exported const DefaultPerBlockSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: exported const DefaultMinTimeForFileStorage should have comment (or a comment on this block) or be unexported (golint)
    • core/states/validator_state.go
    • Line 29: warning: exported type ValidatorState should have comment or be unexported (golint)
    • Line 34: warning: exported method ValidatorState.Serialization should have comment or be unexported (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 40: warning: exported method ValidatorState.Deserialization should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/native/governance/param.go
    • Line 29: warning: exported type RegisterCandidateParam should have comment or be unexported (golint)
    • Line 37: warning: exported method RegisterCandidateParam.Serialization should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 45: warning: exported method RegisterCandidateParam.Deserialization 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 80: warning: exported type UnRegisterCandidateParam should have comment or be unexported (golint)
    • Line 85: warning: exported method UnRegisterCandidateParam.Serialization should have comment or be unexported (golint)
    • Line 85: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 90: warning: exported method UnRegisterCandidateParam.Deserialization should have comment or be unexported (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 104: warning: exported type QuitNodeParam should have comment or be unexported (golint)
    • Line 109: warning: exported method QuitNodeParam.Serialization should have comment or be unexported (golint)
    • Line 109: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 114: warning: exported method QuitNodeParam.Deserialization should have comment or be unexported (golint)
    • Line 114: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 128: warning: exported type ApproveCandidateParam should have comment or be unexported (golint)
    • Line 132: warning: exported method ApproveCandidateParam.Serialization should have comment or be unexported (golint)
    • Line 132: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 136: warning: exported method ApproveCandidateParam.Deserialization should have comment or be unexported (golint)
    • Line 136: 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 type RejectCandidateParam should have comment or be unexported (golint)
    • Line 149: warning: exported method RejectCandidateParam.Serialization should have comment or be unexported (golint)
    • Line 149: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 153: warning: exported method RejectCandidateParam.Deserialization should have comment or be unexported (golint)
    • Line 153: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 162: warning: exported type BlackNodeParam should have comment or be unexported (golint)
    • Line 166: warning: exported method BlackNodeParam.Serialization should have comment or be unexported (golint)
    • Line 166: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 173: warning: exported method BlackNodeParam.Deserialization 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 190: warning: exported type WhiteNodeParam should have comment or be unexported (golint)
    • Line 194: warning: exported method WhiteNodeParam.Serialization should have comment or be unexported (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: exported method WhiteNodeParam.Deserialization should have comment or be unexported (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 207: warning: exported type AuthorizeForPeerParam should have comment or be unexported (golint)
    • Line 213: warning: exported method AuthorizeForPeerParam.Serialization should have comment or be unexported (golint)
    • Line 213: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 232: warning: exported method AuthorizeForPeerParam.Deserialization should have comment or be unexported (golint)
    • Line 232: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 276: warning: exported type WithdrawParam should have comment or be unexported (golint)
    • Line 282: warning: exported method WithdrawParam.Serialization should have comment or be unexported (golint)
    • Line 282: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 302: warning: exported method WithdrawParam.Deserialization should have comment or be unexported (golint)
    • Line 302: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 346: warning: exported type Configuration should have comment or be unexported (golint)
    • Line 357: warning: exported method Configuration.Serialization should have comment or be unexported (golint)
    • Line 357: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 368: warning: exported method Configuration.Deserialization should have comment or be unexported (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 436: warning: exported type PreConfig should have comment or be unexported (golint)
    • Line 441: warning: exported method PreConfig.Serialization should have comment or be unexported (golint)
    • Line 441: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 446: warning: exported method PreConfig.Deserialization should have comment or be unexported (golint)
    • Line 446: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 464: warning: exported type GlobalParam should have comment or be unexported (golint)
    • Line 475: warning: exported method GlobalParam.Serialization should have comment or be unexported (golint)
    • Line 475: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 486: warning: exported method GlobalParam.Deserialization should have comment or be unexported (golint)
    • Line 486: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 551: warning: exported type GlobalParam2 should have comment or be unexported (golint)
    • Line 562: warning: exported method GlobalParam2.Serialization should have comment or be unexported (golint)
    • Line 562: 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 GlobalParam2.Deserialization should have comment or be unexported (golint)
    • Line 581: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 637: warning: exported type SplitCurve should have comment or be unexported (golint)
    • Line 641: warning: exported method SplitCurve.Serialization should have comment or be unexported (golint)
    • Line 641: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 652: warning: exported method SplitCurve.Deserialization should have comment or be unexported (golint)
    • Line 652: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 672: warning: exported type TransferPenaltyParam should have comment or be unexported (golint)
    • Line 677: warning: exported method TransferPenaltyParam.Serialization should have comment or be unexported (golint)
    • Line 677: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 682: warning: exported method TransferPenaltyParam.Deserialization should have comment or be unexported (golint)
    • Line 682: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 696: warning: exported type WithdrawOngParam should have comment or be unexported (golint)
    • Line 700: warning: exported method WithdrawOngParam.Serialization should have comment or be unexported (golint)
    • Line 700: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 704: warning: exported method WithdrawOngParam.Deserialization should have comment or be unexported (golint)
    • Line 704: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 713: warning: exported type ChangeMaxAuthorizationParam should have comment or be unexported (golint)
    • Line 719: warning: exported method ChangeMaxAuthorizationParam.Serialization should have comment or be unexported (golint)
    • Line 719: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 726: warning: exported method ChangeMaxAuthorizationParam.Deserialization should have comment or be unexported (golint)
    • Line 726: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 748: warning: exported type SetPeerCostParam should have comment or be unexported (golint)
    • Line 754: warning: exported method SetPeerCostParam.Serialization should have comment or be unexported (golint)
    • Line 754: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 761: warning: exported method SetPeerCostParam.Deserialization should have comment or be unexported (golint)
    • Line 761: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 783: warning: exported type SetFeePercentageParam should have comment or be unexported (golint)
    • Line 790: warning: exported method SetFeePercentageParam.Serialization should have comment or be unexported (golint)
    • Line 790: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 798: warning: exported method SetFeePercentageParam.Deserialization should have comment or be unexported (golint)
    • Line 798: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 828: warning: exported type WithdrawFeeParam should have comment or be unexported (golint)
    • Line 832: warning: exported method WithdrawFeeParam.Serialization should have comment or be unexported (golint)
    • Line 832: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 836: warning: exported method WithdrawFeeParam.Deserialization should have comment or be unexported (golint)
    • Line 836: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 845: warning: exported type PromisePos should have comment or be unexported (golint)
    • Line 850: warning: exported method PromisePos.Serialization should have comment or be unexported (golint)
    • Line 850: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 855: warning: exported method PromisePos.Deserialization should have comment or be unexported (golint)
    • Line 855: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 869: warning: exported type ChangeInitPosParam should have comment or be unexported (golint)
    • Line 875: warning: exported method ChangeInitPosParam.Serialization should have comment or be unexported (golint)
    • Line 875: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 881: warning: exported method ChangeInitPosParam.Deserialization should have comment or be unexported (golint)
    • Line 881: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 903: warning: exported type GasAddress should have comment or be unexported (golint)
    • Line 907: warning: exported method GasAddress.Serialization should have comment or be unexported (golint)
    • Line 907: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 911: warning: exported method GasAddress.Deserialization should have comment or be unexported (golint)
    • Line 911: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/native/ontid/init.go
    • Line 1: warning: package comment should be of the form "Package ontid ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 26: warning: exported function Init should have comment or be unexported (golint)
    • Line 30: warning: exported function RegisterIDContract should have comment or be unexported (golint)
    • smartcontract/service/native/ontfs/space_info.go
    • Line 27: warning: exported type SpaceInfo should have comment or be unexported (golint)
    • Line 40: warning: exported method SpaceInfo.Serialization should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 53: warning: exported method SpaceInfo.Deserialization 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)
    • core/types/address.go
    • Line 30: warning: exported function AddressFromPubKey should have comment or be unexported (golint)
    • Line 36: warning: exported function AddressFromMultiPubKeys should have comment or be unexported (golint)
    • Line 51: warning: exported function AddressFromBookkeepers should have comment or be unexported (golint)
    • smartcontract/service/native/ontid/attribute.go
    • Line 1: warning: package comment should be of the form "Package ontid ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 31: warning: exported const MAX_KEY_SIZE should have comment (or a comment on this block) or be unexported (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 57: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 80: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 86: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • cmd/sigsvr/handlers/sig_neovm_invoke_tx.go
    • Line 33: warning: exported type SigNeoVMInvokeTxReq should have comment or be unexported (golint)
    • Line 41: warning: exported type SigNeoVMInvokeTxRsp should have comment or be unexported (golint)
    • Line 45: warning: exported function SigNeoVMInvokeTx should have comment or be unexported (golint)
    • core/store/overlaydb/memdb_dot.go
    • Line 1: warning: package comment should be of the form "Package overlaydb ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 25: warning: exported method MemDB.DumpToDot should have comment or be unexported (golint)
    • p2pserver/protocols/utils/hosts_resolver.go
    • Line 29: warning: exported const HostsResolverCacheTime should have comment or be unexported (golint)
    • Line 31: warning: comment on exported type HostsResolver should be of the form "HostsResolver ..." (with optional leading article) (golint)
    • Line 39: warning: exported type HostsCache should have comment or be unexported (golint)
    • Line 44: warning: exported function NewHostsResolver should have comment or be unexported (golint)
    • Line 59: warning: exported method HostsResolver.GetHostAddrs should have comment or be unexported (golint)
    • Line 59: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/native/ontfs/file_pdp_record.go
    • Line 28: warning: exported type PdpRecordKey should have comment or be unexported (golint)
    • Line 32: warning: exported type PdpRecord should have comment or be unexported (golint)
    • Line 40: warning: exported type PdpRecordList should have comment or be unexported (golint)
    • Line 44: warning: exported method PdpRecord.Serialization 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 52: warning: exported method PdpRecord.Deserialization should have comment or be unexported (golint)
    • Line 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 77: warning: exported method PdpRecordList.Serialization should have comment or be unexported (golint)
    • Line 77: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 89: warning: exported method PdpRecordList.Deserialization should have comment or be unexported (golint)
    • Line 89: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • vm/neovm/types/int_value.go
    • Line 31: warning: exported type IntValue should have comment or be unexported (golint)
    • Line 37: warning: exported method IntValue.Rsh should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 72: warning: exported method IntValue.Lsh 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 102: warning: exported function IntValFromBigInt should have comment or be unexported (golint)
    • Line 123: warning: exported function IntValFromNeoBytes should have comment or be unexported (golint)
    • Line 128: warning: exported method IntValue.ToNeoBytes should have comment or be unexported (golint)
    • Line 128: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 137: warning: exported function IntValFromInt should have comment or be unexported (golint)
    • Line 141: warning: exported method IntValue.IsZero should have comment or be unexported (golint)
    • Line 141: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 144: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 149: warning: exported method IntValue.Sign should have comment or be unexported (golint)
    • Line 149: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 152: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 163: warning: exported method IntValue.Max should have comment or be unexported (golint)
    • Line 163: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 181: warning: exported method IntValue.Min should have comment or be unexported (golint)
    • Line 181: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 199: warning: exported method IntValue.Xor should have comment or be unexported (golint)
    • Line 199: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 207: warning: exported method IntValue.And should have comment or be unexported (golint)
    • Line 207: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 215: warning: exported method IntValue.Or should have comment or be unexported (golint)
    • Line 215: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 223: warning: exported method IntValue.Cmp should have comment or be unexported (golint)
    • Line 223: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 248: warning: exported method IntValue.Not should have comment or be unexported (golint)
    • Line 248: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 259: warning: exported method IntValue.Abs should have comment or be unexported (golint)
    • Line 259: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 278: warning: comment on exported method IntValue.Mod should be of the form "Mod ..." (golint)
    • Line 279: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 290: warning: comment on exported method IntValue.Div should be of the form "Div ..." (golint)
    • Line 291: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 302: warning: exported method IntValue.Mul should have comment or be unexported (golint)
    • Line 302: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 308: warning: exported method IntValue.Add should have comment or be unexported (golint)
    • Line 308: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 314: warning: exported method IntValue.Sub should have comment or be unexported (golint)
    • Line 314: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 323: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • consensus/consensus.go
    • Line 31: warning: exported type ConsensusService should have comment or be unexported (golint)
    • Line 38: warning: exported const CONSENSUS_DBFT should have comment (or a comment on this block) or be unexported (golint)
    • Line 43: warning: exported function NewConsensusService should have comment or be unexported (golint)
    • p2pserver/protocols/recent_peers/recent_peers.go
    • Line 1: warning: package comment should be of the form "Package recent_peers ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 18: warning: don't use an underscore in package name (golint)
    • Line 34: warning: exported type PersistRecentPeerService should have comment or be unexported (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 53: warning: exported method PersistRecentPeerService.AddNodeAddr 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 67: warning: exported method PersistRecentPeerService.DelNodeAddr should have comment or be unexported (golint)
    • Line 67: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 78: warning: exported type RecentPeer should have comment or be unexported (golint)
    • Line 83: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 107: warning: exported function NewPersistRecentPeerService should have comment or be unexported (golint)
    • Line 115: warning: exported method PersistRecentPeerService.Stop should have comment or be unexported (golint)
    • Line 115: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 119: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 146: warning: exported method PersistRecentPeerService.Start should have comment or be unexported (golint)
    • Line 146: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 153: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 166: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/storage/cachedb.go
    • Line 49: warning: exported method CacheDB.Reset should have comment or be unexported (golint)
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 68: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 78: warning: exported method CacheDB.Put should have comment or be unexported (golint)
    • Line 78: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 82: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 87: warning: exported method CacheDB.GetContract should have comment or be unexported (golint)
    • Line 87: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 112: warning: exported method CacheDB.PutContract should have comment or be unexported (golint)
    • Line 112: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 122: warning: exported method CacheDB.IsContractDestroyed should have comment or be unexported (golint)
    • Line 122: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 131: warning: exported method CacheDB.DeleteContract should have comment or be unexported (golint)
    • Line 131: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 136: warning: exported method CacheDB.SetContractDestroyed should have comment or be unexported (golint)
    • Line 136: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 144: warning: exported method CacheDB.UnsetContractDestroyed should have comment or be unexported (golint)
    • Line 144: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 150: warning: exported method CacheDB.Get should have comment or be unexported (golint)
    • Line 150: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 154: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 168: warning: exported method CacheDB.Delete should have comment or be unexported (golint)
    • Line 168: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 173: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 178: warning: exported method CacheDB.NewIterator should have comment or be unexported (golint)
    • Line 178: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 189: warning: exported type Iter should have comment or be unexported (golint)
    • Line 193: warning: exported method Iter.Key should have comment or be unexported (golint)
    • Line 193: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 201: warning: exported method CacheDB.MigrateContractStorage should have comment or be unexported (golint)
    • Line 201: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 220: warning: exported method CacheDB.CleanContractStorage should have comment or be unexported (golint)
    • Line 220: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • cmd/account.go
    • Line 118: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 134: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 149: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 159: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 177: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 184: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • cmd/sigsvr/handlers/create_account.go
    • Line 1: warning: package comment should be of the form "Package handlers ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 29: warning: exported type CreateAccountReq should have comment or be unexported (golint)
    • Line 32: warning: exported type CreateAccountRsp should have comment or be unexported (golint)
    • Line 36: warning: exported function CreateAccount should have comment or be unexported (golint)
    • core/types/block.go
    • Line 28: warning: exported type Block should have comment or be unexported (golint)
    • Line 33: warning: exported method Block.Serialization should have comment or be unexported (golint)
    • Line 42: warning: comment on exported function BlockFromRawBytes should be of the form "BlockFromRawBytes ..." (golint)
    • Line 53: warning: exported method Block.Deserialization 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 96: warning: exported method Block.ToArray should have comment or be unexported (golint)
    • Line 102: warning: exported method Block.Hash should have comment or be unexported (golint)
    • Line 106: warning: exported method Block.RebuildMerkleRoot should have comment or be unexported (golint)
    • cmd/utils/params.go
    • Line 33: warning: exported const PARAMS_SPLIT should have comment (or a comment on this block) or be unexported (golint)
    • Line 47: warning: exported var PARAM_TYPE_SPLIT_INC should have comment or be unexported (golint)
    • Line 225: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • p2pserver/message/types/block.go
    • Line 29: warning: exported type Block should have comment or be unexported (golint)
    • Line 35: warning: comment on exported method Block.Serialization should be of the form "Serialization ..." (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 45: warning: exported method Block.CmdType 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 49: warning: comment on exported method Block.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 50: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/wasmvm/wasm_service.go
    • Line 1: warning: package comment should be of the form "Package wasmvm ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 37: warning: exported type WasmVmService should have comment or be unexported (golint)
    • Line 58: warning: exported var ERR_CHECK_STACK_SIZE should have comment or be unexported (golint)
    • Line 70: warning: comment on exported var WASM_MEM_LIMITATION should be of the form "WASM_MEM_LIMITATION ..." (golint)
    • Line 90: warning: exported function GetAddressBuff should have comment or be unexported (golint)
    • Line 125: warning: exported method WasmVmService.Invoke should have comment or be unexported (golint)
    • Line 125: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 233: warning: exported method WasmVmService.DeployContract should have comment or be unexported (golint)
    • Line 233: 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 269: warning: exported method WasmVmService.DeleteCurrentContractStorage should have comment or be unexported (golint)
    • Line 269: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 274: warning: exported method WasmVmService.MigrateCurrentContractStorageTo should have comment or be unexported (golint)
    • Line 274: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • vm/neovm/opcode_exec.go
    • Line 21: warning: exported type OpInfo should have comment or be unexported (golint)
    • Line 27: warning: exported var OpExecList should have comment or be unexported (golint)
    • common/serialization/serialize.go
    • Line 29: warning: exported var ErrRange should have comment or be unexported (golint)
    • Line 30: warning: exported var ErrEof should have comment or be unexported (golint)
    • Line 74: warning: exported function WriteVarUint should have comment or be unexported (golint)
    • Line 97: warning: exported function ReadVarUint should have comment or be unexported (golint)
    • Line 135: warning: exported function WriteVarBytes should have comment or be unexported (golint)
    • Line 144: warning: exported function WriteString should have comment or be unexported (golint)
    • Line 148: warning: exported function ReadVarBytes should have comment or be unexported (golint)
    • Line 160: warning: exported function ReadString should have comment or be unexported (golint)
    • Line 168: warning: exported function GetVarUintSize should have comment or be unexported (golint)
    • Line 180: warning: exported function ReadBytes should have comment or be unexported (golint)
    • Line 188: warning: exported function ReadUint8 should have comment or be unexported (golint)
    • Line 197: warning: exported function ReadUint16 should have comment or be unexported (golint)
    • Line 206: warning: exported function ReadUint32 should have comment or be unexported (golint)
    • Line 215: warning: exported function ReadUint64 should have comment or be unexported (golint)
    • Line 224: warning: exported function WriteUint8 should have comment or be unexported (golint)
    • Line 231: warning: exported function WriteUint16 should have comment or be unexported (golint)
    • Line 238: warning: exported function WriteUint32 should have comment or be unexported (golint)
    • Line 245: warning: exported function WriteUint64 should have comment or be unexported (golint)
    • Line 283: warning: exported function WriteBool should have comment or be unexported (golint)
    • Line 288: warning: exported function ReadBool should have comment or be unexported (golint)
    • Line 294: warning: exported function WriteByte should have comment or be unexported (golint)
    • Line 302: warning: exported function ReadByte should have comment or be unexported (golint)
    • smartcontract/service/native/ontid/utils.go
    • Line 1: warning: package comment should be of the form "Package ontid ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 51: warning: don't use underscores in Go names; const flag_not_exist should be flagNotExist (golint)
    • Line 52: warning: don't use underscores in Go names; const flag_valid should be flagValid (golint)
    • Line 53: warning: don't use underscores in Go names; const flag_revoke should be flagRevoke (golint)
    • Line 55: warning: exported const FIELD_VERSION should have comment (or a comment on this block) or be unexported (golint)
    • p2pserver/peer/peer.go
    • Line 52: warning: exported function NewPeerInfo should have comment or be unexported (golint)
    • Line 67: warning: comment on exported method PeerInfo.RemoteListenAddress should be of the form "RemoteListenAddress ..." (golint)
    • Line 82: warning: exported method PeerInfo.Height should have comment or be unexported (golint)
    • Line 82: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 86: warning: exported method PeerInfo.SetHeight should have comment or be unexported (golint)
    • Line 86: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 105: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 110: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 123: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 128: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 133: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 138: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 142: warning: comment on exported method Peer.SendRaw should be of the form "SendRaw ..." (golint)
    • Line 143: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 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 160: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 165: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 170: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 175: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 181: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 186: 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 Peer.GetSoftVersion 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)
    • Line 207: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 215: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/wasmvm/wasmjit_runtime.go
    • Line 43: warning: don't use underscores in Go names; const wasmjit_result_success should be wasmjitResultSuccess (golint)
    • Line 44: warning: don't use underscores in Go names; const wasmjit_result_err_internal should be wasmjitResultErrInternal (golint)
    • Line 45: warning: don't use underscores in Go names; const wasmjit_result_err_compile should be wasmjitResultErrCompile (golint)
    • Line 46: warning: don't use underscores in Go names; const wasmjit_result_err_link should be wasmjitResultErrLink (golint)
    • Line 47: warning: don't use underscores in Go names; const wasmjit_result_err_trap should be wasmjitResultErrTrap (golint)
    • Line 48: warning: don't use underscores in Go names; const wasmjit_gas_mod should be wasmjitGasMod (golint)
    • Line 51: warning: exported function WasmjitValidate should have comment or be unexported (golint)
    • Line 178: warning: don't use underscores in Go names; func parameter service_index should be serviceIndex (golint)
    • Line 208: warning: don't use underscores in Go names; func parameter service_index should be serviceIndex (golint)
    • Line 208: warning: don't use underscores in Go names; func parameter key_s should be keyS (golint)
    • Line 208: warning: don't use underscores in Go names; func parameter val_s should be valS (golint)
    • Line 218: warning: don't use underscores in Go names; func parameter service_index should be serviceIndex (golint)
    • Line 218: warning: don't use underscores in Go names; func parameter key_s should be keyS (golint)
    • Line 227: warning: don't use underscores in Go names; func parameter service_index should be serviceIndex (golint)
    • Line 250: warning: don't use underscores in Go names; var exec_step should be execStep (golint)
    • Line 251: warning: don't use underscores in Go names; var gas_left should be gasLeft (golint)
    • Line 291: warning: don't use underscores in Go names; var witness_len should be witnessLen (golint)
    • Line 292: warning: don't use underscores in Go names; var callers_len should be callersLen (golint)
    • Line 308: warning: don't use underscores in Go names; var input_len should be inputLen (golint)
    • Line 316: warning: don't use underscores in Go names; var block_hash should be blockHash (golint)
    • Line 318: warning: don't use underscores in Go names; var tx_hash should be txHash (golint)
    • Line 319: warning: don't use underscores in Go names; var caller_raw should be callerRaw (golint)
    • Line 320: warning: don't use underscores in Go names; var witness_raw should be witnessRaw (golint)
    • Line 321: warning: don't use underscores in Go names; var input_raw should be inputRaw (golint)
    • Line 322: warning: don't use underscores in Go names; var service_index should be serviceIndex (golint)
    • Line 323: warning: don't use underscores in Go names; var exec_step should be execStep (golint)
    • Line 324: warning: don't use underscores in Go names; var gas_factor should be gasFactor (golint)
    • Line 325: warning: don't use underscores in Go names; var gas_left should be gasLeft (golint)
    • Line 326: warning: don't use underscores in Go names; var depth_left should be depthLeft (golint)
    • Line 330: warning: don't use underscores in Go names; var jit_ret should be jitRet (golint)
    • core/utils/transaction_builder.go
    • Line 36: warning: exported const NATIVE_INVOKE_NAME should have comment or be unexported (golint)
    • Line 64: warning: exported function BuildNativeTransaction should have comment or be unexported (golint)
    • Line 79: warning: exported function BuildNativeInvokeCode should have comment or be unexported (golint)
    • Line 105: warning: comment on exported function BuildNeoVMParam should be of the form "BuildNeoVMParam ..." (golint)
    • Line 186: warning: comment on exported function BuildWasmVMInvokeCode should be of the form "BuildWasmVMInvokeCode ..." (golint)
    • Line 200: warning: comment on exported function BuildWasmContractParam should be of the form "BuildWasmContractParam ..." (golint)
    • Line 255: warning: exported function NewWasmVMInvokeTransaction should have comment or be unexported (golint)
    • Line 263: warning: exported function NewWasmSmartContractTransaction should have comment or be unexported (golint)
    • p2pserver/connect_controller/static_reserve_filter.go
    • Line 1: warning: package comment should be of the form "Package connect_controller ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 18: warning: don't use an underscore in package name (golint)
    • Line 25: warning: exported type StaticReserveFilter should have comment or be unexported (golint)
    • Line 30: warning: exported function NewStaticReserveFilter should have comment or be unexported (golint)
    • Line 40: warning: comment on exported method StaticReserveFilter.Contains should be of the form "Contains ..." (golint)
    • Line 45: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • p2pserver/message/types/block_headers_req.go
    • Line 28: warning: exported type HeadersReq should have comment or be unexported (golint)
    • Line 34: warning: comment on exported method HeadersReq.Serialization should be of the form "Serialization ..." (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 41: warning: exported method HeadersReq.CmdType should have comment or be unexported (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 45: warning: comment on exported method HeadersReq.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 46: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • p2pserver/protocols/subnet/subnet.go
    • Line 37: warning: exported const MaxMemberRequests should have comment or be unexported (golint)
    • Line 38: warning: exported const MaxInactiveTime should have comment or be unexported (golint)
    • Line 40: warning: exported var RefreshDuration should have comment or be unexported (golint)
    • Line 42: warning: exported type SubNet should have comment or be unexported (golint)
    • Line 58: warning: exported function NewSubNet should have comment or be unexported (golint)
    • Line 72: warning: exported type MemberStatus should have comment or be unexported (golint)
    • Line 77: warning: exported method SubNet.Start should have comment or be unexported (golint)
    • Line 77: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 81: warning: exported method SubNet.Stop should have comment or be unexported (golint)
    • Line 81: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 86: warning: exported method SubNet.OnAddPeer should have comment or be unexported (golint)
    • Line 86: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 102: warning: exported method SubNet.OnDelPeer should have comment or be unexported (golint)
    • Line 102: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 114: warning: exported method SubNet.IpInMembers should have comment or be unexported (golint)
    • Line 114: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 126: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 137: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 148: warning: exported method SubNet.IsSeedNode should have comment or be unexported (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 152: warning: exported method SubNet.OnHostAddrDetected 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 169: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 177: warning: exported method SubNet.OnMembersRequest should have comment or be unexported (golint)
    • Line 177: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 210: warning: exported method SubNet.OnMembersResponse 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 238: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 252: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 269: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 291: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 302: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 314: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 329: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 372: warning: exported method SubNet.GetReservedAddrFilter should have comment or be unexported (golint)
    • Line 372: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 379: warning: exported method SubNet.GetMaskAddrFilter should have comment or be unexported (golint)
    • Line 379: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 385: warning: comment on exported method SubNet.GetMembersInfo should be of the form "GetMembersInfo ..." (golint)
    • Line 386: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • validator/types/messages.go
    • Line 28: warning: comment on exported type RegisterValidator should be of the form "RegisterValidator ..." (with optional leading article) (golint)
    • Line 35: warning: exported type UnRegisterValidator should have comment or be unexported (golint)
    • Line 40: warning: exported type UnRegisterAck should have comment or be unexported (golint)
    • Line 45: warning: exported type CheckTx should have comment or be unexported (golint)
    • Line 50: warning: exported type CheckResponse should have comment or be unexported (golint)
    • Line 62: warning: exported const Stateless should have comment (or a comment on this block) or be unexported (golint)
    • smartcontract/service/native/ontid/owner.go
    • Line 1: warning: package comment should be of the form "Package ontid ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 36: warning: exported const OWNER_TOTAL_SIZE should have comment (or a comment on this block) 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 62: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 97: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 102: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 137: warning: don't use underscores in Go names; func getAllPk_Version1 should be getAllPkVersion1 (golint)
    • Line 223: warning: don't use underscores in Go names; func putAllPk_Version1 should be putAllPkVersion1 (golint)
    • Line 257: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 328: warning: don't use underscores in Go names; func findPk_Version1 should be findPkVersion1 (golint)
    • Line 367: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 413: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • consensus/vbft/peer_pool.go
    • Line 31: warning: exported type Peer should have comment or be unexported (golint)
    • Line 40: warning: exported type PeerPool should have comment or be unexported (golint)
    • Line 53: warning: exported function NewPeerPool should have comment or be unexported (golint)
    • Line 219: warning: exported method PeerPool.GetPeerIndex should have comment or be unexported (golint)
    • Line 227: warning: exported method PeerPool.GetPeerPubKey should have comment or be unexported (golint)
    • Line 238: warning: exported method PeerPool.GetAllPubKeys should have comment or be unexported (golint)
    • Line 293: warning: exported method PeerPool.RemovePeerIndex should have comment or be unexported (golint)
    • cmd/utils/native_param.go
    • Line 38: warning: exported function NewNativeInvokeTransaction should have comment or be unexported (golint)
    • Line 54: warning: exported function ParseNativeFuncParam should have comment or be unexported (golint)
    • Line 76: warning: exported function ParseNativeParams should have comment or be unexported (golint)
    • Line 124: warning: exported function ParseNativeParamStruct should have comment or be unexported (golint)
    • Line 149: warning: exported function ParseNativeParamArray should have comment or be unexported (golint)
    • Line 171: warning: exported function ParseNativeParamByte should have comment or be unexported (golint)
    • Line 186: warning: exported function ParseNativeParamByteArray should have comment or be unexported (golint)
    • Line 195: warning: exported function ParseNativeParamUint256 should have comment or be unexported (golint)
    • Line 207: warning: exported function ParseNativeParamString should have comment or be unexported (golint)
    • Line 212: warning: exported function ParseNativeParamInteger should have comment or be unexported (golint)
    • Line 224: warning: exported function ParseNativeParamBool should have comment or be unexported (golint)
    • Line 238: warning: exported function ParseNativeParamAddress should have comment or be unexported (golint)
    • p2pserver/message/types/transaction.go
    • Line 27: warning: comment on exported type Trn should be of the form "Trn ..." (with optional leading article) (golint)
    • Line 32: warning: comment on exported method Trn.Serialization should be of the form "Serialization ..." (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: exported method Trn.CmdType should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 41: warning: comment on exported method Trn.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • cmd/sigsvr/import_wallet.go
    • Line 1: warning: package comment should be of the form "Package sigsvr ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 31: warning: exported var ImportWalletCommand should have comment or be unexported (golint)
    • core/store/overlaydb/overlaydb.go
    • Line 29: warning: exported type OverlayDB should have comment or be unexported (golint)
    • Line 38: warning: exported function NewOverlayDB should have comment or be unexported (golint)
    • Line 45: warning: exported method OverlayDB.Reset 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 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 53: warning: exported method OverlayDB.SetError 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 57: warning: comment on exported method OverlayDB.Get should be of the form "Get ..." (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 77: warning: exported method OverlayDB.Put should have comment or be unexported (golint)
    • Line 77: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 81: warning: exported method OverlayDB.Delete should have comment or be unexported (golint)
    • Line 81: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 85: warning: exported method OverlayDB.CommitTo should have comment or be unexported (golint)
    • Line 85: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 95: warning: exported method OverlayDB.GetWriteSet should have comment or be unexported (golint)
    • Line 95: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 99: warning: exported method OverlayDB.ChangeHash should have comment or be unexported (golint)
    • Line 99: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 111: warning: comment on exported method OverlayDB.NewIterator should be of the form "NewIterator ..." (golint)
    • Line 112: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/native/utils/unbind_ong.go
    • Line 27: warning: exported var TIME_INTERVAL should have comment or be unexported (golint)
    • Line 32: warning: comment on exported function CalcUnbindOng should be of the form "CalcUnbindOng ..." (golint)
    • Line 58: warning: comment on exported function CalcGovernanceUnbindOng should be of the form "CalcGovernanceUnbindOng ..." (golint)
    • smartcontract/service/native/ontfs/errors.go
    • Line 32: warning: exported type Errors should have comment or be unexported (golint)
    • Line 36: warning: exported method Errors.AddObjectError should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 43: warning: exported method Errors.ToString should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 59: warning: exported method Errors.FromString should have comment or be unexported (golint)
    • Line 59: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 87: warning: exported method Errors.AddErrorsEvent should have comment or be unexported (golint)
    • Line 87: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 100: warning: exported method Errors.PrintErrors should have comment or be unexported (golint)
    • Line 100: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • cmd/sigsvr/handlers/export_account.go
    • Line 1: warning: package comment should be of the form "Package handlers ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 33: warning: exported type ExportAccountReq should have comment or be unexported (golint)
    • Line 37: warning: exported type ExportAccountResp should have comment or be unexported (golint)
    • Line 42: warning: exported function ExportAccount should have comment or be unexported (golint)
    • account/file_store.go
    • Line 32: warning: comment on exported type AccountData should be of the form "AccountData ..." (with optional leading article) (golint)
    • Line 43: warning: exported method AccountData.SetKeyPair should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 53: warning: exported method AccountData.GetKeyPair 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 65: warning: exported method AccountData.SetLabel should have comment or be unexported (golint)
    • Line 65: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 69: warning: exported type WalletData should have comment or be unexported (golint)
    • Line 78: warning: exported function NewWalletData should have comment or be unexported (golint)
    • Line 89: warning: exported method WalletData.Clone should have comment or be unexported (golint)
    • Line 89: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 106: warning: exported method WalletData.AddAccount should have comment or be unexported (golint)
    • Line 106: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 110: warning: exported method WalletData.DelAccount should have comment or be unexported (golint)
    • Line 110: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 118: warning: exported method WalletData.GetAccountByIndex should have comment or be unexported (golint)
    • Line 118: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 125: warning: exported method WalletData.GetAccountByAddress should have comment or be unexported (golint)
    • Line 125: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 141: warning: exported method WalletData.Save should have comment or be unexported (golint)
    • Line 141: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 153: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 158: warning: exported method WalletData.Load 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 173: warning: exported method WalletData.ToLowSecurity 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 177: warning: exported method WalletData.ToDefaultSecurity should have comment or be unexported (golint)
    • Line 177: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 181: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 206: warning: exported method WalletData.AddIdentity should have comment or be unexported (golint)
    • Line 206: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • core/types/transaction.go
    • Line 34: warning: exported const MAX_TX_SIZE should have comment or be unexported (golint)
    • Line 36: warning: exported type Transaction should have comment or be unexported (golint)
    • Line 57: warning: comment on exported function TransactionFromRawBytes should be of the form "TransactionFromRawBytes ..." (golint)
    • Line 71: warning: comment on exported method Transaction.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 120: warning: comment on exported method Transaction.IntoMutable should be of the form "IntoMutable ..." (golint)
    • Line 210: warning: exported type RawSig should have comment or be unexported (golint)
    • Line 215: warning: exported method RawSig.Serialization should have comment or be unexported (golint)
    • Line 215: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 221: warning: exported method RawSig.Deserialization should have comment or be unexported (golint)
    • Line 221: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 245: warning: exported type Sig should have comment or be unexported (golint)
    • Line 251: warning: exported method Sig.GetRawSig should have comment or be unexported (golint)
    • Line 251: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 269: warning: exported method RawSig.GetSig should have comment or be unexported (golint)
    • Line 269: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 282: warning: exported method Sig.Serialization should have comment or be unexported (golint)
    • Line 282: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 303: warning: exported method Transaction.GetSignatureAddresses should have comment or be unexported (golint)
    • Line 303: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 314: warning: exported type TransactionType should have comment or be unexported (golint)
    • Line 317: warning: exported const Bookkeeper should have comment (or a comment on this block) or be unexported (golint)
    • Line 331: warning: exported method Transaction.Serialization should have comment or be unexported (golint)
    • Line 338: warning: exported method Transaction.ToArray should have comment or be unexported (golint)
    • Line 342: warning: exported method Transaction.Hash should have comment or be unexported (golint)
    • Line 346: warning: comment on exported method Transaction.SigHashForChain should be of the form "SigHashForChain ..." (golint)
    • smartcontract/service/native/cross_chain/lock_proxy/states.go
    • Line 19: warning: don't use an underscore in package name (golint)
    • Line 37: warning: exported method Args.Serialization should have comment or be unexported (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 43: warning: exported method Args.Deserialization should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 73: warning: exported type LockParam should have comment or be unexported (golint)
    • Line 81: warning: exported method LockParam.Serialization should have comment or be unexported (golint)
    • Line 81: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 89: warning: exported method LockParam.Deserialization should have comment or be unexported (golint)
    • Line 89: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 109: warning: exported type UnlockParam should have comment or be unexported (golint)
    • Line 115: warning: exported method UnlockParam.Serialization should have comment or be unexported (golint)
    • Line 115: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 121: warning: exported method UnlockParam.Deserialization should have comment or be unexported (golint)
    • Line 121: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 135: warning: exported type BindProxyParam should have comment or be unexported (golint)
    • Line 140: warning: exported method BindProxyParam.Serialization should have comment or be unexported (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 145: warning: exported method BindProxyParam.Deserialization 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 156: warning: exported type BindAssetParam should have comment or be unexported (golint)
    • Line 164: warning: exported method BindAssetParam.Serialization should have comment or be unexported (golint)
    • Line 164: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 172: warning: exported method BindAssetParam.Deserialization should have comment or be unexported (golint)
    • Line 172: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/states/wasmContract.go
    • Line 27: warning: exported type WasmContractParam should have comment or be unexported (golint)
    • Line 32: warning: exported method WasmContractParam.Serialization should have comment or be unexported (golint)
    • Line 32: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 37: warning: comment on exported method WasmContractParam.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 38: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • consensus/dbft/consensus_context.go
    • Line 34: warning: exported const ContextVersion should have comment or be unexported (golint)
    • Line 36: warning: exported type ConsensusContext should have comment or be unexported (golint)
    • Line 59: warning: exported method ConsensusContext.M should have comment or be unexported (golint)
    • Line 64: warning: exported function NewConsensusContext should have comment or be unexported (golint)
    • Line 69: warning: exported method ConsensusContext.ChangeView should have comment or be unexported (golint)
    • Line 87: warning: exported method ConsensusContext.MakeChangeView should have comment or be unexported (golint)
    • Line 96: warning: exported method ConsensusContext.MakeHeader should have comment or be unexported (golint)
    • Line 122: warning: exported method ConsensusContext.MakePayload should have comment or be unexported (golint)
    • Line 138: warning: exported method ConsensusContext.MakePrepareRequest should have comment or be unexported (golint)
    • Line 150: warning: exported method ConsensusContext.MakePrepareResponse should have comment or be unexported (golint)
    • Line 159: warning: exported method ConsensusContext.MakeBlockSignatures should have comment or be unexported (golint)
    • Line 168: warning: exported method ConsensusContext.GetSignaturesCount should have comment or be unexported (golint)
    • Line 179: warning: exported method ConsensusContext.GetStateDetail should have comment or be unexported (golint)
    • Line 192: warning: exported method ConsensusContext.Reset should have comment or be unexported (golint)
    • core/store/ledgerstore/state_store.go
    • Line 42: warning: exported var BOOKKEEPER should have comment or be unexported (golint)
    • Line 80: warning: comment on exported function NewMemStateStore should be of the form "NewMemStateStore ..." (golint)
    • Line 94: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 98: warning: exported method StateStore.BatchPutRawKeyVal should have comment or be unexported (golint)
    • Line 98: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 102: warning: exported method StateStore.BatchDeleteRawKey should have comment or be unexported (golint)
    • Line 102: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 106: 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 167: warning: exported method StateStore.GetStateMerkleRoot should have comment or be unexported (golint)
    • Line 167: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 189: warning: exported method StateStore.AddStateMerkleTreeRoot should have comment or be unexported (golint)
    • Line 189: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 217: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 233: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 237: warning: exported method StateStore.NewOverlayDB should have comment or be unexported (golint)
    • Line 237: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 242: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 247: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 267: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 287: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 298: warning: comment on exported method StateStore.GetStorageState should be of the form "GetStorageState ..." (golint)
    • Line 299: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 319: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 339: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 348: warning: exported method StateStore.GetCrossStates should have comment or be unexported (golint)
    • Line 348: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 367: warning: exported method StateStore.GetCrossStatesRoot should have comment or be unexported (golint)
    • Line 367: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 378: warning: exported method StateStore.SaveCrossStates should have comment or be unexported (golint)
    • Line 378: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 392: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 399: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 403: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 410: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 418: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 426: warning: exported method StateStore.GetStateMerkleRootWithNewHash should have comment or be unexported (golint)
    • Line 426: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 430: warning: exported method StateStore.GetBlockRootWithNewTxRoots should have comment or be unexported (golint)
    • Line 430: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 434: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 438: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 442: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 450: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 465: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 470: warning: exported method StateStore.CheckStorage should have comment or be unexported (golint)
    • Line 470: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • p2pserver/message/types/address.go
    • Line 28: warning: exported type Addr should have comment or be unexported (golint)
    • Line 32: warning: comment on exported method Addr.Serialization should be of the form "Serialization ..." (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 47: warning: exported method Addr.CmdType 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)
    • Line 51: warning: exported method Addr.Deserialization should have comment or be unexported (golint)
    • Line 51: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • p2pserver/message/types/address_req.go
    • Line 26: warning: exported type AddrReq should have comment or be unexported (golint)
    • Line 28: warning: comment on exported method AddrReq.Serialization should be of the form "Serialization ..." (golint)
    • Line 29: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 32: warning: exported method AddrReq.CmdType should have comment or be unexported (golint)
    • Line 32: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 36: warning: comment on exported method AddrReq.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 37: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • p2pserver/message/types/consensus.go
    • Line 26: warning: exported type Consensus should have comment or be unexported (golint)
    • Line 30: warning: comment on exported method Consensus.Serialization should be of the form "Serialization ..." (golint)
    • Line 31: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 35: warning: exported method Consensus.CmdType should have comment or be unexported (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 39: warning: comment on exported method Consensus.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/native/ontfs/node_business.go
    • Line 35: warning: exported function FsFileProve should have comment or be unexported (golint)
    • Line 186: warning: exported function FsGetNodeChallengeList should have comment or be unexported (golint)
    • Line 208: warning: exported function FsResponse should have comment or be unexported (golint)
    • Line 318: warning: comment on exported function CheckPdpProve should be of the form "CheckPdpProve ..." (golint)
    • Line 335: warning: exported function FsReadFileSettle should have comment or be unexported (golint)
    • consensus/actor/message.go
    • Line 23: warning: exported type StartConsensus should have comment or be unexported (golint)
    • Line 24: warning: exported type StopConsensus should have comment or be unexported (golint)
    • Line 26: warning: comment on exported type TimeOut should be of the form "TimeOut ..." (with optional leading article) (golint)
    • Line 28: warning: exported type BlockCompleted should have comment or be unexported (golint)
    • consensus/dbft/change_view.go
    • Line 27: warning: exported type ChangeView should have comment or be unexported (golint)
    • Line 32: warning: exported method ChangeView.Serialization should have comment or be unexported (golint)
    • Line 37: warning: comment on exported method ChangeView.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 53: warning: exported method ChangeView.Type should have comment or be unexported (golint)
    • Line 57: warning: exported method ChangeView.ViewNumber should have comment or be unexported (golint)
    • Line 61: warning: exported method ChangeView.ConsensusMessageData should have comment or be unexported (golint)
    • core/types/mutable_transaction.go
    • Line 28: warning: exported type MutableTransaction should have comment or be unexported (golint)
    • Line 41: warning: comment on exported method MutableTransaction.IntoImmutable should be of the form "IntoImmutable ..." (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 52: warning: exported method MutableTransaction.Hash should have comment or be unexported (golint)
    • Line 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 60: warning: exported method MutableTransaction.GetSignatureAddresses should have comment or be unexported (golint)
    • Line 60: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • cmd/abi/neovm_abi.go
    • Line 1: warning: package comment should be of the form "Package abi ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 23: warning: exported const NEOVM_PARAM_TYPE_BOOL should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: exported type NeovmContractAbi should have comment or be unexported (golint)
    • Line 39: warning: exported method NeovmContractAbi.GetFunc should have comment or be unexported (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 49: warning: exported method NeovmContractAbi.GetEvent should have comment or be unexported (golint)
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 59: warning: exported type NeovmContractFunctionAbi should have comment or be unexported (golint)
    • Line 65: warning: exported type NeovmContractParamsAbi should have comment or be unexported (golint)
    • Line 70: warning: exported type NeovmContractEventAbi should have comment or be unexported (golint)
    • smartcontract/service/wasmvm/block.go
    • Line 1: warning: package comment should be of the form "Package wasmvm ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 24: warning: exported function GetCurrentBlockHash should have comment or be unexported (golint)
    • consensus/vbft/node_sync.go
    • Line 32: warning: exported type SyncCheckReq should have comment or be unexported (golint)
    • Line 38: warning: exported type BlockSyncReq should have comment or be unexported (golint)
    • Line 44: warning: exported type PeerSyncer should have comment or be unexported (golint)
    • Line 55: warning: exported type SyncMsg should have comment or be unexported (golint)
    • Line 60: warning: exported type BlockMsgFromPeer should have comment or be unexported (golint)
    • Line 65: warning: exported type BlockFromPeers should have comment or be unexported (golint)
    • Line 67: warning: exported type Syncer should have comment or be unexported (golint)
    • Line 98: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 111: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 238: 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: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 283: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 287: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 303: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 345: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 402: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 413: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 444: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 476: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • cmd/sigsvr/common/errors.go
    • Line 22: warning: exported const CLIERR_OK should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported var RPCErrorDesc should have comment or be unexported (golint)
    • Line 48: warning: exported function GetCLIErrorDesc should have comment or be unexported (golint)
    • core/store/leveldbstore/leveldb_store.go
    • Line 32: warning: comment on exported type LevelDBStore should be of the form "LevelDBStore ..." (with optional leading article) (golint)
    • Line 38: warning: comment on exported const BITSPERKEY should be of the form "BITSPERKEY ..." (golint)
    • Line 77: warning: exported function NewMemLevelDBStore 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 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 118: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 123: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 128: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 133: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 138: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 148: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 154: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • cmd/utils/rpc.go
    • Line 32: warning: comment on exported const JSON_RPC_VERSION should be of the form "JSON_RPC_VERSION ..." (golint)
    • Line 36: warning: exported const ERROR_INVALID_PARAMS should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: exported type OntologyError should have comment or be unexported (golint)
    • Line 46: warning: exported function NewOntologyError should have comment or be unexported (golint)
    • core/states/vote_state.go
    • Line 28: warning: exported type VoteState should have comment or be unexported (golint)
    • Line 34: warning: exported method VoteState.Serialization should have comment or be unexported (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 44: warning: exported method VoteState.Deserialization 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)
    • common/zero_copy_sink.go
    • Line 1: warning: package comment should be of the form "Package common ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 26: warning: exported type ZeroCopySink should have comment or be unexported (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 64: warning: exported method ZeroCopySink.WriteBytes should have comment or be unexported (golint)
    • Line 64: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 69: warning: exported method ZeroCopySink.Size should have comment or be unexported (golint)
    • Line 69: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 71: warning: exported method ZeroCopySink.NextBytes should have comment or be unexported (golint)
    • Line 71: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 80: warning: comment on exported method ZeroCopySink.BackUp should be of the form "BackUp ..." (golint)
    • Line 82: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 87: warning: exported method ZeroCopySink.WriteUint8 should have comment or be unexported (golint)
    • Line 87: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 92: warning: exported method ZeroCopySink.WriteByte should have comment or be unexported (golint)
    • Line 92: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 96: warning: exported method ZeroCopySink.WriteBool 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 104: warning: exported method ZeroCopySink.WriteUint16 should have comment or be unexported (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 109: warning: exported method ZeroCopySink.WriteUint32 should have comment or be unexported (golint)
    • Line 109: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 114: warning: exported method ZeroCopySink.WriteUint64 should have comment or be unexported (golint)
    • Line 114: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 119: warning: exported method ZeroCopySink.WriteInt64 should have comment or be unexported (golint)
    • Line 119: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 123: warning: exported method ZeroCopySink.WriteInt32 should have comment or be unexported (golint)
    • Line 123: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 127: warning: exported method ZeroCopySink.WriteInt16 should have comment or be unexported (golint)
    • Line 127: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 131: warning: exported method ZeroCopySink.WriteVarBytes should have comment or be unexported (golint)
    • Line 131: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 139: warning: exported method ZeroCopySink.WriteString should have comment or be unexported (golint)
    • Line 139: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 143: warning: exported method ZeroCopySink.WriteAddress should have comment or be unexported (golint)
    • Line 143: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 147: warning: exported method ZeroCopySink.WriteHash should have comment or be unexported (golint)
    • Line 147: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 151: warning: exported method ZeroCopySink.WriteU128 should have comment or be unexported (golint)
    • Line 151: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 155: warning: exported method ZeroCopySink.WriteI128 should have comment or be unexported (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 159: warning: exported method ZeroCopySink.WriteVarUint should have comment or be unexported (golint)
    • Line 159: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 182: warning: comment on exported function NewZeroCopySink should be of the form "NewZeroCopySink ..." (golint)
    • Line 190: warning: exported method ZeroCopySink.Bytes should have comment or be unexported (golint)
    • Line 190: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 192: warning: exported method ZeroCopySink.Reset should have comment or be unexported (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 194: warning: exported var ErrTooLarge should have comment or be unexported (golint)
    • core/types/header.go
    • Line 29: warning: exported type RawHeader should have comment or be unexported (golint)
    • Line 34: warning: exported method RawHeader.Serialization should have comment or be unexported (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 38: warning: comment on exported method RawHeader.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 39: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 88: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 112: warning: exported method Header.GetRawHeader should have comment or be unexported (golint)
    • Line 121: warning: exported type Header should have comment or be unexported (golint)
    • Line 139: warning: exported method Header.Serialization should have comment or be unexported (golint)
    • Line 139: warning: receiver name bd should be consistent with previous receiver name hd for Header (golint)
    • Line 154: warning: receiver name bd should be consistent with previous receiver name hd for Header (golint)
    • Line 166: warning: exported function HeaderFromRawBytes should have comment or be unexported (golint)
    • Line 176: warning: exported method Header.Deserialization should have comment or be unexported (golint)
    • Line 176: warning: receiver name bd should be consistent with previous receiver name hd for Header (golint)
    • Line 227: warning: receiver name bd should be consistent with previous receiver name hd for Header (golint)
    • Line 279: warning: exported method Header.Hash should have comment or be unexported (golint)
    • Line 279: warning: receiver name bd should be consistent with previous receiver name hd for Header (golint)
    • Line 292: warning: exported method Header.ToArray should have comment or be unexported (golint)
    • Line 292: warning: receiver name bd should be consistent with previous receiver name hd for Header (golint)
    • p2pserver/common/p2p_common.go
    • Line 31: warning: exported const MIN_VERSION_FOR_DHT should have comment or be unexported (golint)
    • Line 74: warning: exported const RecentPeerElapseLimit should have comment (or a comment on this block) or be unexported (golint)
    • Line 77: warning: comment on exported const HTTP_INFO_FLAG should be of the form "HTTP_INFO_FLAG ..." (golint)
    • Line 101: warning: don't use underscores in Go names; const GetADDR_TYPE should be GetADDRTYPE (golint)
    • smartcontract/service/native/ontid/query.go
    • Line 1: warning: package comment should be of the form "Package ontid ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 33: warning: exported function GetPublicKeyByID should have comment or be unexported (golint)
    • Line 63: warning: comment on exported function GetDDO should be of the form "GetDDO ..." (golint)
    • Line 130: warning: comment on exported function GetPublicKeys should be of the form "GetPublicKeys ..." (golint)
    • Line 165: warning: exported function GetPublicKeysJson should have comment or be unexported (golint)
    • Line 196: warning: exported function GetAttributes should have comment or be unexported (golint)
    • Line 221: warning: exported function GetAttributeByKey should have comment or be unexported (golint)
    • Line 250: warning: exported function GetAttributesJson should have comment or be unexported (golint)
    • Line 279: warning: exported function GetKeyState should have comment or be unexported (golint)
    • Line 312: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 317: warning: exported function GetServiceJson should have comment or be unexported (golint)
    • Line 353: warning: exported function GetControllerJson should have comment or be unexported (golint)
    • Line 375: warning: exported function GetDocumentJson should have comment or be unexported (golint)
    • cmd/sigsvr/store/wallet_store.go
    • Line 1: warning: package comment should be of the form "Package store ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 36: warning: exported type WalletStore should have comment or be unexported (golint)
    • Line 47: warning: exported function NewWalletStore should have comment or be unexported (golint)
    • Line 120: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 134: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 138: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 142: 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 168: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 176: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 192: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 196: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 207: warning: exported method WalletStore.GetNextAccountIndex should have comment or be unexported (golint)
    • Line 207: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 213: warning: exported method WalletStore.GetAccountByAddress should have comment or be unexported (golint)
    • Line 213: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 239: warning: exported method WalletStore.NewAccountData should have comment or be unexported (golint)
    • Line 239: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 261: warning: exported method WalletStore.AddAccountData should have comment or be unexported (golint)
    • Line 261: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 318: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 329: warning: exported method WalletStore.GetAccountDataByAddress should have comment or be unexported (golint)
    • Line 329: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 345: warning: exported method WalletStore.IsAccountExist should have comment or be unexported (golint)
    • Line 345: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 356: warning: exported method WalletStore.GetAccountDataByIndex should have comment or be unexported (golint)
    • Line 356: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 367: warning: exported method WalletStore.GetAccountAddress should have comment or be unexported (golint)
    • Line 367: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 378: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 384: warning: exported method WalletStore.GetAccountNumber should have comment or be unexported (golint)
    • Line 384: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • consensus/dbft/prepare_response.go
    • Line 27: warning: exported type PrepareResponse should have comment or be unexported (golint)
    • Line 32: warning: exported method PrepareResponse.Serialization should have comment or be unexported (golint)
    • Line 37: warning: comment on exported method PrepareResponse.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 56: warning: exported method PrepareResponse.Type should have comment or be unexported (golint)
    • Line 60: warning: exported method PrepareResponse.ViewNumber should have comment or be unexported (golint)
    • Line 64: warning: exported method PrepareResponse.ConsensusMessageData should have comment or be unexported (golint)
    • http/websocket/session/session.go
    • Line 31: warning: exported type TxHashInfo should have comment or be unexported (golint)
    • Line 36: warning: comment on exported type Session should be of the form "Session ..." (with optional leading article) (golint)
    • Line 45: warning: exported const SESSION_TIMEOUT should have comment or be unexported (golint)
    • Line 59: warning: exported method Session.GetSessionId should have comment or be unexported (golint)
    • Line 59: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 63: warning: comment on exported method Session.Close should be of the form "Close ..." (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 74: warning: comment on exported method Session.UpdateActiveTime should be of the form "UpdateActiveTime ..." (golint)
    • Line 75: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 81: warning: comment on exported method Session.Send should be of the form "Send ..." (golint)
    • Line 82: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 95: warning: comment on exported method Session.SessionTimeoverCheck should be of the form "SessionTimeoverCheck ..." (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 105: warning: comment on exported method Session.RemoveTimeoverTxHashes should be of the form "RemoveTimeoverTxHashes ..." (golint)
    • Line 106: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 122: warning: comment on exported method Session.AppendTxHash should be of the form "AppendTxHash ..." (golint)
    • Line 123: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • cmd/abi/native_abi.go
    • Line 24: warning: exported const NATIVE_PARAM_TYPE_BOOL should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported type NativeContractAbi should have comment or be unexported (golint)
    • Line 41: warning: exported type NativeContractFunctionAbi should have comment or be unexported (golint)
    • Line 47: warning: exported type NativeContractParamAbi should have comment or be unexported (golint)
    • Line 53: warning: exported type NativeContractEventAbi should have comment or be unexported (golint)
    • Line 58: warning: exported method NativeContractAbi.GetFunc should have comment or be unexported (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 68: warning: exported method NativeContractAbi.GetEvent should have comment or be unexported (golint)
    • Line 68: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/native/ontfs/global_param.go
    • Line 28: warning: exported type FsGlobalParam should have comment or be unexported (golint)
    • Line 42: warning: exported method FsGlobalParam.Serialization should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 56: warning: exported method FsGlobalParam.Deserialization 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)
    • consensus/vbft/state_mgmt.go
    • Line 31: warning: comment on exported const MAX_PEER_CONNECTIONS should be of the form "MAX_PEER_CONNECTIONS ..." (golint)
    • Line 33: warning: exported const MAX_SYNCING_CHECK_BLK_NUM should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: exported type ServerState should have comment or be unexported (golint)
    • Line 39: warning: exported const Init should have comment (or a comment on this block) or be unexported (golint)
    • Line 57: warning: exported type StateEventType should have comment or be unexported (golint)
    • Line 60: warning: exported const ConfigLoaded should have comment (or a comment on this block) or be unexported (golint)
    • Line 69: warning: exported type StateEvent should have comment or be unexported (golint)
    • Line 75: warning: exported type PeerState should have comment or be unexported (golint)
    • Line 86: warning: exported type StateMgr should have comment or be unexported (golint)
    • Line 108: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 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 191: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 268: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 285: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 318: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 327: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 346: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 364: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 382: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 435: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 464: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • core/states/bookkeeper.go
    • Line 28: warning: exported type BookkeeperState should have comment or be unexported (golint)
    • Line 34: warning: exported method BookkeeperState.Serialization should have comment or be unexported (golint)
    • Line 34: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 48: warning: exported method BookkeeperState.Deserialization should have comment or be unexported (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 92: warning: exported method BookkeeperState.ToArray should have comment or be unexported (golint)
    • common/fixed64.go
    • Line 27: warning: comment on exported type Fixed64 should be of the form "Fixed64 ..." (with optional leading article) (golint)
    • Line 31: warning: exported const Decimal should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported method Fixed64.Serialization should have comment or be unexported (golint)
    • Line 38: warning: exported method Fixed64.Deserialization should have comment or be unexported (golint)
    • Line 49: warning: exported function FromDecimal should have comment or be unexported (golint)
    • Line 53: warning: exported method Fixed64.GetData should have comment or be unexported (golint)
    • p2pserver/common/logger.go
    • Line 23: warning: exported type Logger should have comment or be unexported (golint)
    • Line 36: warning: comment on exported type GlobalLoggerWrapper should be of the form "GlobalLoggerWrapper ..." (with optional leading article) (golint)
    • Line 40: warning: exported function NewGlobalLoggerWrapper should have comment or be unexported (golint)
    • Line 44: warning: exported method GlobalLoggerWrapper.Debug 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 48: warning: exported method GlobalLoggerWrapper.Info should have comment or be unexported (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 52: warning: exported method GlobalLoggerWrapper.Warn should have comment or be unexported (golint)
    • Line 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 56: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 60: warning: exported method GlobalLoggerWrapper.Fatal should have comment or be unexported (golint)
    • Line 60: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 64: warning: exported method GlobalLoggerWrapper.Debugf should have comment or be unexported (golint)
    • Line 64: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 68: warning: exported method GlobalLoggerWrapper.Infof should have comment or be unexported (golint)
    • Line 68: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 72: warning: exported method GlobalLoggerWrapper.Warnf 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 76: warning: exported method GlobalLoggerWrapper.Errorf should have comment or be unexported (golint)
    • Line 76: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 80: warning: exported method GlobalLoggerWrapper.Fatalf should have comment or be unexported (golint)
    • Line 80: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 89: warning: exported function LoggerWithContext should have comment or be unexported (golint)
    • Line 93: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 100: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 107: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 114: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 121: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 129: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 138: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 147: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 156: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 165: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/native/cross_chain/header_sync/param.go
    • Line 19: warning: don't use an underscore in package name (golint)
    • Line 28: warning: exported type SyncBlockHeaderParam should have comment or be unexported (golint)
    • Line 33: warning: exported method SyncBlockHeaderParam.Serialization should have comment or be unexported (golint)
    • Line 33: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 41: warning: exported method SyncBlockHeaderParam.Deserialization should have comment or be unexported (golint)
    • Line 41: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 63: warning: exported type SyncGenesisHeaderParam should have comment or be unexported (golint)
    • Line 67: warning: exported method SyncGenesisHeaderParam.Serialization should have comment or be unexported (golint)
    • Line 67: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 71: warning: exported method SyncGenesisHeaderParam.Deserialization should have comment or be unexported (golint)
    • Line 71: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/neovm/system.go
    • Line 40: warning: comment on exported function GetCallingAddress should be of the form "GetCallingAddress ..." (golint)
    • Line 49: warning: comment on exported function GetEntryAddress should be of the form "GetEntryAddress ..." (golint)
    • smartcontract/service/native/ontfs/file_info.go
    • Line 28: warning: exported const FileStorageTypeUseSpace should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: exported type FileHash should have comment or be unexported (golint)
    • Line 36: warning: exported type FileInfo should have comment or be unexported (golint)
    • Line 56: warning: exported type FileInfoList should have comment or be unexported (golint)
    • Line 60: warning: exported type FileHashList should have comment or be unexported (golint)
    • Line 64: warning: exported method FileInfo.Serialization should have comment or be unexported (golint)
    • Line 64: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 84: warning: exported method FileInfo.Deserialization should have comment or be unexported (golint)
    • Line 84: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 158: warning: exported method FileInfoList.Serialization 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 FileInfoList.Deserialization 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 193: warning: exported method FileHashList.Serialization should have comment or be unexported (golint)
    • Line 193: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 204: warning: exported method FileHashList.Deserialization should have comment or be unexported (golint)
    • Line 204: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/native/ontfs/file_pdp_data.go
    • Line 29: warning: exported type PdpData should have comment or be unexported (golint)
    • Line 36: warning: exported method PdpData.Serialization should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 47: warning: exported method PdpData.Deserialization 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)
    • cmd/sigsvr/handlers/sig_transfer_tx.go
    • Line 32: warning: exported type SigTransferTransactionReq should have comment or be unexported (golint)
    • Line 42: warning: exported type SinTransferTransactionRsp should have comment or be unexported (golint)
    • Line 46: warning: exported function SigTransferTransaction should have comment or be unexported (golint)
    • smartcontract/service/wasmvm/config.go
    • Line 1: warning: package comment should be of the form "Package wasmvm ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 21: warning: exported var TIMESTAMP_GAS should have comment or be unexported (golint)
    • common/merkle_tree.go
    • Line 24: warning: comment on exported function ComputeMerkleRoot should be of the form "ComputeMerkleRoot ..." (golint)
    • http/localrpc/local_server.go
    • Line 33: warning: exported const LOCAL_HOST should have comment (or a comment on this block) or be unexported (golint)
    • Line 37: warning: exported function StartLocalServer should have comment or be unexported (golint)
    • merkle/merkle_tree.go
    • Line 34: warning: exported var EMPTY_HASH should have comment or be unexported (golint)
    • Line 38: warning: don't use underscores in Go names; struct field mintree_h should be mintreeH (golint)
    • Line 47: warning: don't use underscores in Go names; func parameter tree_size should be treeSize (golint)
    • Line 61: warning: exported method CompactMerkleTree.Hashes should have comment or be unexported (golint)
    • Line 61: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 65: warning: exported method CompactMerkleTree.TreeSize should have comment or be unexported (golint)
    • Line 65: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 69: warning: exported method CompactMerkleTree.Marshal should have comment or be unexported (golint)
    • Line 69: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 80: warning: exported method CompactMerkleTree.UnMarshal should have comment or be unexported (golint)
    • Line 80: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 81: warning: don't use underscores in Go names; var tree_size should be treeSize (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 96: warning: don't use underscores in Go names; method parameter tree_size should be treeSize (golint)
    • Line 109: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 121: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 129: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 141: warning: exported method CompactMerkleTree.GetRootWithNewLeaves should have comment or be unexported (golint)
    • Line 141: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 151: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 158: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 187: warning: exported method CompactMerkleTree.DumpStatus 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 230: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 242: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 251: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 298: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 344: warning: exported function NewMerkleVerifier should have comment or be unexported (golint)
    • Line 350: warning: comment on exported method MerkleVerifier.VerifyLeafHashInclusion should be of the form "VerifyLeafHashInclusion ..." (golint)
    • Line 362: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 362: warning: don't use underscores in Go names; method parameter leaf_hash should be leafHash (golint)
    • Line 363: warning: don't use underscores in Go names; method parameter leaf_index should be leafIndex (golint)
    • Line 363: warning: don't use underscores in Go names; method parameter root_hash should be rootHash (golint)
    • Line 363: warning: don't use underscores in Go names; method parameter tree_size should be treeSize (golint)
    • Line 369: warning: don't use underscores in Go names; var calculated_root_hash should be calculatedRootHash (golint)
    • Line 375: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 382: warning: comment on exported method MerkleVerifier.VerifyLeafInclusion should be of the form "VerifyLeafInclusion ..." (golint)
    • Line 394: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 395: warning: don't use underscores in Go names; method parameter leaf_index should be leafIndex (golint)
    • Line 395: warning: don't use underscores in Go names; method parameter root_hash should be rootHash (golint)
    • Line 395: warning: don't use underscores in Go names; method parameter tree_size should be treeSize (golint)
    • Line 396: warning: don't use underscores in Go names; var leaf_hash should be leafHash (golint)
    • Line 400: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 400: warning: don't use underscores in Go names; method calculate_root_hash_from_audit_path should be calculateRootHashFromAuditPath (golint)
    • Line 400: warning: don't use underscores in Go names; method parameter leaf_hash should be leafHash (golint)
    • Line 401: warning: don't use underscores in Go names; method parameter node_index should be nodeIndex (golint)
    • Line 401: warning: don't use underscores in Go names; method parameter audit_path should be auditPath (golint)
    • Line 401: warning: don't use underscores in Go names; method parameter tree_size should be treeSize (golint)
    • Line 402: warning: don't use underscores in Go names; var calculated_hash should be calculatedHash (golint)
    • Line 403: warning: don't use underscores in Go names; var last_node should be lastNode (golint)
    • Line 405: warning: don't use underscores in Go names; var path_len should be pathLen (golint)
    • Line 408: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 419: warning: don't use underscores in Go names; var node_index should be nodeIndex (golint)
    • Line 420: warning: don't use underscores in Go names; var last_node should be lastNode (golint)
    • Line 429: warning: don't use underscores in Go names; func audit_path_length should be auditPathLength (golint)
    • Line 429: warning: don't use underscores in Go names; func parameter tree_size should be treeSize (golint)
    • Line 431: warning: don't use underscores in Go names; var last_node should be lastNode (golint)
    • Line 437: warning: don't use underscores in Go names; var last_node should be lastNode (golint)
    • Line 442: warning: comment on exported method MerkleVerifier.VerifyConsistency should be of the form "VerifyConsistency ..." (golint)
    • Line 464: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 464: warning: don't use underscores in Go names; method parameter old_tree_size should be oldTreeSize (golint)
    • Line 465: warning: don't use underscores in Go names; method parameter new_tree_size should be newTreeSize (golint)
    • Line 465: warning: don't use underscores in Go names; method parameter old_root should be oldRoot (golint)
    • Line 465: warning: don't use underscores in Go names; method parameter new_root should be newRoot (golint)
    • Line 466: warning: don't use underscores in Go names; var old_size should be oldSize (golint)
    • Line 467: warning: don't use underscores in Go names; var new_size should be newSize (golint)
    • Line 470: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 486: warning: don't use underscores in Go names; var last_node should be lastNode (golint)
    • Line 491: warning: don't use underscores in Go names; var last_node should be lastNode (golint)
    • Line 496: warning: don't use underscores in Go names; var new_hash should be newHash (golint)
    • Line 496: warning: don't use underscores in Go names; var old_hash should be oldHash (golint)
    • Line 518: warning: don't use underscores in Go names; var next_node should be nextNode (golint)
    • Line 527: warning: don't use underscores in Go names; var next_node should be nextNode (golint)
    • Line 534: warning: don't use underscores in Go names; var last_node should be lastNode (golint)
    • Line 543: warning: don't use underscores in Go names; var next_node should be nextNode (golint)
    • Line 546: warning: don't use underscores in Go names; var last_node should be lastNode (golint)
    • Line 554: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 557: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • p2pserver/link/link.go
    • Line 48: warning: exported function NewLink should have comment or be unexported (golint)
    • Line 61: warning: comment on exported method Link.GetAddr should be of the form "GetAddr ..." (golint)
    • Line 62: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 66: warning: comment on exported method Link.GetConn should be of the form "GetConn ..." (golint)
    • Line 67: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 73: warning: comment on exported method Link.SetConn should be of the form "SetConn ..." (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 80: warning: comment on exported method Link.UpdateRXTime should be of the form "UpdateRXTime ..." (golint)
    • Line 81: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 86: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 90: warning: exported method Link.Rx should have comment or be unexported (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 131: warning: comment on exported method Link.CloseConn should be of the form "CloseConn ..." (golint)
    • Line 132: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 142: warning: exported method Link.Send should have comment or be unexported (golint)
    • Line 142: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 149: warning: exported method Link.SendRaw should have comment or be unexported (golint)
    • Line 149: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 173: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 190: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/native/cross_chain/cross_chain_manager/param.go
    • Line 19: warning: don't use an underscore in package name (golint)
    • Line 28: warning: exported type CreateCrossChainTxParam should have comment or be unexported (golint)
    • Line 35: warning: exported method CreateCrossChainTxParam.Serialization should have comment or be unexported (golint)
    • Line 35: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 42: warning: exported method CreateCrossChainTxParam.Deserialization should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 67: warning: exported type ProcessCrossChainTxParam should have comment or be unexported (golint)
    • Line 75: warning: exported method ProcessCrossChainTxParam.Serialization should have comment or be unexported (golint)
    • Line 75: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 83: warning: exported method ProcessCrossChainTxParam.Deserialization should have comment or be unexported (golint)
    • Line 83: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 112: warning: exported type OngUnlockParam should have comment or be unexported (golint)
    • Line 118: warning: exported method OngUnlockParam.Serialization should have comment or be unexported (golint)
    • Line 118: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 124: warning: exported method OngUnlockParam.Deserialization 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)
    • smartcontract/service/native/auth/state.go
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (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 51: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 60: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 79: warning: exported type AuthToken should have comment or be unexported (golint)
    • Line 85: warning: exported method AuthToken.Serialization should have comment or be unexported (golint)
    • Line 85: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 91: warning: exported method AuthToken.Deserialization should have comment or be unexported (golint)
    • Line 91: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 110: warning: exported type DelegateStatus should have comment or be unexported (golint)
    • Line 115: warning: exported method DelegateStatus.Serialization should have comment or be unexported (golint)
    • Line 115: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 120: warning: exported method DelegateStatus.Deserialization should have comment or be unexported (golint)
    • Line 120: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 130: warning: exported type Status should have comment or be unexported (golint)
    • Line 134: warning: exported method Status.Serialization should have comment or be unexported (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 141: warning: exported method Status.Deserialization should have comment or be unexported (golint)
    • Line 141: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 162: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 169: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • cmd/common/common.go
    • Line 33: warning: exported function GetPasswd should have comment or be unexported (golint)
    • Line 47: warning: exported function OpenWallet should have comment or be unexported (golint)
    • Line 62: warning: exported function GetAccountMulti should have comment or be unexported (golint)
    • Line 99: warning: exported function GetAccountMetadataMulti should have comment or be unexported (golint)
    • Line 120: warning: exported function GetAccount should have comment or be unexported (golint)
    • Line 139: warning: exported function IsBase58Address should have comment or be unexported (golint)
    • Line 171: warning: exported function ClearPasswd should have comment or be unexported (golint)
    • vm/neovm/params_builder.go
    • Line 29: warning: exported type ParamsBuilder should have comment or be unexported (golint)
    • Line 33: warning: exported function NewParamsBuilder should have comment or be unexported (golint)
    • Line 37: warning: exported method ParamsBuilder.Emit should have comment or be unexported (golint)
    • Line 41: warning: exported method ParamsBuilder.EmitPushBool should have comment or be unexported (golint)
    • Line 49: warning: exported method ParamsBuilder.EmitPushInteger should have comment or be unexported (golint)
    • Line 68: warning: exported method ParamsBuilder.EmitPushByteArray should have comment or be unexported (golint)
    • Line 89: warning: exported method ParamsBuilder.EmitPushCall should have comment or be unexported (golint)
    • Line 94: warning: exported method ParamsBuilder.ToArray should have comment or be unexported (golint)
    • consensus/vbft/msg_builder.go
    • Line 35: warning: exported type ConsensusMsgPayload should have comment or be unexported (golint)
    • Line 41: warning: exported function DeserializeVbftMsg should have comment or be unexported (golint)
    • Line 123: warning: exported function SerializeVbftMsg should have comment or be unexported (golint)
    • Line 137: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 155: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 187: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 225: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 248: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 311: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 357: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 424: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 430: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 438: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 444: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 450: 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)
    • smartcontract/states/contract.go
    • Line 28: warning: comment on exported type ContractInvokeParam should be of the form "ContractInvokeParam ..." (with optional leading article) (golint)
    • Line 40: warning: exported method ContractInvokeParam.Serialization should have comment or be unexported (golint)
    • Line 40: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 47: warning: comment on exported method ContractInvokeParam.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 48: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 78: warning: exported type PreExecResult should have comment or be unexported (golint)
    • http/base/rest/interfaces.go
    • Line 36: warning: exported const TLS_PORT should have comment or be unexported (golint)
    • Line 38: warning: exported type ApiServer should have comment or be unexported (golint)
    • Line 43: warning: comment on exported function GetNodeVersion should be of the form "GetNodeVersion ..." (golint)
    • Line 50: warning: comment on exported function GetNetworkId should be of the form "GetNetworkId ..." (golint)
    • Line 57: warning: comment on exported function GetConnectionCount should be of the form "GetConnectionCount ..." (golint)
    • Line 65: warning: exported function GetNodeSyncStatus should have comment or be unexported (golint)
    • Line 75: warning: comment on exported function GetBlockHeight should be of the form "GetBlockHeight ..." (golint)
    • Line 83: warning: comment on exported function GetBlockHash should be of the form "GetBlockHash ..." (golint)
    • Line 119: warning: comment on exported function GetBlockByHash should be of the form "GetBlockByHash ..." (golint)
    • Line 139: warning: comment on exported function GetBlockHeightByTxHash should be of the form "GetBlockHeightByTxHash ..." (golint)
    • Line 161: warning: comment on exported function GetBlockTxsByHeight should be of the form "GetBlockTxsByHeight ..." (golint)
    • Line 186: warning: comment on exported function GetBlockByHeight should be of the form "GetBlockByHeight ..." (golint)
    • Line 218: warning: comment on exported function GetTransactionByHash should be of the form "GetTransactionByHash ..." (golint)
    • Line 250: warning: comment on exported function SendRawTransaction should be of the form "SendRawTransaction ..." (golint)
    • Line 295: warning: comment on exported function GetSmartCodeEventTxsByHeight should be of the form "GetSmartCodeEventTxsByHeight ..." (golint)
    • Line 327: warning: comment on exported function GetSmartCodeEventByTxHash should be of the form "GetSmartCodeEventByTxHash ..." (golint)
    • Line 358: warning: comment on exported function GetContractState should be of the form "GetContractState ..." (golint)
    • Line 386: warning: comment on exported function GetStorage should be of the form "GetStorage ..." (golint)
    • Line 413: warning: comment on exported function GetBalance should be of the form "GetBalance ..." (golint)
    • Line 432: warning: comment on exported function GetMerkleProof should be of the form "GetMerkleProof ..." (golint)
    • Line 473: warning: comment on exported function GetGasPrice should be of the form "GetGasPrice ..." (golint)
    • Line 484: warning: comment on exported function GetAllowance should be of the form "GetAllowance ..." (golint)
    • Line 515: warning: comment on exported function GetUnboundOng should be of the form "GetUnboundOng ..." (golint)
    • Line 536: warning: comment on exported function GetGrantOng should be of the form "GetGrantOng ..." (golint)
    • Line 555: warning: comment on exported function GetMemPoolTxCount should be of the form "GetMemPoolTxCount ..." (golint)
    • Line 566: warning: comment on exported function GetMemPoolTxHashList should be of the form "GetMemPoolTxHashList ..." (golint)
    • Line 577: warning: comment on exported function GetMemPoolTxState should be of the form "GetMemPoolTxState ..." (golint)
    • errors/errcode.go
    • Line 25: warning: exported type ErrCoder should have comment or be unexported (golint)
    • Line 29: warning: exported type ErrCode should have comment or be unexported (golint)
    • Line 32: warning: exported const ErrNoCode should have comment (or a comment on this block) or be unexported (golint)
    • Line 109: warning: exported function ErrerCode should have comment or be unexported (golint)
    • smartcontract/service/native/global_params/utils.go
    • Line 19: warning: don't use an underscore in package name (golint)
    • Line 31: warning: exported const PARAM should have comment (or a comment on this block) or be unexported (golint)
    • Line 56: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 61: warning: exported function GenerateOperatorKey should have comment or be unexported (golint)
    • Line 75: warning: exported function GetStorageRole should have comment or be unexported (golint)
    • Line 86: warning: exported function NotifyRoleChange should have comment or be unexported (golint)
    • Line 98: warning: exported function NotifyTransferAdmin should have comment or be unexported (golint)
    • Line 110: warning: exported function NotifyParamChange should have comment or be unexported (golint)
    • smartcontract/service/native/utils/params.go
    • Line 1: warning: package comment should be of the form "Package utils ..." (golint)
    • Line 1: warning: package comment should not have leading space (golint)
    • Line 25: warning: exported var BYTE_FALSE should have comment or be unexported (golint)
    • Line 41: warning: exported function IsNativeContract should have comment or be unexported (golint)
    • smartcontract/service/native/ontfs/file_challenge.go
    • Line 29: warning: exported type Challenge should have comment or be unexported (golint)
    • Line 39: warning: exported type ChallengeList should have comment or be unexported (golint)
    • Line 43: warning: exported method Challenge.Serialization should have comment or be unexported (golint)
    • Line 43: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 53: warning: exported method Challenge.Deserialization 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 86: warning: exported method ChallengeList.Serialization should have comment or be unexported (golint)
    • Line 86: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 97: warning: exported method ChallengeList.Deserialization should have comment or be unexported (golint)
    • Line 97: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • smartcontract/service/native/ontfs/file_read_settle_slice.go
    • Line 26: warning: exported type FileReadSettleSlice should have comment or be unexported (golint)
    • Line 36: warning: exported method FileReadSettleSlice.Serialization should have comment or be unexported (golint)
    • Line 36: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: exported method FileReadSettleSlice.Deserialization 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)
    • smartcontract/service/native/ontfs/utils.go
    • Line 33: warning: exported const FS_SET_GLOBAL_PARAM should have comment (or a comment on this block) or be unexported (golint)
    • Line 65: warning: exported const ONTFS_GLOBAL_PARAM should have comment (or a comment on this block) or be unexported (golint)
    • Line 76: warning: exported function GenGlobalParamKey should have comment or be unexported (golint)
    • Line 80: warning: exported function GenFsNodeInfoPrefix should have comment or be unexported (golint)
    • Line 85: warning: exported function GenFsNodeInfoKey should have comment or be unexported (golint)
    • Line 90: warning: exported function GenFsFileInfoPrefix should have comment or be unexported (golint)
    • Line 96: warning: exported function GenFsFileInfoKey should have comment or be unexported (golint)
    • Line 101: warning: exported function GenChallengePrefix should have comment or be unexported (golint)
    • Line 107: warning: exported function GenChallengeKey should have comment or be unexported (golint)
    • Line 112: warning: exported function GenResponsePrefix should have comment or be unexported (golint)
    • Line 118: warning: exported function GenResponseKey should have comment or be unexported (golint)
    • Line 123: warning: exported function GenFsPdpRecordPrefix should have comment or be unexported (golint)
    • Line 130: warning: exported function GenFsPdpRecordKey should have comment or be unexported (golint)
    • Line 135: warning: exported function GenFsFileOwnerKey should have comment or be unexported (golint)
    • Line 140: warning: exported function GenFsReadPledgeKey should have comment or be unexported (golint)
    • Line 146: warning: exported function GenFsSpaceKey should have comment or be unexported (golint)
    • Line 171: warning: exported function DecodeVarBytes should have comment or be unexported (golint)
    • Line 183: warning: exported function DecodeBool should have comment or be unexported (golint)
    • Line 195: warning: exported function CheckOntFsAvailability should have comment or be unexported (golint)
    • http/base/error/error.go
    • Line 25: warning: exported const SUCCESS should have comment (or a comment on this block) or be unexported (golint)
    • Line 48: warning: exported var ErrMap should have comment or be unexported (golint)
    • smartcontract/service/native/utils/store.go
    • Line 31: warning: exported function GetStorageItem should have comment or be unexported (golint)
    • Line 47: warning: exported function GetStorageUInt64 should have comment or be unexported (golint)
    • Line 62: warning: exported function GetStorageUInt32 should have comment or be unexported (golint)
    • Line 77: warning: exported function GenUInt64StorageItem should have comment or be unexported (golint)
    • Line 83: warning: exported function GenUInt32StorageItem should have comment or be unexported (golint)
    • Line 89: warning: exported function PutBytes should have comment or be unexported (golint)
    • Line 93: warning: exported function GetStorageVarBytes should have comment or be unexported (golint)
    • Line 108: warning: exported function GenVarBytesStorageItem should have comment or be unexported (golint)
    • vm/neovm/opcode.go
    • Line 21: warning: exported type OpCode should have comment or be unexported (golint)
    • Line 24: warning: comment on exported const PUSH0 should be of the form "PUSH0 ..." (golint)
    • Line 26: warning: exported const PUSHF should have comment (or a comment on this block) or be unexported (golint)
    • Line 51: warning: comment on exported const NOP should be of the form "NOP ..." (golint)
    • Line 62: warning: comment on exported const DUPFROMALTSTACK should be of the form "DUPFROMALTSTACK ..." (golint)
    • Line 81: warning: comment on exported const CAT should be of the form "CAT ..." (golint)
    • Line 88: warning: comment on exported const INVERT should be of the form "INVERT ..." (golint)
    • Line 98: warning: comment on exported const INC should be of the form "INC ..." (golint)
    • Line 126: warning: comment on exported const SHA1 should be of the form "SHA1 ..." (golint)
    • Line 136: warning: comment on exported const ARRAYSIZE should be of the form "ARRAYSIZE ..." (golint)
    • Line 152: warning: comment on exported const THROW should be of the form "THROW ..." (golint)
    • consensus/vbft/event_timer.go
    • Line 32: warning: exported type TimerEventType should have comment or be unexported (golint)
    • Line 35: warning: exported const EventProposeBlockTimeout should have comment (or a comment on this block) or be unexported (golint)
    • Line 58: warning: exported type SendMsgEvent should have comment or be unexported (golint)
    • Line 63: warning: exported type TimerEvent should have comment or be unexported (golint)
    • Line 71: warning: exported type EventTimer should have comment or be unexported (golint)
    • Line 86: warning: exported function NewEventTimer should have comment or be unexported (golint)
    • Line 108: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 123: warning: exported method EventTimer.StartTimer should have comment or be unexported (golint)
    • Line 123: 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 EventTimer.CancelTimer 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 155: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 191: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 216: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 225: warning: exported method EventTimer.StartProposalTimer should have comment or be unexported (golint)
    • Line 225: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 233: warning: exported method EventTimer.CancelProposalTimer should have comment or be unexported (golint)
    • Line 233: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 240: warning: exported method EventTimer.StartEndorsingTimer should have comment or be unexported (golint)
    • Line 240: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 248: warning: exported method EventTimer.CancelEndorseMsgTimer should have comment or be unexported (golint)
    • Line 248: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 255: warning: exported method EventTimer.StartEndorseEmptyBlockTimer should have comment or be unexported (golint)
    • Line 255: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 263: warning: exported method EventTimer.CancelEndorseEmptyBlockTimer 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 270: warning: exported method EventTimer.StartCommitTimer should have comment or be unexported (golint)
    • Line 270: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 278: warning: exported method EventTimer.CancelCommitMsgTimer should have comment or be unexported (golint)
    • Line 278: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 285: warning: exported method EventTimer.StartProposalBackoffTimer should have comment or be unexported (golint)
    • Line 285: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 292: warning: exported method EventTimer.CancelProposalBackoffTimer should have comment or be unexported (golint)
    • Line 292: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 299: warning: exported method EventTimer.StartBackoffTimer should have comment or be unexported (golint)
    • Line 299: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 306: warning: exported method EventTimer.CancelBackoffTimer should have comment or be unexported (golint)
    • Line 306: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 313: warning: exported method EventTimer.Start2ndProposalTimer should have comment or be unexported (golint)
    • Line 313: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 320: warning: exported method EventTimer.Cancel2ndProposalTimer should have comment or be unexported (golint)
    • Line 320: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 327: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 337: warning: exported method EventTimer.StartTxBlockTimeout should have comment or be unexported (golint)
    • Line 337: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 344: warning: exported method EventTimer.CancelTxBlockTimeout should have comment or be unexported (golint)
    • Line 344: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 351: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 372: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 383: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 390: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 403: warning: exported type TimerItem should have comment or be unexported (golint)
    • Line 409: warning: exported type TimerQueue should have comment or be unexported (golint)
    • Line 425: warning: exported method TimerQueue.Push should have comment or be unexported (golint)
    • Line 431: warning: exported method TimerQueue.Pop should have comment or be unexported (golint)
    • p2pserver/message/types/block_header.go
    • Line 30: warning: exported type BlkHeader should have comment or be unexported (golint)
    • Line 34: warning: exported type RawBlockHeader should have comment or be unexported (golint)
    • Line 38: warning: exported method RawBlockHeader.Serialization should have comment or be unexported (golint)
    • Line 38: 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 RawBlockHeader.Deserialization 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 49: warning: exported method RawBlockHeader.CmdType should have comment or be unexported (golint)
    • Line 49: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 53: warning: comment on exported method BlkHeader.Serialization should be of the form "Serialization ..." (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 62: warning: exported method BlkHeader.CmdType should have comment or be unexported (golint)
    • Line 62: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 66: warning: comment on exported method BlkHeader.Deserialization should be of the form "Deserialization ..." (golint)
    • Line 67: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • vm/neovm/errors/errors.go
    • Line 24: warning: error var ERR_BAD_VALUE should have name of the form ErrFoo (golint)
    • Line 24: warning: exported var ERR_BAD_VALUE should have comment or be unexported (golint)
    • Line 25: warning: error var ERR_BAD_TYPE should have name of the form ErrFoo (golint)
    • Line 26: warning: error var ERR_OVER_STACK_LEN should have name of the form ErrFoo (golint)
    • Line 27: warning: error var ERR_OVER_CODE_LEN should have name of the form ErrFoo (golint)
    • Line 28: warning: error var ERR_INTEGER_UNDERFLOW should have name of the form ErrFoo (golint)
    • Line 29: warning: error var ERR_UNDER_STACK_LEN should have name of the form ErrFoo (golint)
    • Line 30: warning: error var ERR_FAULT should have name of the form ErrFoo (golint)
    • Line 31: warning: error var ERR_NOT_SUPPORT_SERVICE should have name of the form ErrFoo (golint)
    • Line 32: warning: error var ERR_NOT_SUPPORT_OPCODE should have name of the form ErrFoo (golint)
    • Line 33: warning: error var ERR_OVER_LIMIT_STACK should have name of the form ErrFoo (golint)
    • Line 34: warning: error var ERR_INDEX_OUT_OF_BOUND should have name of the form ErrFoo (golint)
    • Line 35: warning: error var ERR_OVER_MAX_ITEM_SIZE should have name of the form ErrFoo (golint)
    • Line 36: warning: error var ERR_OVER_MAX_ARRAY_SIZE should have name of the form ErrFoo (golint)
    • Line 37: warning: error var ERR_OVER_MAX_BIGINTEGER_SIZE should have name of the form ErrFoo (golint)
    • Line 38: warning: error var ERR_OUT_OF_GAS should have name of the form ErrFoo (golint)
    • Line 39: warning: error var ERR_NOT_ARRAY should have name of the form ErrFoo (golint)
    • Line 40: warning: error var ERR_TABLE_IS_NIL should have name of the form ErrFoo (golint)
    • Line 41: warning: error var ERR_SERVICE_IS_NIL should have name of the form ErrFoo (golint)
    • Line 42: warning: error var ERR_DIV_MOD_BY_ZERO should have name of the form ErrFoo (golint)
    • Line 43: warning: error var ERR_SHIFT_BY_NEG should have name of the form ErrFoo (golint)
    • Line 44: warning: error var ERR_EXECUTION_CONTEXT_NIL should have name of the form ErrFoo (golint)
    • Line 45: warning: error var ERR_CURRENT_CONTEXT_NIL should have name of the form ErrFoo (golint)
    • Line 46: warning: error var ERR_CALLING_CONTEXT_NIL should have name of the form ErrFoo (golint)
    • Line 47: warning: error var ERR_ENTRY_CONTEXT_NIL should have name of the form ErrFoo (golint)
    • Line 48: warning: error var ERR_APPEND_NOT_ARRAY should have name of the form ErrFoo (golint)
    • Line 49: warning: error var ERR_NOT_SUPPORT_TYPE should have name of the form ErrFoo (golint)
    • Line 50: warning: error var ERR_MAP_NOT_EXIST should have name of the form ErrFoo (golint)
    • Line 51: warning: error var ERR_NOT_MAP_KEY should have name of the form ErrFoo (golint)
    • Line 52: warning: error var ERR_REMOVE_NOT_SUPPORT should have name of the form ErrFoo (golint)
    • Line 53: warning: error var ERR_HASKEY_NOT_SUPPORT should have name of the form ErrFoo (golint)
    • Line 54: warning: error var ERR_DCALL_OFFSET_ERROR should have name of the form ErrFoo (golint)
    • smartcontract/service/native/ontfs/passport.go
    • Line 31: warning: exported type Passport should have comment or be unexported (golint)
    • Line 39: warning: exported method Passport.Serialization should have comment or be unexported (golint)
    • Line 39: 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 Passport.Deserialization 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)
    • Line 72: warning: exported function CheckPassport should have comment or be unexported (golint)
    • Line 111: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • vm/neovm/types/neovm_value_test.go
    • Line 103: warning: don't use underscores in Go names; var val_arr should be valArr (golint)
    • Line 104: warning: don't use underscores in Go names; var res_t should be resT (golint)
    • Line 230: warning: don't use underscores in Go names; var val_b should be valB (golint)
    • Line 237: warning: don't use underscores in Go names; var val_m should be valM (golint)
    • Line 242: warning: don't use underscores in Go names; var val_m2 should be valM2 (golint)
    • Line 376: warning: don't use underscores in Go names; var val_bs should be valBs (golint)
    • Line 378: warning: don't use underscores in Go names; var val_b should be valB (golint)
    • Line 380: warning: don't use underscores in Go names; var in_val should be inVal (golint)
    • Line 381: warning: don't use underscores in Go names; var in_val2 should be inVal2 (golint)
    • Line 392: warning: don't use underscores in Go names; var val_u should be valU (golint)
    • Line 393: warning: don't use underscores in Go names; var vmVal_u should be vmValU (golint)
    • Line 397: warning: don't use underscores in Go names; var val_u2 should be valU2 (golint)
    • Line 398: warning: don't use underscores in Go names; var vmVal_u2 should be vmValU2 (golint)
    • p2pserver/connect_controller/transport.go
    • Line 19: warning: don't use an underscore in package name (golint)
    • Line 34: warning: exported type Dialer should have comment or be unexported (golint)
    • Line 38: warning: exported function NewDialer should have comment or be unexported (golint)
    • Line 74: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 82: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 86: warning: exported function NewListener should have comment or be unexported (golint)
    • core/store/ledgerstore/tx_handler.go
    • Line 68: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 149: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 287: warning: exported function SaveNotify should have comment or be unexported (golint)
    • core/ledger/ledger.go
    • Line 36: warning: exported var DefLedger should have comment or be unexported (golint)
    • Line 38: warning: exported type Ledger should have comment or be unexported (golint)
    • Line 42: warning: exported function NewLedger should have comment or be unexported (golint)
    • Line 52: warning: exported method Ledger.GetStore should have comment or be unexported (golint)
    • Line 52: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 56: warning: exported method Ledger.Init 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 64: warning: exported method Ledger.AddHeaders should have comment or be unexported (golint)
    • Line 64: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 68: warning: exported method Ledger.AddBlock should have comment or be unexported (golint)
    • Line 68: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 76: warning: exported method Ledger.ExecuteBlock should have comment or be unexported (golint)
    • Line 76: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 80: warning: exported method Ledger.SubmitBlock should have comment or be unexported (golint)
    • Line 80: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 84: warning: exported method Ledger.GetStateMerkleRoot should have comment or be unexported (golint)
    • Line 84: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 88: warning: exported method Ledger.GetCrossStatesRoot should have comment or be unexported (golint)
    • Line 88: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 92: warning: exported method Ledger.GetBlockRootWithNewTxRoots should have comment or be unexported (golint)
    • Line 92: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 96: warning: exported method Ledger.GetBlockByHeight should have comment or be unexported (golint)
    • Line 96: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 100: warning: exported method Ledger.GetBlockByHash should have comment or be unexported (golint)
    • Line 100: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 104: warning: exported method Ledger.GetHeaderByHeight should have comment or be unexported (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 108: warning: exported method Ledger.GetHeaderByHash should have comment or be unexported (golint)
    • Line 108: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 111: warning: exported method Ledger.GetRawHeaderByHash should have comment or be unexported (golint)
    • Line 111: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 115: warning: exported method Ledger.GetBlockHash should have comment or be unexported (golint)
    • Line 115: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 119: warning: exported method Ledger.GetTransaction should have comment or be unexported (golint)
    • Line 119: 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 Ledger.GetTransactionWithHeight 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 128: warning: exported method Ledger.GetCurrentBlockHeight should have comment or be unexported (golint)
    • Line 128: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 132: warning: exported method Ledger.GetCurrentBlockHash should have comment or be unexported (golint)
    • Line 132: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 136: warning: exported method Ledger.GetCurrentHeaderHeight should have comment or be unexported (golint)
    • Line 136: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 140: warning: exported method Ledger.GetCurrentHeaderHash should have comment or be unexported (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: exported method Ledger.IsContainTransaction should have comment or be unexported (golint)
    • Line 144: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 148: warning: exported method Ledger.IsContainBlock should have comment or be unexported (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 152: warning: exported method Ledger.GetBookkeeperState 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 Ledger.GetStorageItem 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 171: warning: exported method Ledger.GetContractState should have comment or be unexported (golint)
    • Line 171: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 175: warning: exported method Ledger.GetMerkleProof 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 179: warning: exported method Ledger.PreExecuteContract should have comment or be unexported (golint)
    • Line 179: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 183: warning: exported method Ledger.PreExecuteContractBatch should have comment or be unexported (golint)
    • Line 183: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 187: warning: exported method Ledger.GetEventNotifyByTx 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 191: warning: exported method Ledger.GetEventNotifyByBlock should have comment or be unexported (golint)
    • Line 191: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 195: warning: exported method Ledger.GetCrossChainMsg should have comment or be unexported (golint)
    • Line 195: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 199: warning: exported method Ledger.GetCrossStatesProof should have comment or be unexported (golint)
    • Line 199: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 203: warning: exported method Ledger.Close should have comment or be unexported (golint)
    • Line 203: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 207: warning: exported method Ledger.EnableBlockPrune should have comment or be unexported (golint)
    • Line 207: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • vm/neovm/value_stack.go
    • Line 30: warning: exported type ValueStack should have comment or be unexported (golint)
    • Line 35: warning: exported function NewValueStack should have comment or be unexported (golint)
    • Line 42: warning: exported method ValueStack.Count should have comment or be unexported (golint)
    • Line 42: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 46: warning: exported method ValueStack.Insert 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 61: warning: exported method ValueStack.Peek should have comment or be unexported (golint)
    • Line 61: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 72: warning: exported method ValueStack.Remove 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 84: warning: exported method ValueStack.Set should have comment or be unexported (golint)
    • Line 84: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 93: warning: exported method ValueStack.Push should have comment or be unexported (golint)
    • Line 93: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 101: warning: exported method ValueStack.PushMany should have comment or be unexported (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 109: warning: exported method ValueStack.PushAsArray should have comment or be unexported (golint)
    • Line 109: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 126: warning: exported method ValueStack.Pop should have comment or be unexported (golint)
    • Line 126: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 137: warning: exported method ValueStack.PopPair should have comment or be unexported (golint)
    • Line 137: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 146: warning: exported method ValueStack.PopTriple should have comment or be unexported (golint)
    • Line 146: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 155: warning: exported method ValueStack.Swap should have comment or be unexported (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 171: warning: exported method ValueStack.CopyTo should have comment or be unexported (golint)
    • Line 171: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 179: warning: exported method ValueStack.Dump should have comment or be unexported (golint)
    • Line 179: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • errors/callstack.go
    • Line 27: warning: exported type CallStacker should have comment or be unexported (golint)
    • Line 31: warning: exported type CallStack should have comment or be unexported (golint)
    • Line 35: warning: exported function GetCallStacks should have comment or be unexported (golint)
    • Line 42: warning: exported function CallStacksString should have comment or be unexported (golint)

gocyclo92%

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

    • consensus/vbft/state_mgmt.go
    • Line 191: warning: cyclomatic complexity 24 of function (*StateMgr).onPeerUpdate() is high (> 15) (gocyclo)
    • Line 117: warning: cyclomatic complexity 20 of function (*StateMgr).run() is high (> 15) (gocyclo)
    • http/restful/restful/server.go
    • Line 225: warning: cyclomatic complexity 20 of function (*restServer).getParams() is high (> 15) (gocyclo)
    • Line 186: warning: cyclomatic complexity 17 of function (*restServer).getPath() is high (> 15) (gocyclo)
    • txnpool/proc/txnpool_actor.go
    • Line 123: warning: cyclomatic complexity 25 of function (*TxActor).handleTransaction() is high (> 15) (gocyclo)
    • Line 204: warning: cyclomatic complexity 18 of function (*TxActor).Receive() is high (> 15) (gocyclo)
    • cmd/contract_cmd.go
    • Line 285: warning: cyclomatic complexity 21 of function invokeContract() is high (> 15) (gocyclo)
    • Line 193: warning: cyclomatic complexity 19 of function invokeCodeContract() is high (> 15) (gocyclo)
    • p2pserver/protocols/msg_handler.go
    • Line 143: warning: cyclomatic complexity 19 of function (*MsgHandler).HandlePeerMessage() is high (> 15) (gocyclo)
    • Line 243: warning: cyclomatic complexity 18 of function DataReqHandle() is high (> 15) (gocyclo)
    • Line 391: warning: cyclomatic complexity 17 of function GetHeadersFromHash() is high (> 15) (gocyclo)
    • vm/neovm/types/neovm_value.go
    • Line 294: warning: cyclomatic complexity 33 of function (*VmValue).deserialize() is high (> 15) (gocyclo)
    • Line 412: warning: cyclomatic complexity 20 of function (*VmValue).Serialize() is high (> 15) (gocyclo)
    • Line 219: warning: cyclomatic complexity 18 of function (*VmValue).convertNeoVmValueHexString() is high (> 15) (gocyclo)
    • Line 489: warning: cyclomatic complexity 16 of function (*VmValue).circularRefAndDepthDetection() is high (> 15) (gocyclo)
    • core/store/ledgerstore/ledger_store.go
    • Line 434: warning: cyclomatic complexity 22 of function (*LedgerStoreImp).verifyHeader() is high (> 15) (gocyclo)
    • Line 139: warning: cyclomatic complexity 21 of function (*LedgerStoreImp).InitLedgerStoreWithGenesisBlock() is high (> 15) (gocyclo)
    • Line 1209: warning: cyclomatic complexity 17 of function (*LedgerStoreImp).PreExecuteContractWithParam() is high (> 15) (gocyclo)
    • smartcontract/service/native/governance/governance.go
    • Line 404: warning: cyclomatic complexity 24 of function ApproveCandidate() is high (> 15) (gocyclo)
    • Line 1024: warning: cyclomatic complexity 23 of function UpdateConfig() is high (> 15) (gocyclo)
    • Line 798: warning: cyclomatic complexity 22 of function UnAuthorizeForPeer() is high (> 15) (gocyclo)
    • Line 1604: warning: cyclomatic complexity 20 of function ReduceInitPos() is high (> 15) (gocyclo)
    • Line 908: warning: cyclomatic complexity 18 of function Withdraw() is high (> 15) (gocyclo)
    • Line 168: warning: cyclomatic complexity 18 of function InitConfig() is high (> 15) (gocyclo)
    • Line 708: warning: cyclomatic complexity 16 of function QuitNode() is high (> 15) (gocyclo)
    • smartcontract/service/native/governance/method.go
    • Line 35: warning: cyclomatic complexity 36 of function registerCandidate() is high (> 15) (gocyclo)
    • Line 1236: warning: cyclomatic complexity 34 of function executeCommitDpos2() is high (> 15) (gocyclo)
    • Line 888: warning: cyclomatic complexity 30 of function executeSplit2() is high (> 15) (gocyclo)
    • Line 1098: warning: cyclomatic complexity 30 of function executeCommitDpos1() is high (> 15) (gocyclo)
    • Line 218: warning: cyclomatic complexity 26 of function authorizeForPeer() is high (> 15) (gocyclo)
    • Line 788: warning: cyclomatic complexity 21 of function executeSplit() is high (> 15) (gocyclo)
    • smartcontract/service/native/ontfs/app_sdk.go
    • Line 397: warning: cyclomatic complexity 24 of function FsUpdateSpace() is high (> 15) (gocyclo)
    • Line 145: warning: cyclomatic complexity 22 of function FsJudge() is high (> 15) (gocyclo)
    • Line 524: warning: cyclomatic complexity 20 of function FsStoreFiles() is high (> 15) (gocyclo)
    • Line 747: warning: cyclomatic complexity 19 of function deleteFile() is high (> 15) (gocyclo)
    • Line 975: warning: cyclomatic complexity 19 of function FsReadFilePledge() is high (> 15) (gocyclo)
    • Line 71: warning: cyclomatic complexity 17 of function FsChallenge() is high (> 15) (gocyclo)
    • consensus/dbft/dbft_service.go
    • Line 319: warning: cyclomatic complexity 19 of function (*DbftService).NewConsensusPayload() is high (> 15) (gocyclo)
    • Line 379: warning: cyclomatic complexity 19 of function (*DbftService).PrepareRequestReceived() is high (> 15) (gocyclo)
    • Line 625: warning: cyclomatic complexity 17 of function (*DbftService).Timeout() is high (> 15) (gocyclo)
    • cmd/asset_cmd.go
    • Line 367: warning: cyclomatic complexity 19 of function transferFrom() is high (> 15) (gocyclo)
    • Line 138: warning: cyclomatic complexity 17 of function transfer() is high (> 15) (gocyclo)
    • cmd/tx_cmd.go
    • Line 313: warning: cyclomatic complexity 17 of function transferFromTx() is high (> 15) (gocyclo)
    • consensus/vbft/service.go
    • Line 1400: warning: cyclomatic complexity 68 of function (*Server).actionLoop() is high (> 15) (gocyclo)
    • Line 765: warning: cyclomatic complexity 66 of function (*Server).onConsensusMsg() is high (> 15) (gocyclo)
    • Line 1671: warning: cyclomatic complexity 49 of function (*Server).processTimerEvent() is high (> 15) (gocyclo)
    • Line 1214: warning: cyclomatic complexity 34 of function (*Server).processMsgEvent() is high (> 15) (gocyclo)
    • Line 2395: warning: cyclomatic complexity 24 of function (*Server).catchConsensus() is high (> 15) (gocyclo)
    • Line 1097: warning: cyclomatic complexity 22 of function (*Server).processProposalMsg() is high (> 15) (gocyclo)
    • Line 660: warning: cyclomatic complexity 21 of function (*Server).startNewRound() is high (> 15) (gocyclo)
    • Line 343: warning: cyclomatic complexity 16 of function (*Server).updateChainConfig() is high (> 15) (gocyclo)
    • cmd/account_cmd.go
    • Line 394: warning: cyclomatic complexity 22 of function accountImport() is high (> 15) (gocyclo)
    • Line 274: warning: cyclomatic complexity 19 of function accountSet() 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!