Preparing report...

Report for github.com/copernet/copernicus

A+    Excellent!    Found 157 issues across 368 files

Tweet

gofmt100%

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

No problems detected. Good job!


go_vet100%

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

No problems detected. Good job!


gocyclo84%

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

    • copernicus/net/syncmanager/syncmanager.go
    • Line 775: warning: cyclomatic complexity 25 of function (*SyncManager).fetchHeaderBlocks() is high (> 15) (gocyclo)
    • Line 1102: warning: cyclomatic complexity 23 of function (*SyncManager).handleInvMsg() is high (> 15) (gocyclo)
    • Line 1304: warning: cyclomatic complexity 21 of function (*SyncManager).messagesHandler() is high (> 15) (gocyclo)
    • copernicus/peer/peer.go
    • Line 1540: warning: cyclomatic complexity 27 of function (*Peer).queueHandler() is high (> 15) (gocyclo)
    • Line 1325: warning: cyclomatic complexity 26 of function (*Peer).stallHandler() is high (> 15) (gocyclo)
    • copernicus/logic/ltx/ltx_test.go
    • Line 413: warning: cyclomatic complexity 26 of function TestTxInvalidTests() is high (> 15) (gocyclo)
    • Line 279: warning: cyclomatic complexity 24 of function TestTxValidTests() is high (> 15) (gocyclo)
    • Line 169: warning: cyclomatic complexity 17 of function parseScriptFrom() is high (> 15) (gocyclo)
    • Line 680: warning: cyclomatic complexity 16 of function TestCombineSignature() is high (> 15) (gocyclo)
    • copernicus/logic/ltx/ltx.go
    • Line 1014: warning: cyclomatic complexity 24 of function CombineSignature() is high (> 15) (gocyclo)
    • Line 84: warning: cyclomatic complexity 23 of function CheckTxBeforeAcceptToMemPool() is high (> 15) (gocyclo)
    • Line 327: warning: cyclomatic complexity 22 of function ApplyBlockTransactions() is high (> 15) (gocyclo)
    • copernicus/rpc/rpcwallet.go
    • Line 56: warning: cyclomatic complexity 17 of function handleListUnspent() is high (> 15) (gocyclo)
    • Line 352: warning: cyclomatic complexity 16 of function handleSendMany() is high (> 15) (gocyclo)
    • copernicus/persist/db/db_test.go
    • Line 363: warning: cyclomatic complexity 17 of function testIteratorOrdering() is high (> 15) (gocyclo)
    • Line 243: warning: cyclomatic complexity 17 of function TestExistingDataNoObfuscate() is high (> 15) (gocyclo)
    • Line 464: warning: cyclomatic complexity 16 of function testIteratorStringOrdering() is high (> 15) (gocyclo)
    • copernicus/model/chain/chain_test.go
    • Line 42: warning: cyclomatic complexity 24 of function TestChain_Simple() is high (> 15) (gocyclo)
    • Line 194: warning: cyclomatic complexity 19 of function TestChain_InitLoad() is high (> 15) (gocyclo)
    • Line 753: warning: cyclomatic complexity 18 of function TestLoadBlockIndexDB_HasFork() is high (> 15) (gocyclo)
    • Line 345: warning: cyclomatic complexity 16 of function TestBuildForwardTree() is high (> 15) (gocyclo)
    • Line 668: warning: cyclomatic complexity 16 of function TestLoadBlockIndexDB_HasIndexNoForkMoreFile() is high (> 15) (gocyclo)
    • copernicus/net/server/server.go
    • Line 2057: warning: cyclomatic complexity 30 of function (*Server).cycle() is high (> 15) (gocyclo)
    • Line 1777: warning: cyclomatic complexity 23 of function (*Server).handleQuery() is high (> 15) (gocyclo)
    • Line 2712: warning: cyclomatic complexity 16 of function initListeners() is high (> 15) (gocyclo)

golint64%

Golint is a linter for Go source code.

    • copernicus/model/block/block.go
    • Line 12: warning: exported type Block should have comment or be unexported (golint)
    • Line 20: warning: exported const MinBlocksToKeep should have comment or be unexported (golint)
    • Line 22: warning: exported method Block.GetBlockHeader should have comment or be unexported (golint)
    • Line 26: warning: exported method Block.SetNull should have comment or be unexported (golint)
    • Line 31: warning: exported method Block.Serialize should have comment or be unexported (golint)
    • Line 46: warning: exported method Block.SerializeSize should have comment or be unexported (golint)
    • Line 57: warning: exported method Block.Encode should have comment or be unexported (golint)
    • Line 61: warning: exported method Block.Decode should have comment or be unexported (golint)
    • Line 65: warning: exported method Block.EncodeSize should have comment or be unexported (golint)
    • Line 72: warning: exported method Block.Unserialize should have comment or be unexported (golint)
    • Line 94: warning: exported method Block.GetHash should have comment or be unexported (golint)
    • Line 99: warning: exported function NewBlock should have comment or be unexported (golint)
    • Line 103: warning: exported function NewGenesisBlock should have comment or be unexported (golint)
    • Line 121: warning: exported function NewTestNetGenesisBlock should have comment or be unexported (golint)
    • Line 136: warning: exported function NewRegTestGenesisBlock should have comment or be unexported (golint)
    • copernicus/errcode/error.go
    • Line 8: warning: exported const MempoolErrorBase should have comment (or a comment on this block) or be unexported (golint)
    • Line 16: warning: exported type ProjectError should have comment or be unexported (golint)
    • Line 60: warning: exported function IsErrorCode should have comment or be unexported (golint)
    • Line 66: warning: exported function New should have comment or be unexported (golint)
    • Line 70: warning: exported function NewError should have comment or be unexported (golint)
    • Line 81: warning: exported function MakeError should have comment or be unexported (golint)
    • copernicus/model/undo/undo.go
    • Line 12: warning: exported const MaxInputPerTx should have comment or be unexported (golint)
    • Line 14: warning: exported type DisconnectResult should have comment or be unexported (golint)
    • Line 25: warning: exported type TxUndo should have comment or be unexported (golint)
    • Line 29: warning: exported method TxUndo.SetUndoCoins should have comment or be unexported (golint)
    • Line 33: warning: exported method TxUndo.GetUndoCoins should have comment or be unexported (golint)
    • Line 37: warning: exported method TxUndo.Serialize should have comment or be unexported (golint)
    • Line 52: warning: exported method TxUndo.Unserialize should have comment or be unexported (golint)
    • Line 76: warning: exported type BlockUndo should have comment or be unexported (golint)
    • Line 80: warning: exported method BlockUndo.GetTxundo should have comment or be unexported (golint)
    • Line 84: warning: exported function NewBlockUndo should have comment or be unexported (golint)
    • Line 90: warning: exported method BlockUndo.Serialize should have comment or be unexported (golint)
    • Line 107: warning: exported method BlockUndo.SerializeSize should have comment or be unexported (golint)
    • Line 118: warning: exported method BlockUndo.Unserialize should have comment or be unexported (golint)
    • Line 138: warning: exported method BlockUndo.SetTxUndo should have comment or be unexported (golint)
    • Line 142: warning: exported method BlockUndo.AddTxUndo should have comment or be unexported (golint)
    • Line 146: warning: exported function NewTxUndo should have comment or be unexported (golint)
    • copernicus/model/blockindex/blockindex.go
    • Line 34: warning: exported type BlockIndex should have comment or be unexported (golint)
    • Line 77: warning: exported method BlockIndex.SetNull should have comment or be unexported (golint)
    • Line 116: warning: exported method BlockIndex.Failed should have comment or be unexported (golint)
    • Line 120: warning: exported method BlockIndex.GetUndoPos should have comment or be unexported (golint)
    • Line 130: warning: exported method BlockIndex.GetBlockPos should have comment or be unexported (golint)
    • Line 140: warning: exported method BlockIndex.GetBlockHeader should have comment or be unexported (golint)
    • Line 145: warning: exported method BlockIndex.GetBlockHash should have comment or be unexported (golint)
    • Line 153: warning: exported method BlockIndex.SetBlockHash should have comment or be unexported (golint)
    • Line 157: warning: exported method BlockIndex.GetBlockTime should have comment or be unexported (golint)
    • Line 162: warning: exported method BlockIndex.GetBlockTimeMax should have comment or be unexported (golint)
    • Line 166: warning: exported method BlockIndex.GetMedianTimePast should have comment or be unexported (golint)
    • Line 186: warning: exported method BlockIndex.AddStatus should have comment or be unexported (golint)
    • Line 190: warning: exported method BlockIndex.HasData should have comment or be unexported (golint)
    • Line 194: warning: exported method BlockIndex.HasUndo should have comment or be unexported (golint)
    • Line 198: warning: exported method BlockIndex.SubStatus should have comment or be unexported (golint)
    • Line 272: warning: exported method BlockIndex.IsGenesis should have comment or be unexported (golint)
    • Line 278: warning: exported method BlockIndex.GetSerializeList should have comment or be unexported (golint)
    • Line 283: warning: exported method BlockIndex.Serialize should have comment or be unexported (golint)
    • Line 298: warning: exported method BlockIndex.Unserialize should have comment or be unexported (golint)
    • Line 309: warning: exported function NewBlockIndex should have comment or be unexported (golint)
    • Line 316: warning: exported method BlockIndex.IsReplayProtectionJustEnabled should have comment or be unexported (golint)
    • Line 325: warning: exported method BlockIndex.IsMagneticAnomalyJustEnabled should have comment or be unexported (golint)
    • Line 354: warning: exported method BlockIndex.BuildSkip should have comment or be unexported (golint)
    • copernicus/net/wire/msgblock.go
    • Line 23: warning: exported type MsgBlock should have comment or be unexported (golint)
    • Line 25: warning: exported method MsgBlock.Decode should have comment or be unexported (golint)
    • Line 29: warning: exported method MsgBlock.Encode should have comment or be unexported (golint)
    • Line 33: warning: exported method MsgBlock.Command should have comment or be unexported (golint)
    • Line 37: warning: exported method MsgBlock.MaxPayloadLength should have comment or be unexported (golint)
    • copernicus/logic/ltx/ltx.go
    • Line 32: warning: exported type ScriptVerifyJob should have comment or be unexported (golint)
    • Line 43: warning: exported type ScriptVerifyResult should have comment or be unexported (golint)
    • Line 51: warning: exported type SignError should have comment or be unexported (golint)
    • Line 61: warning: exported const MaxScriptVerifyJobNum should have comment (or a comment on this block) or be unexported (golint)
    • Line 72: warning: exported function ScriptVerifyInit should have comment or be unexported (golint)
    • Line 84: warning: exported function CheckTxBeforeAcceptToMemPool should have comment or be unexported (golint)
    • Line 291: warning: exported function ContextureCheckBlockTransactions should have comment or be unexported (golint)
    • Line 327: warning: exported function ApplyBlockTransactions should have comment or be unexported (golint)
    • Line 465: warning: exported function ContextualCheckTransaction should have comment or be unexported (golint)
    • Line 538: warning: exported function GetTransactionSigOpCount should have comment or be unexported (golint)
    • Line 568: warning: exported function ContextualCheckTransactionForCurrentBlock should have comment or be unexported (golint)
    • Line 599: warning: exported function AreInputsStandard should have comment or be unexported (golint)
    • Line 807: warning: exported function CalculateSequenceLocks should have comment or be unexported (golint)
    • Line 882: warning: exported function CheckSequenceLocks should have comment or be unexported (golint)
    • Line 891: warning: exported function CheckInputsMoney should have comment or be unexported (golint)
    • Line 944: warning: exported function SignRawTransaction should have comment or be unexported (golint)
    • Line 1014: warning: exported function CombineSignature should have comment or be unexported (golint)
    • copernicus/persist/disk/disk.go
    • Line 36: warning: exported type FlushStateMode should have comment or be unexported (golint)
    • Line 41: warning: exported const FlushStateNone should have comment (or a comment on this block) or be unexported (golint)
    • Line 47: warning: exported function OpenBlockFile should have comment or be unexported (golint)
    • Line 51: warning: exported function OpenUndoFile should have comment or be unexported (golint)
    • Line 55: warning: exported function OpenDiskFile should have comment or be unexported (golint)
    • Line 92: warning: exported function GetBlockPosFilename should have comment or be unexported (golint)
    • Line 96: warning: exported function GetBlockPosParentFilename should have comment or be unexported (golint)
    • Line 100: warning: exported function AllocateFileRange should have comment or be unexported (golint)
    • Line 120: warning: exported function UndoWriteToDisk should have comment or be unexported (golint)
    • Line 170: warning: exported function UndoReadFromDisk should have comment or be unexported (golint)
    • Line 222: warning: exported function ReadBlockFromDiskByPos should have comment or be unexported (golint)
    • Line 262: warning: exported function ReadBlockFromDisk should have comment or be unexported (golint)
    • Line 278: warning: exported function WriteBlockToDisk should have comment or be unexported (golint)
    • Line 306: warning: exported function FlushStateToDisk should have comment or be unexported (golint)
    • Line 442: warning: exported function CheckDiskSpace should have comment or be unexported (golint)
    • Line 462: warning: exported function FlushBlockFile should have comment or be unexported (golint)
    • Line 487: warning: exported function FindBlockPos should have comment or be unexported (golint)
    • Line 560: warning: exported function FindUndoPos should have comment or be unexported (golint)
    • Line 722: warning: exported function UnlinkPrunedFiles should have comment or be unexported (golint)
    • Line 736: warning: exported function GetPruneState should have comment or be unexported (golint)
    • Line 752: warning: exported function GetBlkFiles should have comment or be unexported (golint)
    • Line 772: warning: exported function CleanupBlockRevFiles should have comment or be unexported (golint)
    • copernicus/rpc/btcjson/commands.go
    • Line 8: warning: exported type AmountType should have comment or be unexported (golint)
    • Line 19: warning: exported const ANRemove should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: exported type DisconnectNodeCmd should have comment or be unexported (golint)
    • Line 798: warning: exported type GetMempoolAncestorsCmd should have comment or be unexported (golint)
    • Line 804: warning: exported type GetMempoolDescendantsCmd should have comment or be unexported (golint)
    • Line 828: warning: exported type SetMocktimeCmd should have comment or be unexported (golint)
    • Line 832: warning: exported type SetBanCmd should have comment or be unexported (golint)
    • Line 839: warning: exported type ListBannedCmd should have comment or be unexported (golint)
    • Line 842: warning: exported type ClearBannedCmd should have comment or be unexported (golint)
    • Line 845: warning: exported type CreateMultiSigCmd should have comment or be unexported (golint)
    • Line 848: warning: exported type SetNetWorkActiveCmd should have comment or be unexported (golint)
    • Line 867: warning: exported type WaitForBlockCmd should have comment or be unexported (golint)
    • Line 872: warning: exported function NewWaitForBlockCmd should have comment or be unexported (golint)
    • Line 982: warning: exported type SendManyCmd should have comment or be unexported (golint)
    • Line 990: warning: exported function NewSendManyCmd should have comment or be unexported (golint)
    • Line 1001: warning: exported type FundRawTxoptions should have comment or be unexported (golint)
    • Line 1010: warning: exported type FundRawTransactionCmd should have comment or be unexported (golint)
    • Line 1015: warning: exported function NewFundRawTransactionCmd should have comment or be unexported (golint)
    • Line 1021: warning: exported type AddMultiSigAddressCmd should have comment or be unexported (golint)
    • Line 1026: warning: exported function NewAddMultiSigAddressCmd should have comment or be unexported (golint)
    • copernicus/net/server/rpcadapters.go
    • Line 87: warning: exported function NewRPCConnManager should have comment or be unexported (golint)
    • Line 238: warning: exported method RPCConnManager.SetBan should have comment or be unexported (golint)
    • Line 279: warning: exported method RPCConnManager.ListBanned should have comment or be unexported (golint)
    • Line 300: warning: exported method RPCConnManager.ClearBanned should have comment or be unexported (golint)
    • copernicus/net/server/server.go
    • Line 72: warning: exported const BanReasonNodeMisbehaving should have comment (or a comment on this block) or be unexported (golint)
    • Line 164: warning: exported type PingMsg should have comment or be unexported (golint)
    • Line 187: warning: exported type BannedInfo should have comment or be unexported (golint)
    • Line 2192: warning: exported method Server.BanAddr should have comment or be unexported (golint)
    • Line 2205: warning: exported method Server.UnbanAddr should have comment or be unexported (golint)
    • Line 2215: warning: exported method Server.GetBannedInfo should have comment or be unexported (golint)
    • Line 2224: warning: exported method Server.ClearBanned should have comment or be unexported (golint)
    • Line 2235: warning: exported method Server.RelayBlocks should have comment or be unexported (golint)
    • Line 2239: warning: exported method Server.HandleMinedBlock should have comment or be unexported (golint)
    • Line 2575: warning: exported method Server.AddBanScore should have comment or be unexported (golint)
    • Line 2586: warning: exported function NewServer should have comment or be unexported (golint)
    • copernicus/rpc/mining.go
    • Line 42: warning: exported function GetNetworkHashPS should have comment or be unexported (golint)
    • Line 369: warning: exported function BIP22ValidationResult should have comment or be unexported (golint)
    • copernicus/logic/lmerkleblock/lpartial_merkle_tree.go
    • Line 11: warning: exported type PartialMerkleTree should have comment or be unexported (golint)
    • Line 18: warning: exported function NewPartialMerkleTree should have comment or be unexported (golint)
    • Line 41: warning: exported method PartialMerkleTree.TraverseAndBuild should have comment or be unexported (golint)
    • Line 94: warning: exported method PartialMerkleTree.ExtractMatches should have comment or be unexported (golint)
    • Line 138: warning: exported method PartialMerkleTree.TraverseAndExtract should have comment or be unexported (golint)
    • Line 197: warning: exported method PartialMerkleTree.Serialize should have comment or be unexported (golint)
    • Line 228: warning: exported method PartialMerkleTree.Unserialize should have comment or be unexported (golint)
    • copernicus/model/genesis.go
    • Line 7: warning: exported var GenesisBlock should have comment or be unexported (golint)
    • Line 8: warning: exported var GenesisBlockHash should have comment or be unexported (golint)
    • Line 10: warning: exported var TestNetGenesisBlock should have comment or be unexported (golint)
    • Line 11: warning: exported var TestNetGenesisHash should have comment or be unexported (golint)
    • Line 13: warning: exported var RegTestGenesisBlock should have comment or be unexported (golint)
    • Line 14: warning: exported var RegTestGenesisHash should have comment or be unexported (golint)
    • copernicus/model/txin/txin.go
    • Line 15: warning: exported type TxIn should have comment or be unexported (golint)
    • Line 21: warning: exported method TxIn.SerializeSize should have comment or be unexported (golint)
    • Line 25: warning: exported method TxIn.Unserialize should have comment or be unexported (golint)
    • Line 29: warning: exported method TxIn.Serialize should have comment or be unexported (golint)
    • Line 33: warning: exported method TxIn.EncodeSize should have comment or be unexported (golint)
    • Line 38: warning: exported method TxIn.Encode should have comment or be unexported (golint)
    • Line 53: warning: exported method TxIn.Decode should have comment or be unexported (golint)
    • Line 73: warning: exported method TxIn.GetScriptSig should have comment or be unexported (golint)
    • Line 77: warning: exported method TxIn.SetScriptSig should have comment or be unexported (golint)
    • Line 81: warning: exported method TxIn.CheckStandard should have comment or be unexported (golint)
    • Line 94: warning: exported function NewTxIn should have comment or be unexported (golint)
    • copernicus/model/mempool/txmempoolinfo.go
    • Line 10: warning: exported type TxMempoolInfo should have comment or be unexported (golint)
    • Line 16: warning: exported method TxMempoolInfo.Serialize should have comment or be unexported (golint)
    • Line 31: warning: exported method TxMempoolInfo.Unserialize should have comment or be unexported (golint)
    • copernicus/model/utxo/coin.go
    • Line 14: warning: exported type Coin should have comment or be unexported (golint)
    • Line 23: warning: exported method Coin.GetHeight should have comment or be unexported (golint)
    • Line 27: warning: exported method Coin.IsCoinBase should have comment or be unexported (golint)
    • Line 31: warning: exported method Coin.IsMempoolCoin should have comment or be unexported (golint)
    • Line 35: warning: exported method Coin.IsSpendable should have comment or be unexported (golint)
    • Line 39: warning: exported method Coin.IsSpent should have comment or be unexported (golint)
    • Line 43: warning: exported method Coin.Clear should have comment or be unexported (golint)
    • Line 49: warning: exported method Coin.GetTxOut should have comment or be unexported (golint)
    • Line 53: warning: exported method Coin.GetScriptPubKey should have comment or be unexported (golint)
    • Line 58: warning: exported method Coin.GetAmount should have comment or be unexported (golint)
    • Line 62: warning: exported method Coin.DeepCopy should have comment or be unexported (golint)
    • Line 73: warning: exported method Coin.DynamicMemoryUsage should have comment or be unexported (golint)
    • Line 77: warning: exported method Coin.Serialize should have comment or be unexported (golint)
    • Line 94: warning: exported method Coin.Unserialize should have comment or be unexported (golint)
    • Line 129: warning: exported function NewEmptyCoin should have comment or be unexported (golint)
    • Line 137: warning: exported function NewFreshEmptyCoin should have comment or be unexported (golint)
    • copernicus/model/utxo/coinsmap.go
    • Line 15: warning: exported type CoinsMap should have comment or be unexported (golint)
    • Line 19: warning: exported method CoinsMap.GetMap should have comment or be unexported (golint)
    • Line 23: warning: exported method CoinsMap.DeepCopy should have comment or be unexported (golint)
    • Line 31: warning: exported function NewEmptyCoinsMap should have comment or be unexported (golint)
    • Line 37: warning: exported method CoinsMap.AccessCoin should have comment or be unexported (golint)
    • Line 45: warning: exported method CoinsMap.GetCoin should have comment or be unexported (golint)
    • Line 50: warning: exported method CoinsMap.GetValueIn should have comment or be unexported (golint)
    • Line 63: warning: exported method CoinsMap.UnCache should have comment or be unexported (golint)
    • Line 70: warning: exported function DisplayCoinMap should have comment or be unexported (golint)
    • Line 80: warning: exported method CoinsMap.Flush should have comment or be unexported (golint)
    • Line 86: warning: exported method CoinsMap.AddCoin should have comment or be unexported (golint)
    • copernicus/net/wire/msgtx.go
    • Line 15: warning: exported type MsgTx should have comment or be unexported (golint)
    • Line 17: warning: exported method MsgTx.Decode should have comment or be unexported (golint)
    • Line 21: warning: exported method MsgTx.Encode should have comment or be unexported (golint)
    • Line 25: warning: exported method MsgTx.Command should have comment or be unexported (golint)
    • Line 29: warning: exported method MsgTx.MaxPayloadLength should have comment or be unexported (golint)
    • copernicus/logic/lwallet/lwallet.go
    • Line 36: warning: exported type TxnCoin should have comment or be unexported (golint)
    • Line 42: warning: exported function IsWalletEnable should have comment or be unexported (golint)
    • Line 46: warning: exported function GetNewAddress should have comment or be unexported (golint)
    • Line 73: warning: exported function GetMiningAddress should have comment or be unexported (golint)
    • Line 87: warning: exported function GetKeyPair should have comment or be unexported (golint)
    • Line 91: warning: exported function GetKeyPairs should have comment or be unexported (golint)
    • Line 95: warning: exported function CheckFinalTx should have comment or be unexported (golint)
    • Line 100: warning: exported function AvailableCoins should have comment or be unexported (golint)
    • Line 151: warning: exported function GetAccountName should have comment or be unexported (golint)
    • Line 155: warning: exported function GetScript should have comment or be unexported (golint)
    • Line 159: warning: exported function AddToWallet should have comment or be unexported (golint)
    • Line 162: warning: exported function RemoveFromWallet should have comment or be unexported (golint)
    • Line 166: warning: exported function SetFeeRate should have comment or be unexported (golint)
    • Line 169: warning: exported function FundTransaction should have comment or be unexported (golint)
    • Line 199: warning: exported function CreateTransaction should have comment or be unexported (golint)
    • Line 551: warning: exported function SelectCoinsMinConf should have comment or be unexported (golint)
    • Line 608: warning: exported function CommitTransaction should have comment or be unexported (golint)
    • Line 645: warning: exported function IsMine should have comment or be unexported (golint)
    • Line 649: warning: exported function CreateMultiSigRedeemScript should have comment or be unexported (golint)
    • copernicus/model/block/blockheader.go
    • Line 12: warning: exported type BlockHeader should have comment or be unexported (golint)
    • Line 26: warning: exported function NewBlockHeader should have comment or be unexported (golint)
    • Line 30: warning: exported method BlockHeader.IsNull should have comment or be unexported (golint)
    • Line 34: warning: exported method BlockHeader.GetHash should have comment or be unexported (golint)
    • Line 48: warning: exported method BlockHeader.SetNull should have comment or be unexported (golint)
    • Line 52: warning: exported method BlockHeader.Encode should have comment or be unexported (golint)
    • Line 56: warning: exported method BlockHeader.EncodeSize should have comment or be unexported (golint)
    • Line 69: warning: exported method BlockHeader.SerializeSize should have comment or be unexported (golint)
    • Line 82: warning: exported method BlockHeader.Decode should have comment or be unexported (golint)
    • Line 86: warning: exported method BlockHeader.Serialize should have comment or be unexported (golint)
    • Line 90: warning: exported method BlockHeader.Unserialize should have comment or be unexported (golint)
    • Line 101: warning: exported method BlockHeader.GetSerializeList should have comment or be unexported (golint)
    • copernicus/model/script/scriptnum.go
    • Line 9: warning: exported const DefaultMaxNumSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 15: warning: exported type ScriptNum should have comment or be unexported (golint)
    • Line 142: warning: exported method ScriptNum.ToInt32 should have comment or be unexported (golint)
    • Line 153: warning: exported method ScriptNum.Serialize should have comment or be unexported (golint)
    • Line 192: warning: exported function MinimallyEncode should have comment or be unexported (golint)
    • Line 239: warning: exported function IsMinimallyEncoded should have comment or be unexported (golint)
    • Line 267: warning: exported function NewScriptNum should have comment or be unexported (golint)
    • copernicus/model/mempool/txmempool.go
    • Line 22: warning: exported const RollingFeeHalfLife should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported function GetInstance should have comment or be unexported (golint)
    • Line 35: warning: exported function SetInstance should have comment or be unexported (golint)
    • Line 44: warning: exported type PoolRemovalReason should have comment or be unexported (golint)
    • Line 99: warning: exported method TxMempool.Lock should have comment or be unexported (golint)
    • Line 102: warning: exported method TxMempool.Unlock should have comment or be unexported (golint)
    • Line 105: warning: exported method TxMempool.RLock should have comment or be unexported (golint)
    • Line 108: warning: exported method TxMempool.RUnlock should have comment or be unexported (golint)
    • Line 112: warning: exported method TxMempool.GetCheckFrequency should have comment or be unexported (golint)
    • Line 116: warning: exported method TxMempool.GetMinFeeRate should have comment or be unexported (golint)
    • Line 156: warning: exported method TxMempool.HasSpentOut should have comment or be unexported (golint)
    • Line 164: warning: exported method TxMempool.CleanOrphan should have comment or be unexported (golint)
    • Line 170: warning: exported method TxMempool.HasSPentOutWithoutLock should have comment or be unexported (golint)
    • Line 177: warning: exported method TxMempool.GetPoolAllTxSize should have comment or be unexported (golint)
    • Line 186: warning: exported method TxMempool.GetPoolUsage should have comment or be unexported (golint)
    • Line 193: warning: exported method TxMempool.CalculateDescendantsWithLock should have comment or be unexported (golint)
    • Line 206: warning: exported method TxMempool.CalculateMemPoolAncestorsWithLock should have comment or be unexported (golint)
    • Line 218: warning: exported method TxMempool.RemoveTxRecursive should have comment or be unexported (golint)
    • Line 224: warning: exported method TxMempool.GetRootTx should have comment or be unexported (golint)
    • Line 235: warning: exported method TxMempool.Size should have comment or be unexported (golint)
    • Line 242: warning: exported method TxMempool.GetAllTxEntry should have comment or be unexported (golint)
    • Line 252: warning: exported method TxMempool.GetAllTxEntryWithoutLock should have comment or be unexported (golint)
    • Line 260: warning: exported method TxMempool.GetAllSpentOutWithoutLock should have comment or be unexported (golint)
    • Line 293: warning: exported method TxMempool.FindTx should have comment or be unexported (golint)
    • Line 302: warning: exported method TxMempool.GetCoin should have comment or be unexported (golint)
    • Line 341: warning: exported method TxMempool.GetMinFee should have comment or be unexported (golint)
    • Line 442: warning: exported method TxMempool.RemoveStaged should have comment or be unexported (golint)
    • Line 690: warning: exported method TxMempool.TxInfoAll should have comment or be unexported (golint)
    • Line 706: warning: exported function NewTxMempool should have comment or be unexported (golint)
    • Line 723: warning: exported function InitMempool should have comment or be unexported (golint)
    • Line 728: warning: exported const OrphanTxExpireTime should have comment (or a comment on this block) or be unexported (golint)
    • Line 733: warning: exported type OrphanTx should have comment or be unexported (golint)
    • Line 739: warning: exported method TxMempool.AddOrphanTx should have comment or be unexported (golint)
    • Line 767: warning: exported method TxMempool.IsTransactionInPool should have comment or be unexported (golint)
    • Line 772: warning: exported method TxMempool.IsOrphanInPool should have comment or be unexported (golint)
    • Line 777: warning: exported method TxMempool.HaveTransaction should have comment or be unexported (golint)
    • Line 781: warning: exported method TxMempool.EraseOrphanTx should have comment or be unexported (golint)
    • Line 835: warning: exported method TxMempool.RemoveOrphansByTag should have comment or be unexported (golint)
    • copernicus/util/util.go
    • Line 3: warning: exported function MaxI should have comment or be unexported (golint)
    • Line 10: warning: exported function MinI should have comment or be unexported (golint)
    • Line 17: warning: exported function MaxU should have comment or be unexported (golint)
    • Line 24: warning: exported function MinU should have comment or be unexported (golint)
    • Line 31: warning: exported function MaxI32 should have comment or be unexported (golint)
    • Line 38: warning: exported function MinI32 should have comment or be unexported (golint)
    • Line 45: warning: exported function MaxU32 should have comment or be unexported (golint)
    • Line 52: warning: exported function MinU32 should have comment or be unexported (golint)
    • copernicus/rpc/btcjson/results.go
    • Line 341: warning: exported type Uploadtarget should have comment or be unexported (golint)
    • Line 556: warning: exported type GetMempoolEntryRelativeInfoVerbose should have comment or be unexported (golint)
    • Line 591: warning: exported type GetChainTipsResult should have comment or be unexported (golint)
    • Line 593: warning: exported type ChainTipsInfo should have comment or be unexported (golint)
    • Line 600: warning: exported type ListBannedResult should have comment or be unexported (golint)
    • Line 602: warning: exported type BannedInfo should have comment or be unexported (golint)
    • Line 631: warning: exported type WaitForBlockHeightResult should have comment or be unexported (golint)
    • Line 636: warning: exported type WaitForBlockResult should have comment or be unexported (golint)
    • Line 641: warning: exported type ListUnspentResult should have comment or be unexported (golint)
    • Line 655: warning: exported type GetTransactionDetailsResult should have comment or be unexported (golint)
    • Line 665: warning: exported type GetTransactionResult should have comment or be unexported (golint)
    • Line 678: warning: exported type FundRawTransactionResult should have comment or be unexported (golint)
    • copernicus/util/compactint.go
    • Line 12: warning: exported function ReadVarInt should have comment or be unexported (golint)
    • Line 57: warning: exported function WriteVarInt should have comment or be unexported (golint)
    • Line 84: warning: exported function VarIntSerializeSize should have comment or be unexported (golint)
    • copernicus/log/log.go
    • Line 12: warning: exported const DefaultLogDirname should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported function Print should have comment or be unexported (golint)
    • Line 110: warning: exported function GetLogger should have comment or be unexported (golint)
    • Line 114: warning: exported function Init should have comment or be unexported (golint)
    • copernicus/logic/lscript/lscriptemptychecker.go
    • Line 12: warning: exported type EmptyChecker should have comment or be unexported (golint)
    • Line 15: warning: exported method EmptyChecker.CheckSig should have comment or be unexported (golint)
    • Line 20: warning: exported method EmptyChecker.CheckLockTime should have comment or be unexported (golint)
    • Line 24: warning: exported method EmptyChecker.CheckSequence should have comment or be unexported (golint)
    • Line 29: warning: exported method EmptyChecker.VerifySignature should have comment or be unexported (golint)
    • Line 33: warning: exported function NewScriptEmptyChecker should have comment or be unexported (golint)
    • copernicus/model/txout/compress.go
    • Line 22: warning: exported function CompressAmount should have comment or be unexported (golint)
    • Line 43: warning: exported function DecompressAmount should have comment or be unexported (golint)
    • Line 259: warning: exported type TxoutCompressor should have comment or be unexported (golint)
    • Line 264: warning: exported var ErrCompress should have comment or be unexported (golint)
    • Line 266: warning: exported function NewTxoutCompressor should have comment or be unexported (golint)
    • Line 276: warning: exported method TxoutCompressor.Serialize should have comment or be unexported (golint)
    • Line 287: warning: exported method TxoutCompressor.Unserialize should have comment or be unexported (golint)
    • copernicus/util/varstring.go
    • Line 9: warning: exported function ReadVarString should have comment or be unexported (golint)
    • Line 26: warning: exported function WriteVarString should have comment or be unexported (golint)
    • copernicus/model/wallet/wallettx.go
    • Line 19: warning: exported type Recipient should have comment or be unexported (golint)
    • Line 25: warning: exported type WalletTx should have comment or be unexported (golint)
    • Line 58: warning: exported function NewEmptyWalletTx should have comment or be unexported (golint)
    • Line 62: warning: exported function NewWalletTx should have comment or be unexported (golint)
    • Line 79: warning: exported method WalletTx.Serialize should have comment or be unexported (golint)
    • Line 108: warning: exported method WalletTx.Unserialize should have comment or be unexported (golint)
    • Line 143: warning: exported method WalletTx.SerializeSize should have comment or be unexported (golint)
    • Line 149: warning: exported method WalletTx.GetDepthInMainChain should have comment or be unexported (golint)
    • Line 175: warning: exported method WalletTx.CheckFinalForForCurrentBlock should have comment or be unexported (golint)
    • Line 181: warning: exported method WalletTx.GetAvailableCredit should have comment or be unexported (golint)
    • Line 208: warning: exported method WalletTx.MarkSpent should have comment or be unexported (golint)
    • Line 214: warning: exported method WalletTx.GetUnspentCoin should have comment or be unexported (golint)
    • Line 237: warning: exported method WalletTx.GetBlokHeight should have comment or be unexported (golint)
    • Line 241: warning: exported method WalletTx.GetDebit should have comment or be unexported (golint)
    • Line 270: warning: exported method WalletTx.GetCredit should have comment or be unexported (golint)
    • copernicus/model/chain/blocklocator.go
    • Line 7: warning: exported type BlockLocator should have comment or be unexported (golint)
    • Line 11: warning: exported function NewBlockLocator should have comment or be unexported (golint)
    • Line 17: warning: exported method BlockLocator.SetNull should have comment or be unexported (golint)
    • Line 21: warning: exported method BlockLocator.IsNull should have comment or be unexported (golint)
    • Line 25: warning: exported method BlockLocator.GetBlockHashList should have comment or be unexported (golint)
    • copernicus/model/tx/tx.go
    • Line 27: warning: exported const TxOrphan should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: exported const RequireStandard should have comment (or a comment on this block) or be unexported (golint)
    • Line 38: warning: exported const MaxMoney should have comment (or a comment on this block) or be unexported (golint)
    • Line 57: warning: exported const DefaultBlockPriorityPercentage should have comment (or a comment on this block) or be unexported (golint)
    • Line 98: warning: exported type Tx should have comment or be unexported (golint)
    • Line 106: warning: exported method Tx.AddTxIn should have comment or be unexported (golint)
    • Line 110: warning: exported method Tx.AddTxOut should have comment or be unexported (golint)
    • Line 114: warning: exported method Tx.GetTxOut should have comment or be unexported (golint)
    • Line 123: warning: exported method Tx.GetTxIn should have comment or be unexported (golint)
    • Line 132: warning: exported method Tx.GetAllPreviousOut should have comment or be unexported (golint)
    • Line 140: warning: exported method Tx.PrevoutHashs should have comment or be unexported (golint)
    • Line 148: warning: exported method Tx.AnyInputTxIn should have comment or be unexported (golint)
    • Line 161: warning: exported method Tx.GetOutsCount should have comment or be unexported (golint)
    • Line 164: warning: exported method Tx.GetInsCount should have comment or be unexported (golint)
    • Line 168: warning: exported method Tx.SerializeSize should have comment or be unexported (golint)
    • Line 172: warning: exported method Tx.Serialize should have comment or be unexported (golint)
    • Line 176: warning: exported method Tx.Unserialize should have comment or be unexported (golint)
    • Line 180: warning: exported method Tx.EncodeSize should have comment or be unexported (golint)
    • Line 195: warning: exported method Tx.Encode should have comment or be unexported (golint)
    • Line 226: warning: exported method Tx.Decode should have comment or be unexported (golint)
    • Line 273: warning: exported method Tx.IsCoinBase should have comment or be unexported (golint)
    • Line 281: warning: exported method Tx.GetSigOpCountWithoutP2SH should have comment or be unexported (golint)
    • Line 292: warning: exported method Tx.GetLockTime should have comment or be unexported (golint)
    • Line 296: warning: exported method Tx.GetVersion should have comment or be unexported (golint)
    • Line 300: warning: exported method Tx.CheckRegularTransaction should have comment or be unexported (golint)
    • Line 330: warning: exported method Tx.CheckRegularTransactionWhenNewBlock should have comment or be unexported (golint)
    • Line 359: warning: exported method Tx.CheckCoinbaseTransaction should have comment or be unexported (golint)
    • Line 419: warning: exported method Tx.IsStandard should have comment or be unexported (golint)
    • Line 463: warning: exported method Tx.GetValueOut should have comment or be unexported (golint)
    • Line 474: warning: exported method Tx.SignStep should have comment or be unexported (golint)
    • Line 575: warning: exported method Tx.UpdateInScript should have comment or be unexported (golint)
    • Line 636: warning: exported method Tx.GetHash should have comment or be unexported (golint)
    • Line 655: warning: exported method Tx.GetIns should have comment or be unexported (golint)
    • Line 659: warning: exported method Tx.GetOuts should have comment or be unexported (golint)
    • Line 663: warning: exported method Tx.InsertTxOut should have comment or be unexported (golint)
    • Line 673: warning: exported function NewTx should have comment or be unexported (golint)
    • Line 680: warning: exported function NewEmptyTx should have comment or be unexported (golint)
    • Line 684: warning: exported function NewGenesisCoinbaseTx should have comment or be unexported (golint)
    • copernicus/model/utxo/coindb.go
    • Line 12: warning: exported type CoinsDB should have comment or be unexported (golint)
    • Line 16: warning: exported method CoinsDB.GetDBW should have comment or be unexported (golint)
    • Line 20: warning: exported method CoinsDB.GetCoin should have comment or be unexported (golint)
    • Line 38: warning: exported method CoinsDB.HaveCoin should have comment or be unexported (golint)
    • Line 49: warning: exported method CoinsDB.GetBestBlock should have comment or be unexported (golint)
    • Line 65: warning: exported method CoinsDB.BatchWrite should have comment or be unexported (golint)
    • Line 112: warning: exported method CoinsDB.EstimateSize should have comment or be unexported (golint)
    • copernicus/service/mining/mining.go
    • Line 37: warning: exported const CoinbaseFlag should have comment (or a comment on this block) or be unexported (golint)
    • Line 46: warning: exported function GetLastBlockTx should have comment or be unexported (golint)
    • Line 50: warning: exported function GetLastBlockSize should have comment or be unexported (golint)
    • Line 54: warning: exported type BlockTemplate should have comment or be unexported (golint)
    • Line 83: warning: exported function NewBlockAssembler should have comment or be unexported (golint)
    • Line 149: warning: exported type ByAncsCount should have comment or be unexported (golint)
    • Line 294: warning: exported function BasicScriptSig should have comment or be unexported (golint)
    • Line 301: warning: exported method BlockAssembler.CreateNewBlock should have comment or be unexported (golint)
    • Line 485: warning: exported function CoinbaseScriptSig should have comment or be unexported (golint)
    • Line 505: warning: exported function UpdateTime should have comment or be unexported (golint)
    • Line 528: warning: exported function TestBlockValidity should have comment or be unexported (golint)
    • copernicus/model/tx/txsignature.go
    • Line 16: warning: exported function SignatureHash should have comment or be unexported (golint)
    • Line 264: warning: exported function GetPreviousOutHash should have comment or be unexported (golint)
    • Line 278: warning: exported function GetSequenceHash should have comment or be unexported (golint)
    • Line 290: warning: exported function GetOutputsHash should have comment or be unexported (golint)
    • Line 302: warning: exported function CheckSig should have comment or be unexported (golint)
    • copernicus/util/varbytes.go
    • Line 9: warning: exported function ReadVarBytes should have comment or be unexported (golint)
    • Line 27: warning: exported function WriteVarBytes should have comment or be unexported (golint)
    • copernicus/conf/opts.go
    • Line 9: warning: exported type Opts should have comment or be unexported (golint)
    • Line 40: warning: exported function InitArgs should have comment or be unexported (golint)
    • copernicus/model/wallet/addressbook.go
    • Line 9: warning: exported type AddressBookData should have comment or be unexported (golint)
    • Line 14: warning: exported type AddressBook should have comment or be unexported (golint)
    • Line 19: warning: exported function NewEmptyAddressBookData should have comment or be unexported (golint)
    • Line 23: warning: exported function NewAddressBookData should have comment or be unexported (golint)
    • Line 33: warning: exported method AddressBookData.Serialize should have comment or be unexported (golint)
    • Line 44: warning: exported method AddressBookData.SerializeSize should have comment or be unexported (golint)
    • Line 56: warning: exported method AddressBookData.Unserialize should have comment or be unexported (golint)
    • Line 67: warning: exported function NewAddressBook should have comment or be unexported (golint)
    • Line 73: warning: exported method AddressBook.SetAddressBook should have comment or be unexported (golint)
    • Line 79: warning: exported method AddressBook.GetAccountName should have comment or be unexported (golint)
    • copernicus/util/fastrandom_context.go
    • Line 8: warning: exported type FastRandomContext should have comment or be unexported (golint)
    • Line 13: warning: exported function NewFastRandomContext should have comment or be unexported (golint)
    • Line 36: warning: exported method FastRandomContext.Rand32 should have comment or be unexported (golint)
    • copernicus/util/stack.go
    • Line 3: warning: exported type Stack should have comment or be unexported (golint)
    • Line 7: warning: exported method Stack.Size should have comment or be unexported (golint)
    • Line 11: warning: exported method Stack.Empty should have comment or be unexported (golint)
    • Line 15: warning: exported method Stack.Push should have comment or be unexported (golint)
    • Line 19: warning: exported method Stack.Swap should have comment or be unexported (golint)
    • Line 31: warning: exported method Stack.Pop should have comment or be unexported (golint)
    • Line 41: warning: exported method Stack.RemoveAt should have comment or be unexported (golint)
    • Line 53: warning: exported method Stack.Erase should have comment or be unexported (golint)
    • Line 66: warning: exported method Stack.Insert should have comment or be unexported (golint)
    • Line 79: warning: exported method Stack.Top should have comment or be unexported (golint)
    • Line 87: warning: exported method Stack.SetTop should have comment or be unexported (golint)
    • Line 96: warning: exported method Stack.CountBool should have comment or be unexported (golint)
    • Line 106: warning: exported function Swap should have comment or be unexported (golint)
    • Line 122: warning: exported method Stack.Copy should have comment or be unexported (golint)
    • Line 131: warning: exported function NewStack should have comment or be unexported (golint)
    • Line 155: warning: exported method Stack.Equal should have comment or be unexported (golint)
    • copernicus/crypto/keystore.go
    • Line 8: warning: exported type KeyPair should have comment or be unexported (golint)
    • Line 14: warning: exported function NewKeyPair should have comment or be unexported (golint)
    • Line 24: warning: exported method KeyPair.GetKeyID should have comment or be unexported (golint)
    • Line 28: warning: exported method KeyPair.GetPublicKey should have comment or be unexported (golint)
    • Line 32: warning: exported method KeyPair.GetPrivateKey should have comment or be unexported (golint)
    • Line 36: warning: exported type KeyStore should have comment or be unexported (golint)
    • Line 41: warning: exported function NewKeyStore should have comment or be unexported (golint)
    • Line 47: warning: exported method KeyStore.AddKey should have comment or be unexported (golint)
    • Line 56: warning: exported method KeyStore.GetKeyPair should have comment or be unexported (golint)
    • Line 66: warning: exported method KeyStore.GetKeyPairByPubKey should have comment or be unexported (golint)
    • Line 71: warning: exported method KeyStore.GetKeyPairs should have comment or be unexported (golint)
    • Line 85: warning: exported method KeyStore.AddKeyPairs should have comment or be unexported (golint)
    • copernicus/logic/lscript/lscriptrealchecker.go
    • Line 13: warning: exported type RealChecker should have comment or be unexported (golint)
    • Line 16: warning: exported method RealChecker.CheckSig should have comment or be unexported (golint)
    • Line 38: warning: exported method RealChecker.CheckLockTime should have comment or be unexported (golint)
    • Line 71: warning: exported method RealChecker.CheckSequence should have comment or be unexported (golint)
    • Line 107: warning: exported method RealChecker.VerifySignature should have comment or be unexported (golint)
    • Line 111: warning: exported function NewScriptRealChecker should have comment or be unexported (golint)
    • copernicus/model/script/address.go
    • Line 13: warning: exported const AddressBytesLength should have comment (or a comment on this block) or be unexported (golint)
    • Line 24: warning: exported type Address should have comment or be unexported (golint)
    • Line 32: warning: exported type AddressParam should have comment or be unexported (golint)
    • Line 37: warning: exported method Address.EncodeToPubKeyHash should have comment or be unexported (golint)
    • Line 49: warning: exported method Address.GetVersion should have comment or be unexported (golint)
    • Line 53: warning: exported function InitAddressParam should have comment or be unexported (golint)
    • Line 57: warning: exported function AddressFromString should have comment or be unexported (golint)
    • Line 82: warning: exported function AddressVerPubKey should have comment or be unexported (golint)
    • Line 86: warning: exported function AddressVerScript should have comment or be unexported (golint)
    • Line 90: warning: exported function AddressFromHash160 should have comment or be unexported (golint)
    • Line 105: warning: exported function Hash160ToAddressStr should have comment or be unexported (golint)
    • Line 119: warning: exported function AddressFromPrivateKey should have comment or be unexported (golint)
    • Line 134: warning: exported function AddressFromPublicKey should have comment or be unexported (golint)
    • Line 146: warning: exported function AddressFromScriptHash should have comment or be unexported (golint)
    • copernicus/service/rpcstruct.go
    • Line 6: warning: exported type GetConnectionCountResponse should have comment or be unexported (golint)
    • Line 33: warning: exported type GetNetTotalsRequest should have comment or be unexported (golint)
    • Line 46: warning: exported type ClearBannedRequest should have comment or be unexported (golint)
    • copernicus/service/blockservice.go
    • Line 15: warning: exported function ProcessBlockHeader should have comment or be unexported (golint)
    • Line 39: warning: exported function ProcessBlock should have comment or be unexported (golint)
    • Line 70: warning: exported function ProcessNewBlock should have comment or be unexported (golint)
    • copernicus/errcode/chainerror.go
    • Line 5: warning: exported type ChainErr should have comment or be unexported (golint)
    • Line 8: warning: exported const ErrorBlockHeaderNoValid should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: exported var ChainErrString should have comment or be unexported (golint)
    • copernicus/model/consensus/param.go
    • Line 10: warning: exported type DeploymentPos should have comment or be unexported (golint)
    • Line 13: warning: exported const DeploymentTestDummy should have comment (or a comment on this block) or be unexported (golint)
    • Line 21: warning: exported type BIP9Deployment should have comment or be unexported (golint)
    • Line 31: warning: exported type Param should have comment or be unexported (golint)
    • Line 87: warning: exported method Param.DifficultyAdjustmentInterval should have comment or be unexported (golint)
    • copernicus/model/opcodes/opcodes.go
    • Line 4: warning: comment on exported const OP_0 should be of the form "OP_0 ..." (golint)
    • Line 5: warning: don't use underscores in Go names; const OP_0 should be OP0 (golint)
    • Line 6: warning: exported const OP_FALSE should have comment (or a comment on this block) or be unexported (golint)
    • Line 12: warning: don't use underscores in Go names; const OP_1 should be OP1 (golint)
    • Line 14: warning: don't use underscores in Go names; const OP_2 should be OP2 (golint)
    • Line 15: warning: don't use underscores in Go names; const OP_3 should be OP3 (golint)
    • Line 16: warning: don't use underscores in Go names; const OP_4 should be OP4 (golint)
    • Line 17: warning: don't use underscores in Go names; const OP_5 should be OP5 (golint)
    • Line 18: warning: don't use underscores in Go names; const OP_6 should be OP6 (golint)
    • Line 19: warning: don't use underscores in Go names; const OP_7 should be OP7 (golint)
    • Line 20: warning: don't use underscores in Go names; const OP_8 should be OP8 (golint)
    • Line 21: warning: don't use underscores in Go names; const OP_9 should be OP9 (golint)
    • Line 30: warning: comment on exported const OP_NOP should be of the form "OP_NOP ..." (golint)
    • Line 42: warning: comment on exported const OP_TOALTSTACK should be of the form "OP_TOALTSTACK ..." (golint)
    • Line 63: warning: comment on exported const OP_CAT should be of the form "OP_CAT ..." (golint)
    • Line 70: warning: comment on exported const OP_INVERT should be of the form "OP_INVERT ..." (golint)
    • Line 80: warning: comment on exported const OP_1ADD should be of the form "OP_1ADD ..." (golint)
    • Line 112: warning: comment on exported const OP_RIPEMD160 should be of the form "OP_RIPEMD160 ..." (golint)
    • Line 124: warning: comment on exported const OP_NOP1 should be of the form "OP_NOP1 ..." (golint)
    • Line 138: warning: comment on exported const OP_CHECKDATASIG should be of the form "OP_CHECKDATASIG ..." (golint)
    • Line 142: warning: comment on exported const FIRST_UNDEFINED_OP_VALUE should be of the form "FIRST_UNDEFINED_OP_VALUE ..." (golint)
    • Line 145: warning: comment on exported const OP_SMALLINTEGER should be of the form "OP_SMALLINTEGER ..." (golint)
    • Line 154: warning: exported function GetOpName should have comment or be unexported (golint)
    • copernicus/model/utxo/lrucache.go
    • Line 13: warning: exported type CoinsLruCache should have comment or be unexported (golint)
    • Line 20: warning: exported method CoinsLruCache.GetCoinsDB should have comment or be unexported (golint)
    • Line 24: warning: exported function InitUtxoLruTip should have comment or be unexported (golint)
    • Line 42: warning: exported method CoinsLruCache.GetCoin should have comment or be unexported (golint)
    • Line 69: warning: exported method CoinsLruCache.HaveCoin should have comment or be unexported (golint)
    • Line 74: warning: exported method CoinsLruCache.RemoveCoins should have comment or be unexported (golint)
    • Line 81: warning: exported method CoinsLruCache.GetBestBlock should have comment or be unexported (golint)
    • Line 100: warning: exported method CoinsLruCache.UpdateCoins should have comment or be unexported (golint)
    • Line 152: warning: exported method CoinsLruCache.Flush should have comment or be unexported (golint)
    • Line 166: warning: exported method CoinsLruCache.AccessByTxID should have comment or be unexported (golint)
    • Line 178: warning: exported method CoinsLruCache.GetCacheSize should have comment or be unexported (golint)
    • Line 182: warning: exported method CoinsLruCache.DynamicMemoryUsage should have comment or be unexported (golint)
    • copernicus/errcode/rejectcode.go
    • Line 42: warning: exported type InternalRejectCode should have comment or be unexported (golint)
    • Line 45: warning: exported const RejectHighFee should have comment (or a comment on this block) or be unexported (golint)
    • copernicus/crypto/publickey.go
    • Line 16: warning: exported type PublicKey should have comment or be unexported (golint)
    • Line 21: warning: exported function ParsePubKey should have comment or be unexported (golint)
    • Line 27: warning: exported method PublicKey.ToSecp256k should have comment or be unexported (golint)
    • Line 31: warning: exported method PublicKey.ToHexString should have comment or be unexported (golint)
    • Line 36: warning: exported method PublicKey.ToHash160 should have comment or be unexported (golint)
    • Line 41: warning: exported method PublicKey.ToBytes should have comment or be unexported (golint)
    • Line 48: warning: exported method PublicKey.SerializeUncompressed should have comment or be unexported (golint)
    • Line 56: warning: exported method PublicKey.SerializeCompressed should have comment or be unexported (golint)
    • Line 64: warning: exported method PublicKey.IsEqual should have comment or be unexported (golint)
    • Line 70: warning: exported method PublicKey.Verify should have comment or be unexported (golint)
    • Line 121: warning: exported function IsCompressedOrUncompressedPubKey should have comment or be unexported (golint)
    • Line 139: warning: exported function IsCompressedPubKey should have comment or be unexported (golint)
    • copernicus/model/bitcoinparams.go
    • Line 18: warning: exported const AntiReplayCommitment should have comment or be unexported (golint)
    • Line 20: warning: exported var ActiveNetParams should have comment or be unexported (golint)
    • Line 33: warning: exported type ChainTxData should have comment or be unexported (golint)
    • Line 49: warning: exported type BitcoinParams should have comment or be unexported (golint)
    • Line 94: warning: exported method BitcoinParams.TxData should have comment or be unexported (golint)
    • Line 98: warning: exported var MainNetParams should have comment or be unexported (golint)
    • Line 220: warning: exported var TestNetParams should have comment or be unexported (golint)
    • Line 318: warning: exported var RegressionNetParams should have comment or be unexported (golint)
    • Line 400: warning: exported var RegisteredNets should have comment or be unexported (golint)
    • Line 412: warning: exported function Register should have comment or be unexported (golint)
    • Line 422: warning: exported function IsPublicKeyHashAddressID should have comment or be unexported (golint)
    • Line 426: warning: exported function IsScriptHashAddressid should have comment or be unexported (golint)
    • Line 430: warning: exported function HDPrivateKeyToPublicKeyID should have comment or be unexported (golint)
    • Line 455: warning: exported function IsDAAEnabled should have comment or be unexported (golint)
    • Line 459: warning: exported function IsMagneticAnomalyEnabled should have comment or be unexported (golint)
    • Line 467: warning: exported function IsReplayProtectionEnabled should have comment or be unexported (golint)
    • Line 476: warning: exported function SetTestNetParams should have comment or be unexported (golint)
    • Line 481: warning: exported function SetRegTestParams should have comment or be unexported (golint)
    • Line 494: warning: exported function GetBlockSubsidy should have comment or be unexported (golint)
    • copernicus/util/feeRate.go
    • Line 11: warning: exported const COIN should have comment (or a comment on this block) or be unexported (golint)
    • Line 79: warning: exported method FeeRate.SerializeSize should have comment or be unexported (golint)
    • Line 83: warning: exported method FeeRate.Serialize should have comment or be unexported (golint)
    • Line 87: warning: exported function Unserialize should have comment or be unexported (golint)
    • Line 98: warning: exported method FeeRate.Less should have comment or be unexported (golint)
    • Line 102: warning: exported function NewFeeRate should have comment or be unexported (golint)
    • Line 107: warning: exported function NewFeeRateWithSize should have comment or be unexported (golint)
    • copernicus/rpc/rpcserver.go
    • Line 485: warning: exported type ServerConfig should have comment or be unexported (golint)
    • Line 611: warning: exported function NewServer should have comment or be unexported (golint)
    • Line 636: warning: exported function InitRPCServer should have comment or be unexported (golint)
    • copernicus/model/pow/pow.go
    • Line 13: warning: exported type Pow should have comment or be unexported (golint)
    • Line 15: warning: exported method Pow.GetNextWorkRequired should have comment or be unexported (golint)
    • Line 245: warning: exported method Pow.CheckProofOfWork should have comment or be unexported (golint)
    • copernicus/model/wallet/scriptstore.go
    • Line 10: warning: exported type ScriptStore should have comment or be unexported (golint)
    • Line 15: warning: exported function NewScriptStore should have comment or be unexported (golint)
    • Line 21: warning: exported method ScriptStore.AddScript should have comment or be unexported (golint)
    • Line 30: warning: exported method ScriptStore.GetScript should have comment or be unexported (golint)
    • copernicus/persist/db/db.go
    • Line 22: warning: exported const DbCoin should have comment (or a comment on this block) or be unexported (golint)
    • Line 49: warning: exported type DBWrapper should have comment or be unexported (golint)
    • Line 105: warning: exported type DBOption should have comment or be unexported (golint)
    • Line 131: warning: exported function NewDBWrapper should have comment or be unexported (golint)
    • Line 242: warning: exported method DBWrapper.WriteBatch should have comment or be unexported (golint)
    • Line 255: warning: exported method DBWrapper.Exists should have comment or be unexported (golint)
    • Line 270: warning: exported method DBWrapper.Erase should have comment or be unexported (golint)
    • Line 279: warning: exported method DBWrapper.Sync should have comment or be unexported (golint)
    • Line 287: warning: exported method DBWrapper.Iterator should have comment or be unexported (golint)
    • Line 294: warning: exported method DBWrapper.Prefix should have comment or be unexported (golint)
    • Line 298: warning: exported method DBWrapper.IsEmpty should have comment or be unexported (golint)
    • Line 307: warning: exported method DBWrapper.EstimateSize should have comment or be unexported (golint)
    • Line 319: warning: exported method DBWrapper.CompactRange should have comment or be unexported (golint)
    • Line 326: warning: exported method DBWrapper.GetObfuscateKey should have comment or be unexported (golint)
    • Line 330: warning: exported method DBWrapper.Close should have comment or be unexported (golint)
    • Line 339: warning: exported method DBWrapper.Reset should have comment or be unexported (golint)
    • Line 345: warning: exported type BatchWrapper should have comment or be unexported (golint)
    • Line 353: warning: exported function NewBatchWrapper should have comment or be unexported (golint)
    • Line 361: warning: exported method BatchWrapper.Clear should have comment or be unexported (golint)
    • Line 393: warning: exported method BatchWrapper.SizeEstimate should have comment or be unexported (golint)
    • Line 397: warning: exported method BatchWrapper.Erase should have comment or be unexported (golint)
    • Line 408: warning: exported type IterWrapper should have comment or be unexported (golint)
    • Line 413: warning: exported function NewIterWrapper should have comment or be unexported (golint)
    • Line 420: warning: exported method IterWrapper.Valid should have comment or be unexported (golint)
    • Line 427: warning: exported method IterWrapper.SeekToFirst should have comment or be unexported (golint)
    • Line 431: warning: exported method IterWrapper.GetKey should have comment or be unexported (golint)
    • Line 440: warning: exported method IterWrapper.GetKeySize should have comment or be unexported (golint)
    • Line 444: warning: exported method IterWrapper.GetVal should have comment or be unexported (golint)
    • Line 454: warning: exported method IterWrapper.GetValSize should have comment or be unexported (golint)
    • Line 458: warning: exported method IterWrapper.Seek should have comment or be unexported (golint)
    • Line 463: warning: exported method IterWrapper.Next should have comment or be unexported (golint)
    • Line 469: warning: exported method IterWrapper.Close should have comment or be unexported (golint)
    • copernicus/util/binaryfreeList.go
    • Line 10: warning: exported const IoMaxSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 20: warning: exported type BinaryFreeList should have comment or be unexported (golint)
    • Line 22: warning: exported var BinarySerializer should have comment or be unexported (golint)
    • Line 24: warning: exported method BinaryFreeList.Borrow should have comment or be unexported (golint)
    • Line 34: warning: exported method BinaryFreeList.Return should have comment or be unexported (golint)
    • Line 41: warning: exported method BinaryFreeList.Uint8 should have comment or be unexported (golint)
    • Line 51: warning: exported method BinaryFreeList.Uint16 should have comment or be unexported (golint)
    • Line 61: warning: exported method BinaryFreeList.Uint32 should have comment or be unexported (golint)
    • Line 71: warning: exported method BinaryFreeList.Uint64 should have comment or be unexported (golint)
    • Line 82: warning: exported method BinaryFreeList.PutUint8 should have comment or be unexported (golint)
    • Line 90: warning: exported method BinaryFreeList.PutUint16 should have comment or be unexported (golint)
    • Line 97: warning: exported method BinaryFreeList.PutUint32 should have comment or be unexported (golint)
    • Line 105: warning: exported method BinaryFreeList.PutUint64 should have comment or be unexported (golint)
    • Line 113: warning: exported function GetUint64FromReder should have comment or be unexported (golint)
    • Line 120: warning: exported function RandomUint64 should have comment or be unexported (golint)
    • Line 236: warning: exported function ReadElements should have comment or be unexported (golint)
    • Line 351: warning: exported function WriteElements should have comment or be unexported (golint)
    • copernicus/logic/lmerkleroot/lmerkleroot.go
    • Line 114: warning: exported function ComputeMerkleRoot should have comment or be unexported (golint)
    • Line 120: warning: exported function ComputeMerkleBranch should have comment or be unexported (golint)
    • Line 126: warning: exported function ComputeMerkleRootFromBranch should have comment or be unexported (golint)
    • Line 145: warning: exported function BlockMerkleRoot should have comment or be unexported (golint)
    • Line 153: warning: exported function BlockMerkleBranch should have comment or be unexported (golint)
    • Line 161: warning: exported function HashMerkleBranches should have comment or be unexported (golint)
    • copernicus/crypto/privatekey.go
    • Line 9: warning: exported type PrivateKey should have comment or be unexported (golint)
    • Line 16: warning: exported const PrivateKeyBytesLen should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: exported function InitPrivateKeyVersion should have comment or be unexported (golint)
    • Line 26: warning: exported function NewPrivateKeyFromBytes should have comment or be unexported (golint)
    • Line 34: warning: exported function PrivateKeyFromBytes should have comment or be unexported (golint)
    • Line 44: warning: exported method PrivateKey.IsCompressed should have comment or be unexported (golint)
    • Line 48: warning: exported method PrivateKey.GetBytes should have comment or be unexported (golint)
    • Line 52: warning: exported method PrivateKey.PubKey should have comment or be unexported (golint)
    • Line 61: warning: exported method PrivateKey.Sign should have comment or be unexported (golint)
    • Line 66: warning: exported method PrivateKey.Encode should have comment or be unexported (golint)
    • Line 78: warning: exported method PrivateKey.ToString should have comment or be unexported (golint)
    • Line 87: warning: exported function DecodePrivateKey should have comment or be unexported (golint)
    • copernicus/util/randnumber.go
    • Line 26: warning: exported function InsecureRand64 should have comment or be unexported (golint)
    • Line 31: warning: exported function GetRandHash should have comment or be unexported (golint)
    • Line 36: warning: exported function GetRand should have comment or be unexported (golint)
    • Line 50: warning: exported function GetRandInt should have comment or be unexported (golint)
    • copernicus/model/mempool/txentry.go
    • Line 12: warning: exported type TxEntry should have comment or be unexported (golint)
    • Line 37: warning: exported type StatisInformation should have comment or be unexported (golint)
    • Line 51: warning: exported method TxEntry.GetSigOpCountWithAncestors should have comment or be unexported (golint)
    • Line 55: warning: exported method TxEntry.GetUsageSize should have comment or be unexported (golint)
    • Line 59: warning: exported method TxEntry.SetLockPointFromTxEntry should have comment or be unexported (golint)
    • Line 63: warning: exported method TxEntry.GetLockPointFromTxEntry should have comment or be unexported (golint)
    • Line 67: warning: exported method TxEntry.GetSpendsCoinbase should have comment or be unexported (golint)
    • Line 71: warning: exported method TxEntry.GetTime should have comment or be unexported (golint)
    • Line 84: warning: exported method TxEntry.UpdateChild should have comment or be unexported (golint)
    • Line 92: warning: exported method TxEntry.UpdateChildOfParents should have comment or be unexported (golint)
    • Line 103: warning: exported method TxEntry.UpdateDescendantState should have comment or be unexported (golint)
    • Line 109: warning: exported method TxEntry.UpdateAncestorState should have comment or be unexported (golint)
    • Line 116: warning: exported method TxEntry.Less should have comment or be unexported (golint)
    • Line 126: warning: exported function NewTxentry should have comment or be unexported (golint)
    • Line 154: warning: exported method TxEntry.GetFeeRate should have comment or be unexported (golint)
    • Line 158: warning: exported method TxEntry.GetInfo should have comment or be unexported (golint)
    • Line 166: warning: exported method TxEntry.CheckLockPointValidity should have comment or be unexported (golint)
    • Line 175: warning: exported type EntryFeeSort should have comment or be unexported (golint)
    • Line 177: warning: exported method EntryFeeSort.Less should have comment or be unexported (golint)
    • Line 187: warning: exported type EntryAncestorFeeRateSort should have comment or be unexported (golint)
    • Line 189: warning: exported method EntryAncestorFeeRateSort.Less should have comment or be unexported (golint)
    • copernicus/persist/blkdb/blkdb.go
    • Line 17: warning: exported type BlockTreeDB should have comment or be unexported (golint)
    • Line 23: warning: exported type BlockTreeDBConfig should have comment or be unexported (golint)
    • Line 27: warning: exported function InitBlockTreeDB should have comment or be unexported (golint)
    • Line 31: warning: exported function GetInstance should have comment or be unexported (golint)
    • Line 51: warning: exported method BlockTreeDB.ReadBlockFileInfo should have comment or be unexported (golint)
    • Line 78: warning: exported method BlockTreeDB.WriteReindexing should have comment or be unexported (golint)
    • Line 85: warning: exported method BlockTreeDB.ReadReindexing should have comment or be unexported (golint)
    • Line 90: warning: exported method BlockTreeDB.ReadLastBlockFile should have comment or be unexported (golint)
    • Line 101: warning: exported method BlockTreeDB.WriteBatchSync should have comment or be unexported (golint)
    • Line 164: warning: exported method BlockTreeDB.ReadTxIndex should have comment or be unexported (golint)
    • Line 181: warning: exported method BlockTreeDB.WriteTxIndex should have comment or be unexported (golint)
    • Line 208: warning: exported method BlockTreeDB.WriteFlag should have comment or be unexported (golint)
    • Line 218: warning: exported method BlockTreeDB.ReadFlag should have comment or be unexported (golint)
    • Line 230: warning: exported method BlockTreeDB.LoadBlockIndexGuts should have comment or be unexported (golint)
    • copernicus/model/utxo/coincache.go
    • Line 12: warning: exported type UtxoConfig should have comment or be unexported (golint)
    • Line 16: warning: exported function GetUtxoCacheInstance should have comment or be unexported (golint)
    • Line 28: warning: exported type CacheView should have comment or be unexported (golint)
    • copernicus/crypto/ecdsasignature.go
    • Line 11: warning: exported const SigHashAll should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: exported type Signature should have comment or be unexported (golint)
    • Line 28: warning: exported method Signature.Serialize should have comment or be unexported (golint)
    • Line 33: warning: exported method Signature.Verify should have comment or be unexported (golint)
    • Line 39: warning: exported method Signature.EcdsaNormalize should have comment or be unexported (golint)
    • Line 44: warning: exported function ParseDERSignature should have comment or be unexported (golint)
    • Line 55: warning: exported function CheckLowS should have comment or be unexported (golint)
    • Line 80: warning: exported function IsValidSignatureEncoding should have comment or be unexported (golint)
    • Line 170: warning: exported function IsDefineHashtypeSignature should have comment or be unexported (golint)
    • copernicus/model/wallet/wallet.go
    • Line 26: warning: exported type Wallet should have comment or be unexported (golint)
    • Line 50: warning: exported function InitWallet should have comment or be unexported (golint)
    • Line 79: warning: exported function GetInstance should have comment or be unexported (golint)
    • Line 86: warning: exported method Wallet.Init should have comment or be unexported (golint)
    • Line 99: warning: exported method Wallet.IsEnable should have comment or be unexported (golint)
    • Line 139: warning: exported method Wallet.GenerateNewKey should have comment or be unexported (golint)
    • Line 152: warning: exported method Wallet.GetReservedKey should have comment or be unexported (golint)
    • Line 163: warning: exported method Wallet.AddScript should have comment or be unexported (golint)
    • Line 173: warning: exported method Wallet.SetAddressBook should have comment or be unexported (golint)
    • Line 184: warning: exported method Wallet.AddToWallet should have comment or be unexported (golint)
    • Line 220: warning: exported method Wallet.RemoveFromWallet should have comment or be unexported (golint)
    • Line 236: warning: exported method Wallet.GetWalletTxns should have comment or be unexported (golint)
    • Line 248: warning: exported method Wallet.GetWalletTx should have comment or be unexported (golint)
    • Line 293: warning: exported method Wallet.IsTrusted should have comment or be unexported (golint)
    • Line 300: warning: exported method Wallet.GetBalance should have comment or be unexported (golint)
    • Line 314: warning: exported method Wallet.GetBroadcastTx should have comment or be unexported (golint)
    • Line 318: warning: exported method Wallet.SetBroadcastTx should have comment or be unexported (golint)
    • Line 322: warning: exported method Wallet.SetFeeRate should have comment or be unexported (golint)
    • Line 326: warning: exported method Wallet.GetMinimumFee should have comment or be unexported (golint)
    • Line 350: warning: exported method Wallet.GetUnspentCoin should have comment or be unexported (golint)
    • Line 359: warning: exported method Wallet.MarkSpent should have comment or be unexported (golint)
    • Line 367: warning: exported function IsUnlockable should have comment or be unexported (golint)
    • Line 414: warning: exported method Wallet.GetDebitTx should have comment or be unexported (golint)
    • Line 427: warning: exported method Wallet.GetCreditTx should have comment or be unexported (golint)
    • Line 440: warning: exported method Wallet.GetDebitIn should have comment or be unexported (golint)
    • Line 459: warning: exported method Wallet.GetCreditOut should have comment or be unexported (golint)
    • Line 471: warning: exported method Wallet.IsMine should have comment or be unexported (golint)
    • Line 511: warning: exported method Wallet.HandleRelatedMempoolTx should have comment or be unexported (golint)
    • copernicus/model/chain/syncing_state.go
    • Line 10: warning: exported type SyncingState should have comment or be unexported (golint)
    • Line 14: warning: exported method SyncingState.UpdateSyncingState should have comment or be unexported (golint)
    • Line 36: warning: exported method SyncingState.IsAlmostSynced should have comment or be unexported (golint)
    • copernicus/util/varint.go
    • Line 8: warning: exported function WriteVarLenInt should have comment or be unexported (golint)
    • Line 14: warning: exported function ReadVarLenInt should have comment or be unexported (golint)
    • Line 31: warning: exported function EncodeVarLenInt should have comment or be unexported (golint)
    • Line 52: warning: exported function VarLenIntSize should have comment or be unexported (golint)
    • copernicus/errcode/txerror.go
    • Line 5: warning: exported type TxErr should have comment or be unexported (golint)
    • Line 8: warning: exported const TxErrRejectCheckPoint should have comment (or a comment on this block) or be unexported (golint)
    • copernicus/model/chain/chain.go
    • Line 53: warning: exported var HashAssumeValid should have comment or be unexported (golint)
    • Line 55: warning: exported function GetInstance should have comment or be unexported (golint)
    • Line 62: warning: exported function InitGlobalChain should have comment or be unexported (golint)
    • Line 197: warning: exported function NewChain should have comment or be unexported (golint)
    • Line 205: warning: exported method Chain.GetParams should have comment or be unexported (golint)
    • Line 225: warning: exported method Chain.GetReceivedID should have comment or be unexported (golint)
    • Line 289: warning: exported method Chain.TipHeight should have comment or be unexported (golint)
    • Line 297: warning: exported method Chain.GetSpendHeight should have comment or be unexported (golint)
    • Line 306: warning: exported method Chain.GetBlockScriptFlags should have comment or be unexported (golint)
    • Line 394: warning: exported method Chain.Equal should have comment or be unexported (golint)
    • Line 591: warning: exported method Chain.ResetBlockFailureFlags should have comment or be unexported (golint)
    • Line 606: warning: exported method Chain.AddToBranch should have comment or be unexported (golint)
    • Line 645: warning: exported method Chain.RemoveFromBranch should have comment or be unexported (golint)
    • Line 659: warning: exported method Chain.FindMostWorkChain should have comment or be unexported (golint)
    • Line 666: warning: exported method Chain.AddToIndexMap should have comment or be unexported (golint)
    • Line 711: warning: exported method Chain.AddToOrphan should have comment or be unexported (golint)
    • Line 722: warning: exported method Chain.ChainOrphanLen should have comment or be unexported (golint)
    • Line 731: warning: exported method Chain.ClearActive should have comment or be unexported (golint)
    • Line 736: warning: exported method Chain.IndexMapSize should have comment or be unexported (golint)
    • Line 753: warning: exported method Chain.CanDirectFetch should have comment or be unexported (golint)
    • Line 757: warning: exported method Chain.GetIndexBestHeader should have comment or be unexported (golint)
    • Line 764: warning: exported method Chain.SetIndexBestHeader should have comment or be unexported (golint)
    • Line 770: warning: exported method Chain.CheckIndexAgainstCheckpoint should have comment or be unexported (golint)
    • copernicus/net/syncmanager/syncmanager.go
    • Line 1480: warning: exported method SyncManager.QueueMinedBlock should have comment or be unexported (golint)
    • Line 1497: warning: exported method SyncManager.QueueMessgePool should have comment or be unexported (golint)
    • Line 1507: warning: exported method SyncManager.QueueGetBlocks should have comment or be unexported (golint)
    • Line 1517: warning: exported method SyncManager.QueuePing should have comment or be unexported (golint)
    • copernicus/conf/conf.go
    • Line 19: warning: exported const AppMajor should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: exported const OneMegaByte should have comment (or a comment on this block) or be unexported (golint)
    • Line 147: warning: exported var Cfg should have comment or be unexported (golint)
    • Line 345: warning: exported function CopyFile should have comment or be unexported (golint)
    • Line 367: warning: exported function FileExists should have comment or be unexported (golint)
    • Line 376: warning: exported function SetUnitTestDataDir should have comment or be unexported (golint)
    • Line 414: warning: exported function GetUserAgent should have comment or be unexported (golint)
    • copernicus/logic/lchain/lchain.go
    • Line 35: warning: exported function ConnectBlock should have comment or be unexported (golint)
    • Line 209: warning: exported function InvalidBlockParentFound should have comment or be unexported (golint)
    • Line 434: warning: exported function DisconnectBlock should have comment or be unexported (golint)
    • Line 454: warning: exported function InitGenesisChain should have comment or be unexported (golint)
    • copernicus/errcode/mempool.go
    • Line 7: warning: exported type MemPoolErr should have comment or be unexported (golint)
    • Line 10: warning: exported const MissParent should have comment (or a comment on this block) or be unexported (golint)
    • copernicus/logic/lmempool/ltxmempool.go
    • Line 21: warning: exported function AcceptTxToMemPool should have comment or be unexported (golint)
    • Line 60: warning: exported function TryAcceptOrphansTxs should have comment or be unexported (golint)
    • Line 105: warning: exported function RemoveTxSelf should have comment or be unexported (golint)
    • Line 109: warning: exported function RemoveForReorg should have comment or be unexported (golint)
    • Line 411: warning: exported function FindTxInMempool should have comment or be unexported (golint)
    • Line 416: warning: exported function FindOrphanTxInMemPool should have comment or be unexported (golint)
    • copernicus/logic/lmerkleblock/lmerkle_block.go
    • Line 11: warning: exported type Matched should have comment or be unexported (golint)
    • Line 16: warning: exported type MerkleBlock should have comment or be unexported (golint)
    • Line 22: warning: exported function NewMerkleBlock should have comment or be unexported (golint)
    • Line 45: warning: exported method MerkleBlock.Serialize should have comment or be unexported (golint)
    • Line 59: warning: exported method MerkleBlock.Unserialize should have comment or be unexported (golint)
    • copernicus/util/hash.go
    • Line 19: warning: exported const Hash256Size should have comment (or a comment on this block) or be unexported (golint)
    • Line 24: warning: exported type Hash should have comment or be unexported (golint)
    • Line 26: warning: exported var HashZero should have comment or be unexported (golint)
    • Line 27: warning: exported var HashOne should have comment or be unexported (golint)
    • Line 29: warning: exported function Sha256Bytes should have comment or be unexported (golint)
    • Line 33: warning: exported function Sha256Hash should have comment or be unexported (golint)
    • Line 37: warning: exported function DoubleSha256Bytes should have comment or be unexported (golint)
    • Line 42: warning: exported function DoubleSha256Hash should have comment or be unexported (golint)
    • Line 52: warning: exported function Ripemd160 should have comment or be unexported (golint)
    • Line 62: warning: exported function Sha1 should have comment or be unexported (golint)
    • Line 74: warning: exported method Hash.SerializeSize should have comment or be unexported (golint)
    • Line 78: warning: exported method Hash.Serialize should have comment or be unexported (golint)
    • Line 82: warning: exported method Hash.Unserialize should have comment or be unexported (golint)
    • Line 86: warning: exported method Hash.EncodeSize should have comment or be unexported (golint)
    • Line 90: warning: exported method Hash.Encode should have comment or be unexported (golint)
    • Line 99: warning: exported method Hash.Decode should have comment or be unexported (golint)
    • Line 108: warning: exported method Hash.GetCloneBytes should have comment or be unexported (golint)
    • Line 113: warning: exported method Hash.ToBigInt should have comment or be unexported (golint)
    • Line 117: warning: exported method Hash.Cmp should have comment or be unexported (golint)
    • Line 129: warning: exported method Hash.IsEqual should have comment or be unexported (golint)
    • Line 139: warning: exported method Hash.IsNull should have comment or be unexported (golint)
    • Line 148: warning: exported function HashFromString should have comment or be unexported (golint)
    • Line 156: warning: exported function GetHashFromStr should have comment or be unexported (golint)
    • Line 168: warning: exported function GetHashBytesFromStr should have comment or be unexported (golint)
    • Line 214: warning: exported function SipHash should have comment or be unexported (golint)
    • Line 253: warning: exported function SipHashExtra should have comment or be unexported (golint)
    • Line 293: warning: exported type SipHasher should have comment or be unexported (golint)
    • Line 299: warning: exported function NewSipHasher should have comment or be unexported (golint)
    • Line 310: warning: exported method SipHasher.WriteUint64 should have comment or be unexported (golint)
    • Line 363: warning: exported method SipHasher.Finalize should have comment or be unexported (golint)
    • copernicus/model/utxo/coinkey.go
    • Line 12: warning: exported type CoinKey should have comment or be unexported (golint)
    • Line 16: warning: exported method CoinKey.Serialize should have comment or be unexported (golint)
    • Line 26: warning: exported method CoinKey.Unserialize should have comment or be unexported (golint)
    • Line 37: warning: exported method CoinKey.GetSerKey should have comment or be unexported (golint)
    • Line 46: warning: exported function NewCoinKey should have comment or be unexported (golint)
    • copernicus/model/opcodes/parsedopcode.go
    • Line 9: warning: exported type ParsedOpCode should have comment or be unexported (golint)
    • Line 45: warning: exported method ParsedOpCode.CheckCompactDataPush should have comment or be unexported (golint)
    • Line 60: warning: exported method ParsedOpCode.CheckMinimalDataPush should have comment or be unexported (golint)
    • Line 127: warning: exported function NewParsedOpCode should have comment or be unexported (golint)
    • copernicus/model/block/blockfileinfo.go
    • Line 10: warning: exported type BlockFileInfo should have comment or be unexported (golint)
    • Line 21: warning: exported method BlockFileInfo.GetSerializeList should have comment or be unexported (golint)
    • Line 26: warning: exported method BlockFileInfo.Serialize should have comment or be unexported (golint)
    • Line 36: warning: exported method BlockFileInfo.Unserialize should have comment or be unexported (golint)
    • Line 41: warning: exported method BlockFileInfo.SetNull should have comment or be unexported (golint)
    • Line 50: warning: exported method BlockFileInfo.AddBlock should have comment or be unexported (golint)
    • Line 73: warning: exported function NewBlockFileInfo should have comment or be unexported (golint)
    • copernicus/model/outpoint/outpoint.go
    • Line 14: warning: exported type OutPoint should have comment or be unexported (golint)
    • Line 19: warning: exported function NewDefaultOutPoint should have comment or be unexported (golint)
    • Line 26: warning: exported function NewOutPoint should have comment or be unexported (golint)
    • Line 34: warning: exported method OutPoint.SerializeSize should have comment or be unexported (golint)
    • Line 38: warning: exported method OutPoint.Serialize should have comment or be unexported (golint)
    • Line 46: warning: exported method OutPoint.Unserialize should have comment or be unexported (golint)
    • Line 59: warning: exported method OutPoint.EncodeSize should have comment or be unexported (golint)
    • Line 63: warning: exported method OutPoint.Encode should have comment or be unexported (golint)
    • Line 71: warning: exported method OutPoint.Decode should have comment or be unexported (golint)
    • Line 86: warning: exported method OutPoint.IsNull should have comment or be unexported (golint)
    • copernicus/model/script/script.go
    • Line 17: warning: exported const MaxMessagePayload should have comment (or a comment on this block) or be unexported (golint)
    • Line 21: warning: exported const DefaultSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 171: warning: exported const ScriptNonStandard should have comment (or a comment on this block) or be unexported (golint)
    • Line 209: warning: exported type Script should have comment or be unexported (golint)
    • Line 215: warning: exported method Script.SerializeSize should have comment or be unexported (golint)
    • Line 219: warning: exported method Script.Serialize should have comment or be unexported (golint)
    • Line 223: warning: exported method Script.Unserialize should have comment or be unexported (golint)
    • Line 227: warning: exported method Script.EncodeSize should have comment or be unexported (golint)
    • Line 231: warning: exported method Script.Encode should have comment or be unexported (golint)
    • Line 235: warning: exported method Script.Decode should have comment or be unexported (golint)
    • Line 248: warning: exported method Script.IsSpendable should have comment or be unexported (golint)
    • Line 255: warning: exported function NewScriptRaw should have comment or be unexported (golint)
    • Line 264: warning: exported function NewScriptOps should have comment or be unexported (golint)
    • Line 276: warning: exported function NewEmptyScript should have comment or be unexported (golint)
    • Line 305: warning: exported method Script.GetData should have comment or be unexported (golint)
    • Line 309: warning: exported method Script.GetBadOpCode should have comment or be unexported (golint)
    • Line 368: warning: exported method Script.RemoveOpcodeByData should have comment or be unexported (golint)
    • Line 379: warning: exported method Script.RemoveOpCodeByIndex should have comment or be unexported (golint)
    • Line 399: warning: exported method Script.RemoveOpcode should have comment or be unexported (golint)
    • Line 410: warning: exported function ReadScript should have comment or be unexported (golint)
    • Line 431: warning: exported method Script.ExtractDestinations should have comment or be unexported (golint)
    • Line 481: warning: exported method Script.IsCommitment should have comment or be unexported (golint)
    • Line 499: warning: exported function BytesToBool should have comment or be unexported (golint)
    • Line 515: warning: exported method Script.IsStandardScriptPubKey should have comment or be unexported (golint)
    • Line 627: warning: exported method Script.CheckScriptSigStandard should have comment or be unexported (golint)
    • Line 638: warning: exported method Script.IsPayToScriptHash should have comment or be unexported (golint)
    • Line 646: warning: exported method Script.IsUnspendable should have comment or be unexported (golint)
    • Line 650: warning: exported method Script.IsPushOnly should have comment or be unexported (golint)
    • Line 663: warning: exported method Script.GetSigOpCount should have comment or be unexported (golint)
    • Line 694: warning: exported method Script.GetPubKeyP2SHSigOpCount should have comment or be unexported (golint)
    • Line 717: warning: exported function EncodeOPN should have comment or be unexported (golint)
    • Line 729: warning: exported function DecodeOPN should have comment or be unexported (golint)
    • Line 736: warning: exported method Script.Size should have comment or be unexported (golint)
    • Line 740: warning: exported method Script.IsEqual should have comment or be unexported (golint)
    • Line 799: warning: exported method Script.PushOpCode should have comment or be unexported (golint)
    • Line 808: warning: exported method Script.PushInt64 should have comment or be unexported (golint)
    • Line 825: warning: exported method Script.PushScriptNum should have comment or be unexported (golint)
    • Line 830: warning: exported method Script.PushData should have comment or be unexported (golint)
    • Line 835: warning: exported method Script.PushSingleData should have comment or be unexported (golint)
    • Line 857: warning: exported method Script.PushMultData should have comment or be unexported (golint)
    • Line 881: warning: exported method Script.Bytes should have comment or be unexported (golint)
    • Line 885: warning: exported function CheckTransactionSignatureEncoding should have comment or be unexported (golint)
    • Line 940: warning: exported function CheckPubKeyEncoding should have comment or be unexported (golint)
    • Line 955: warning: exported function IsOpCodeDisabled should have comment or be unexported (golint)
    • Line 965: warning: exported function CheckDataSignatureEncoding should have comment or be unexported (golint)
    • copernicus/rpc/btcjson/abc.go
    • Line 3: warning: exported type GetExcessiveBlockCmd should have comment or be unexported (golint)
    • Line 6: warning: exported type ExcessiveBlockSizeResult should have comment or be unexported (golint)
    • Line 10: warning: exported type SetExcessiveBlockCmd should have comment or be unexported (golint)
    • copernicus/net/server/txrelayer.go
    • Line 17: warning: exported type TxRelayer should have comment or be unexported (golint)
    • Line 25: warning: exported method TxRelayer.Cache should have comment or be unexported (golint)
    • Line 42: warning: exported method TxRelayer.TxToRelay should have comment or be unexported (golint)
    • Line 72: warning: exported function NewTxRelayer should have comment or be unexported (golint)
    • copernicus/errcode/scripterror.go
    • Line 3: warning: exported type ScriptErr should have comment or be unexported (golint)
    • Line 6: warning: exported const ScriptErrOK should have comment (or a comment on this block) or be unexported (golint)
    • copernicus/net/socks/dial.go
    • Line 64: warning: exported var ErrAuthFailed should have comment or be unexported (golint)
    • Line 80: warning: exported type Proxy should have comment or be unexported (golint)
    • Line 87: warning: exported method Proxy.Dial should have comment or be unexported (golint)
    • Line 91: warning: exported method Proxy.DialTimeout should have comment or be unexported (golint)
    • copernicus/logic/lblock/lblock.go
    • Line 22: warning: exported function GetBlockByIndex should have comment or be unexported (golint)
    • Line 30: warning: exported function WriteBlockToDisk should have comment or be unexported (golint)
    • Line 58: warning: exported function CheckBlock should have comment or be unexported (golint)
    • Line 125: warning: exported function ContextualCheckBlock should have comment or be unexported (golint)
    • Line 268: warning: exported function AcceptBlockHeader should have comment or be unexported (golint)
    • copernicus/net/socks/addr.go
    • Line 9: warning: exported type ProxiedAddr should have comment or be unexported (golint)
    • Line 15: warning: exported method ProxiedAddr.Network should have comment or be unexported (golint)
    • copernicus/errcode/rpc.go
    • Line 3: warning: exported type RPCErr should have comment or be unexported (golint)
    • Line 6: warning: exported const ModelValid should have comment (or a comment on this block) or be unexported (golint)
    • copernicus/peer/peer.go
    • Line 411: warning: exported type MsgSender should have comment or be unexported (golint)
    • Line 514: warning: exported method Peer.GetStallingSince should have comment or be unexported (golint)
    • Line 518: warning: exported method Peer.SetStallingSince should have comment or be unexported (golint)
    • Line 522: warning: exported method Peer.RequestMemPool should have comment or be unexported (golint)
    • Line 571: warning: exported method Peer.IsKnownInventory should have comment or be unexported (golint)
    • Line 685: warning: exported method Peer.UpdateIndexBestHeaderSent should have comment or be unexported (golint)
    • Line 691: warning: exported method Peer.IndexBestHeaderSent should have comment or be unexported (golint)
    • Line 756: warning: exported method Peer.SetAckReceived should have comment or be unexported (golint)
    • Line 868: warning: exported method Peer.SetRevertToInv should have comment or be unexported (golint)
    • Line 1134: warning: exported method Peer.HandleVersionMsg should have comment or be unexported (golint)
    • Line 1673: warning: exported method Peer.PeerHasHeader should have comment or be unexported (golint)
    • Line 1693: warning: exported method Peer.AddHeadersToSendQ should have comment or be unexported (golint)
    • Line 1765: warning: exported method Peer.CheckRevertToInv should have comment or be unexported (golint)
    • Line 1927: warning: exported method Peer.QueueHeaders should have comment or be unexported (golint)
    • Line 1939: warning: exported method Peer.QueueBatchHeaders should have comment or be unexported (golint)
    • Line 2149: warning: exported method Peer.IsWhitelisted should have comment or be unexported (golint)
    • copernicus/util/time.go
    • Line 45: warning: exported type MedianTime should have comment or be unexported (golint)
    • Line 53: warning: exported method MedianTime.AddTimeSample should have comment or be unexported (golint)
    • Line 130: warning: exported function GetMedianTimeSource should have comment or be unexported (golint)
    • Line 137: warning: exported function SetMockTime should have comment or be unexported (golint)
    • Line 141: warning: exported function GetTimeSec should have comment or be unexported (golint)
    • Line 149: warning: exported function GetTimeMicroSec should have comment or be unexported (golint)
    • Line 157: warning: exported function GetAdjustedTimeSec should have comment or be unexported (golint)
    • Line 161: warning: exported function GetTimeOffsetSec should have comment or be unexported (golint)
    • copernicus/rpc/helpdesc.go
    • Line 5: warning: exported function HelpExampleCli should have comment or be unexported (golint)
    • Line 14: warning: exported function HelpExampleRPC should have comment or be unexported (golint)
    • copernicus/logic/lchain/locator.go
    • Line 12: warning: exported const MaxHeadersResults should have comment (or a comment on this block) or be unexported (golint)
    • Line 16: warning: exported function LocateBlocks should have comment or be unexported (golint)
    • Line 39: warning: exported function LocateHeaders should have comment or be unexported (golint)
    • Line 69: warning: exported function FindForkInGlobalIndex should have comment or be unexported (golint)
    • copernicus/util/cashaddr/cashAddr.go
    • Line 38: warning: exported var Prefixes should have comment or be unexported (golint)
    • Line 41: warning: exported type Address should have comment or be unexported (golint)
    • Line 66: warning: exported type AddressType should have comment or be unexported (golint)
    • Line 69: warning: exported const P2PKH should have comment (or a comment on this block) or be unexported (golint)
    • Line 80: warning: exported type Data should have comment or be unexported (golint)
    • Line 84: warning: exported const CHARSET should have comment or be unexported (golint)
    • Line 88: warning: exported var CharsetRev should have comment or be unexported (golint)
    • Line 100: warning: exported function Cat should have comment or be unexported (golint)
    • Line 108: warning: exported function PolyMod should have comment or be unexported (golint)
    • Line 219: warning: exported function LowerCase should have comment or be unexported (golint)
    • Line 226: warning: exported function ExpandPrefix should have comment or be unexported (golint)
    • Line 238: warning: exported function VerifyChecksum should have comment or be unexported (golint)
    • Line 244: warning: exported function CreateChecksum should have comment or be unexported (golint)
    • Line 260: warning: exported function Encode should have comment or be unexported (golint)
    • Line 274: warning: exported function DecodeCashAddress should have comment or be unexported (golint)
    • Line 351: warning: exported function CheckEncodeCashAddress should have comment or be unexported (golint)
    • copernicus/model/versionbits/versionbits.go
    • Line 22: warning: exported type ThresholdState should have comment or be unexported (golint)
    • Line 25: warning: exported const ThresholdDefined should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: exported type BIP9DeploymentInfo should have comment or be unexported (golint)
    • Line 37: warning: exported type ThresholdConditionCache should have comment or be unexported (golint)
    • Line 39: warning: exported var VersionBitsDeploymentInfo should have comment or be unexported (golint)
    • Line 50: warning: exported type AbstractThresholdConditionChecker should have comment or be unexported (golint)
    • Line 58: warning: exported var VBCache should have comment or be unexported (golint)
    • Line 60: warning: exported type VersionBitsCache should have comment or be unexported (golint)
    • Line 65: warning: exported function NewVersionBitsCache should have comment or be unexported (golint)
    • Line 73: warning: exported method VersionBitsCache.Clear should have comment or be unexported (golint)
    • Line 81: warning: exported function NewWarnBitsCache should have comment or be unexported (golint)
    • Line 91: warning: exported function VersionBitsState should have comment or be unexported (golint)
    • Line 98: warning: exported function VersionBitsStateSinceHeight should have comment or be unexported (golint)
    • Line 105: warning: exported function VersionBitsMask should have comment or be unexported (golint)
    • Line 110: warning: exported type VersionBitsConditionChecker should have comment or be unexported (golint)
    • Line 114: warning: exported method VersionBitsConditionChecker.BeginTime should have comment or be unexported (golint)
    • Line 118: warning: exported method VersionBitsConditionChecker.EndTime should have comment or be unexported (golint)
    • Line 122: warning: exported method VersionBitsConditionChecker.Period should have comment or be unexported (golint)
    • Line 126: warning: exported method VersionBitsConditionChecker.Threshold should have comment or be unexported (golint)
    • Line 130: warning: exported method VersionBitsConditionChecker.Condition should have comment or be unexported (golint)
    • Line 135: warning: exported method VersionBitsConditionChecker.Mask should have comment or be unexported (golint)
    • Line 139: warning: exported function GetStateFor should have comment or be unexported (golint)
    • Line 234: warning: exported function GetStateSinceHeightFor should have comment or be unexported (golint)
    • Line 263: warning: exported function ComputeBlockVersion should have comment or be unexported (golint)
    • copernicus/errcode/diskerror.go
    • Line 7: warning: exported type DiskErr should have comment or be unexported (golint)
    • Line 10: warning: exported const ErrorOutOfDiskSpace should have comment (or a comment on this block) or be unexported (golint)
    • Line 28: warning: exported var DiskErrString should have comment or be unexported (golint)
    • copernicus/model/block/diskblockpos.go
    • Line 10: warning: exported type DiskBlockPos should have comment or be unexported (golint)
    • Line 15: warning: exported type DiskTxPos should have comment or be unexported (golint)
    • Line 20: warning: exported method DiskBlockPos.Serialize should have comment or be unexported (golint)
    • Line 24: warning: exported method DiskTxPos.Serialize should have comment or be unexported (golint)
    • Line 32: warning: exported method DiskBlockPos.Unserialize should have comment or be unexported (golint)
    • Line 37: warning: exported method DiskTxPos.Unserialize should have comment or be unexported (golint)
    • Line 47: warning: exported method DiskBlockPos.SetNull should have comment or be unexported (golint)
    • Line 52: warning: exported method DiskBlockPos.Equal should have comment or be unexported (golint)
    • Line 57: warning: exported method DiskBlockPos.IsNull should have comment or be unexported (golint)
    • Line 65: warning: exported function NewDiskBlockPos should have comment or be unexported (golint)
    • Line 70: warning: exported function NewDiskBlkPos should have comment or be unexported (golint)
    • Line 76: warning: exported function NewDiskTxPos should have comment or be unexported (golint)
    • copernicus/rpc/rawtransaction.go
    • Line 157: warning: exported function ScriptToAsmStr should have comment or be unexported (golint)
    • Line 214: warning: exported function ScriptPubKeyToJSON should have comment or be unexported (golint)
    • Line 242: warning: exported function GetTxnOutputType should have comment or be unexported (golint)
    • Line 261: warning: exported function GetTransaction should have comment or be unexported (golint)
    • Line 808: warning: exported function TxInErrorToJSON should have comment or be unexported (golint)
    • copernicus/model/txout/txout.go
    • Line 16: warning: exported type TxOut should have comment or be unexported (golint)
    • Line 21: warning: exported method TxOut.SerializeSize should have comment or be unexported (golint)
    • Line 25: warning: exported method TxOut.Serialize should have comment or be unexported (golint)
    • Line 29: warning: exported method TxOut.Unserialize should have comment or be unexported (golint)
    • Line 33: warning: exported method TxOut.EncodeSize should have comment or be unexported (golint)
    • Line 37: warning: exported method TxOut.Encode should have comment or be unexported (golint)
    • Line 48: warning: exported method TxOut.Decode should have comment or be unexported (golint)
    • Line 58: warning: exported method TxOut.IsDust should have comment or be unexported (golint)
    • Line 62: warning: exported method TxOut.GetDustThreshold should have comment or be unexported (golint)
    • Line 80: warning: exported method TxOut.CheckValue should have comment or be unexported (golint)
    • Line 92: warning: exported method TxOut.IsStandard should have comment or be unexported (golint)
    • Line 113: warning: exported method TxOut.GetPubKeyType should have comment or be unexported (golint)
    • Line 118: warning: exported method TxOut.GetValue should have comment or be unexported (golint)
    • Line 121: warning: exported method TxOut.SetValue should have comment or be unexported (golint)
    • Line 124: warning: exported method TxOut.GetScriptPubKey should have comment or be unexported (golint)
    • Line 127: warning: exported method TxOut.SetScriptPubKey should have comment or be unexported (golint)
    • Line 134: warning: exported method TxOut.IsSpendable should have comment or be unexported (golint)
    • Line 141: warning: exported method TxOut.SetNull should have comment or be unexported (golint)
    • Line 146: warning: exported method TxOut.IsNull should have comment or be unexported (golint)
    • Line 153: warning: exported method TxOut.IsEqual should have comment or be unexported (golint)
    • Line 161: warning: exported function NewTxOut should have comment or be unexported (golint)
    • copernicus/persist/global.go
    • Line 21: warning: exported const DefaultMaxMemPoolSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 25: warning: exported var CsMain should have comment or be unexported (golint)
    • Line 31: warning: exported type PersistGlobal should have comment or be unexported (golint)
    • Line 50: warning: exported method PersistGlobal.AddDirtyBlockIndex should have comment or be unexported (golint)
    • Line 54: warning: exported method PersistGlobal.AddBlockSequenceID should have comment or be unexported (golint)
    • Line 58: warning: exported function InitPersistGlobal should have comment or be unexported (golint)
    • Line 67: warning: exported function GetInstance should have comment or be unexported (golint)
    • Line 74: warning: exported method PersistGlobal.LoadBlockFileInfo should have comment or be unexported (golint)
    • Line 111: warning: exported type PruneState should have comment or be unexported (golint)
    • Line 118: warning: exported function InitPruneState should have comment or be unexported (golint)

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!