fix lint and add lint step to travis build

make lint
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/cmd/dusk/cmgr.go:20:33: exported func NewConnMgr returns unexported type *main.connmgr, which can be annoying to use
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/cmd/dusk/flags.go:8:2: exported var VerbosityFlag should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/cmd/dusk/flags.go:23:2: exported var CLIFlags should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/harness/engine/network.go:25:2: comment on exported var ErrDisabledHarness should be of the form "ErrDisabledHarness ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/harness/engine/network.go:30:6: exported type Network should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/harness/engine/network.go:81:1: exported method Network.Teardown should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/harness/engine/network.go:89:1: exported method Network.StartNode should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/harness/engine/network.go:163:9: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary)
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/harness/engine/node.go:10:6: exported type DuskNode should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/harness/engine/node.go:11:2: struct field Id should be ID
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/harness/engine/node.go:22:1: exported function NewDuskNode should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/harness/engine/node.go:22:31: func parameter nodeId should be nodeID
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/harness/engine/profiles.go:11:6: exported type Profiles should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/harness/engine/utils.go:152:1: exported function ConstructWireFrame should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/harness/engine/utils.go:174:1: comment on exported function WriteFrame should be of the form "WriteFrame ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/config/consts.go:30:1: exported function DecodeGenesis should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/config/loader.go:25:6: exported type Base should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/candidate/broker.go:171:1: exported method Broker.Validate should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/candidate/broker.go:183:1: exported method Broker.AddValidHash should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/candidate/validator.go:12:1: comment on exported function Validate should be of the form "Validate ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/candidate/validator.go:19:1: exported function ValidateCandidate should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/chain/chain.go:199:1: exported method Chain.Close should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/collector.go:11:1: comment on exported type RoundUpdate should be of the form "RoundUpdate ..." (with optional leading article)
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/component.go:118:1: exported method SimpleListener.Paused should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/component.go:124:1: exported method SimpleListener.Pause should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/component.go:130:1: exported method SimpleListener.Resume should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/event.go:9:1: comment on exported type InternalPacket should be of the form "InternalPacket ..." (with optional leading article)
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/event.go:24:1: exported function EmptyPacket should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/event.go:34:1: comment on exported type PacketFactory should be of the form "PacketFactory ..." (with optional leading article)
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/event.go:44:1: exported method Restarter.Create should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/mock.go:13:1: exported function MockRoundUpdate should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/mock.go:35:1: exported function MockRoundUpdateBuffer should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/mock.go:63:1: exported function MockProvisioners should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/mock.go:78:1: exported function MockMember should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/mock.go:88:1: exported function MockBidList should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/round.go:215:1: exported method Coordinator.StopConsensus should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/round.go:301:1: exported method Coordinator.CollectEvent should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/round.go:367:1: exported method Coordinator.FinalizeRound should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/round.go:374:1: exported method Coordinator.Forward should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/round.go:389:1: comment on exported method Coordinator.Sign should be of the form "Sign ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/round.go:431:1: exported method Coordinator.Compose should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/round.go:435:1: exported method Coordinator.SendInternally should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/state.go:88:1: exported method SyncState.ToBuffer should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/agreement/accumulator.go:74:1: exported method Accumulator.CreateWorkers should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/agreement/handler.go:19:7: exported const MaxCommitteeSize should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/agreement/handler.go:36:62: exported func NewHandler returns unexported type *agreement.handler, which can be annoying to use
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/agreement/testutil.go:23:1: exported function WireAgreement should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/agreement/testutil.go:82:1: exported function LaunchHelper should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/candidate/blockgenerator.go:27:1: comment on exported const MaxTxSetSize should be of the form "MaxTxSetSize ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/candidate/blockgenerator.go:84:1: comment on exported method ScoreFactory.Create should be of the form "Create ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/candidate/blockgenerator.go:135:1: exported method Generator.Generate should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/committee/handler.go:11:5: exported var PregenerationAmount should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/committee/handler.go:13:6: exported type Handler should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/committee/handler.go:20:1: exported function NewHandler should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/generation/score/event.go:11:1: comment on exported type Event should be of the form "Event ..." (with optional leading article)
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/generation/score/event.go:26:1: comment on exported function Marshal should be of the form "Marshal ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/generation/score/event.go:47:1: exported function Unmarshal should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/generation/score/factory.go:48:15: don't use leading k in Go names; var kScalar should be scalar
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/generation/score/generator.go:136:1: exported method Generator.Collect should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/header/header.go:47:1: exported function New should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/header/header.go:69:1: comment on exported method Header.CompareRoundAndStep should be of the form "CompareRoundAndStep ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/header/header.go:87:1: exported method Header.CompareRound should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/header/header.go:202:1: exported function Mock should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/initiator/initiator.go:24:1: exported function LaunchConsensus should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/maintainer/maintainer.go:43:1: exported function New should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/maintainer/maintainer.go:55:1: exported method StakeAutomaton.Listen should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/msg/validation.go:7:1: exported function VerifyBLSSignature should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/msg/validation.go:22:1: exported function VerifyBLSMultisig should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/handler.go:25:1: comment on exported function NewHandler should be of the form "NewHandler ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/handler.go:38:1: exported method Handler.IsMember should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/handler.go:42:1: exported method Handler.VotesFor should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/handler.go:46:1: comment on exported method Handler.VerifySignature should be of the form "VerifySignature ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/handler.go:62:1: exported method Handler.Quorum should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/timer.go:13:6: exported type Timer should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/timer.go:19:1: exported function NewTimer should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/timer.go:25:1: exported method Timer.Start should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/timer.go:31:1: exported method Timer.Stop should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/timer.go:39:1: exported method Timer.Trigger should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/firststep/testutil.go:50:1: exported method Helper.FailOnFetching should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/secondstep/reducer.go:94:1: exported method Reducer.Collect should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/selection/handler.go:18:2: exported type ScoreHandler should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/selection/handler.go:38:1: exported function NewScoreHandler should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/selection/handler.go:45:1: exported method ScoreHandler.ResetThreshold should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/selection/handler.go:51:1: exported method ScoreHandler.LowerThreshold should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/selection/handler.go:62:1: exported method ScoreHandler.Verify should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/user/bidlist.go:89:1: exported method BidList.Remove should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/user/bidlist.go:99:1: exported function MarshalBidList should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/user/bidlist.go:129:1: exported function UnmarshalBidList should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/user/provisioners.go:27:2: exported type Stake should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/user/provisioners.go:34:1: exported method Member.AddStake should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/user/provisioners.go:38:1: exported method Member.RemoveStake should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/user/provisioners.go:43:1: exported method Member.SubtractFromStake should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/user/provisioners.go:50:11: if block ends with a return statement, so drop this else and outdent its block
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/user/provisioners.go:60:1: exported function NewProvisioners should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/user/provisioners.go:123:1: exported method Provisioners.TotalWeight should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/user/provisioners.go:133:1: exported function MarshalProvisioners should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/user/provisioners.go:185:1: exported function UnmarshalProvisioners should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/database/heavy/database.go:136:1: exported method DB.Update should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/database/heavy/database.go:160:1: exported method DB.View should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/database/heavy/driver.go:38:1: exported function CreateDBConnection should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/database/heavy/transactions.go:43:2: exported var HeaderPrefix should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/database/lite/database.go:33:6: exported type DB should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/database/lite/database.go:40:1: comment on exported function NewDatabase should be of the form "NewDatabase ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/database/lite/database.go:71:1: exported method DB.Update should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/database/lite/database.go:98:1: exported method DB.View should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/database/lite/database.go:112:1: exported method DB.Close should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/database/lite/driver.go:37:1: exported function CreateDBConnection should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/database/utils/encoding.go:19:1: comment on exported function EncodeBlockTx should be of the form "EncodeBlockTx ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/database/utils/encoding.go:46:1: exported function DecodeBlockTx should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/database/utils/encoding.go:77:1: comment on exported function WriteUint32 should be of the form "WriteUint32 ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/database/utils/encoding.go:97:1: comment on exported function WriteUint64 should be of the form "WriteUint64 ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/tests/helper/util.go:43:1: exported function StartPeerReader should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/transactor/commands.go:72:25: error strings should not be capitalized or end with punctuation or a newline
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/transactor/commands.go:98:1: exported method Transactor.CreateStandardTx should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/transactor/commands.go:125:1: exported method Transactor.CreateStakeTx should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/transactor/commands.go:146:1: exported method Transactor.CreateBidTx should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/transactor/commands.go:184:22: error strings should not be capitalized or end with punctuation or a newline
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/transactor/commands.go:190:22: error strings should not be capitalized or end with punctuation or a newline
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/transactor/commands.go:220:1: exported method Transactor.Address should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/transactor/listener.go:33:1: exported method Transactor.Listen should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/transactor/listener.go:353:26: error strings should not be capitalized or end with punctuation or a newline
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/transactor/transactor.go:20:1: comment on exported type Transactor should be of the form "Transactor ..." (with optional leading article)
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/transactor/transactor.go:51:1: comment on exported function New should be of the form "New ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/transactor/transactor.go:155:1: exported method Transactor.Wallet should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/verifiers/transaction.go:124:1: exported function VerifyStandard should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/verifiers/transaction.go:128:1: exported function VerifyCoinbase should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/verifiers/transaction.go:145:1: exported function VerifyBid should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/verifiers/transaction.go:152:1: exported function VerifyStake should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/verifiers/transaction.go:159:1: exported function VerifyTimelock should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/eventmon/logger/round.go:11:1: exported method LogProcessor.PublishBlockEvent should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/eventmon/logger/round.go:20:1: exported method LogProcessor.WithBlock should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/eventmon/monitor/monitor.go:17:5: exported var MaxAttempts should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/eventmon/monitor/monitor.go:17:17: should omit type int from declaration of var MaxAttempts; it will be inferred from the right-hand side
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/eventmon/monitor/monitor.go:20:6: exported type Supervisor should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/eventmon/monitor/monitor.go:26:6: exported type LogSupervisor should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/eventmon/monitor/monitor.go:31:1: exported function Launch should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/eventmon/monitor/monitor.go:31:37: func parameter monUrl should be monURL
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/gql/handler.go:57:19: should not use basic type untyped string as key in context.WithValue
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/gql/httpserver.go:120:1: exported method Server.EnableGraphQL should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/gql/httpserver.go:154:1: exported method Server.EnableNotifications should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/gql/notifications/broker.go:33:6: exported type Broker should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/gql/notifications/broker.go:48:2: struct field acceptedBlockId should be acceptedBlockID
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/gql/notifications/broker.go:51:1: exported function NewBroker should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/gql/notifications/broker.go:63:1: exported method Broker.Run should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/gql/notifications/pool.go:31:1: exported function NewPool should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/gql/notifications/pool.go:51:1: exported method BrokerPool.PushConn should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/gql/notifications/pool.go:64:1: exported method BrokerPool.Close should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/gql/query/query_test.go:90:18: should not use basic type untyped string as key in context.WithValue
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/gql/query/root.go:8:6: exported type Root should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/gql/query/root.go:12:1: exported function NewRoot should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/gql/query/transactions.go:57:2: var txId should be txID
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/gql/query/transactions.go:183:1: receiver name b should be consistent with previous receiver name t for transactions
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/gql/query/types.go:11:5: exported var Block should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/gql/query/types.go:26:5: exported var Header should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/gql/query/types.go:55:5: exported var Transaction should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/gql/query/types.go:84:5: exported var Output should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/gql/query/types.go:95:5: exported var Input should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/gql/query/types.go:106:5: exported var Hex should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/gql/query/types.go:135:5: exported var UnixTimestamp should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/kadcast/packet.go:94:2: don't use leading k in Go names; var kClosestPeers should be closestPeers
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/kadcast/peer.go:71:21: should drop = 0 from declaration of var nonce; it is the zero value
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/kadcast/tree.go:35:21: should drop = 0 from declaration of var count; it is the zero value
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/kadcast/utils.go:38:24: should drop = 0 from declaration of var collDist; it is the zero value
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/kadcast/utils.go:47:21: should drop = 0 from declaration of var count; it is the zero value
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/kadcast/utils_test.go:10:11: should omit type []byte from declaration of var slce; it will be inferred from the right-hand side
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/peer.go:172:1: receiver name w should be consistent with previous receiver name p for Writer
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/peer.go:186:1: receiver name w should be consistent with previous receiver name p for Writer
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/peer.go:192:1: receiver name w should be consistent with previous receiver name p for Writer
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/dupemap/dupemap.go:9:1: comment on exported type DupeMap should be of the form "DupeMap ..." (with optional leading article)
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/dupemap/dupemap.go:17:1: exported function NewDupeMap should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/dupemap/dupemap.go:26:1: exported method DupeMap.UpdateHeight should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/dupemap/dupemap.go:30:1: exported method DupeMap.SetTolerance should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/dupemap/dupemap.go:36:1: exported method DupeMap.CanFwd should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/dupemap/tmpmap.go:11:2: exported type TmpMap should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/dupemap/tmpmap.go:19:1: exported function NewTmpMap should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/dupemap/tmpmap.go:28:1: exported method TmpMap.UpdateHeight should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/dupemap/tmpmap.go:42:1: exported method TmpMap.Height should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/dupemap/tmpmap.go:48:1: exported method TmpMap.Has should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/peermsg/inventory.go:12:6: exported type InvType should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/peermsg/inventory.go:15:2: exported var InvTypeMempoolTx should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/peermsg/inventory.go:15:29: should drop = 0 from declaration of var InvTypeMempoolTx; it is the zero value
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/peermsg/inventory.go:24:6: exported type InvVect should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/peermsg/inventory.go:29:6: exported type Inv should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/peermsg/inventory.go:33:1: exported method Inv.Encode should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/peermsg/inventory.go:63:1: exported method Inv.Decode should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/peermsg/inventory.go:63:1: receiver name inv should be consistent with previous receiver name i for Inv
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/peermsg/inventory.go:95:1: exported method Inv.AddItem should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/peermsg/inventory.go:95:1: receiver name inv should be consistent with previous receiver name i for Inv
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/processing/frame.go:15:2: exported const MaxFrameSize should have comment (or a comment on this block) or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/processing/frame.go:53:1: exported function ReadFrame should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/processing/ponger.go:9:6: exported type Ponger should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/processing/ponger.go:13:1: exported function NewPonger should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/processing/ponger.go:17:1: exported method Ponger.Pong should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/processing/chainsync/counter.go:50:1: exported method Counter.IsSyncing should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/processing/chainsync/counter.go:56:1: exported method Counter.StartSyncing should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/responding/candidatebroker.go:12:6: exported type CandidateBroker should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/responding/candidatebroker.go:17:1: exported function NewCandidateBroker should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/responding/candidatebroker.go:21:1: exported method CandidateBroker.ProvideCandidate should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/responding/databroker.go:95:1: exported method DataBroker.SendTxsItems should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/responding/datarequestor.go:33:1: comment on exported method DataRequestor.RequestMissingItems should be of the form "RequestMissingItems ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/responding/roundresultbroker.go:11:6: exported type RoundResultBroker should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/responding/roundresultbroker.go:16:1: exported function NewRoundResultBroker should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/peer/responding/roundresultbroker.go:20:1: exported method RoundResultBroker.ProvideRoundResult should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/checksum/checksum.go:10:7: exported const Length should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/checksum/checksum.go:12:1: exported function Generate should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/checksum/checksum.go:17:1: exported function Extract should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/checksum/checksum.go:28:1: exported function Verify should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/agreement.go:63:1: exported function NewStepVotesMsg should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/agreement.go:94:1: comment on exported method Agreement.State should be of the form "State ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/agreement.go:100:1: exported method Agreement.Sender should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/agreement.go:104:1: exported method Agreement.Cmp should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/agreement.go:108:1: exported method Agreement.SetSignature should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/agreement.go:113:1: exported method Agreement.SignedVotes should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/agreement.go:117:1: exported method Agreement.Equal should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/agreement.go:158:1: receiver name sv should be consistent with previous receiver name s for StepVotes
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/agreement.go:164:1: receiver name sv should be consistent with previous receiver name s for StepVotes
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/agreement.go:213:1: comment on exported function UnmarshalAgreement should be of the form "UnmarshalAgreement ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/agreement.go:397:1: exported function MockCommitteeVoteSet should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/block.go:13:1: exported function MarshalBlock should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/block.go:33:1: exported function UnmarshalBlock should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/block.go:61:1: exported function MarshalHashable should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/block.go:85:1: exported function MarshalHeader should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/block.go:105:1: exported function UnmarshalHeader should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/block.go:147:1: exported function MarshalCertificate should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/block.go:171:1: exported function UnmarshalCertificate should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/candidate.go:113:1: exported function MockCertificate should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/message.go:12:6: exported type Message should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/message.go:20:6: exported type Serializable should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/message.go:24:6: exported type SerializableMessage should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/message.go:67:17: method Id should be ID
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/reduction.go:24:1: comment on exported function NewReduction should be of the form "NewReduction ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/reduction.go:41:1: comment on exported method Reduction.State should be of the form "State ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/reduction.go:46:1: comment on exported method Reduction.Sender should be of the form "Sender ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/reduction.go:57:1: exported function UnmarshalReductionMessage should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/reduction.go:67:1: comment on exported function UnmarshalReduction should be of the form "UnmarshalReduction ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/reduction.go:77:1: comment on exported function MarshalReduction should be of the form "MarshalReduction ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/reduction.go:90:1: exported function UnmarshalVoteSet should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/reduction.go:128:1: comment on exported function MockReduction should be of the form "MockReduction ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/score.go:56:1: exported method ScoreProposal.IsEmpty should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/score.go:60:1: comment on exported method ScoreProposal.State should be of the form "State ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/score.go:100:1: exported method Score.Equal should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/score.go:122:1: exported function UnmarshalScoreMessage should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/score.go:221:1: exported function MockScoreProposal should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/transactions.go:15:1: exported function UnmarshalTxMessage should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/transactions.go:24:1: exported function UnmarshalTx should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/transactions.go:69:1: exported function MarshalTx should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/transactions.go:86:1: exported function MarshalStandard should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/transactions.go:138:1: exported function MarshalTimelock should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/transactions.go:154:1: exported function MarshalBid should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/transactions.go:170:1: exported function MarshalStake should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/transactions.go:190:1: exported function MarshalCoinbase should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/transactions.go:220:1: exported function UnmarshalStandard should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/transactions.go:281:1: exported function UnmarshalTimelock should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/transactions.go:294:1: exported function UnmarshalBid should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/transactions.go:308:1: exported function UnmarshalStake should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/transactions.go:326:1: exported function UnmarshalCoinbase should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/transactions.go:364:1: comment on exported function MarshalOutput should be of the form "MarshalOutput ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/transactions.go:385:1: comment on exported function UnmarshalOutput should be of the form "UnmarshalOutput ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/message/transactions.go:440:1: comment on exported function UnmarshalInput should be of the form "UnmarshalInput ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/protocol/protocol.go:63:1: exported method Magic.Len should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/protocol/protocol.go:71:1: exported method Magic.ToBuffer should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/topics/topics.go:106:1: comment on exported var Topics should be of the form "Topics ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/topics/topics.go:188:1: exported method Topic.ToBuffer should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/p2p/wire/topics/topics.go:218:1: exported function Prepend should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/rpc/server.go:29:6: exported type RPCSrvWrapper should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/rpc/server.go:29:6: type name will be used as rpc.RPCSrvWrapper by other packages, and that stutters; consider calling this SrvWrapper
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/rpc/server.go:33:1: exported method RPCSrvWrapper.Shutdown should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/container/ring/buffer.go:61:1: exported method Buffer.Close should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/container/ring/buffer.go:71:1: exported method Buffer.GetAll should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/container/ring/buffer.go:94:1: exported method Buffer.Has should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/container/ring/buffer.go:112:1: exported method Buffer.Closed should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/diagnostics/profile.go:14:2: a blank import should be only in a main or test package, or have a comment justifying it
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/diagnostics/profile.go:23:6: exported type Profile should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/diagnostics/profile.go:30:1: exported function NewProfile should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/diagnostics/profileset.go:6:2: a blank import should be only in a main or test package, or have a comment justifying it
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/diagnostics/profileset.go:44:1: exported method ProfileSet.Spawn should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/diagnostics/profileset.go:44:1: receiver name ps should be consistent with previous receiver name s for ProfileSet
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/diagnostics/profileset.go:158:1: exported method ProfileSet.Close should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/diagnostics/profileset.go:158:1: receiver name p should be consistent with previous receiver name s for ProfileSet
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/eventbus/mock.go:172:6: exported type GossipStreamer should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/eventbus/mock.go:176:1: exported function NewGossipStreamer should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/logging/logging.go:10:1: exported function InitLog should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/logging/logging.go:16:1: exported function SetToLevel should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/prerror/prerror.go:3:6: exported type Priority should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/prerror/prerror.go:6:2: exported const High should have comment (or a comment on this block) or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/prerror/prerror.go:11:6: exported type PrError should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/prerror/prerror.go:16:1: exported function New should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/republisher/republisher.go:1:1: package comment should be of the form "Package republisher ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/republisher/republisher.go:14:2: exported type Validator should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/republisher/republisher.go:35:5: exported var DuplicatePayloadError should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/republisher/republisher.go:36:5: exported var EncodingError should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/republisher/republisher.go:37:5: exported var InvalidError should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus/rpcbus.go:34:6: exported type Request should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus/rpcbus.go:39:6: exported type Response should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus/rpcbus.go:44:1: exported function EmptyRequest should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus/rpcbus.go:56:1: exported function New should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus/rpcbus.go:127:1: exported method RPCBus.Close should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/sortedset/cluster.go:32:1: comment on exported method Cluster.TotalOccurrences should be of the form "TotalOccurrences ..."
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/sortedset/cluster.go:110:1: exported method Cluster.IntersectCluster should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/sortedset/sortedset.go:11:7: exported const All should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/sortedset/sortedset.go:13:6: exported type Set should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/sortedset/sortedset.go:19:1: exported function New should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/sortedset/sortedset.go:23:1: exported method Set.Equal should have comment or be unexported
/opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/sortedset/sortedset.go:148:1: exported method Set.Whole should have comment or be unexported
Found 304 lint suggestions; failing.
make: *** [Makefile:10: lint] Error 1

I added golangci-lint and this was the output:
.golangci.yml
pkg/p2p/wire/util/ip.go:14:18: Error return value of `conn.Close` is not checked (errcheck)
        defer conn.Close()
                        ^
pkg/p2p/kadcast/network.go:28:16: Error return value of `pc.SetDeadline` is not checked (errcheck)
        pc.SetDeadline(time.Now().Add(time.Minute))
                      ^
pkg/p2p/kadcast/network.go:38:12: Error return value of `pc.Close` is not checked (errcheck)
                        pc.Close()
                                ^
pkg/p2p/kadcast/network.go:42:17: Error return value of `pc.SetDeadline` is not checked (errcheck)
                pc.SetDeadline(time.Now().Add(5 * time.Minute))
                              ^
pkg/p2p/kadcast/network.go:59:18: Error return value of `conn.Close` is not checked (errcheck)
        defer conn.Close()
                        ^
pkg/p2p/kadcast/network.go:83:22: Error return value of `listener.SetDeadline` is not checked (errcheck)
        listener.SetDeadline(time.Now().Add(time.Minute))
                            ^
pkg/p2p/kadcast/network.go:94:12: Error return value of `pc.Close` is not checked (errcheck)
                        pc.Close()
                                ^
pkg/p2p/kadcast/network.go:98:17: Error return value of `pc.SetDeadline` is not checked (errcheck)
                pc.SetDeadline(time.Now().Add(5 * time.Minute))
                              ^
pkg/p2p/kadcast/network.go:116:18: Error return value of `conn.Close` is not checked (errcheck)
        defer conn.Close()
                        ^
pkg/p2p/kadcast/utils.go:111:18: Error return value of `conn.Close` is not checked (errcheck)
        defer conn.Close()
                        ^
pkg/p2p/kadcast/utils.go:126:18: Error return value of `conn.Close` is not checked (errcheck)
        defer conn.Close()
                        ^
pkg/util/diagnostics/profile.go:191:11: Error return value of `f.Close` is not checked (errcheck)
                        f.Close()
                               ^
pkg/p2p/wire/message/transactions.go:225:21: Error return value of `s.R.UnmarshalBinary` is not checked (errcheck)
        s.R.UnmarshalBinary(RBytes)
                           ^
pkg/p2p/wire/message/transactions.go:331:21: Error return value of `c.R.UnmarshalBinary` is not checked (errcheck)
        c.R.UnmarshalBinary(RBytes)
                           ^
pkg/p2p/wire/message/transactions.go:391:30: Error return value of `o.Commitment.UnmarshalBinary` is not checked (errcheck)
        o.Commitment.UnmarshalBinary(commBytes)
                                    ^
pkg/p2p/wire/message/transactions.go:397:28: Error return value of `o.PubKey.P.UnmarshalBinary` is not checked (errcheck)
        o.PubKey.P.UnmarshalBinary(pubKeyBytes)
                                  ^
pkg/p2p/wire/message/transactions.go:403:35: Error return value of `o.EncryptedAmount.UnmarshalBinary` is not checked (errcheck)
        o.EncryptedAmount.UnmarshalBinary(encAmountBytes)
                                         ^
pkg/p2p/wire/message/transactions.go:409:33: Error return value of `o.EncryptedMask.UnmarshalBinary` is not checked (errcheck)
        o.EncryptedMask.UnmarshalBinary(encMaskBytes)
                                       ^
pkg/p2p/wire/message/transactions.go:446:28: Error return value of `i.KeyImage.UnmarshalBinary` is not checked (errcheck)
        i.KeyImage.UnmarshalBinary(keyImageBytes)
                                  ^
pkg/p2p/wire/message/transactions.go:452:28: Error return value of `i.PubKey.P.UnmarshalBinary` is not checked (errcheck)
        i.PubKey.P.UnmarshalBinary(pubKeyBytes)
                                  ^
pkg/p2p/wire/message/transactions.go:458:36: Error return value of `i.PseudoCommitment.UnmarshalBinary` is not checked (errcheck)
        i.PseudoCommitment.UnmarshalBinary(pseudoCommBytes)
                                          ^
pkg/p2p/peer/processing/ponger.go:19:16: Error return value of `topics.Prepend` is not checked (errcheck)
        topics.Prepend(buf, topics.Pong)
                      ^
pkg/p2p/peer/responding/blockhashbroker.go:108:16: Error return value of `topics.Prepend` is not checked (errcheck)
        topics.Prepend(buf, topics.Inv)
                      ^
pkg/core/consensus/mock.go:43:26: Error return value of `user.MarshalProvisioners` is not checked (errcheck)
        user.MarshalProvisioners(buf, p)
                                ^
pkg/core/consensus/mock.go:48:21: Error return value of `user.MarshalBidList` is not checked (errcheck)
        user.MarshalBidList(buf, bidList)
                           ^
pkg/core/consensus/round.go:306:17: Error return value of `topics.Extract` is not checked (errcheck)
                topics.Extract(&p)
                              ^
pkg/p2p/peer/peer.go:154:15: Error return value of `p.Conn.Close` is not checked (errcheck)
                p.Conn.Close()
                            ^
pkg/p2p/peer/peer.go:164:15: Error return value of `p.Conn.Close` is not checked (errcheck)
                p.Conn.Close()
                            ^
pkg/p2p/peer/peer.go:188:14: Error return value of `w.Conn.Close` is not checked (errcheck)
        w.Conn.Close()
                    ^
pkg/p2p/peer/peer.go:230:20: Error return value of `p.Conn.Close` is not checked (errcheck)
        defer p.Conn.Close()
                          ^
pkg/p2p/peer/peer.go:284:27: Error return value of `p.Connection.keepAlive` is not checked (errcheck)
                                p.Connection.keepAlive()
                                                      ^
pkg/p2p/peer/peer.go:314:25: Error return value of `c.Conn.SetWriteDeadline` is not checked (errcheck)
        c.Conn.SetWriteDeadline(time.Now().Add(readWriteTimeout))
                               ^
pkg/core/candidate/broker.go:46:17: Error return value of `rpcBus.Register` is not checked (errcheck)
        rpcBus.Register(topics.GetCandidate, getCandidateChan)
                       ^
pkg/core/consensus/agreement/testutil.go:62:37: Error return value of `hlp.Aggro.CollectAgreementEvent` is not checked (errcheck)
                go hlp.Aggro.CollectAgreementEvent(ev)
                                                  ^
pkg/core/consensus/selection/selector.go:170:25: Error return value of `s.signer.SendInternally` is not checked (errcheck)
        s.signer.SendInternally(topics.BestScore, msg, s.ID())
                               ^
pkg/core/consensus/selection/selector.go:179:17: Error return value of `s.signer.Gossip` is not checked (errcheck)
        s.signer.Gossip(msg, s.ID())
                       ^
pkg/core/consensus/selection/testutil.go:117:34: Error return value of `h.Selector.CollectScoreEvent` is not checked (errcheck)
                go h.Selector.CollectScoreEvent(ev)
                                               ^
pkg/core/consensus/selection/timer.go:23:19: Error return value of `t.s.sendBestEvent` is not checked (errcheck)
        t.s.sendBestEvent()
                         ^
pkg/eventmon/logger/logger.go:71:10: Error return value of `l.Send` is not checked (errcheck)
                        l.Send(entry)
                              ^
pkg/eventmon/logger/logger.go:103:24: Error return value of `conn.SetWriteDeadline` is not checked (errcheck)
                conn.SetWriteDeadline(time.Now().Add(3 * time.Second))
                                     ^
pkg/eventmon/logger/logger.go:113:24: Error return value of `conn.SetWriteDeadline` is not checked (errcheck)
                conn.SetWriteDeadline(time.Time{})
                                     ^
pkg/core/tests/helper/transactions.go:64:22: Error return value of `tx.RangeProof.Decode` is not checked (errcheck)
        tx.RangeProof.Decode(rp, true)
                            ^
pkg/core/tests/helper/transactions.go:109:22: Error return value of `tx.RangeProof.Decode` is not checked (errcheck)
        tx.RangeProof.Decode(rp, true)
                            ^
pkg/core/tests/helper/transactions.go:166:22: Error return value of `tx.RangeProof.Decode` is not checked (errcheck)
        tx.RangeProof.Decode(rp, true)
                            ^
harness/engine/utils.go:88:18: Error return value of `conn.Close` is not checked (errcheck)
        defer conn.Close()
                        ^
harness/engine/utils.go:113:18: Error return value of `conn.Close` is not checked (errcheck)
        defer conn.Close()
                        ^
pkg/core/consensus/candidate/blockgenerator.go:237:14: Error return value of `tx.AddReward` is not checked (errcheck)
        tx.AddReward(*rewardReceiver, reward)
                    ^
pkg/core/consensus/candidate/testutil.go:98:17: Error return value of `rpcBus.Register` is not checked (errcheck)
        rpcBus.Register(topics.GetLastCertificate, c)
                       ^
pkg/core/consensus/candidate/testutil.go:104:29: Error return value of `message.MarshalCertificate` is not checked (errcheck)
                message.MarshalCertificate(buf, cert)
                                          ^
pkg/core/consensus/candidate/testutil.go:112:21: Error return value of `h.Generator.Collect` is not checked (errcheck)
        h.Generator.Collect(sev)
                           ^
pkg/p2p/kadcast/packet.go:18:6: `makePacket` is unused (deadcode)
func makePacket(headers [24]byte, payload []byte) Packet {
     ^
pkg/p2p/kadcast/utils_test.go:9:6: `testConv` is unused (deadcode)
func testConv(t *testing.T) {
     ^
pkg/p2p/kadcast/utils_test.go:14:6: `testPOW` is unused (deadcode)
func testPOW(t *testing.T) {
     ^
pkg/p2p/wire/protocol/protocol.go:48:2: `devnetUint32` is unused (deadcode)
        devnetUint32  uint32 = 0x74736e40
        ^
pkg/p2p/wire/message/message.go:104:6: `newMsg` is unused (deadcode)
func newMsg(t topics.Topic) *simple {
     ^
pkg/util/nativeutils/eventbus/eventbus.go:11:5: `napTime` is unused (deadcode)
var napTime = 1 * time.Millisecond
    ^
pkg/util/nativeutils/eventbus/eventbus.go:12:5: `_signal` is unused (deadcode)
var _signal struct{}
    ^
pkg/util/nativeutils/eventbus/eventbus_test.go:164:6: `ranbuf` is unused (deadcode)
func ranbuf() *bytes.Buffer {
     ^
pkg/core/database/lite/database.go:21:2: `candidatesTableInd` is unused (deadcode)
        candidatesTableInd
        ^
pkg/core/database/heavy/transactions.go:38:2: `byteOrder` is unused (deadcode)
        byteOrder = binary.LittleEndian
        ^
pkg/core/consensus/round.go:22:5: `emptyPayload` is unused (deadcode)
var emptyPayload = new(bytes.Buffer)
    ^
pkg/core/consensus/agreement/store_test.go:13:5: `hdr` is unused (deadcode)
var hdr header.Header
    ^
pkg/core/consensus/generation/generator.go:13:5: `emptyHash` is unused (deadcode)
var emptyHash [32]byte
    ^
pkg/core/consensus/generation/generator.go:14:5: `emptyPayload` is unused (deadcode)
var emptyPayload = new(bytes.Buffer)
    ^
pkg/core/consensus/generation/generator.go:16:5: `genMessage` is unused (deadcode)
var genMessage = message.New(topics.Generation, nil)
    ^
pkg/core/tests/helper/transactions.go:185:6: `fetchDecoys` is unused (deadcode)
func fetchDecoys(numMixins int) []mlsag.PubKeys {
     ^
pkg/core/verifiers/transaction.go:173:6: `checkRangeProof` is unused (deadcode)
func checkRangeProof(p rangeproof.Proof) error {
     ^
pkg/core/database/testing/utils.go:76:6: `waitTimeout` is unused (deadcode)
func waitTimeout(wg *sync.WaitGroup, timeout time.Duration) bool {
     ^
pkg/core/consensus/reduction/firststep/reducer.go:21:5: `regenerationPackage` is unused (deadcode)
var regenerationPackage = new(bytes.Buffer)
    ^
pkg/core/consensus/reduction/secondstep/reducer.go:22:5: `regenerationPackage` is unused (deadcode)
var regenerationPackage = new(bytes.Buffer)
    ^
pkg/core/mempool/mempool.go:560:6: `marshalTxs` is unused (deadcode)
func marshalTxs(w *bytes.Buffer, txs []transactions.Transaction) error {
     ^
pkg/core/consensus/initiator/initiator.go:22:5: `l` is unused (deadcode)
var l = log.WithField("process", "consensus initiator")
    ^
pkg/config/loader.go:36:2: `loadFlagsFn` is unused (structcheck)
        loadFlagsFn func() (string, error)
        ^
pkg/util/nativeutils/eventbus/mock.go:123:2: `lock` is unused (structcheck)
        lock       sync.RWMutex
        ^
pkg/core/consensus/round.go:168:2: `components` is unused (structcheck)
        components []Component
        ^
scripts/build.go:1: File is not `gofmt`-ed with `-s` (gofmt)

pkg/p2p/kadcast/packet.go:164: File is not `gofmt`-ed with `-s` (gofmt)
        var chunkID [16]byte
pkg/p2p/kadcast/packet_processor.go:5: File is not `gofmt`-ed with `-s` (gofmt)
        "net"
pkg/p2p/kadcast/router.go:5: File is not `gofmt`-ed with `-s` (gofmt)
        "sync"
pkg/p2p/kadcast/utils.go:132: File is not `gofmt`-ed with `-s` (gofmt)

pkg/p2p/wire/topics/topics.go:108: File is not `gofmt`-ed with `-s` (gofmt)
        topicBuf{Version, *(bytes.NewBuffer([]byte{byte(Version)})), "version"},
        topicBuf{VerAck, *(bytes.NewBuffer([]byte{byte(VerAck)})), "verack"},
        topicBuf{Ping, *(bytes.NewBuffer([]byte{byte(Ping)})), "ping"},
        topicBuf{Pong, *(bytes.NewBuffer([]byte{byte(Pong)})), "pong"},
        topicBuf{Addr, *(bytes.NewBuffer([]byte{byte(Addr)})), "addr"},
        topicBuf{GetAddr, *(bytes.NewBuffer([]byte{byte(GetAddr)})), "getaddr"},
        topicBuf{GetData, *(bytes.NewBuffer([]byte{byte(GetData)})), "getdata"},
        topicBuf{GetBlocks, *(bytes.NewBuffer([]byte{byte(GetBlocks)})), "getblocks"},
        topicBuf{GetHeaders, *(bytes.NewBuffer([]byte{byte(GetHeaders)})), "getheaders"},
        topicBuf{Tx, *(bytes.NewBuffer([]byte{byte(Tx)})), "tx"},
        topicBuf{Block, *(bytes.NewBuffer([]byte{byte(Block)})), "block"},
        topicBuf{AcceptedBlock, *(bytes.NewBuffer([]byte{byte(AcceptedBlock)})), "acceptedblock"},
        topicBuf{Headers, *(bytes.NewBuffer([]byte{byte(Headers)})), "headers"},
        topicBuf{MemPool, *(bytes.NewBuffer([]byte{byte(MemPool)})), "mempool"},
        topicBuf{Inv, *(bytes.NewBuffer([]byte{byte(Inv)})), "inv"},
        topicBuf{Certificate, *(bytes.NewBuffer([]byte{byte(Certificate)})), "certificate"},
        topicBuf{RoundResults, *(bytes.NewBuffer([]byte{byte(RoundResults)})), "roundresults"},
        topicBuf{Candidate, *(bytes.NewBuffer([]byte{byte(Candidate)})), "candidate"},
        topicBuf{Score, *(bytes.NewBuffer([]byte{byte(Score)})), "score"},
        topicBuf{Reduction, *(bytes.NewBuffer([]byte{byte(Reduction)})), "reduction"},
        topicBuf{Agreement, *(bytes.NewBuffer([]byte{byte(Agreement)})), "agreement"},
        topicBuf{Gossip, *(bytes.NewBuffer([]byte{byte(Gossip)})), "gossip"},
        topicBuf{NotFound, *(bytes.NewBuffer([]byte{byte(NotFound)})), "notfound"},
        topicBuf{Unknown, *(bytes.NewBuffer([]byte{byte(Unknown)})), "unknown"},
        topicBuf{Reject, *(bytes.NewBuffer([]byte{byte(Reject)})), "reject"},
        topicBuf{Initialization, *(bytes.NewBuffer([]byte{byte(Initialization)})), "initialization"},
        topicBuf{RoundUpdate, *(bytes.NewBuffer([]byte{byte(RoundUpdate)})), "roundupdate"},
        topicBuf{BestScore, *(bytes.NewBuffer([]byte{byte(BestScore)})), "bestscore"},
        topicBuf{Quit, *(bytes.NewBuffer([]byte{byte(Quit)})), "quit"},
        topicBuf{Log, *(bytes.NewBuffer([]byte{byte(Log)})), "log"},
        topicBuf{Monitor, *(bytes.NewBuffer([]byte{byte(Log)})), "monitor_topic"},
        topicBuf{Test, *(bytes.NewBuffer([]byte{byte(Test)})), "__test"},
        topicBuf{StepVotes, *(bytes.NewBuffer([]byte{byte(StepVotes)})), "stepvotes"},
        topicBuf{ScoreEvent, *(bytes.NewBuffer([]byte{byte(ScoreEvent)})), "scoreevent"},
        topicBuf{Generation, *(bytes.NewBuffer([]byte{byte(Generation)})), "generation"},
        topicBuf{Restart, *(bytes.NewBuffer([]byte{byte(Restart)})), "restart"},
        topicBuf{StopConsensus, *(bytes.NewBuffer([]byte{byte(StopConsensus)})), "stopconsensus"},
        topicBuf{IntermediateBlock, *(bytes.NewBuffer([]byte{byte(IntermediateBlock)})), "intermediateblock"},
        topicBuf{HighestSeen, *(bytes.NewBuffer([]byte{byte(HighestSeen)})), "highestseen"},
        topicBuf{ValidCandidateHash, *(bytes.NewBuffer([]byte{byte(ValidCandidateHash)})), "validcandidatehash"},
        topicBuf{GetLastBlock, *(bytes.NewBuffer([]byte{byte(GetLastBlock)})), "getlastblock"},
        topicBuf{GetMempoolTxs, *(bytes.NewBuffer([]byte{byte(GetMempoolTxs)})), "getmempooltxs"},
        topicBuf{GetMempoolTxsBySize, *(bytes.NewBuffer([]byte{byte(GetMempoolTxsBySize)})), "getmempooltxsbysize"},
        topicBuf{VerifyCandidateBlock, *(bytes.NewBuffer([]byte{byte(VerifyCandidateBlock)})), "verifycandidateblock"},
        topicBuf{GetLastCertificate, *(bytes.NewBuffer([]byte{byte(GetLastCertificate)})), "getlastcertificate"},
        topicBuf{SendMempoolTx, *(bytes.NewBuffer([]byte{byte(SendMempoolTx)})), "sendmempooltx"},
        topicBuf{GetMempoolView, *(bytes.NewBuffer([]byte{byte(GetMempoolView)})), "getmempoolview"},
        topicBuf{CreateWallet, *(bytes.NewBuffer([]byte{byte(CreateWallet)})), "createwallet"},
        topicBuf{CreateFromSeed, *(bytes.NewBuffer([]byte{byte(CreateFromSeed)})), "createfromseed"},
        topicBuf{LoadWallet, *(bytes.NewBuffer([]byte{byte(LoadWallet)})), "loadwallet"},
        topicBuf{SendBidTx, *(bytes.NewBuffer([]byte{byte(SendBidTx)})), "sendbidtx"},
        topicBuf{SendStakeTx, *(bytes.NewBuffer([]byte{byte(SendStakeTx)})), "sendstaketx"},
        topicBuf{SendStandardTx, *(bytes.NewBuffer([]byte{byte(SendStandardTx)})), "sendstandardtx"},
        topicBuf{GetBalance, *(bytes.NewBuffer([]byte{byte(GetBalance)})), "getbalance"},
        topicBuf{GetUnconfirmedBalance, *(bytes.NewBuffer([]byte{byte(GetUnconfirmedBalance)})), "getunconfirmedbalance"},
        topicBuf{GetAddress, *(bytes.NewBuffer([]byte{byte(GetAddress)})), "getaddress"},
        topicBuf{GetTxHistory, *(bytes.NewBuffer([]byte{byte(GetTxHistory)})), "gettxhistory"},
        topicBuf{AutomateConsensusTxs, *(bytes.NewBuffer([]byte{byte(AutomateConsensusTxs)})), "automateconsensustxs"},
        topicBuf{GetSyncProgress, *(bytes.NewBuffer([]byte{byte(GetSyncProgress)})), "getsyncprogress"},
        topicBuf{IsWalletLoaded, *(bytes.NewBuffer([]byte{byte(IsWalletLoaded)})), "iswalletloaded"},
        topicBuf{RebuildChain, *(bytes.NewBuffer([]byte{byte(RebuildChain)})), "rebuildchain"},
        topicBuf{ClearWalletDatabase, *(bytes.NewBuffer([]byte{byte(ClearWalletDatabase)})), "clearwalletdatabase"},
        topicBuf{StartProfile, *(bytes.NewBuffer([]byte{byte(StartProfile)})), "startprofile"},
        topicBuf{StopProfile, *(bytes.NewBuffer([]byte{byte(StopProfile)})), "stopprofile"},
        topicBuf{GetRoundResults, *(bytes.NewBuffer([]byte{byte(GetRoundResults)})), "getroundresults"},
        topicBuf{GetCandidate, *(bytes.NewBuffer([]byte{byte(GetCandidate)})), "getcandidate"},
pkg/p2p/peer/peermsg/getblocks_test.go:7: File is not `gofmt`-ed with `-s` (gofmt)
        crypto "github.com/dusk-network/dusk-crypto/hash"
pkg/core/tests/helper/output.go:7: File is not `gofmt`-ed with `-s` (gofmt)
        "github.com/dusk-network/dusk-wallet/v2/transactions"
pkg/core/chain/loader.go:8: File is not `gofmt`-ed with `-s` (gofmt)
        "github.com/dusk-network/dusk-wallet/v2/block"
pkg/core/transactor/utils.go:5: File is not `gofmt`-ed with `-s` (gofmt)
        "github.com/dusk-network/dusk-wallet/v2/block"
pkg/util/nativeutils/bytesutil/bytesutil.go:10:3: G104: Errors unhandled. (gosec)
                buf.Write(b)
                ^
pkg/util/stringify.go:12:3: G104: Errors unhandled. (gosec)
                sb.WriteString(hex.EncodeToString(b[0:5]))
                ^
pkg/util/stringify.go:13:3: G104: Errors unhandled. (gosec)
                sb.WriteString("...")
                ^
pkg/util/stringify.go:14:3: G104: Errors unhandled. (gosec)
                sb.WriteString(hex.EncodeToString(b[len(b)-5:]))
                ^
pkg/util/stringify.go:16:3: G104: Errors unhandled. (gosec)
                sb.WriteString("empty")
                ^
scripts/build.go:52:9: G204: Subprocess launched with function call as argument or cmd arguments (gosec)
        cmd := exec.Command(filepath.Join(runtime.GOROOT(), "bin", "go"), argsList...)
               ^
scripts/build.go:65:8: G204: Subprocess launched with function call as argument or cmd arguments (gosec)
        cmd = exec.Command(filepath.Join(runtime.GOROOT(), "bin", "go"), argsInstall...)
              ^
scripts/build.go:85:9: G204: Subprocess launched with function call as argument or cmd arguments (gosec)
        cmd := exec.Command(filepath.Join(runtime.GOROOT(), "bin", "go"), argsGet...)
               ^
scripts/build.go:91:8: G204: Subprocess launched with function call as argument or cmd arguments (gosec)
        cmd = exec.Command(filepath.Join(GOBIN(), "golangci-lint"))
              ^
pkg/core/consensus/header/header.go:101:2: G104: Errors unhandled. (gosec)
        sb.WriteString(fmt.Sprintf("round='%d' step='%d'", h.Round, h.Step))
        ^
pkg/core/consensus/header/header.go:102:2: G104: Errors unhandled. (gosec)
        sb.WriteString(" sender='")
        ^
pkg/core/consensus/header/header.go:103:2: G104: Errors unhandled. (gosec)
        sb.WriteString(util.StringifyBytes(h.PubKeyBLS))
        ^
pkg/core/consensus/header/header.go:104:2: G104: Errors unhandled. (gosec)
        sb.WriteString("' block hash='")
        ^
pkg/core/consensus/header/header.go:105:2: G104: Errors unhandled. (gosec)
        sb.WriteString(util.StringifyBytes(h.BlockHash))
        ^
pkg/core/consensus/header/header.go:106:2: G104: Errors unhandled. (gosec)
        sb.WriteString("'")
        ^
pkg/core/consensus/header/header.go:207:2: G104: Errors unhandled. (gosec)
        rand.Read(buf)
        ^
pkg/util/diagnostics/profile.go:14:2: G108: Profiling endpoint is automatically exposed on /debug/pprof (gosec)
        _ "net/http/pprof"
        ^
pkg/util/diagnostics/profileset.go:6:2: G108: Profiling endpoint is automatically exposed on /debug/pprof (gosec)
        _ "net/http/pprof"
        ^
pkg/config/consts.go:41:3: G104: Errors unhandled. (gosec)
                buf.Write(blob)
                ^
pkg/p2p/wire/message/agreement.go:55:2: G104: Errors unhandled. (gosec)
        sb.WriteString(a.hdr.String())
        ^
pkg/p2p/wire/message/agreement.go:56:2: G104: Errors unhandled. (gosec)
        sb.WriteString(" signature='")
        ^
pkg/p2p/wire/message/agreement.go:57:2: G104: Errors unhandled. (gosec)
        sb.WriteString(util.StringifyBytes(a.signedVotes))
        ^
pkg/p2p/wire/message/agreement.go:58:2: G104: Errors unhandled. (gosec)
        sb.WriteString(" repr='")
        ^
pkg/p2p/wire/message/agreement.go:59:2: G104: Errors unhandled. (gosec)
        sb.WriteString(util.StringifyBytes(a.Repr.Bytes()))
        ^
pkg/p2p/wire/message/agreement.go:90:2: G104: Errors unhandled. (gosec)
        sb.WriteString(fmt.Sprintf("BitSet: %d Step: %d\n Sig: %v\n Apk: %v\n", s.BitSet, s.Step, s.Signature, s.Apk))
        ^
pkg/p2p/wire/message/candidate.go:54:2: G104: Errors unhandled. (gosec)
        sb.WriteString(c.State().String())
        ^
pkg/p2p/wire/message/candidate.go:55:2: G104: Errors unhandled. (gosec)
        sb.WriteString(" nr. of tx in the Block='")
        ^
pkg/p2p/wire/message/candidate.go:56:2: G104: Errors unhandled. (gosec)
        sb.WriteString(strconv.Itoa(len(c.Block.Txs)))
        ^
pkg/p2p/wire/message/candidate.go:58:3: G104: Errors unhandled. (gosec)
                sb.WriteString("' certificate='<empty>'")
                ^
pkg/p2p/wire/message/candidate.go:60:3: G104: Errors unhandled. (gosec)
                sb.WriteString("' certificate step='")
                ^
pkg/p2p/wire/message/candidate.go:61:3: G104: Errors unhandled. (gosec)
                sb.WriteString(strconv.FormatUint(uint64(c.Certificate.Step), 10))
                ^
pkg/p2p/wire/message/candidate.go:62:3: G104: Errors unhandled. (gosec)
                sb.WriteString("' certificate signature first step='")
                ^
pkg/p2p/wire/message/candidate.go:63:3: G104: Errors unhandled. (gosec)
                sb.WriteString(util.StringifyBytes(c.Certificate.StepOneBatchedSig))
                ^
pkg/p2p/wire/message/candidate.go:64:3: G104: Errors unhandled. (gosec)
                sb.WriteString("' certificate signature second step='")
                ^
pkg/p2p/wire/message/candidate.go:65:3: G104: Errors unhandled. (gosec)
                sb.WriteString(util.StringifyBytes(c.Certificate.StepTwoBatchedSig))
                ^
pkg/p2p/wire/message/candidate.go:66:3: G104: Errors unhandled. (gosec)
                sb.WriteString("'")
                ^
pkg/p2p/wire/message/message.go:47:2: G104: Errors unhandled. (gosec)
        sb.WriteString("category: ")
        ^
pkg/p2p/wire/message/message.go:48:2: G104: Errors unhandled. (gosec)
        sb.WriteString(m.category.String())
        ^
pkg/p2p/wire/message/message.go:49:2: G104: Errors unhandled. (gosec)
        sb.WriteString("\n")
        ^
pkg/p2p/wire/message/message.go:50:2: G104: Errors unhandled. (gosec)
        sb.WriteString("payload: [\n")
        ^
pkg/p2p/wire/message/message.go:52:3: G104: Errors unhandled. (gosec)
                sb.WriteString("<payload is nil>")
                ^
pkg/p2p/wire/message/message.go:56:4: G104: Errors unhandled. (gosec)
                        sb.WriteString(str.String())
                        ^
pkg/p2p/wire/message/message.go:58:4: G104: Errors unhandled. (gosec)
                        sb.WriteString("<payload is non-empty but not a Stringer>")
                        ^
pkg/p2p/wire/message/message.go:61:2: G104: Errors unhandled. (gosec)
        sb.WriteString("\n]\n")
        ^
pkg/p2p/wire/message/message.go:62:2: G104: Errors unhandled. (gosec)
        sb.WriteString("\n")
        ^
pkg/p2p/wire/message/reduction.go:34:2: G104: Errors unhandled. (gosec)
        sb.WriteString(r.hdr.String())
        ^
pkg/p2p/wire/message/reduction.go:35:2: G104: Errors unhandled. (gosec)
        sb.WriteString(" signature' ")
        ^
pkg/p2p/wire/message/reduction.go:36:2: G104: Errors unhandled. (gosec)
        sb.WriteString(util.StringifyBytes(r.SignedHash))
        ^
pkg/p2p/wire/message/reduction.go:37:2: G104: Errors unhandled. (gosec)
        sb.WriteString("'")
        ^
pkg/p2p/wire/message/score.go:72:2: G104: Errors unhandled. (gosec)
        sb.WriteString(e.hdr.String())
        ^
pkg/p2p/kadcast/network.go:52:20: `sendUDPPacket` - `netw` always receives `"udp"` (unparam)
func sendUDPPacket(netw string, addr net.UDPAddr, payload []byte) {
                   ^
pkg/p2p/kadcast/packet.go:235:47: `handleChunks` - `peerInf` is unused (unparam)
func handleChunks(chunkMap map[[16]byte]bool, peerInf Peer, packet Packet, router *Router, byteNum int) {
                                              ^
pkg/p2p/kadcast/peer.go:103:59: getPeerNetworkInfo - result 1 (uint16) is never used (unparam)
func getPeerNetworkInfo(udpAddress net.UDPAddr) ([4]byte, uint16) {
                                                          ^
pkg/core/consensus/round_test.go:175:18: `mockMessage` - `t` is unused (unparam)
func mockMessage(t *testing.T, topic topics.Topic, round uint64, step uint8) message.Message {
                 ^
pkg/p2p/peer/processing/chainsync/sync.go:149:63: marshalGetBlocks - result 1 (error) is always nil (unparam)
func marshalGetBlocks(msg *peermsg.GetBlocks) (*bytes.Buffer, error) {
                                                              ^
pkg/p2p/peer/peer_in_test.go:171:41: testReader - result 1 (net.Conn) is never used (unparam)
func testReader(t *testing.T) (*Reader, net.Conn, net.Conn, chan<- *bytes.Buffer) {
                                        ^
pkg/core/consensus/agreement/accumulator_test.go:205:22: `newAggroFactory` - `provisionersNr` always receives `10` (unparam)
func newAggroFactory(provisionersNr int) func(uint64, uint8, int) message.Agreement {
                     ^
pkg/core/consensus/selection/selector.go:157:36: (*Selector).sendBestEvent - result 0 (error) is always nil (unparam)
func (s *Selector) sendBestEvent() error {
                                   ^
pkg/core/consensus/selection/selector.go:177:50: (*Selector).repropagate - result 0 (error) is always nil (unparam)
func (s *Selector) repropagate(ev message.Score) error {
                                                 ^
pkg/rpc/interceptors.go:68:74: `streamInterceptorHandler` - `info` is unused (unparam)
func streamInterceptorHandler(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error {
                                                                         ^
pkg/rpc/interceptors.go:77:68: `unaryInterceptorHandler` - `info` is unused (unparam)
func unaryInterceptorHandler(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error) {
                                                                   ^
pkg/core/verifiers/transaction.go:166:35: `checkLockTimeValid` - `blockTime` is unused (unparam)
func checkLockTimeValid(lockTime, blockTime uint64) error {
                                  ^
pkg/p2p/peer/peer_test.go:136:26: `makeAgreementGossip` - `keyAmount` always receives `10` (unparam)
func makeAgreementGossip(keyAmount int) message.Message {
                         ^
pkg/core/database/testing/utils.go:26:18: `storeBlocks` - `test` is unused (unparam)
func storeBlocks(test *testing.T, db database.DB, blocks []*block.Block) error {
                 ^
pkg/core/mempool/mempool.go:516:44: (*Mempool).advertiseTx - result 0 (error) is always nil (unparam)
func (m *Mempool) advertiseTx(txID []byte) error {
                                           ^
pkg/core/consensus/reduction/reduction_test.go:90:20: `sendBestScore` - `t` is unused (unparam)
func sendBestScore(t *testing.T, bus *eventbus.EventBus, round uint64, step uint8, hash []byte, blsPubKey []byte) {
                   ^
pkg/core/consensus/reduction/reduction_test.go:102:20: `collectEvents` - `t` is unused (unparam)
func collectEvents(t *testing.T, c *consensus.Coordinator, evs []message.Reduction) {
                   ^
pkg/core/consensus/initiator/initiator.go:29:96: `startProvisioner` - `counter` is unused (unparam)
func startProvisioner(eventBroker *eventbus.EventBus, rpcBus *rpcbus.RPCBus, w *wallet.Wallet, counter *chainsync.Counter) {
                                                                                ^
pkg/core/consensus/initiator/initiator.go:51:21: `storeBidValues` - `eventBroker` is unused (unparam)
func storeBidValues(eventBroker eventbus.Broker, rpcBus *rpcbus.RPCBus, w *wallet.Wallet) {
                    ^
pkg/core/transactor/listener.go:364:43: `(*Transactor).onAcceptedBlockEvent` - `b` is unused (unparam)
func (t *Transactor) onAcceptedBlockEvent(b block.Block) {
                                          ^
pkg/core/consensus/maintainer/maintainer_test.go:148:17: `receiveTxs` - `t` is unused (unparam)
func receiveTxs(t *testing.T, c chan rpcbus.Request) []transactions.Transaction {
                ^
cmd/dusk/monitor.go:16:47: ConnectToLogMonitor - result 0 (error) is always nil (unparam)
func ConnectToLogMonitor(bus eventbus.Broker) error {
                                              ^
pkg/p2p/kadcast/network.go:89:7: ineffectual assignment to `err` (ineffassign)
                pc, err := listener.AcceptTCP()
                    ^
pkg/p2p/kadcast/packet_processor.go:40:4: ineffectual assignment to `err` (ineffassign)
                        err = verifyIDNonce(senderID, nonce)
                        ^
pkg/p2p/kadcast/packet_processor.go:94:4: ineffectual assignment to `err` (ineffassign)
                        err = verifyIDNonce(senderID, nonce)
                        ^
pkg/p2p/wire/topics/topics.go:191:3: ineffectual assignment to `buf` (ineffassign)
                buf = *(new(bytes.Buffer))
                ^
pkg/core/database/testing/drivers_test.go:700:2: ineffectual assignment to `err` (ineffassign)
        err = db.View(func(t database.Transaction) error {
        ^
pkg/core/verifiers/transaction_test.go:83:9: ineffectual assignment to `err` (ineffassign)
        alice, err = wallet.LoadFromFile(2, aliceDB, fetchDecoys, fetchInputs, "pass", "alice.dat")
               ^
pkg/core/consensus/reduction/firststep/aggregator.go:88:5: ineffectual assignment to `blockHash` (ineffassign)
                                blockHash = emptyHash[:]
                                ^
pkg/core/consensus/reduction/firststep/reduction_test.go:44:7: ineffectual assignment to `hash` (ineffassign)
        hlp, hash := ProduceFirstStepVotes(bus, rpcBus, 50, 1*time.Second)
             ^
pkg/p2p/wire/message/transactions_test.go:273:16: ineffectual assignment to `err` (ineffassign)
        standardHash, err := standard.CalculateHash()
                      ^
pkg/p2p/kadcast/utils.go:6: File is not `goimports`-ed (goimports)
        "github.com/sirupsen/logrus"
cmd/dusk/action.go:5: File is not `goimports`-ed (goimports)
        "fmt"
cmd/dusk/main.go:5: File is not `goimports`-ed (goimports)
        "github.com/sirupsen/logrus"
        "github.com/urfave/cli"
cmd/dusk/monitor.go:5: File is not `goimports`-ed (goimports)
        "github.com/sirupsen/logrus"
cmd/dusk/server.go:5: File is not `goimports`-ed (goimports)
        "github.com/sirupsen/logrus"
pkg/p2p/kadcast/router.go:150:19: unnecessary conversion (unconvert)
                peerNum = uint64(router.tree.getTotalPeers())
                                ^
pkg/core/consensus/user/sortition.go:58:24: unnecessary conversion (unconvert)
        msg = append(msg, byte(step))
                              ^
pkg/p2p/wire/message/transactions.go:99:40: unnecessary conversion (unconvert)
        if err := encoding.WriteUint8(w, uint8(s.Version)); err != nil {
                                              ^
pkg/p2p/wire/encoding/integers.go:16:12: unnecessary conversion (unconvert)
        *v = uint8(b[0])
                  ^
pkg/core/database/utils/search.go:10:14: unnecessary conversion (unconvert)
                h := uint64(i+j) >> 1 // avoid overflow when computing h
                           ^
pkg/core/database/lite/transactions.go:379:33: unnecessary conversion (unconvert)
        return tip - uint64(n) + uint64(pos), nil
                                       ^
pkg/core/database/lite/transactions.go:361:25: unnecessary conversion (unconvert)
                height := tip - uint64(n) + uint64(pos)
                                      ^
pkg/core/database/heavy/transactions.go:633:37: unnecessary conversion (unconvert)
                height := tip - uint64(n) + uint64(pos)
                                                  ^
pkg/core/database/heavy/transactions.go:651:21: unnecessary conversion (unconvert)
        return tip - uint64(n) + uint64(pos), nil
                           ^
pkg/core/candidate/broker.go:98:35: unnecessary conversion (unconvert)
                if _, ok := b.validHashes[string(k)]; ok {
                                                ^
pkg/core/tests/helper/transactions.go:311:53: unnecessary conversion (unconvert)
        seedScalar.SetBigInt(big.NewInt(0).SetUint64(uint64(seed)))
                                                           ^
pkg/gql/query/transactions.go:210:48: unnecessary conversion (unconvert)
                        hash, err := t.FetchBlockHashByHeight(uint64(height))
                                                                    ^
pkg/gql/query/blocks.go:249:47: unnecessary conversion (unconvert)
                hash, err := t.FetchBlockHashByHeight(uint64(height))
                                                            ^
pkg/core/database/testing/drivers_test.go:572:54: unnecessary conversion (unconvert)
                        headerHash, err := t.FetchBlockHashByHeight(uint64(block.Header.Height))
                                                                          ^
pkg/util/nativeutils/prerror/prerror.go:3:6: exported type `Priority` should have comment or be unexported (golint)
type Priority int
     ^
pkg/util/nativeutils/prerror/prerror.go:6:2: exported const High should have comment (or a comment on this block) or be unexported (golint)
        High = iota
        ^
pkg/util/nativeutils/prerror/prerror.go:11:6: exported type `PrError` should have comment or be unexported (golint)
type PrError struct {
     ^
pkg/util/nativeutils/prerror/prerror.go:16:1: exported function `New` should have comment or be unexported (golint)
func New(prio Priority, err error) *PrError {
^
scripts/build.go:16:2: exported const GOLANGCI_VERSION should have comment (or a comment on this block) or be unexported (golint)
        GOLANGCI_VERSION =<EMAIL_ADDRESS>        ^
pkg/p2p/wire/checksum/checksum.go:10:7: exported const `Length` should have comment or be unexported (golint)
const Length = 4
      ^
pkg/p2p/wire/checksum/checksum.go:12:1: exported function `Generate` should have comment or be unexported (golint)
func Generate(m []byte) []byte {
^
pkg/p2p/wire/checksum/checksum.go:17:1: exported function `Extract` should have comment or be unexported (golint)
func Extract(m []byte) ([]byte, []byte, error) {
^
pkg/p2p/wire/checksum/checksum.go:28:1: exported function `Verify` should have comment or be unexported (golint)
func Verify(m []byte, checksum []byte) bool {
^
pkg/util/container/ring/buffer.go:61:1: exported method `Buffer.Close` should have comment or be unexported (golint)
func (r *Buffer) Close() {
^
pkg/util/container/ring/buffer.go:71:1: exported method `Buffer.GetAll` should have comment or be unexported (golint)
func (r *Buffer) GetAll() ([][]byte, bool) {
^
pkg/util/container/ring/buffer.go:94:1: exported method `Buffer.Has` should have comment or be unexported (golint)
func (r *Buffer) Has(item []byte) bool {
^
pkg/util/container/ring/buffer.go:112:1: exported method `Buffer.Closed` should have comment or be unexported (golint)
func (r *Buffer) Closed() bool {
^
pkg/util/nativeutils/rpcbus/rpcbus.go:34:6: exported type `Request` should have comment or be unexported (golint)
type Request struct {
     ^
pkg/util/nativeutils/rpcbus/rpcbus.go:39:6: exported type `Response` should have comment or be unexported (golint)
type Response struct {
     ^
pkg/util/nativeutils/rpcbus/rpcbus.go:44:1: exported function `EmptyRequest` should have comment or be unexported (golint)
func EmptyRequest() Request {
^
pkg/util/nativeutils/rpcbus/rpcbus.go:56:1: exported function `New` should have comment or be unexported (golint)
func New() *RPCBus {
^
pkg/util/nativeutils/rpcbus/rpcbus.go:127:1: exported method `RPCBus.Close` should have comment or be unexported (golint)
func (bus *RPCBus) Close() {
^
pkg/p2p/peer/dupemap/dupemap.go:9:1: comment on exported type DupeMap should be of the form "DupeMap ..." (with optional leading article) (golint)
// TODO: DupeMap should deal with value bytes.Buffer rather than pointers as it
^
pkg/p2p/peer/dupemap/dupemap.go:17:1: exported function `NewDupeMap` should have comment or be unexported (golint)
func NewDupeMap(round uint64) *DupeMap {
^
pkg/p2p/peer/dupemap/dupemap.go:26:1: exported method `DupeMap.UpdateHeight` should have comment or be unexported (golint)
func (d *DupeMap) UpdateHeight(round uint64) {
^
pkg/p2p/peer/dupemap/dupemap.go:30:1: exported method `DupeMap.SetTolerance` should have comment or be unexported (golint)
func (d *DupeMap) SetTolerance(roundNr uint64) {
^
pkg/p2p/peer/dupemap/dupemap.go:36:1: exported method `DupeMap.CanFwd` should have comment or be unexported (golint)
func (d *DupeMap) CanFwd(payload *bytes.Buffer) bool {
^
pkg/p2p/peer/dupemap/tmpmap.go:11:2: exported type `TmpMap` should have comment or be unexported (golint)
        TmpMap struct {
        ^
pkg/p2p/peer/dupemap/tmpmap.go:19:1: exported function `NewTmpMap` should have comment or be unexported (golint)
func NewTmpMap(tolerance uint64) *TmpMap {
^
pkg/p2p/peer/dupemap/tmpmap.go:28:1: exported method `TmpMap.UpdateHeight` should have comment or be unexported (golint)
func (t *TmpMap) UpdateHeight(round uint64) {
^
pkg/p2p/peer/dupemap/tmpmap.go:42:1: exported method `TmpMap.Height` should have comment or be unexported (golint)
func (t *TmpMap) Height() uint64 {
^
pkg/p2p/peer/dupemap/tmpmap.go:48:1: exported method `TmpMap.Has` should have comment or be unexported (golint)
func (t *TmpMap) Has(b *bytes.Buffer) bool {
^
pkg/core/consensus/header/header.go:47:1: exported function `New` should have comment or be unexported (golint)
func New() Header {
^
pkg/core/consensus/header/header.go:69:1: comment on exported method `Header.CompareRoundAndStep` should be of the form `CompareRoundAndStep ...` (golint)
// Compare headers to establish time order
^
pkg/core/consensus/header/header.go:87:1: exported method `Header.CompareRound` should have comment or be unexported (golint)
func (h Header) CompareRound(round uint64) Phase {
^
pkg/core/consensus/header/header.go:202:1: exported function `Mock` should have comment or be unexported (golint)
func Mock() Header {
^
pkg/core/consensus/user/bidlist.go:89:1: exported method `BidList.Remove` should have comment or be unexported (golint)
func (b *BidList) Remove(idx int) {
^
pkg/core/consensus/user/bidlist.go:99:1: exported function `MarshalBidList` should have comment or be unexported (golint)
func MarshalBidList(r *bytes.Buffer, bidList BidList) error {
^
pkg/core/consensus/user/bidlist.go:129:1: exported function `UnmarshalBidList` should have comment or be unexported (golint)
func UnmarshalBidList(r *bytes.Buffer) (BidList, error) {
^
pkg/core/consensus/user/provisioners.go:27:2: exported type `Stake` should have comment or be unexported (golint)
        Stake struct {
        ^
pkg/core/consensus/user/provisioners.go:34:1: exported method `Member.AddStake` should have comment or be unexported (golint)
func (m *Member) AddStake(stake Stake) {
^
pkg/core/consensus/user/provisioners.go:38:1: exported method `Member.RemoveStake` should have comment or be unexported (golint)
func (m *Member) RemoveStake(idx int) {
^
pkg/core/consensus/user/provisioners.go:43:1: exported method `Member.SubtractFromStake` should have comment or be unexported (golint)
func (m *Member) SubtractFromStake(amount uint64) uint64 {
^
pkg/core/consensus/user/provisioners.go:50:11: `if` block ends with a `return` statement, so drop this `else` and outdent its block (golint)
                        } else {
                               ^
pkg/core/consensus/user/provisioners.go:60:1: exported function `NewProvisioners` should have comment or be unexported (golint)
func NewProvisioners() *Provisioners {
^
pkg/core/consensus/user/provisioners.go:123:1: exported method `Provisioners.TotalWeight` should have comment or be unexported (golint)
func (p *Provisioners) TotalWeight() (totalWeight uint64) {
^
pkg/core/consensus/user/provisioners.go:133:1: exported function `MarshalProvisioners` should have comment or be unexported (golint)
func MarshalProvisioners(r *bytes.Buffer, p *Provisioners) error {
^
pkg/core/consensus/user/provisioners.go:185:1: exported function `UnmarshalProvisioners` should have comment or be unexported (golint)
func UnmarshalProvisioners(r *bytes.Buffer) (Provisioners, error) {
^
pkg/core/consensus/committee/handler.go:11:5: exported var `PregenerationAmount` should have comment or be unexported (golint)
var PregenerationAmount uint8 = 8
    ^
pkg/core/consensus/committee/handler.go:13:6: exported type `Handler` should have comment or be unexported (golint)
type Handler struct {
     ^
pkg/core/consensus/committee/handler.go:20:1: exported function `NewHandler` should have comment or be unexported (golint)
func NewHandler(keys key.ConsensusKeys, p user.Provisioners) *Handler {
^
pkg/util/diagnostics/profile.go:23:6: exported type `Profile` should have comment or be unexported (golint)
type Profile struct {
     ^
pkg/util/diagnostics/profile.go:30:1: exported function `NewProfile` should have comment or be unexported (golint)
func NewProfile(name string, n, d uint, start bool) Profile {
^
pkg/util/diagnostics/profileset.go:44:1: exported method `ProfileSet.Spawn` should have comment or be unexported (golint)
func (ps *ProfileSet) Spawn(p Profile) error {
^
pkg/p2p/wire/event.go:9:57: `travelling` is a misspelling of `traveling` (misspell)
        // The Event is an Entity that represents the Messages travelling on the EventBus.
                                                               ^
pkg/p2p/wire/event.go:32:64: `Marshalling` is a misspelling of `Marshaling` (misspell)
        // EventUnMarshaller is a convenient interface providing both Marshalling and
                                                                      ^
pkg/p2p/kadcast/network.go:30:5: `Instanciate` is a misspelling of `Instantiate` (misspell)
        // Instanciate the buffer
           ^
pkg/p2p/kadcast/network.go:51:4: `reciever` is a misspelling of `receiver` (misspell)
// reciever `Peer` and sends to it a UDP Packet with the payload inside.
   ^
pkg/p2p/kadcast/network.go:64:40: `writting` is a misspelling of `writing` (misspell)
                log.WithError(err).Warn("Error while writting to the filedescriptor.")
                                                     ^
pkg/p2p/kadcast/network.go:85:5: `Instanciate` is a misspelling of `Instantiate` (misspell)
        // Instanciate the buffer
           ^
pkg/p2p/kadcast/network.go:109:28: `transmited` is a misspelling of `transmitted` (misspell)
// a stream of bytes. Once transmited, closes the connection.
                           ^
pkg/p2p/kadcast/network.go:120:40: `writting` is a misspelling of `writing` (misspell)
                log.WithError(err).Warn("Error while writting to the filedescriptor.")
                                                     ^
pkg/p2p/kadcast/packet.go:106:47: `recieved` is a misspelling of `received` (misspell)
// `NODES` message payload is the same as the recieved one.
                                              ^
pkg/p2p/kadcast/packet.go:120:25: `recieved` is a misspelling of `received` (misspell)
        // Get number of Peers recieved.
                               ^
pkg/p2p/kadcast/packet.go:217:27: `recieved` is a misspelling of `received` (misspell)
                log.Info("NODES message recieved with corrupted payload. Packet ignored.")
                                        ^
pkg/p2p/kadcast/packet.go:225:5: `recieved` is a misspelling of `received` (misspell)
        // recieved peer.
           ^
pkg/p2p/kadcast/packet_processor.go:11:21: `recieves` is a misspelling of `receives` (misspell)
// ProcessTCPPacket recieves a Packet and processes it according to
                    ^
pkg/p2p/kadcast/packet_processor.go:60:15: `Recieved` is a misspelling of `Received` (misspell)
                                ).Infoln("Recieved CHUNKS message")
                                          ^
pkg/p2p/kadcast/packet_processor.go:67:21: `recieves` is a misspelling of `receives` (misspell)
// ProcessUDPPacket recieves a Packet and processes it according to
                    ^
pkg/p2p/kadcast/packet_processor.go:114:15: `Recieved` is a misspelling of `Received` (misspell)
                                ).Infoln("Recieved PING message")
                                          ^
pkg/p2p/kadcast/packet_processor.go:119:15: `Recieved` is a misspelling of `Received` (misspell)
                                ).Infoln("Recieved PONG message")
                                          ^
pkg/p2p/kadcast/packet_processor.go:125:15: `Recieved` is a misspelling of `Received` (misspell)
                                ).Infoln("Recieved FIND_NODES message")
                                          ^
pkg/p2p/kadcast/packet_processor.go:131:15: `Recieved` is a misspelling of `Received` (misspell)
                                ).Infoln("Recieved NODES message")
                                          ^
pkg/p2p/kadcast/peer.go:10:33: `ammount` is a misspelling of `amount` (misspell)
// PeerBytesSize represents the ammount of bytes
                                ^
pkg/config/loader.go:12:23: `dependancy` is a misspelling of `dependency` (misspell)
// prevent any cyclic-dependancy issues
                      ^
pkg/p2p/wire/protocol/protocol.go:106:64: `behaviour` is a misspelling of `behavior` (misspell)
        // An invalid network identifier might cause node unexpected  behaviour
                                                                      ^
pkg/p2p/wire/message/agreement.go:406:72: `lenght` is a misspelling of `length` (misspell)
// GenVotes randomly generates a slice of StepVotes with the indicated lenght.
                                                                       ^
pkg/p2p/wire/message/message.go:32:4: `Marshalled` is a misspelling of `Marshaled` (misspell)
// Marshalled form
   ^
pkg/p2p/wire/message/message.go:41:12: `marshalled` is a misspelling of `marshaled` (misspell)
        // cached marshalled form with Category
                  ^
pkg/p2p/wire/message/message.go:42:2: `marshalled` is a misspelling of `marshaled` (misspell)
        marshalled *bytes.Buffer
        ^
pkg/p2p/wire/message/message.go:156:18: `marshalled` is a misspelling of `marshaled` (misspell)
        // cache of its marshalled form first
                        ^
pkg/p2p/wire/message/message.go:168:33: `marshalled` is a misspelling of `marshaled` (misspell)
                // the message has cached its marshalled form
                                              ^
pkg/p2p/wire/message/message.go:173:33: `marshalled` is a misspelling of `marshaled` (misspell)
        // this message has never been marshalled before
                                       ^
pkg/p2p/wire/message/message.go:226:34: `marshalling` is a misspelling of `marshaling` (misspell)
                return fmt.Errorf("unsupported marshalling of message type: %v", topic.String())
                                               ^
pkg/p2p/wire/message/score.go:180:5: `Marshalling` is a misspelling of `Marshaling` (misspell)
        // Marshalling header first
           ^
pkg/core/database/driver_test.go:106:14: `registerd` is a misspelling of `registered` (misspell)
                t.Fatal("A registerd driver not found")
                           ^
pkg/p2p/peer/responding/databroker.go:65:14: `retireve` is a misspelling of `retrieve` (misspell)
                        // Try to retireve tx from local mempool state. It might not be
                                  ^
pkg/util/nativeutils/republisher/republisher.go:69:24: `marshalling` is a misspelling of `marshaling` (misspell)
// Note: the logic for marshalling should be moved after the Gossip
                       ^
pkg/util/nativeutils/republisher/republisher.go:84:57: `marshalling` is a misspelling of `marshaling` (misspell)
        // message.Marshal takes care of prepending the topic, marshalling the
                                                               ^
pkg/util/nativeutils/republisher/republisher.go:91:83: `Marshalling` is a misspelling of `Marshaling` (misspell)
        // TODO: interface - setting the payload to a buffer will go away as soon as the Marshalling
                                                                                ^
pkg/core/database/heavy/transactions.go:382:36: `indeces` is a misspelling of `indices` (misspell)
                // If we don't fetch the correct indeces (tx positions), merkle tree
                                                 ^
pkg/core/database/heavy/transactions.go:391:39: `indeces` is a misspelling of `indices` (misspell)
        // Reorder Tx slice as per retrieved indeces
                                             ^
pkg/core/database/heavy/transactions.go:616:47: `existant` is a misspelling of `existent` (misspell)
                return nil, nil, errors.New("bid values non-existant or incorrectly encoded")
                                                            ^
pkg/core/consensus/queue.go:43:5: `Initialise` is a misspelling of `Initialize` (misspell)
        // Initialise the map on this round if it was not yet created
           ^
pkg/core/consensus/queue.go:48:5: `Initialise` is a misspelling of `Initialize` (misspell)
        // Initialise the array on this step if it was not yet created
           ^
pkg/core/consensus/round.go:408:22: `marshalling` is a misspelling of `marshaling` (misspell)
// TODO: interface - marshalling should actually be done after the Gossip to
                     ^
pkg/core/consensus/round.go:415:57: `marshalling` is a misspelling of `marshaling` (misspell)
        // message.Marshal takes care of prepending the topic, marshalling the
                                                               ^
pkg/core/consensus/round.go:422:83: `Marshalling` is a misspelling of `Marshaling` (misspell)
        // TODO: interface - setting the payload to a buffer will go away as soon as the Marshalling
                                                                                ^
pkg/core/consensus/testutil.go:15:54: `behaviour` is a misspelling of `behavior` (misspell)
// SimplePlayer is used within tests to simulate the behaviour of the
                                                     ^
pkg/p2p/peer/processing/chainsync/sync.go:133:37: `marshalling` is a misspelling of `marshaling` (misspell)
// TODO: interface - get rid of the marshalling
                                    ^
pkg/core/candidate/validator_test.go:11:20: `behaviour` is a misspelling of `behavior` (misspell)
// Ensure that the behaviour of the validator works as intended.
                   ^
pkg/eventmon/logger/logger.go:28:67: `preferrably` is a misspelling of `preferably` (misspell)
// It creates a new instance of logrus and writes on a io.Writer (preferrably UNIX sockets but any kind of connection will do)
                                                                  ^
pkg/core/consensus/selection/testutil.go:27:57: `marshalling` is a misspelling of `marshaling` (misspell)
        // message.Marshal takes care of prepending the topic, marshalling the
                                                               ^
pkg/core/consensus/selection/testutil.go:34:83: `Marshalling` is a misspelling of `Marshaling` (misspell)
        // TODO: interface - setting the payload to a buffer will go away as soon as the Marshalling
                                                                                ^
pkg/util/diagnostics/profile.go:152:15: string `goroutine` has 3 occurrences, make it a constant (goconst)
        case "heap", "goroutine":
                     ^
pkg/util/diagnostics/profile.go:154:7: string `memstats` has 3 occurrences, make it a constant (goconst)
        case "memstats":
             ^
pkg/util/diagnostics/profile.go:157:7: string `cpu` has 3 occurrences, make it a constant (goconst)
        case "cpu":
             ^
pkg/util/diagnostics/profile.go:146:7: string `mutex` has 3 occurrences, make it a constant (goconst)
        case "mutex":
             ^
pkg/util/diagnostics/profile.go:149:7: string `block` has 3 occurrences, make it a constant (goconst)
        case "block":
             ^
pkg/config/consts.go:33:7: string `testnet` has 4 occurrences, make it a constant (goconst)
        case "testnet":
             ^
pkg/config/loader_test.go:35:27: string `debug` has 3 occurrences, make it a constant (goconst)
        if Get().Logger.Level != "debug" {
                                 ^
harness/engine/node.go:32:24: string `unix` has 3 occurrences, make it a constant (goconst)
        if *RPCNetworkType == "unix" {
                              ^
pkg/p2p/peer/responding/candidatebroker.go:22:50: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Request` composite literal uses unkeyed fields (govet)
        resp, err := c.rpcBus.Call(topics.GetCandidate, rpcbus.Request{*m, make(chan rpcbus.Response, 1)}, 5*time.Second)
                                                        ^
pkg/p2p/peer/responding/roundresultbroker.go:21:53: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Request` composite literal uses unkeyed fields (govet)
        resp, err := r.rpcBus.Call(topics.GetRoundResults, rpcbus.Request{*m, make(chan rpcbus.Response, 1)}, 5*time.Second)
                                                           ^
pkg/core/consensus/initiator/initiator.go:36:48: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Request` composite literal uses unkeyed fields (govet)
        resp, err := rpcBus.Call(topics.GetLastBlock, rpcbus.Request{bytes.Buffer{}, make(chan rpcbus.Response, 1)}, 0)
                                                      ^
pkg/core/transactor/listener.go:82:17: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
                r.RespChan <- rpcbus.Response{bytes.Buffer{}, err}
                              ^
pkg/core/transactor/listener.go:87:16: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
        r.RespChan <- rpcbus.Response{bytes.Buffer{}, nil}
                      ^
pkg/core/transactor/listener.go:104:16: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
        r.RespChan <- rpcbus.Response{loadResponse([]byte(pubKey)), nil}
                      ^
pkg/core/transactor/listener.go:120:16: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
        r.RespChan <- rpcbus.Response{resp, nil}
                      ^
pkg/core/transactor/listener.go:146:16: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
        r.RespChan <- rpcbus.Response{resp, nil}
                      ^
pkg/core/transactor/listener.go:173:16: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
        r.RespChan <- rpcbus.Response{resp, nil}
                      ^
pkg/core/transactor/listener.go:191:16: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
        r.RespChan <- rpcbus.Response{&node.LoadResponse{Key: &node.PubKey{PublicKey: []byte(pubKey)}}, nil}
                      ^
pkg/core/transactor/listener.go:221:16: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
        r.RespChan <- rpcbus.Response{&node.TransferResponse{Hash: txid}, nil}
                      ^
pkg/core/transactor/listener.go:246:16: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
        r.RespChan <- rpcbus.Response{&node.TransferResponse{Hash: txid}, nil}
                      ^
pkg/core/transactor/listener.go:272:16: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
        r.RespChan <- rpcbus.Response{&node.TransferResponse{Hash: txid}, nil}
                      ^
pkg/core/transactor/listener.go:290:16: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
        r.RespChan <- rpcbus.Response{&node.BalanceResponse{UnlockedBalance: unlockedBalance, LockedBalance: lockedBalance}, nil}
                      ^
pkg/core/transactor/listener.go:300:47: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Request` composite literal uses unkeyed fields (govet)
        resp, err := t.rb.Call(topics.GetMempoolTxs, rpcbus.Request{bytes.Buffer{}, make(chan rpcbus.Response, 1)}, 2*time.Second)
                                                     ^
pkg/core/transactor/listener.go:313:16: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
        r.RespChan <- rpcbus.Response{&node.BalanceResponse{UnlockedBalance: unconfirmedBalance}, nil}
                      ^
pkg/core/transactor/listener.go:322:16: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
        r.RespChan <- rpcbus.Response{&node.GenericResponse{Response: "Consensus transactions are now being automated."}, nil}
                      ^
pkg/core/transactor/listener.go:332:17: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
                r.RespChan <- rpcbus.Response{&node.GenericResponse{Response: "Wallet database deleted."}, nil}
                              ^
pkg/core/transactor/listener.go:340:16: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
        r.RespChan <- rpcbus.Response{&node.GenericResponse{Response: "Wallet database deleted."}, nil}
                      ^
pkg/core/transactor/listener.go:345:16: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
        r.RespChan <- rpcbus.Response{&node.WalletStatusResponse{Loaded: t.w != nil}, nil}
                      ^
pkg/core/transactor/listener.go:356:43: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Request` composite literal uses unkeyed fields (govet)
        _, err = t.rb.Call(topics.SendMempoolTx, rpcbus.Request{tx, make(chan rpcbus.Response, 1)}, 0)
                                                 ^
pkg/core/candidate/broker.go:114:17: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
                r.RespChan <- rpcbus.Response{cm, nil}
                              ^
pkg/core/candidate/broker.go:124:18: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
                        r.RespChan <- rpcbus.Response{nil, err}
                                      ^
pkg/core/candidate/broker.go:129:16: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
        r.RespChan <- rpcbus.Response{cm, nil}
                      ^
pkg/core/candidate/store_test.go:57:46: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Request` composite literal uses unkeyed fields (govet)
                resp, err := rpc.Call(topics.GetCandidate, rpcbus.Request{*bytes.NewBuffer(genesis.Header.Hash), make(chan rpcbus.Response, 1)}, 0)
                                                           ^
pkg/core/candidate/broker_test.go:58:44: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Request` composite literal uses unkeyed fields (govet)
        resp, err := rb.Call(topics.GetCandidate, rpcbus.Request{*bytes.NewBuffer(blk.Header.Hash), make(chan rpcbus.Response, 1)}, 5*time.Second)
                                                  ^
pkg/core/candidate/broker_test.go:67:40: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Request` composite literal uses unkeyed fields (govet)
        _, err = rb.Call(topics.GetCandidate, rpcbus.Request{*bytes.NewBuffer(blk2.Header.Hash), make(chan rpcbus.Response, 1)}, 5*time.Second)
                                              ^
pkg/core/chain/chain.go:370:17: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
                r.RespChan <- rpcbus.Response{nil, errors.New("no intermediate block hash known")}
                              ^
pkg/core/chain/chain.go:376:16: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
        r.RespChan <- rpcbus.Response{nil, err}
                      ^
pkg/core/chain/chain.go:485:11: composites: `github.com/dusk-network/dusk-blockchain/pkg/core/consensus/user.Stake` composite literal uses unkeyed fields (govet)
        stake := user.Stake{amount, startHeight, endHeight}
                 ^
pkg/core/chain/chain.go:569:50: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Request` composite literal uses unkeyed fields (govet)
        resp, err := c.rpcBus.Call(topics.GetCandidate, rpcbus.Request{*bytes.NewBuffer(cMsg.hash), make(chan rpcbus.Response, 1)}, 5*time.Second)
                                                        ^
pkg/core/chain/chain.go:656:16: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
        r.RespChan <- rpcbus.Response{prevBlock, nil}
                      ^
pkg/core/chain/chain.go:661:17: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
                r.RespChan <- rpcbus.Response{bytes.Buffer{}, errors.New("no last certificate present")}
                              ^
pkg/core/chain/chain.go:667:16: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
        r.RespChan <- rpcbus.Response{*buf, err}
                      ^
pkg/core/chain/chain.go:672:17: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
                r.RespChan <- rpcbus.Response{bytes.Buffer{}, errors.New("no intermediate block or certificate currently known")}
                              ^
pkg/core/chain/chain.go:678:17: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
                r.RespChan <- rpcbus.Response{bytes.Buffer{}, errors.New("round cannot be read from request param")}
                              ^
pkg/core/chain/chain.go:684:17: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
                r.RespChan <- rpcbus.Response{bytes.Buffer{}, errors.New("no intermediate block and certificate for the given round")}
                              ^
pkg/core/chain/chain.go:690:17: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
                r.RespChan <- rpcbus.Response{bytes.Buffer{}, err}
                              ^
pkg/core/chain/chain.go:695:17: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
                r.RespChan <- rpcbus.Response{bytes.Buffer{}, err}
                              ^
pkg/core/chain/chain.go:699:16: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
        r.RespChan <- rpcbus.Response{*buf, nil}
                      ^
pkg/core/chain/chain.go:704:17: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
                r.RespChan <- rpcbus.Response{&node.SyncProgressResponse{Progress: 0}, nil}
                              ^
pkg/core/chain/chain.go:721:16: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
        r.RespChan <- rpcbus.Response{&node.SyncProgressResponse{Progress: float32(progressPercentage)}, nil}
                      ^
pkg/core/chain/chain.go:781:17: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
                r.RespChan <- rpcbus.Response{bytes.Buffer{}, err}
                              ^
pkg/core/chain/chain.go:803:57: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Request` composite literal uses unkeyed fields (govet)
        if _, err := c.rpcBus.Call(topics.ClearWalletDatabase, rpcbus.Request{bytes.Buffer{}, make(chan rpcbus.Response, 1)}, 0*time.Second); err != nil {
                                                               ^
pkg/core/chain/chain.go:807:16: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
        r.RespChan <- rpcbus.Response{&node.GenericResponse{Response: "Blockchain deleted. Syncing from scratch..."}, nil}
                      ^
pkg/core/chain/chain_test.go:166:17: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
                r.RespChan <- rpcbus.Response{cm, nil}
                              ^
pkg/core/chain/chain_test.go:362:44: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Request` composite literal uses unkeyed fields (govet)
        if _, err := rb.Call(topics.RebuildChain, rpcbus.Request{bytes.Buffer{}, make(chan rpcbus.Response, 1)}, 5*time.Second); err != nil {
                                                  ^
pkg/core/chain/chain_test.go:393:9: composites: `github.com/dusk-network/dusk-blockchain/pkg/core/consensus/user.Bid` composite literal uses unkeyed fields (govet)
        return user.Bid{arr, arr, 1000}
               ^
pkg/core/chain/chain_test.go:401:17: composites: `github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/rpcbus.Response` composite literal uses unkeyed fields (govet)
                r.RespChan <- rpcbus.Response{bytes.Buffer{}, nil}
                              ^
pkg/core/consensus/mock.go:97:16: composites: `github.com/dusk-network/dusk-blockchain/pkg/core/consensus/user.Bid` composite literal uses unkeyed fields (govet)
                bidList[i] = user.Bid{x, m, 10}
                             ^
pkg/core/consensus/user/sortition.go:34:9: SA5007: infinite recursive call (staticcheck)
        return v.Remove(pk)
               ^
pkg/core/candidate/store_test.go:75:13: SA4017: Errorf is a pure function but its return value is ignored (staticcheck)
                                                err = fmt.Errorf("Candidate Block Tx #%d is different from genesis block Tx", i)
                                                      ^
pkg/eventmon/monitor/monitor_test.go:278:3: SA2000: should call wg.Add(1) before starting the goroutine to avoid a race (staticcheck)
                wg.Add(1)
                ^
pkg/core/consensus/user/provisioners.go:109:7: SA6001: m[string(key)] would be more efficient than k := string(key); m[k] (staticcheck)
        i := string(pubKeyBLS)
             ^
scripts/build.go:64:17: SA4021: x = append(y) is equivalent to x = y (staticcheck)
        argsInstall := append([]string{"install"})
                       ^
scripts/build.go:84:13: SA4021: x = append(y) is equivalent to x = y (staticcheck)
        argsGet := append([]string{"get", GOLANGCI_VERSION})
                   ^
pkg/core/chain/chain_test.go:57:2: SA2002: the goroutine calls T.Fatal, which must be called in the same goroutine as the test (staticcheck)
        go func() {
        ^
pkg/p2p/peer/handshake_test.go:25:2: SA2002: the goroutine calls T.Fatal, which must be called in the same goroutine as the test (staticcheck)
        go func() {
        ^
pkg/p2p/peer/peer_test.go:52:2: SA2002: the goroutine calls T.Fatal, which must be called in the same goroutine as the test (staticcheck)
        go func() {
        ^
pkg/p2p/wire/protocol/protocol_test.go:43:2: SA2002: the goroutine calls T.Fatal, which must be called in the same goroutine as the test (staticcheck)
        go delayedWrite(t, pw)
        ^
pkg/p2p/wire/protocol/protocol_test.go:56:2: SA2002: the goroutine calls T.Fatal, which must be called in the same goroutine as the test (staticcheck)
        go delayedWrite(t, pw)
        ^
pkg/core/consensus/user/provisioners_test.go:44:2: SA4006: this value of `p` is never used (staticcheck)
        p := &user.Provisioners{}
        ^
cmd/dusk/main.go:45:45: S1039: unnecessary use of fmt.Sprintf (gosimple)
                log.WithError(fmt.Errorf("%+v", r)).Error(fmt.Sprintf("Application panic"))
                                                          ^
harness/engine/utils.go:199:12: S1039: unnecessary use of fmt.Sprintf (gosimple)
                query := fmt.Sprintf(
                         ^
pkg/util/stringify.go:11:5: S1009: should omit nil check; len() for nil slices is defined as zero (gosimple)
        if b != nil && len(b) > 0 {
           ^
pkg/core/consensus/maintainer/maintainer.go:56:2: S1000: should use for range instead of for { select {} } (gosimple)
        for {
        ^
pkg/p2p/wire/message/message.go:190:9: S1034: assigning the result of this type assertion to a variable (switch payload := payload.(type)) could eliminate type assertions in switch cases (gosimple)
        switch payload.(type) {
               ^
pkg/core/consensus/candidate/generation_test.go:36:2: S1005: unnecessary assignment to the blank identifier (gosimple)
        _ = <-h.ScoreChan
        ^
pkg/util/nativeutils/eventbus/listenermap.go:38:2: S1005: unnecessary assignment to the blank identifier (gosimple)
        listeners, _ := h.listeners[key]
        ^
pkg/util/container/ring/buffer.go:26:30: S1019: should use make([][]byte, length) instead (gosimple)
                items:      make([][]byte, length, length),
                                           ^
pkg/core/consensus/user/sortition.go:189:3: S1011: should replace loop with `member.Stakes = append(member.Stakes, v.Stakes...)` (gosimple)
                for _, stake := range v.Stakes {
                ^
pkg/core/consensus/round.go:265:2: S1031: unnecessary nil check around range (gosimple)
        if evs != nil {
        ^
pkg/core/candidate/broker.go:111:20: S1030: should use params.String() instead of string(params.Bytes()) (gosimple)
        cm, ok := b.queue[string(params.Bytes())]
                          ^
pkg/core/consensus/threshold.go:34:2: S1008: should use 'return scoreInt.Cmp(t.limit) == -1' instead of 'if scoreInt.Cmp(t.limit) == -1 { return true }; return false' (gosimple)
        if scoreInt.Cmp(t.limit) == -1 {
        ^
pkg/p2p/kadcast/bucket.go:87:6: S1002: should omit comparison to bool constant, can be simplified to `!b.lruPresent[peer]` (gosimple)
                if b.lruPresent[peer] == false {
                   ^
pkg/p2p/kadcast/bucket.go:102:5: S1002: should omit comparison to bool constant, can be simplified to `!b.lruPresent[peer]` (gosimple)
        if b.lruPresent[peer] == false {
           ^
pkg/p2p/kadcast/packet.go:244:5: S1002: should omit comparison to bool constant, can be simplified to `chunkMap[*chunkID]` (gosimple)
        if chunkMap[*chunkID] == true {
           ^
pkg/core/chain/chain.go:453:2: S1023: redundant `return` statement (gosimple)
        return
        ^
pkg/core/chain/chain.go:513:17: func `(*Chain).marshalProvisioners` is unused (unused)
pkg/core/chain/chain.go:179:17: func `(*Chain).propagateBlock` is unused (unused)
pkg/util/diagnostics/profileset.go:36:22: func `(*ProfileSet).drop` is unused (unused)
pkg/p2p/kadcast/packet.go:172:20: func `(*Packet).decreaseChunksHeight` is unused (unused)
pkg/p2p/wire/message/message.go:78:18: func `(*simple).setPayload` is unused (unused)

done