Preparing report...

Report for github.com/protolambda/zrnt

A    Great!    Found 112 issues across 132 files

Tweet

gofmt100%

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

No problems detected. Good job!


go_vet100%

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

No problems detected. Good job!


gocyclo87%

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

    • zrnt/eth2/beacon/altair/attestation.go
    • Line 24: warning: cyclomatic complexity 29 of function ProcessAttestation() is high (> 15) (gocyclo)
    • Line 135: warning: cyclomatic complexity 16 of function GetApplicableAttestationParticipationFlags() is high (> 15) (gocyclo)

golint15%

Golint is a linter for Go source code.

    • zrnt/eth2/beacon/altair/block.go
    • Line 9: warning: should not use dot imports (golint)
    • Line 12: warning: exported type SignedBeaconBlock should have comment or be unexported (golint)
    • Line 19: warning: exported method SignedBeaconBlock.Envelope should have comment or be unexported (golint)
    • Line 32: warning: exported method SignedBeaconBlock.Deserialize should have comment or be unexported (golint)
    • Line 36: warning: exported method SignedBeaconBlock.Serialize should have comment or be unexported (golint)
    • Line 40: warning: exported method SignedBeaconBlock.ByteLength should have comment or be unexported (golint)
    • Line 44: warning: exported method SignedBeaconBlock.FixedLength should have comment or be unexported (golint)
    • Line 44: warning: receiver name a should be consistent with previous receiver name b for SignedBeaconBlock (golint)
    • Line 48: warning: exported method SignedBeaconBlock.HashTreeRoot should have comment or be unexported (golint)
    • Line 52: warning: exported method SignedBeaconBlock.SignedHeader should have comment or be unexported (golint)
    • Line 52: warning: receiver name block should be consistent with previous receiver name b for SignedBeaconBlock (golint)
    • Line 59: warning: exported type BeaconBlock should have comment or be unexported (golint)
    • Line 67: warning: exported method BeaconBlock.Deserialize should have comment or be unexported (golint)
    • Line 71: warning: exported method BeaconBlock.Serialize should have comment or be unexported (golint)
    • Line 75: warning: exported method BeaconBlock.ByteLength should have comment or be unexported (golint)
    • Line 79: warning: exported method BeaconBlock.FixedLength should have comment or be unexported (golint)
    • Line 79: warning: receiver name a should be consistent with previous receiver name b for BeaconBlock (golint)
    • Line 83: warning: exported method BeaconBlock.HashTreeRoot should have comment or be unexported (golint)
    • Line 87: warning: exported function BeaconBlockType should have comment or be unexported (golint)
    • Line 97: warning: exported function SignedBeaconBlockType should have comment or be unexported (golint)
    • Line 104: warning: exported method BeaconBlock.Header should have comment or be unexported (golint)
    • Line 104: warning: receiver name block should be consistent with previous receiver name b for BeaconBlock (golint)
    • Line 114: warning: exported type BeaconBlockBody should have comment or be unexported (golint)
    • Line 128: warning: exported method BeaconBlockBody.Deserialize should have comment or be unexported (golint)
    • Line 138: warning: exported method BeaconBlockBody.Serialize should have comment or be unexported (golint)
    • Line 148: warning: exported method BeaconBlockBody.ByteLength should have comment or be unexported (golint)
    • Line 158: warning: exported method BeaconBlockBody.FixedLength should have comment or be unexported (golint)
    • Line 158: warning: receiver name a should be consistent with previous receiver name b for BeaconBlockBody (golint)
    • Line 162: warning: exported method BeaconBlockBody.HashTreeRoot should have comment or be unexported (golint)
    • Line 172: warning: exported method BeaconBlockBody.CheckLimits should have comment or be unexported (golint)
    • Line 191: warning: exported function BeaconBlockBodyType should have comment or be unexported (golint)
    • zrnt/eth2/beacon/phase0/balances.go
    • Line 7: warning: should not use dot imports (golint)
    • Line 10: warning: exported type Balances should have comment or be unexported (golint)
    • Line 12: warning: exported method Balances.Deserialize should have comment or be unexported (golint)
    • Line 20: warning: exported method Balances.Serialize should have comment or be unexported (golint)
    • Line 26: warning: exported method Balances.ByteLength should have comment or be unexported (golint)
    • Line 30: warning: exported method Balances.FixedLength should have comment or be unexported (golint)
    • Line 34: warning: exported method Balances.HashTreeRoot should have comment or be unexported (golint)
    • Line 34: warning: receiver name li should be consistent with previous receiver name a for Balances (golint)
    • Line 41: warning: exported function RegistryBalancesType should have comment or be unexported (golint)
    • Line 45: warning: exported type RegistryBalancesView should have comment or be unexported (golint)
    • Line 51: warning: exported function AsRegistryBalances should have comment or be unexported (golint)
    • Line 56: warning: exported method RegistryBalancesView.GetBalance should have comment or be unexported (golint)
    • Line 60: warning: exported method RegistryBalancesView.SetBalance should have comment or be unexported (golint)
    • Line 64: warning: exported method RegistryBalancesView.AllBalances should have comment or be unexported (golint)
    • Line 84: warning: exported method RegistryBalancesView.Iter should have comment or be unexported (golint)
    • zrnt/eth2/forkchoice/forkchoice.go
    • Line 10: warning: exported type ProtoForkChoice should have comment or be unexported (golint)
    • Line 26: warning: exported function NewForkChoice should have comment or be unexported (golint)
    • Line 48: warning: exported method ProtoForkChoice.Pin should have comment or be unexported (golint)
    • Line 54: warning: exported method ProtoForkChoice.SetPin should have comment or be unexported (golint)
    • Line 164: warning: exported method ProtoForkChoice.Justified should have comment or be unexported (golint)
    • Line 170: warning: exported method ProtoForkChoice.Finalized should have comment or be unexported (golint)
    • Line 176: warning: exported method ProtoForkChoice.ProcessAttestation should have comment or be unexported (golint)
    • Line 187: warning: exported method ProtoForkChoice.CanonicalChain should have comment or be unexported (golint)
    • Line 193: warning: exported method ProtoForkChoice.ProcessSlot should have comment or be unexported (golint)
    • Line 199: warning: exported method ProtoForkChoice.ProcessBlock should have comment or be unexported (golint)
    • Line 205: warning: exported method ProtoForkChoice.InSubtree should have comment or be unexported (golint)
    • Line 211: warning: exported method ProtoForkChoice.Search should have comment or be unexported (golint)
    • Line 217: warning: exported method ProtoForkChoice.ClosestToSlot should have comment or be unexported (golint)
    • Line 223: warning: exported method ProtoForkChoice.CanonAtSlot should have comment or be unexported (golint)
    • Line 229: warning: exported method ProtoForkChoice.GetSlot should have comment or be unexported (golint)
    • Line 235: warning: exported method ProtoForkChoice.FindHead should have comment or be unexported (golint)
    • Line 244: warning: exported method ProtoForkChoice.Head should have comment or be unexported (golint)
    • zrnt/eth2/chain/chain.go
    • Line 12: warning: exported type Root should have comment or be unexported (golint)
    • Line 13: warning: exported type Epoch should have comment or be unexported (golint)
    • Line 14: warning: exported type Slot should have comment or be unexported (golint)
    • Line 15: warning: exported type ValidatorIndex should have comment or be unexported (golint)
    • Line 16: warning: exported type Gwei should have comment or be unexported (golint)
    • Line 17: warning: exported type Checkpoint should have comment or be unexported (golint)
    • Line 22: warning: exported function AsStep should have comment or be unexported (golint)
    • Line 36: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 41: warning: exported method Step.Slot should have comment or be unexported (golint)
    • Line 45: warning: exported method Step.Block should have comment or be unexported (golint)
    • Line 49: warning: exported type ChainEntry should have comment or be unexported (golint)
    • Line 70: warning: exported type SearchEntry should have comment or be unexported (golint)
    • Line 75: warning: exported type Chain should have comment or be unexported (golint)
    • Line 99: warning: exported type ChainIter should have comment or be unexported (golint)
    • Line 111: warning: exported type BlockSlotKey should have comment or be unexported (golint)
    • Line 116: warning: exported type GenesisInfo should have comment or be unexported (golint)
    • Line 121: warning: exported type FullChain should have comment or be unexported (golint)
    • Line 128: warning: exported type HotColdChain should have comment or be unexported (golint)
    • Line 142: warning: exported function NewHotColdChain should have comment or be unexported (golint)
    • Line 166: warning: exported method HotColdChain.Genesis should have comment or be unexported (golint)
    • Line 178: warning: exported method HotColdChain.ByStateRoot should have comment or be unexported (golint)
    • Line 188: warning: exported method HotColdChain.ByBlock should have comment or be unexported (golint)
    • Line 198: warning: exported method HotColdChain.ByBlockSlot should have comment or be unexported (golint)
    • Line 208: warning: exported method HotColdChain.Search should have comment or be unexported (golint)
    • Line 230: warning: exported method HotColdChain.Closest should have comment or be unexported (golint)
    • Line 240: warning: exported method HotColdChain.InSubtree should have comment or be unexported (golint)
    • Line 263: warning: exported method HotColdChain.ByCanonStep should have comment or be unexported (golint)
    • Line 273: warning: exported method HotColdChain.Iter should have comment or be unexported (golint)
    • Line 290: warning: exported type FullChainIter should have comment or be unexported (golint)
    • Line 295: warning: exported method FullChainIter.Start should have comment or be unexported (golint)
    • Line 299: warning: exported method FullChainIter.End should have comment or be unexported (golint)
    • Line 303: warning: exported method FullChainIter.Entry should have comment or be unexported (golint)
    • Line 306: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • zrnt/tests/spec/test_runners/operations/execution_payload.go
    • Line 13: warning: exported type MockExecEngine should have comment or be unexported (golint)
    • Line 17: warning: exported method MockExecEngine.NewBlock should have comment or be unexported (golint)
    • Line 23: warning: exported type ExecutionPayloadTestCase should have comment or be unexported (golint)
    • Line 29: warning: exported method ExecutionPayloadTestCase.Load should have comment or be unexported (golint)
    • Line 38: warning: exported method ExecutionPayloadTestCase.Run should have comment or be unexported (golint)
    • Line 46: warning: exported function TestExecutionPayload should have comment or be unexported (golint)
    • zrnt/eth2/beacon/common/header.go
    • Line 9: warning: should not use dot imports (golint)
    • Line 12: warning: exported type BeaconBlockHeader should have comment or be unexported (golint)
    • Line 20: warning: exported method BeaconBlockHeader.View should have comment or be unexported (golint)
    • Line 34: warning: exported method BeaconBlockHeader.Deserialize should have comment or be unexported (golint)
    • Line 34: warning: receiver name s should be consistent with previous receiver name h for BeaconBlockHeader (golint)
    • Line 38: warning: exported method BeaconBlockHeader.Serialize should have comment or be unexported (golint)
    • Line 38: warning: receiver name s should be consistent with previous receiver name h for BeaconBlockHeader (golint)
    • Line 42: warning: exported method BeaconBlockHeader.ByteLength should have comment or be unexported (golint)
    • Line 42: warning: receiver name s should be consistent with previous receiver name h for BeaconBlockHeader (golint)
    • Line 46: warning: exported method BeaconBlockHeader.FixedLength should have comment or be unexported (golint)
    • Line 46: warning: receiver name b should be consistent with previous receiver name h for BeaconBlockHeader (golint)
    • Line 50: warning: exported method BeaconBlockHeader.HashTreeRoot should have comment or be unexported (golint)
    • Line 50: warning: receiver name b should be consistent with previous receiver name h for BeaconBlockHeader (golint)
    • Line 54: warning: exported type SignedBeaconBlockHeader should have comment or be unexported (golint)
    • Line 59: warning: exported method SignedBeaconBlockHeader.Deserialize should have comment or be unexported (golint)
    • Line 63: warning: exported method SignedBeaconBlockHeader.Serialize should have comment or be unexported (golint)
    • Line 67: warning: exported method SignedBeaconBlockHeader.ByteLength should have comment or be unexported (golint)
    • Line 71: warning: exported method SignedBeaconBlockHeader.FixedLength should have comment or be unexported (golint)
    • Line 71: warning: receiver name b should be consistent with previous receiver name s for SignedBeaconBlockHeader (golint)
    • Line 75: warning: exported method SignedBeaconBlockHeader.HashTreeRoot should have comment or be unexported (golint)
    • Line 79: warning: exported var SignedBeaconBlockHeaderType should have comment or be unexported (golint)
    • Line 84: warning: exported var BeaconBlockHeaderType should have comment or be unexported (golint)
    • Line 92: warning: exported type BeaconBlockHeaderView should have comment or be unexported (golint)
    • Line 96: warning: exported function AsBeaconBlockHeader should have comment or be unexported (golint)
    • Line 101: warning: exported method BeaconBlockHeaderView.Slot should have comment or be unexported (golint)
    • Line 105: warning: exported method BeaconBlockHeaderView.ProposerIndex should have comment or be unexported (golint)
    • Line 109: warning: exported method BeaconBlockHeaderView.ParentRoot should have comment or be unexported (golint)
    • Line 113: warning: exported method BeaconBlockHeaderView.StateRoot should have comment or be unexported (golint)
    • Line 117: warning: exported method BeaconBlockHeaderView.SetStateRoot should have comment or be unexported (golint)
    • Line 122: warning: exported method BeaconBlockHeaderView.BodyRoot should have comment or be unexported (golint)
    • Line 126: warning: exported method BeaconBlockHeaderView.Raw should have comment or be unexported (golint)
    • Line 156: warning: exported function ProcessHeader should have comment or be unexported (golint)
    • zrnt/eth2/beacon/common/spec.go
    • Line 10: warning: exported type Phase0Config should have comment or be unexported (golint)
    • Line 98: warning: exported type AltairConfig should have comment or be unexported (golint)
    • Line 124: warning: exported type MergeConfig should have comment or be unexported (golint)
    • Line 130: warning: exported type ShardingConfig should have comment or be unexported (golint)
    • Line 153: warning: exported type SpecObj should have comment or be unexported (golint)
    • Line 161: warning: exported type SSZObj should have comment or be unexported (golint)
    • Line 193: warning: exported type Spec should have comment or be unexported (golint)
    • Line 204: warning: exported method Spec.Wrap should have comment or be unexported (golint)
    • Line 208: warning: exported method Spec.ForkVersion should have comment or be unexported (golint)
    • zrnt/tests/spec/test_runners/operations/sync_aggregate.go
    • Line 12: warning: exported type SyncAggregateTestCase should have comment or be unexported (golint)
    • Line 17: warning: exported method SyncAggregateTestCase.Load should have comment or be unexported (golint)
    • Line 22: warning: exported method SyncAggregateTestCase.Run should have comment or be unexported (golint)
    • Line 34: warning: exported function TestSyncAggregate should have comment or be unexported (golint)
    • zrnt/eth2/beacon/common/constants.go
    • Line 3: warning: exported const FAR_FUTURE_EPOCH should have comment or be unexported (golint)
    • Line 5: warning: exported const BASE_REWARDS_PER_EPOCH should have comment or be unexported (golint)
    • Line 7: warning: exported const DEPOSIT_CONTRACT_TREE_DEPTH should have comment or be unexported (golint)
    • Line 9: warning: exported const SECONDS_PER_DAY should have comment or be unexported (golint)
    • Line 11: warning: exported const GENESIS_SLOT should have comment or be unexported (golint)
    • Line 12: warning: exported const GENESIS_EPOCH should have comment or be unexported (golint)
    • Line 14: warning: exported const JUSTIFICATION_BITS_LENGTH should have comment or be unexported (golint)
    • zrnt/tests/spec/test_util/transition_util.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 20: warning: comment on exported type ForkName should be of the form "ForkName ..." (with optional leading article) (golint)
    • Line 23: warning: exported var AllForks should have comment or be unexported (golint)
    • Line 25: warning: exported type BaseTransitionTest should have comment or be unexported (golint)
    • Line 32: warning: exported method BaseTransitionTest.ExpectingFailure should have comment or be unexported (golint)
    • Line 36: warning: exported function LoadState should have comment or be unexported (golint)
    • Line 60: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 65: warning: exported method BaseTransitionTest.Load should have comment or be unexported (golint)
    • Line 79: warning: exported method BaseTransitionTest.Check should have comment or be unexported (golint)
    • Line 106: warning: exported function CompareStates should have comment or be unexported (golint)
    • Line 127: warning: exported type TransitionTest should have comment or be unexported (golint)
    • Line 134: warning: exported type TransitionCaseMaker should have comment or be unexported (golint)
    • Line 136: warning: exported function RunTransitionTest should have comment or be unexported (golint)
    • Line 168: warning: exported type NoOpExecutionEngine should have comment or be unexported (golint)
    • Line 170: warning: exported method NoOpExecutionEngine.NewBlock should have comment or be unexported (golint)
    • zrnt/eth2/beacon/common/deltas.go
    • Line 10: warning: exported type GweiList should have comment or be unexported (golint)
    • Line 12: warning: exported method GweiList.Deserialize should have comment or be unexported (golint)
    • Line 20: warning: exported method GweiList.Serialize should have comment or be unexported (golint)
    • Line 26: warning: exported method GweiList.ByteLength should have comment or be unexported (golint)
    • Line 30: warning: exported method GweiList.FixedLength should have comment or be unexported (golint)
    • Line 34: warning: exported method GweiList.HashTreeRoot should have comment or be unexported (golint)
    • Line 34: warning: receiver name li should be consistent with previous receiver name a for GweiList (golint)
    • Line 41: warning: exported type Deltas should have comment or be unexported (golint)
    • Line 46: warning: exported method Deltas.Deserialize should have comment or be unexported (golint)
    • Line 50: warning: exported method Deltas.Serialize should have comment or be unexported (golint)
    • Line 54: warning: exported method Deltas.ByteLength should have comment or be unexported (golint)
    • Line 58: warning: exported method Deltas.FixedLength should have comment or be unexported (golint)
    • Line 62: warning: exported method Deltas.HashTreeRoot should have comment or be unexported (golint)
    • Line 66: warning: exported function NewDeltas should have comment or be unexported (golint)
    • Line 73: warning: exported method Deltas.Add should have comment or be unexported (golint)
    • Line 73: warning: receiver name deltas should be consistent with previous receiver name a for Deltas (golint)
    • Line 82: warning: exported function IncreaseBalance should have comment or be unexported (golint)
    • Line 91: warning: exported function DecreaseBalance should have comment or be unexported (golint)
    • Line 105: warning: comment on exported function ApplyDeltas should be of the form "ApplyDeltas ..." (golint)
    • zrnt/eth2/beacon/merge/transition.go
    • Line 11: warning: exported method BeaconStateView.ProcessEpoch should have comment or be unexported (golint)
    • Line 63: warning: exported method BeaconStateView.ProcessBlock should have comment or be unexported (golint)
    • Line 117: warning: exported method BeaconStateView.IsExecutionEnabled should have comment or be unexported (golint)
    • Line 128: warning: exported method BeaconStateView.IsTransitionCompleted should have comment or be unexported (golint)
    • Line 137: warning: exported method BeaconStateView.IsTransitionBlock should have comment or be unexported (golint)
    • zrnt/eth2/beacon/phase0/state.go
    • Line 8: warning: should not use dot imports (golint)
    • Line 11: warning: exported type BeaconState should have comment or be unexported (golint)
    • Line 41: warning: exported method BeaconState.Deserialize should have comment or be unexported (golint)
    • Line 54: warning: exported method BeaconState.Serialize should have comment or be unexported (golint)
    • Line 67: warning: exported method BeaconState.ByteLength should have comment or be unexported (golint)
    • Line 80: warning: exported method BeaconState.FixedLength should have comment or be unexported (golint)
    • Line 84: warning: exported method BeaconState.HashTreeRoot should have comment or be unexported (golint)
    • Line 123: warning: exported function BeaconStateType should have comment or be unexported (golint)
    • Line 157: warning: comment on exported function AsBeaconStateView should be of the form "AsBeaconStateView ..." (golint)
    • Line 165: warning: exported type BeaconStateView should have comment or be unexported (golint)
    • Line 171: warning: exported function NewBeaconStateView should have comment or be unexported (golint)
    • Line 175: warning: exported method BeaconStateView.GenesisTime should have comment or be unexported (golint)
    • Line 179: warning: exported method BeaconStateView.SetGenesisTime should have comment or be unexported (golint)
    • Line 183: warning: exported method BeaconStateView.GenesisValidatorsRoot should have comment or be unexported (golint)
    • Line 187: warning: exported method BeaconStateView.SetGenesisValidatorsRoot should have comment or be unexported (golint)
    • Line 192: warning: exported method BeaconStateView.Slot should have comment or be unexported (golint)
    • Line 196: warning: exported method BeaconStateView.SetSlot should have comment or be unexported (golint)
    • Line 200: warning: exported method BeaconStateView.Fork should have comment or be unexported (golint)
    • Line 208: warning: exported method BeaconStateView.SetFork should have comment or be unexported (golint)
    • Line 212: warning: exported method BeaconStateView.LatestBlockHeader should have comment or be unexported (golint)
    • Line 220: warning: exported method BeaconStateView.SetLatestBlockHeader should have comment or be unexported (golint)
    • Line 224: warning: exported method BeaconStateView.BlockRoots should have comment or be unexported (golint)
    • Line 228: warning: exported method BeaconStateView.StateRoots should have comment or be unexported (golint)
    • Line 232: warning: exported method BeaconStateView.HistoricalRoots should have comment or be unexported (golint)
    • Line 236: warning: exported method BeaconStateView.Eth1Data should have comment or be unexported (golint)
    • Line 244: warning: exported method BeaconStateView.SetEth1Data should have comment or be unexported (golint)
    • Line 248: warning: exported method BeaconStateView.Eth1DataVotes should have comment or be unexported (golint)
    • Line 252: warning: exported method BeaconStateView.DepositIndex should have comment or be unexported (golint)
    • Line 256: warning: exported method BeaconStateView.IncrementDepositIndex should have comment or be unexported (golint)
    • Line 264: warning: exported method BeaconStateView.Validators should have comment or be unexported (golint)
    • Line 268: warning: exported method BeaconStateView.Balances should have comment or be unexported (golint)
    • Line 272: warning: exported method BeaconStateView.SetBalances should have comment or be unexported (golint)
    • Line 276: warning: exported method BeaconStateView.AddValidator should have comment or be unexported (golint)
    • Line 307: warning: exported method BeaconStateView.RandaoMixes should have comment or be unexported (golint)
    • Line 311: warning: exported method BeaconStateView.SeedRandao should have comment or be unexported (golint)
    • Line 319: warning: exported method BeaconStateView.Slashings should have comment or be unexported (golint)
    • Line 323: warning: exported method BeaconStateView.PreviousEpochAttestations should have comment or be unexported (golint)
    • Line 327: warning: exported method BeaconStateView.CurrentEpochAttestations should have comment or be unexported (golint)
    • Line 331: warning: exported method BeaconStateView.JustificationBits should have comment or be unexported (golint)
    • Line 339: warning: exported method BeaconStateView.SetJustificationBits should have comment or be unexported (golint)
    • Line 347: warning: exported method BeaconStateView.PreviousJustifiedCheckpoint should have comment or be unexported (golint)
    • Line 355: warning: exported method BeaconStateView.SetPreviousJustifiedCheckpoint should have comment or be unexported (golint)
    • Line 363: warning: exported method BeaconStateView.CurrentJustifiedCheckpoint should have comment or be unexported (golint)
    • Line 371: warning: exported method BeaconStateView.SetCurrentJustifiedCheckpoint should have comment or be unexported (golint)
    • Line 379: warning: exported method BeaconStateView.FinalizedCheckpoint should have comment or be unexported (golint)
    • Line 387: warning: exported method BeaconStateView.SetFinalizedCheckpoint should have comment or be unexported (golint)
    • Line 395: warning: exported method BeaconStateView.ForkSettings should have comment or be unexported (golint)
    • Line 419: warning: exported method BeaconStateView.Copy should have comment or be unexported (golint)
    • zrnt/eth2/gossipval/attestation.go
    • Line 14: warning: exported const MAXIMUM_GOSSIP_CLOCK_DISPARITY should have comment or be unexported (golint)
    • Line 15: warning: exported const ATTESTATION_PROPAGATION_SLOT_RANGE should have comment or be unexported (golint)
    • Line 17: warning: exported type AttestationValBackend should have comment or be unexported (golint)
    • Line 29: warning: exported function ValidateAttestation should have comment or be unexported (golint)
    • zrnt/eth2/chain/cold.go
    • Line 12: warning: exported type ColdChain should have comment or be unexported (golint)
    • Line 19: warning: exported type FinalizedEntryView should have comment or be unexported (golint)
    • Line 24: warning: exported method FinalizedEntryView.Step should have comment or be unexported (golint)
    • Line 28: warning: exported method FinalizedEntryView.ParentRoot should have comment or be unexported (golint)
    • Line 32: warning: exported method FinalizedEntryView.BlockRoot should have comment or be unexported (golint)
    • Line 36: warning: exported method FinalizedEntryView.StateRoot should have comment or be unexported (golint)
    • Line 40: warning: exported method FinalizedEntryView.EpochsContext should have comment or be unexported (golint)
    • Line 44: warning: exported method FinalizedEntryView.State should have comment or be unexported (golint)
    • Line 48: warning: comment on exported type FinalizedChain should be of the form "FinalizedChain ..." (with optional leading article) (golint)
    • Line 82: warning: exported function NewFinalizedChain should have comment or be unexported (golint)
    • Line 95: warning: exported type ColdChainIter should have comment or be unexported (golint)
    • Line 102: warning: exported method ColdChainIter.Start should have comment or be unexported (golint)
    • Line 106: warning: exported method ColdChainIter.End should have comment or be unexported (golint)
    • Line 110: warning: exported method ColdChainIter.Entry should have comment or be unexported (golint)
    • Line 126: warning: exported method FinalizedChain.Iter should have comment or be unexported (golint)
    • Line 136: warning: comment on exported method FinalizedChain.ColdStart should be of the form "ColdStart ..." (golint)
    • Line 150: warning: comment on exported method FinalizedChain.ColdEnd should be of the form "ColdEnd ..." (golint)
    • Line 163: warning: exported method FinalizedChain.ByStateRoot should have comment or be unexported (golint)
    • Line 173: warning: exported method FinalizedChain.ByBlock should have comment or be unexported (golint)
    • Line 183: warning: exported method FinalizedChain.ByBlockSlot should have comment or be unexported (golint)
    • Line 220: warning: exported method FinalizedChain.Closest should have comment or be unexported (golint)
    • Line 247: warning: exported method FinalizedChain.Search should have comment or be unexported (golint)
    • Line 286: warning: exported method FinalizedChain.InSubtree should have comment or be unexported (golint)
    • Line 301: warning: exported method FinalizedChain.ByCanonStep should have comment or be unexported (golint)
    • Line 320: warning: exported method FinalizedChain.OnFinalizedEntry should have comment or be unexported (golint)
    • zrnt/eth2/beacon/phase0/block.go
    • Line 8: warning: should not use dot imports (golint)
    • Line 11: warning: exported type SignedBeaconBlock should have comment or be unexported (golint)
    • Line 18: warning: exported method SignedBeaconBlock.Envelope should have comment or be unexported (golint)
    • Line 31: warning: exported method SignedBeaconBlock.Deserialize should have comment or be unexported (golint)
    • Line 35: warning: exported method SignedBeaconBlock.Serialize should have comment or be unexported (golint)
    • Line 39: warning: exported method SignedBeaconBlock.ByteLength should have comment or be unexported (golint)
    • Line 43: warning: exported method SignedBeaconBlock.FixedLength should have comment or be unexported (golint)
    • Line 43: warning: receiver name a should be consistent with previous receiver name b for SignedBeaconBlock (golint)
    • Line 47: warning: exported method SignedBeaconBlock.HashTreeRoot should have comment or be unexported (golint)
    • Line 51: warning: exported method SignedBeaconBlock.SignedHeader should have comment or be unexported (golint)
    • Line 51: warning: receiver name block should be consistent with previous receiver name b for SignedBeaconBlock (golint)
    • Line 58: warning: exported type BeaconBlock should have comment or be unexported (golint)
    • Line 66: warning: exported method BeaconBlock.Deserialize should have comment or be unexported (golint)
    • Line 70: warning: exported method BeaconBlock.Serialize should have comment or be unexported (golint)
    • Line 74: warning: exported method BeaconBlock.ByteLength should have comment or be unexported (golint)
    • Line 78: warning: exported method BeaconBlock.FixedLength should have comment or be unexported (golint)
    • Line 78: warning: receiver name a should be consistent with previous receiver name b for BeaconBlock (golint)
    • Line 82: warning: exported method BeaconBlock.HashTreeRoot should have comment or be unexported (golint)
    • Line 86: warning: exported function BeaconBlockType should have comment or be unexported (golint)
    • Line 96: warning: exported function SignedBeaconBlockType should have comment or be unexported (golint)
    • Line 103: warning: exported method BeaconBlock.Header should have comment or be unexported (golint)
    • Line 103: warning: receiver name block should be consistent with previous receiver name b for BeaconBlock (golint)
    • Line 113: warning: exported type BeaconBlockBody should have comment or be unexported (golint)
    • Line 125: warning: exported method BeaconBlockBody.Deserialize should have comment or be unexported (golint)
    • Line 134: warning: exported method BeaconBlockBody.Serialize should have comment or be unexported (golint)
    • Line 143: warning: exported method BeaconBlockBody.ByteLength should have comment or be unexported (golint)
    • Line 152: warning: exported method BeaconBlockBody.FixedLength should have comment or be unexported (golint)
    • Line 152: warning: receiver name a should be consistent with previous receiver name b for BeaconBlockBody (golint)
    • Line 156: warning: exported method BeaconBlockBody.HashTreeRoot should have comment or be unexported (golint)
    • Line 165: warning: exported method BeaconBlockBody.CheckLimits should have comment or be unexported (golint)
    • Line 184: warning: exported function BeaconBlockBodyType should have comment or be unexported (golint)
    • zrnt/eth2/beacon/common/sync_committee.go
    • Line 11: warning: should not use dot imports (golint)
    • Line 14: warning: exported function SyncCommitteePubkeysType should have comment or be unexported (golint)
    • Line 18: warning: exported type SyncCommitteePubkeys should have comment or be unexported (golint)
    • Line 20: warning: exported method SyncCommitteePubkeys.Deserialize should have comment or be unexported (golint)
    • Line 27: warning: exported method SyncCommitteePubkeys.Serialize should have comment or be unexported (golint)
    • Line 27: warning: receiver name a should be consistent with previous receiver name li for SyncCommitteePubkeys (golint)
    • Line 33: warning: exported method SyncCommitteePubkeys.ByteLength should have comment or be unexported (golint)
    • Line 33: warning: receiver name a should be consistent with previous receiver name li for SyncCommitteePubkeys (golint)
    • Line 37: warning: exported method SyncCommitteePubkeys.FixedLength should have comment or be unexported (golint)
    • Line 37: warning: receiver name a should be consistent with previous receiver name li for SyncCommitteePubkeys (golint)
    • Line 41: warning: exported method SyncCommitteePubkeys.HashTreeRoot should have comment or be unexported (golint)
    • Line 47: warning: exported type SyncCommitteePubkeysView should have comment or be unexported (golint)
    • Line 51: warning: exported method SyncCommitteePubkeysView.Flatten should have comment or be unexported (golint)
    • Line 71: warning: exported function AsSyncCommitteePubkeys should have comment or be unexported (golint)
    • Line 76: warning: exported function SyncCommitteeType should have comment or be unexported (golint)
    • Line 83: warning: exported type SyncCommittee should have comment or be unexported (golint)
    • Line 88: warning: exported method SyncCommittee.Deserialize should have comment or be unexported (golint)
    • Line 92: warning: exported method SyncCommittee.Serialize should have comment or be unexported (golint)
    • Line 96: warning: exported method SyncCommittee.ByteLength should have comment or be unexported (golint)
    • Line 100: warning: exported method SyncCommittee.FixedLength should have comment or be unexported (golint)
    • Line 104: warning: exported method SyncCommittee.HashTreeRoot should have comment or be unexported (golint)
    • Line 104: warning: receiver name p should be consistent with previous receiver name a for SyncCommittee (golint)
    • Line 108: warning: exported method SyncCommittee.View should have comment or be unexported (golint)
    • Line 108: warning: receiver name p should be consistent with previous receiver name a for SyncCommittee (golint)
    • Line 120: warning: exported type SyncCommitteeView should have comment or be unexported (golint)
    • Line 124: warning: exported method SyncCommitteeView.Pubkeys should have comment or be unexported (golint)
    • Line 128: warning: exported method SyncCommitteeView.AggregatePubkey should have comment or be unexported (golint)
    • Line 132: warning: exported function AsSyncCommittee should have comment or be unexported (golint)
    • Line 137: warning: exported function ComputeNextSyncCommittee should have comment or be unexported (golint)
    • Line 164: warning: comment on exported function ComputeSyncCommitteeIndices should be of the form "ComputeSyncCommitteeIndices ..." (golint)
    • zrnt/eth2/beacon/common/validator_indices.go
    • Line 7: warning: should not use dot imports (golint)
    • Line 11: warning: exported const ValidatorIndexType should have comment or be unexported (golint)
    • Line 13: warning: comment on exported type ValidatorIndex should be of the form "ValidatorIndex ..." (with optional leading article) (golint)
    • Line 16: warning: exported function AsValidatorIndex should have comment or be unexported (golint)
    • Line 21: warning: exported method ValidatorIndex.Deserialize should have comment or be unexported (golint)
    • Line 25: warning: exported method ValidatorIndex.Serialize should have comment or be unexported (golint)
    • Line 29: warning: exported method ValidatorIndex.ByteLength should have comment or be unexported (golint)
    • Line 33: warning: exported method ValidatorIndex.FixedLength should have comment or be unexported (golint)
    • Line 37: warning: exported method ValidatorIndex.HashTreeRoot should have comment or be unexported (golint)
    • Line 41: warning: exported method ValidatorIndex.MarshalJSON should have comment or be unexported (golint)
    • Line 41: warning: receiver name e should be consistent with previous receiver name i for ValidatorIndex (golint)
    • Line 45: warning: exported method ValidatorIndex.UnmarshalJSON should have comment or be unexported (golint)
    • Line 45: warning: receiver name e should be consistent with previous receiver name i for ValidatorIndex (golint)
    • Line 49: warning: receiver name e should be consistent with previous receiver name i for ValidatorIndex (golint)
    • Line 53: warning: comment on exported const ValidatorIndexMarker should be of the form "ValidatorIndexMarker ..." (golint)
    • Line 57: warning: comment on exported type ValidatorSet should be of the form "ValidatorSet ..." (with optional leading article) (golint)
    • Line 72: warning: comment on exported method ValidatorSet.Dedup should be of the form "Dedup ..." (golint)
    • Line 90: warning: comment on exported method ValidatorSet.MergeDisjoint should be of the form "MergeDisjoint ..." (golint)
    • Line 135: warning: comment on exported method ValidatorSet.Intersects should be of the form "Intersects ..." (golint)
    • Line 180: warning: comment on exported method ValidatorSet.ZigZagJoin should be of the form "ZigZagJoin ..." (golint)
    • zrnt/eth2/beacon/phase0/pending_attestation.go
    • Line 7: warning: should not use dot imports (golint)
    • Line 10: warning: exported type PendingAttestation should have comment or be unexported (golint)
    • Line 17: warning: exported method PendingAttestation.Deserialize should have comment or be unexported (golint)
    • Line 21: warning: exported method PendingAttestation.Serialize should have comment or be unexported (golint)
    • Line 25: warning: exported method PendingAttestation.ByteLength should have comment or be unexported (golint)
    • Line 29: warning: exported method PendingAttestation.FixedLength should have comment or be unexported (golint)
    • Line 33: warning: exported method PendingAttestation.HashTreeRoot should have comment or be unexported (golint)
    • Line 37: warning: exported method PendingAttestation.View should have comment or be unexported (golint)
    • Line 37: warning: receiver name att should be consistent with previous receiver name a for PendingAttestation (golint)
    • Line 54: warning: exported type AttestationData should have comment or be unexported (golint)
    • Line 66: warning: exported method AttestationData.Deserialize should have comment or be unexported (golint)
    • Line 70: warning: exported method AttestationData.Serialize should have comment or be unexported (golint)
    • Line 74: warning: exported method AttestationData.ByteLength should have comment or be unexported (golint)
    • Line 78: warning: exported method AttestationData.FixedLength should have comment or be unexported (golint)
    • Line 82: warning: exported method AttestationData.HashTreeRoot should have comment or be unexported (golint)
    • Line 82: warning: receiver name p should be consistent with previous receiver name a for AttestationData (golint)
    • Line 86: warning: exported method AttestationData.View should have comment or be unexported (golint)
    • Line 86: warning: receiver name data should be consistent with previous receiver name a for AttestationData (golint)
    • Line 98: warning: exported var AttestationDataType should have comment or be unexported (golint)
    • Line 108: warning: exported type AttestationDataView should have comment or be unexported (golint)
    • Line 110: warning: exported method AttestationDataView.Raw should have comment or be unexported (golint)
    • Line 137: warning: exported function AsAttestationData should have comment or be unexported (golint)
    • Line 142: warning: exported function PendingAttestationType should have comment or be unexported (golint)
    • Line 151: warning: exported type PendingAttestationView should have comment or be unexported (golint)
    • Line 153: warning: exported method PendingAttestationView.Raw should have comment or be unexported (golint)
    • Line 179: warning: exported function AsPendingAttestation should have comment or be unexported (golint)
    • Line 184: warning: exported type PendingAttestations should have comment or be unexported (golint)
    • Line 186: warning: exported method PendingAttestations.Deserialize should have comment or be unexported (golint)
    • Line 194: warning: exported method PendingAttestations.Serialize should have comment or be unexported (golint)
    • Line 200: warning: exported method PendingAttestations.ByteLength should have comment or be unexported (golint)
    • Line 200: warning: receiver name p should be consistent with previous receiver name a for PendingAttestations (golint)
    • Line 207: warning: exported method PendingAttestations.FixedLength should have comment or be unexported (golint)
    • Line 211: warning: exported method PendingAttestations.HashTreeRoot should have comment or be unexported (golint)
    • Line 211: warning: receiver name li should be consistent with previous receiver name a for PendingAttestations (golint)
    • Line 221: warning: exported function PendingAttestationsType should have comment or be unexported (golint)
    • Line 225: warning: exported type PendingAttestationsView should have comment or be unexported (golint)
    • Line 227: warning: exported function AsPendingAttestations should have comment or be unexported (golint)
    • zrnt/tests/spec/test_util/bls_setting.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 10: warning: exported const BlsOptional should have comment (or a comment on this block) or be unexported (golint)
    • Line 15: warning: exported type BLSMeta should have comment or be unexported (golint)
    • Line 19: warning: exported function HandleBLS should have comment or be unexported (golint)
    • zrnt/eth2/beacon/common/execution.go
    • Line 8: warning: should not use dot imports (golint)
    • Line 11: warning: exported type Hash32 should have comment or be unexported (golint)
    • Line 13: warning: exported const Hash32Type should have comment or be unexported (golint)
    • Line 15: warning: exported var ExecutionPayloadHeaderType should have comment or be unexported (golint)
    • Line 29: warning: exported type ExecutionPayloadHeaderView should have comment or be unexported (golint)
    • Line 33: warning: exported method ExecutionPayloadHeaderView.Raw should have comment or be unexported (golint)
    • Line 74: warning: exported method ExecutionPayloadHeaderView.BlockHash should have comment or be unexported (golint)
    • Line 78: warning: exported method ExecutionPayloadHeaderView.ParentHash should have comment or be unexported (golint)
    • Line 82: warning: exported method ExecutionPayloadHeaderView.Coinbase should have comment or be unexported (golint)
    • Line 86: warning: exported method ExecutionPayloadHeaderView.StateRoot should have comment or be unexported (golint)
    • Line 90: warning: exported method ExecutionPayloadHeaderView.Number should have comment or be unexported (golint)
    • Line 94: warning: exported method ExecutionPayloadHeaderView.GasLimit should have comment or be unexported (golint)
    • Line 98: warning: exported method ExecutionPayloadHeaderView.GasUsed should have comment or be unexported (golint)
    • Line 102: warning: exported method ExecutionPayloadHeaderView.Timestamp should have comment or be unexported (golint)
    • Line 106: warning: exported method ExecutionPayloadHeaderView.ReceiptRoot should have comment or be unexported (golint)
    • Line 110: warning: exported method ExecutionPayloadHeaderView.LogsBloom should have comment or be unexported (golint)
    • Line 118: warning: exported method ExecutionPayloadHeaderView.TransactionsRoot should have comment or be unexported (golint)
    • Line 122: warning: exported function AsExecutionPayloadHeader should have comment or be unexported (golint)
    • Line 127: warning: exported type ExecutionPayloadHeader should have comment or be unexported (golint)
    • Line 141: warning: exported method ExecutionPayloadHeader.View should have comment or be unexported (golint)
    • Line 154: warning: exported method ExecutionPayloadHeader.Deserialize should have comment or be unexported (golint)
    • Line 160: warning: exported method ExecutionPayloadHeader.Serialize should have comment or be unexported (golint)
    • Line 166: warning: exported method ExecutionPayloadHeader.ByteLength should have comment or be unexported (golint)
    • Line 170: warning: exported method ExecutionPayloadHeader.FixedLength should have comment or be unexported (golint)
    • Line 170: warning: receiver name b should be consistent with previous receiver name s for ExecutionPayloadHeader (golint)
    • Line 174: warning: exported method ExecutionPayloadHeader.HashTreeRoot should have comment or be unexported (golint)
    • Line 180: warning: exported var ExecutionPayloadType should have comment or be unexported (golint)
    • Line 194: warning: exported type ExecutionPayloadView should have comment or be unexported (golint)
    • Line 198: warning: exported function AsExecutionPayload should have comment or be unexported (golint)
    • Line 203: warning: exported type ExecutionPayload should have comment or be unexported (golint)
    • Line 217: warning: exported method ExecutionPayload.Deserialize should have comment or be unexported (golint)
    • Line 223: warning: exported method ExecutionPayload.Serialize should have comment or be unexported (golint)
    • Line 229: warning: exported method ExecutionPayload.ByteLength should have comment or be unexported (golint)
    • Line 235: warning: exported method ExecutionPayload.FixedLength should have comment or be unexported (golint)
    • Line 235: warning: receiver name a should be consistent with previous receiver name b for ExecutionPayload (golint)
    • Line 240: warning: exported method ExecutionPayload.HashTreeRoot should have comment or be unexported (golint)
    • Line 246: warning: exported method ExecutionPayload.Header should have comment or be unexported (golint)
    • Line 246: warning: receiver name ep should be consistent with previous receiver name b for ExecutionPayload (golint)
    • Line 262: warning: exported type ExecutionEngine should have comment or be unexported (golint)
    • zrnt/eth2/beacon/phase0/attestation.go
    • Line 11: warning: should not use dot imports (golint)
    • Line 15: warning: exported function BlockAttestationsType should have comment or be unexported (golint)
    • Line 19: warning: exported function AttestationType should have comment or be unexported (golint)
    • Line 27: warning: exported type Attestation should have comment or be unexported (golint)
    • Line 33: warning: exported method Attestation.Deserialize should have comment or be unexported (golint)
    • Line 37: warning: exported method Attestation.Serialize should have comment or be unexported (golint)
    • Line 41: warning: exported method Attestation.ByteLength should have comment or be unexported (golint)
    • Line 45: warning: exported method Attestation.FixedLength should have comment or be unexported (golint)
    • Line 49: warning: exported method Attestation.HashTreeRoot should have comment or be unexported (golint)
    • Line 53: warning: exported type Attestations should have comment or be unexported (golint)
    • Line 55: warning: exported method Attestations.Deserialize should have comment or be unexported (golint)
    • Line 63: warning: exported method Attestations.Serialize should have comment or be unexported (golint)
    • Line 69: warning: exported method Attestations.ByteLength should have comment or be unexported (golint)
    • Line 76: warning: exported method Attestations.FixedLength should have comment or be unexported (golint)
    • Line 80: warning: exported method Attestations.HashTreeRoot should have comment or be unexported (golint)
    • Line 80: warning: receiver name li should be consistent with previous receiver name a for Attestations (golint)
    • Line 90: warning: exported function ProcessAttestations should have comment or be unexported (golint)
    • Line 102: warning: exported function ProcessAttestation should have comment or be unexported (golint)
    • Line 202: warning: comment on exported method Attestation.ConvertToIndexed should be of the form "ConvertToIndexed ..." (golint)
    • Line 203: warning: receiver name attestation should be consistent with previous receiver name a for Attestation (golint)
    • Line 226: warning: exported function ComputeSubnetForAttestation should have comment or be unexported (golint)
    • zrnt/eth2/beacon/common/deposit.go
    • Line 7: warning: should not use dot imports (golint)
    • Line 10: warning: exported var DepositDataType should have comment or be unexported (golint)
    • Line 17: warning: exported type DepositData should have comment or be unexported (golint)
    • Line 25: warning: exported method DepositData.ToMessage should have comment or be unexported (golint)
    • Line 33: warning: exported method DepositData.Deserialize should have comment or be unexported (golint)
    • Line 37: warning: exported method DepositData.Serialize should have comment or be unexported (golint)
    • Line 41: warning: exported method DepositData.ByteLength should have comment or be unexported (golint)
    • Line 41: warning: receiver name a should be consistent with previous receiver name d for DepositData (golint)
    • Line 45: warning: exported method DepositData.FixedLength should have comment or be unexported (golint)
    • Line 45: warning: receiver name a should be consistent with previous receiver name d for DepositData (golint)
    • Line 49: warning: comment on exported method DepositData.HashTreeRoot should be of the form "HashTreeRoot ..." (golint)
    • Line 54: warning: comment on exported method DepositData.MessageRoot should be of the form "MessageRoot ..." (golint)
    • Line 59: warning: exported type DepositMessage should have comment or be unexported (golint)
    • Line 65: warning: exported method DepositMessage.HashTreeRoot should have comment or be unexported (golint)
    • Line 69: warning: exported var DepositProofType should have comment or be unexported (golint)
    • Line 74: warning: exported method DepositProof.Deserialize should have comment or be unexported (golint)
    • Line 80: warning: exported method DepositProof.Serialize should have comment or be unexported (golint)
    • Line 86: warning: exported method DepositProof.ByteLength should have comment or be unexported (golint)
    • Line 86: warning: receiver name a should be consistent with previous receiver name d for DepositProof (golint)
    • Line 90: warning: exported method DepositProof.FixedLength should have comment or be unexported (golint)
    • Line 90: warning: receiver name a should be consistent with previous receiver name d for DepositProof (golint)
    • Line 94: warning: exported method DepositProof.HashTreeRoot should have comment or be unexported (golint)
    • Line 94: warning: receiver name b should be consistent with previous receiver name d for DepositProof (golint)
    • Line 100: warning: exported type Deposit should have comment or be unexported (golint)
    • Line 105: warning: exported method Deposit.Deserialize should have comment or be unexported (golint)
    • Line 109: warning: exported method Deposit.Serialize should have comment or be unexported (golint)
    • Line 113: warning: exported method Deposit.ByteLength should have comment or be unexported (golint)
    • Line 113: warning: receiver name a should be consistent with previous receiver name d for Deposit (golint)
    • Line 117: warning: exported method Deposit.FixedLength should have comment or be unexported (golint)
    • Line 117: warning: receiver name a should be consistent with previous receiver name d for Deposit (golint)
    • Line 121: warning: exported method Deposit.HashTreeRoot should have comment or be unexported (golint)
    • Line 121: warning: receiver name b should be consistent with previous receiver name d for Deposit (golint)
    • Line 125: warning: exported var DepositType should have comment or be unexported (golint)
    • zrnt/eth2/beacon/common/epochs_context.go
    • Line 8: warning: exported type IndexedSyncCommittee should have comment or be unexported (golint)
    • Line 13: warning: exported type EpochsContext should have comment or be unexported (golint)
    • Line 66: warning: exported method EpochsContext.LoadShuffling should have comment or be unexported (golint)
    • Line 123: warning: exported method EpochsContext.LoadProposers should have comment or be unexported (golint)
    • Line 138: warning: exported method EpochsContext.LoadSyncCommittees should have comment or be unexported (golint)
    • Line 158: warning: exported method EpochsContext.Clone should have comment or be unexported (golint)
    • Line 164: warning: exported method EpochsContext.RotateEpochs should have comment or be unexported (golint)
    • Line 264: warning: comment on exported method EpochsContext.GetBeaconCommittee should be of the form "GetBeaconCommittee ..." (golint)
    • Line 281: warning: exported method EpochsContext.GetCommitteeCountPerSlot should have comment or be unexported (golint)
    • Line 286: warning: exported method EpochsContext.GetBeaconProposer should have comment or be unexported (golint)
    • zrnt/eth2/beacon/phase0/aggregate_and_proof.go
    • Line 13: warning: comment on exported function IsAggregator should be of the form "IsAggregator ..." (golint)
    • Line 24: warning: exported function AggregateSelectionProofSigningRoot should have comment or be unexported (golint)
    • Line 32: warning: exported function ValidateAggregateSelectionProof should have comment or be unexported (golint)
    • Line 80: warning: exported type SignedAggregateAndProof should have comment or be unexported (golint)
    • Line 85: warning: exported method SignedAggregateAndProof.Deserialize should have comment or be unexported (golint)
    • Line 89: warning: exported method SignedAggregateAndProof.Serialize should have comment or be unexported (golint)
    • Line 93: warning: exported method SignedAggregateAndProof.ByteLength should have comment or be unexported (golint)
    • Line 97: warning: exported method SignedAggregateAndProof.FixedLength should have comment or be unexported (golint)
    • Line 101: warning: exported method SignedAggregateAndProof.HashTreeRoot should have comment or be unexported (golint)
    • Line 105: warning: exported type AggregateAndProof should have comment or be unexported (golint)
    • Line 111: warning: exported method AggregateAndProof.Deserialize should have comment or be unexported (golint)
    • Line 115: warning: exported method AggregateAndProof.Serialize should have comment or be unexported (golint)
    • Line 119: warning: exported method AggregateAndProof.ByteLength should have comment or be unexported (golint)
    • Line 123: warning: exported method AggregateAndProof.FixedLength should have comment or be unexported (golint)
    • Line 127: warning: exported method AggregateAndProof.HashTreeRoot should have comment or be unexported (golint)
    • zrnt/eth2/beacon/phase0/proposer_slashing.go
    • Line 13: warning: should not use dot imports (golint)
    • Line 16: warning: exported type ProposerSlashing should have comment or be unexported (golint)
    • Line 21: warning: exported method ProposerSlashing.Deserialize should have comment or be unexported (golint)
    • Line 25: warning: exported method ProposerSlashing.Serialize should have comment or be unexported (golint)
    • Line 29: warning: exported method ProposerSlashing.ByteLength should have comment or be unexported (golint)
    • Line 33: warning: exported method ProposerSlashing.FixedLength should have comment or be unexported (golint)
    • Line 37: warning: exported method ProposerSlashing.HashTreeRoot should have comment or be unexported (golint)
    • Line 37: warning: receiver name p should be consistent with previous receiver name a for ProposerSlashing (golint)
    • Line 41: warning: exported var ProposerSlashingType should have comment or be unexported (golint)
    • Line 46: warning: exported function BlockProposerSlashingsType should have comment or be unexported (golint)
    • Line 50: warning: exported type ProposerSlashings should have comment or be unexported (golint)
    • Line 52: warning: exported method ProposerSlashings.Deserialize should have comment or be unexported (golint)
    • Line 60: warning: exported method ProposerSlashings.Serialize should have comment or be unexported (golint)
    • Line 66: warning: exported method ProposerSlashings.ByteLength should have comment or be unexported (golint)
    • Line 70: warning: exported method ProposerSlashings.FixedLength should have comment or be unexported (golint)
    • Line 74: warning: exported method ProposerSlashings.HashTreeRoot should have comment or be unexported (golint)
    • Line 74: warning: receiver name li should be consistent with previous receiver name a for ProposerSlashings (golint)
    • Line 84: warning: exported function ProcessProposerSlashings should have comment or be unexported (golint)
    • Line 96: warning: exported function ValidateProposerSlashingNoSignature should have comment or be unexported (golint)
    • Line 112: warning: exported function ValidateProposerSlashing should have comment or be unexported (golint)
    • Line 166: warning: exported function ProcessProposerSlashing should have comment or be unexported (golint)
    • zrnt/tests/spec/test_runners/epoch_processing/epoch_test.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 103: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 114: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 179: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • zrnt/eth2/beacon/common/history.go
    • Line 5: warning: comment on exported function GetBlockRootAtSlot should be of the form "GetBlockRootAtSlot ..." (golint)
    • Line 14: warning: comment on exported function GetBlockRoot should be of the form "GetBlockRoot ..." (golint)
    • Line 27: warning: exported function SetRecentRoots should have comment or be unexported (golint)
    • Line 45: warning: exported function UpdateHistoricalRoots should have comment or be unexported (golint)
    • zrnt/eth2/beacon/common/proposers.go
    • Line 10: warning: exported type ProposersEpoch should have comment or be unexported (golint)
    • Line 17: warning: exported method ProposersEpoch.GetBeaconProposer should have comment or be unexported (golint)
    • Line 25: warning: exported function ComputeProposers should have comment or be unexported (golint)
    • Line 62: warning: exported function ComputeProposerIndex should have comment or be unexported (golint)
    • zrnt/eth2/beacon/common/randao.go
    • Line 5: warning: should not use dot imports (golint)
    • Line 8: warning: comment on exported function PrepareRandao should be of the form "PrepareRandao ..." (golint)
    • Line 17: warning: exported function GetSeed should have comment or be unexported (golint)
    • zrnt/eth2/beacon/phase0/registry.go
    • Line 10: warning: should not use dot imports (golint)
    • Line 13: warning: exported type RegistryIndices should have comment or be unexported (golint)
    • Line 15: warning: exported method RegistryIndices.Deserialize should have comment or be unexported (golint)
    • Line 23: warning: exported method RegistryIndices.Serialize should have comment or be unexported (golint)
    • Line 23: warning: receiver name a should be consistent with previous receiver name p for RegistryIndices (golint)
    • Line 29: warning: exported method RegistryIndices.ByteLength should have comment or be unexported (golint)
    • Line 29: warning: receiver name a should be consistent with previous receiver name p for RegistryIndices (golint)
    • Line 33: warning: exported method RegistryIndices.FixedLength should have comment or be unexported (golint)
    • Line 37: warning: exported method RegistryIndices.HashTreeRoot should have comment or be unexported (golint)
    • Line 43: warning: exported type ValidatorRegistry should have comment or be unexported (golint)
    • Line 45: warning: exported method ValidatorRegistry.Deserialize should have comment or be unexported (golint)
    • Line 53: warning: exported method ValidatorRegistry.Serialize should have comment or be unexported (golint)
    • Line 59: warning: exported method ValidatorRegistry.ByteLength should have comment or be unexported (golint)
    • Line 63: warning: exported method ValidatorRegistry.FixedLength should have comment or be unexported (golint)
    • Line 67: warning: exported method ValidatorRegistry.HashTreeRoot should have comment or be unexported (golint)
    • Line 67: warning: receiver name li should be consistent with previous receiver name a for ValidatorRegistry (golint)
    • Line 77: warning: exported function ValidatorsRegistryType should have comment or be unexported (golint)
    • Line 81: warning: exported type ValidatorsRegistryView should have comment or be unexported (golint)
    • Line 83: warning: exported function AsValidatorsRegistry should have comment or be unexported (golint)
    • Line 88: warning: exported method ValidatorsRegistryView.ValidatorCount should have comment or be unexported (golint)
    • Line 92: warning: exported method ValidatorsRegistryView.Validator should have comment or be unexported (golint)
    • Line 96: warning: exported method ValidatorsRegistryView.Iter should have comment or be unexported (golint)
    • Line 108: warning: exported method ValidatorsRegistryView.IsValidIndex should have comment or be unexported (golint)
    • Line 116: warning: exported type RegistryProcessData should have comment or be unexported (golint)
    • Line 129: warning: exported function ComputeRegistryProcessData should have comment or be unexported (golint)
    • Line 187: warning: exported function ProcessEpochRegistryUpdates should have comment or be unexported (golint)
    • zrnt/eth2/forkchoice/iface.go
    • Line 8: warning: exported type Root should have comment or be unexported (golint)
    • Line 9: warning: exported type Epoch should have comment or be unexported (golint)
    • Line 10: warning: exported type Slot should have comment or be unexported (golint)
    • Line 11: warning: exported type ValidatorIndex should have comment or be unexported (golint)
    • Line 12: warning: exported type Gwei should have comment or be unexported (golint)
    • Line 13: warning: exported type Checkpoint should have comment or be unexported (golint)
    • Line 14: warning: exported type NodeRef should have comment or be unexported (golint)
    • Line 15: warning: exported type ExtendedNodeRef should have comment or be unexported (golint)
    • Line 16: warning: exported type SignedGwei should have comment or be unexported (golint)
    • Line 17: warning: exported type NodeIndex should have comment or be unexported (golint)
    • Line 19: warning: exported type ForkchoiceView should have comment or be unexported (golint)
    • Line 29: warning: exported type ForkchoiceNodeInput should have comment or be unexported (golint)
    • Line 34: warning: exported type ForkchoiceGraph should have comment or be unexported (golint)
    • Line 42: warning: exported type VoteInput should have comment or be unexported (golint)
    • Line 49: warning: exported type VoteStore should have comment or be unexported (golint)
    • Line 55: warning: exported type Forkchoice should have comment or be unexported (golint)
    • zrnt/eth2/beacon/common/bls.go
    • Line 11: warning: should not use dot imports (golint)
    • Line 14: warning: exported type CachedPubkey should have comment or be unexported (golint)
    • Line 16: warning: exported type BLSPubkey should have comment or be unexported (golint)
    • Line 18: warning: exported function ViewPubkey should have comment or be unexported (golint)
    • Line 23: warning: exported var BLSPubkeyType should have comment or be unexported (golint)
    • Line 25: warning: exported type BLSSignature should have comment or be unexported (golint)
    • Line 27: warning: exported function ViewSignature should have comment or be unexported (golint)
    • Line 32: warning: exported var BLSSignatureType should have comment or be unexported (golint)
    • Line 34: warning: comment on exported type BLSDomainType should be of the form "BLSDomainType ..." (with optional leading article) (golint)
    • Line 37: warning: exported method BLSDomainType.MarshalText should have comment or be unexported (golint)
    • Line 45: warning: exported method BLSDomainType.UnmarshalText should have comment or be unexported (golint)
    • Line 59: warning: comment on exported type BLSDomainFn should be of the form "BLSDomainFn ..." (with optional leading article) (golint)
    • Line 63: warning: comment on exported type BLSDomain should be of the form "BLSDomain ..." (with optional leading article) (golint)
    • Line 66: warning: exported method BLSDomain.Deserialize should have comment or be unexported (golint)
    • Line 71: warning: exported method BLSDomain.FixedLength should have comment or be unexported (golint)
    • Line 71: warning: receiver name a should be consistent with previous receiver name dom for BLSDomain (golint)
    • Line 75: warning: exported method BLSDomain.HashTreeRoot should have comment or be unexported (golint)
    • Line 83: warning: exported function ComputeDomain should have comment or be unexported (golint)
    • Line 90: warning: exported type SigningData should have comment or be unexported (golint)
    • Line 95: warning: exported method SigningData.HashTreeRoot should have comment or be unexported (golint)
    • Line 99: warning: exported function ComputeSigningRoot should have comment or be unexported (golint)
    • Line 109: warning: exported type BLSPubkeyView should have comment or be unexported (golint)
    • Line 113: warning: exported function AsBLSPubkey should have comment or be unexported (golint)
    • Line 131: warning: exported type BLSSignatureView should have comment or be unexported (golint)
    • Line 135: warning: exported function AsBLSSignature should have comment or be unexported (golint)
    • zrnt/eth2/beacon/common/eth1.go
    • Line 9: warning: should not use dot imports (golint)
    • Line 12: warning: exported const Eth1AddressType should have comment or be unexported (golint)
    • Line 14: warning: exported function AsEth1Address should have comment or be unexported (golint)
    • Line 24: warning: exported type Eth1Address should have comment or be unexported (golint)
    • Line 26: warning: exported method Eth1Address.View should have comment or be unexported (golint)
    • Line 31: warning: exported method Eth1Address.Deserialize should have comment or be unexported (golint)
    • Line 39: warning: exported method Eth1Address.Serialize should have comment or be unexported (golint)
    • Line 43: warning: exported method Eth1Address.ByteLength should have comment or be unexported (golint)
    • Line 47: warning: exported method Eth1Address.FixedLength should have comment or be unexported (golint)
    • Line 51: warning: exported method Eth1Address.HashTreeRoot should have comment or be unexported (golint)
    • Line 57: warning: exported method Eth1Address.MarshalText should have comment or be unexported (golint)
    • Line 65: warning: exported method Eth1Address.UnmarshalText should have comment or be unexported (golint)
    • Line 72: warning: exported type Eth1Data should have comment or be unexported (golint)
    • Line 79: warning: exported method Eth1Data.Deserialize should have comment or be unexported (golint)
    • Line 83: warning: exported method Eth1Data.Serialize should have comment or be unexported (golint)
    • Line 83: warning: receiver name a should be consistent with previous receiver name b for Eth1Data (golint)
    • Line 87: warning: exported method Eth1Data.ByteLength should have comment or be unexported (golint)
    • Line 87: warning: receiver name a should be consistent with previous receiver name b for Eth1Data (golint)
    • Line 91: warning: exported method Eth1Data.FixedLength should have comment or be unexported (golint)
    • Line 91: warning: receiver name a should be consistent with previous receiver name b for Eth1Data (golint)
    • Line 95: warning: exported method Eth1Data.HashTreeRoot should have comment or be unexported (golint)
    • Line 99: warning: exported method Eth1Data.View should have comment or be unexported (golint)
    • Line 99: warning: receiver name dat should be consistent with previous receiver name b for Eth1Data (golint)
    • Line 106: warning: exported var Eth1DataType should have comment or be unexported (golint)
    • Line 112: warning: exported type Eth1DataView should have comment or be unexported (golint)
    • Line 114: warning: exported function AsEth1Data should have comment or be unexported (golint)
    • Line 119: warning: exported method Eth1DataView.DepositRoot should have comment or be unexported (golint)
    • Line 123: warning: exported method Eth1DataView.SetDepositRoot should have comment or be unexported (golint)
    • Line 128: warning: exported method Eth1DataView.DepositCount should have comment or be unexported (golint)
    • Line 132: warning: exported method Eth1DataView.BlockHash should have comment or be unexported (golint)
    • Line 136: warning: exported method Eth1DataView.Raw should have comment or be unexported (golint)
    • zrnt/eth2/beacon/phase0/kickstart.go
    • Line 9: warning: exported type KickstartValidatorData should have comment or be unexported (golint)
    • Line 15: warning: comment on exported function KickStartState should be of the form "KickStartState ..." (golint)
    • Line 40: warning: comment on exported function KickStartStateWithSignatures should be of the form "KickStartStateWithSignatures ..." (golint)
    • zrnt/eth2/pool/attester_slashings.go
    • Line 10: warning: exported type VersionedRoot should have comment or be unexported (golint)
    • Line 15: warning: exported type AttesterSlashingPool should have comment or be unexported (golint)
    • Line 21: warning: exported function NewAttesterSlashingPool should have comment or be unexported (golint)
    • Line 28: warning: comment on exported method AttesterSlashingPool.AddAttesterSlashing should be of the form "AddAttesterSlashing ..." (golint)
    • Line 42: warning: exported method AttesterSlashingPool.All should have comment or be unexported (golint)
    • zrnt/eth2/beacon/common/time.go
    • Line 9: warning: should not use dot imports (golint)
    • Line 12: warning: comment on exported type Timestamp should be of the form "Timestamp ..." (with optional leading article) (golint)
    • Line 15: warning: exported const TimestampType should have comment or be unexported (golint)
    • Line 17: warning: exported method Spec.TimeToSlot should have comment or be unexported (golint)
    • Line 24: warning: exported method Spec.TimeAtSlot should have comment or be unexported (golint)
    • Line 34: warning: exported method Timestamp.Deserialize should have comment or be unexported (golint)
    • Line 38: warning: exported method Timestamp.Serialize should have comment or be unexported (golint)
    • Line 38: warning: receiver name i should be consistent with previous receiver name a for Timestamp (golint)
    • Line 42: warning: exported method Timestamp.ByteLength should have comment or be unexported (golint)
    • Line 46: warning: exported method Timestamp.FixedLength should have comment or be unexported (golint)
    • Line 50: warning: exported method Timestamp.HashTreeRoot should have comment or be unexported (golint)
    • Line 50: warning: receiver name t should be consistent with previous receiver name a for Timestamp (golint)
    • Line 54: warning: exported method Timestamp.MarshalJSON should have comment or be unexported (golint)
    • Line 54: warning: receiver name e should be consistent with previous receiver name a for Timestamp (golint)
    • Line 58: warning: exported method Timestamp.UnmarshalJSON should have comment or be unexported (golint)
    • Line 58: warning: receiver name e should be consistent with previous receiver name a for Timestamp (golint)
    • Line 62: warning: receiver name e should be consistent with previous receiver name a for Timestamp (golint)
    • Line 66: warning: exported function AsTimestamp should have comment or be unexported (golint)
    • Line 71: warning: comment on exported type DepositIndex should be of the form "DepositIndex ..." (with optional leading article) (golint)
    • Line 74: warning: exported function AsDepositIndex should have comment or be unexported (golint)
    • Line 79: warning: exported method DepositIndex.Deserialize should have comment or be unexported (golint)
    • Line 83: warning: exported method DepositIndex.Serialize should have comment or be unexported (golint)
    • Line 87: warning: exported method DepositIndex.ByteLength should have comment or be unexported (golint)
    • Line 91: warning: exported method DepositIndex.FixedLength should have comment or be unexported (golint)
    • Line 95: warning: exported method DepositIndex.HashTreeRoot should have comment or be unexported (golint)
    • Line 99: warning: exported method DepositIndex.MarshalJSON should have comment or be unexported (golint)
    • Line 99: warning: receiver name e should be consistent with previous receiver name i for DepositIndex (golint)
    • Line 103: warning: exported method DepositIndex.UnmarshalJSON should have comment or be unexported (golint)
    • Line 103: warning: receiver name e should be consistent with previous receiver name i for DepositIndex (golint)
    • Line 107: warning: receiver name e should be consistent with previous receiver name i for DepositIndex (golint)
    • Line 111: warning: exported const SlotType should have comment or be unexported (golint)
    • Line 113: warning: exported type Slot should have comment or be unexported (golint)
    • Line 115: warning: exported method Spec.SlotToEpoch should have comment or be unexported (golint)
    • Line 119: warning: exported method Slot.Deserialize should have comment or be unexported (golint)
    • Line 123: warning: exported method Slot.Serialize should have comment or be unexported (golint)
    • Line 123: warning: receiver name i should be consistent with previous receiver name a for Slot (golint)
    • Line 127: warning: exported method Slot.ByteLength should have comment or be unexported (golint)
    • Line 131: warning: exported method Slot.FixedLength should have comment or be unexported (golint)
    • Line 135: warning: exported method Slot.HashTreeRoot should have comment or be unexported (golint)
    • Line 135: warning: receiver name s should be consistent with previous receiver name a for Slot (golint)
    • Line 139: warning: exported method Slot.Previous should have comment or be unexported (golint)
    • Line 139: warning: receiver name s should be consistent with previous receiver name a for Slot (golint)
    • Line 142: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 147: warning: exported method Slot.MarshalJSON should have comment or be unexported (golint)
    • Line 147: warning: receiver name e should be consistent with previous receiver name a for Slot (golint)
    • Line 151: warning: exported method Slot.UnmarshalJSON should have comment or be unexported (golint)
    • Line 151: warning: receiver name e should be consistent with previous receiver name a for Slot (golint)
    • Line 155: warning: receiver name e should be consistent with previous receiver name a for Slot (golint)
    • Line 159: warning: exported function AsSlot should have comment or be unexported (golint)
    • Line 164: warning: exported const EpochType should have comment or be unexported (golint)
    • Line 166: warning: exported type Epoch should have comment or be unexported (golint)
    • Line 168: warning: exported method Spec.EpochStartSlot should have comment or be unexported (golint)
    • Line 172: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 177: warning: comment on exported method Spec.ComputeActivationExitEpoch should be of the form "ComputeActivationExitEpoch ..." (golint)
    • Line 182: warning: exported method Epoch.Deserialize should have comment or be unexported (golint)
    • Line 186: warning: exported method Epoch.Serialize should have comment or be unexported (golint)
    • Line 186: warning: receiver name i should be consistent with previous receiver name a for Epoch (golint)
    • Line 190: warning: exported method Epoch.ByteLength should have comment or be unexported (golint)
    • Line 194: warning: exported method Epoch.FixedLength should have comment or be unexported (golint)
    • Line 198: warning: exported method Epoch.HashTreeRoot should have comment or be unexported (golint)
    • Line 198: warning: receiver name e should be consistent with previous receiver name a for Epoch (golint)
    • Line 202: warning: exported method Epoch.Previous should have comment or be unexported (golint)
    • Line 202: warning: receiver name e should be consistent with previous receiver name a for Epoch (golint)
    • Line 205: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 210: warning: exported method Epoch.MarshalJSON should have comment or be unexported (golint)
    • Line 210: warning: receiver name e should be consistent with previous receiver name a for Epoch (golint)
    • Line 214: warning: exported method Epoch.UnmarshalJSON should have comment or be unexported (golint)
    • Line 214: warning: receiver name e should be consistent with previous receiver name a for Epoch (golint)
    • Line 218: warning: receiver name e should be consistent with previous receiver name a for Epoch (golint)
    • Line 222: warning: exported function AsEpoch should have comment or be unexported (golint)
    • Line 227: warning: exported method Spec.GetChurnLimit should have comment or be unexported (golint)
    • zrnt/eth2/beacon/common/versioning.go
    • Line 9: warning: should not use dot imports (golint)
    • Line 12: warning: exported const VersionType should have comment or be unexported (golint)
    • Line 14: warning: comment on exported type Version should be of the form "Version ..." (with optional leading article) (golint)
    • Line 18: warning: exported method Version.Deserialize should have comment or be unexported (golint)
    • Line 26: warning: exported method Version.Serialize should have comment or be unexported (golint)
    • Line 26: warning: receiver name a should be consistent with previous receiver name v for Version (golint)
    • Line 30: warning: exported method Version.ByteLength should have comment or be unexported (golint)
    • Line 30: warning: receiver name a should be consistent with previous receiver name v for Version (golint)
    • Line 34: warning: exported method Version.FixedLength should have comment or be unexported (golint)
    • Line 38: warning: exported method Version.HashTreeRoot should have comment or be unexported (golint)
    • Line 38: warning: receiver name p should be consistent with previous receiver name v for Version (golint)
    • Line 43: warning: exported method Version.MarshalText should have comment or be unexported (golint)
    • Line 43: warning: receiver name p should be consistent with previous receiver name v for Version (golint)
    • Line 47: warning: receiver name p should be consistent with previous receiver name v for Version (golint)
    • Line 51: warning: exported method Version.UnmarshalText should have comment or be unexported (golint)
    • Line 51: warning: receiver name p should be consistent with previous receiver name v for Version (golint)
    • Line 65: warning: exported method Version.ToUint32 should have comment or be unexported (golint)
    • Line 69: warning: exported method Version.View should have comment or be unexported (golint)
    • Line 73: warning: exported function AsVersion should have comment or be unexported (golint)
    • Line 77: warning: comment on exported type ForkDigest should be of the form "ForkDigest ..." (with optional leading article) (golint)
    • Line 80: warning: exported method ForkDigest.Deserialize should have comment or be unexported (golint)
    • Line 88: warning: exported method ForkDigest.Serialize should have comment or be unexported (golint)
    • Line 92: warning: exported method ForkDigest.ByteLength should have comment or be unexported (golint)
    • Line 96: warning: exported method ForkDigest.FixedLength should have comment or be unexported (golint)
    • Line 100: warning: exported method ForkDigest.HashTreeRoot should have comment or be unexported (golint)
    • Line 105: warning: exported method ForkDigest.MarshalText should have comment or be unexported (golint)
    • Line 113: warning: exported method ForkDigest.UnmarshalText should have comment or be unexported (golint)
    • Line 127: warning: exported type ForkData should have comment or be unexported (golint)
    • Line 132: warning: exported method ForkData.Deserialize should have comment or be unexported (golint)
    • Line 136: warning: exported method ForkData.Serialize should have comment or be unexported (golint)
    • Line 140: warning: exported method ForkData.ByteLength should have comment or be unexported (golint)
    • Line 140: warning: receiver name p should be consistent with previous receiver name v for ForkData (golint)
    • Line 144: warning: exported method ForkData.FixedLength should have comment or be unexported (golint)
    • Line 148: warning: exported method ForkData.HashTreeRoot should have comment or be unexported (golint)
    • Line 148: warning: receiver name d should be consistent with previous receiver name v for ForkData (golint)
    • Line 152: warning: exported function ComputeForkDataRoot should have comment or be unexported (golint)
    • Line 160: warning: exported function ComputeForkDigest should have comment or be unexported (golint)
    • Line 167: warning: exported type Fork should have comment or be unexported (golint)
    • Line 173: warning: exported method Fork.Deserialize should have comment or be unexported (golint)
    • Line 177: warning: exported method Fork.Serialize should have comment or be unexported (golint)
    • Line 177: warning: receiver name a should be consistent with previous receiver name b for Fork (golint)
    • Line 181: warning: exported method Fork.ByteLength should have comment or be unexported (golint)
    • Line 181: warning: receiver name a should be consistent with previous receiver name b for Fork (golint)
    • Line 185: warning: exported method Fork.FixedLength should have comment or be unexported (golint)
    • Line 185: warning: receiver name a should be consistent with previous receiver name b for Fork (golint)
    • Line 189: warning: exported method Fork.HashTreeRoot should have comment or be unexported (golint)
    • Line 189: warning: receiver name a should be consistent with previous receiver name b for Fork (golint)
    • Line 193: warning: exported method Fork.View should have comment or be unexported (golint)
    • Line 193: warning: receiver name f should be consistent with previous receiver name b for Fork (golint)
    • Line 198: warning: comment on exported method Fork.GetDomain should be of the form "GetDomain ..." (golint)
    • Line 199: warning: receiver name f should be consistent with previous receiver name b for Fork (golint)
    • Line 210: warning: exported var ForkType should have comment or be unexported (golint)
    • Line 216: warning: exported type ForkView should have comment or be unexported (golint)
    • Line 218: warning: exported method ForkView.PreviousVersion should have comment or be unexported (golint)
    • Line 222: warning: exported method ForkView.CurrentVersion should have comment or be unexported (golint)
    • Line 226: warning: exported method ForkView.Epoch should have comment or be unexported (golint)
    • Line 230: warning: exported method ForkView.Raw should have comment or be unexported (golint)
    • Line 250: warning: exported function AsFork should have comment or be unexported (golint)
    • Line 255: warning: comment on exported function GetDomain should be of the form "GetDomain ..." (golint)
    • zrnt/eth2/beacon/phase0/randao.go
    • Line 9: warning: should not use dot imports (golint)
    • Line 12: warning: should not use dot imports (golint)
    • Line 18: warning: exported method RandaoMixes.Deserialize should have comment or be unexported (golint)
    • Line 22: warning: exported method RandaoMixes.Serialize should have comment or be unexported (golint)
    • Line 26: warning: exported method RandaoMixes.ByteLength should have comment or be unexported (golint)
    • Line 30: warning: exported method RandaoMixes.FixedLength should have comment or be unexported (golint)
    • Line 34: warning: exported method RandaoMixes.HashTreeRoot should have comment or be unexported (golint)
    • Line 34: warning: receiver name li should be consistent with previous receiver name a for RandaoMixes (golint)
    • Line 44: warning: exported function RandaoMixesType should have comment or be unexported (golint)
    • Line 48: warning: comment on exported type RandaoMixesView should be of the form "RandaoMixesView ..." (with optional leading article) (golint)
    • Line 53: warning: exported function AsRandaoMixes should have comment or be unexported (golint)
    • Line 58: warning: comment on exported method RandaoMixesView.GetRandomMix should be of the form "GetRandomMix ..." (golint)
    • Line 64: warning: exported method RandaoMixesView.SetRandomMix should have comment or be unexported (golint)
    • Line 70: warning: exported function SeedRandao should have comment or be unexported (golint)
    • Line 88: warning: exported function ProcessRandaoReveal should have comment or be unexported (golint)
    • zrnt/eth2/beacon/phase0/voluntary_exit.go
    • Line 10: warning: should not use dot imports (golint)
    • Line 13: warning: exported function BlockVoluntaryExitsType should have comment or be unexported (golint)
    • Line 17: warning: exported type VoluntaryExits should have comment or be unexported (golint)
    • Line 19: warning: exported method VoluntaryExits.Deserialize should have comment or be unexported (golint)
    • Line 27: warning: exported method VoluntaryExits.Serialize should have comment or be unexported (golint)
    • Line 33: warning: exported method VoluntaryExits.ByteLength should have comment or be unexported (golint)
    • Line 37: warning: exported method VoluntaryExits.FixedLength should have comment or be unexported (golint)
    • Line 41: warning: exported method VoluntaryExits.HashTreeRoot should have comment or be unexported (golint)
    • Line 41: warning: receiver name li should be consistent with previous receiver name a for VoluntaryExits (golint)
    • Line 51: warning: exported function ProcessVoluntaryExits should have comment or be unexported (golint)
    • Line 63: warning: exported type VoluntaryExit should have comment or be unexported (golint)
    • Line 69: warning: exported var VoluntaryExitType should have comment or be unexported (golint)
    • Line 74: warning: exported method VoluntaryExit.Deserialize should have comment or be unexported (golint)
    • Line 78: warning: exported method VoluntaryExit.Serialize should have comment or be unexported (golint)
    • Line 82: warning: exported method VoluntaryExit.ByteLength should have comment or be unexported (golint)
    • Line 86: warning: exported method VoluntaryExit.FixedLength should have comment or be unexported (golint)
    • Line 90: warning: exported method VoluntaryExit.HashTreeRoot should have comment or be unexported (golint)
    • Line 94: warning: exported type SignedVoluntaryExit should have comment or be unexported (golint)
    • Line 99: warning: exported method SignedVoluntaryExit.Deserialize should have comment or be unexported (golint)
    • Line 103: warning: exported method SignedVoluntaryExit.Serialize should have comment or be unexported (golint)
    • Line 107: warning: exported method SignedVoluntaryExit.ByteLength should have comment or be unexported (golint)
    • Line 111: warning: exported method SignedVoluntaryExit.FixedLength should have comment or be unexported (golint)
    • Line 115: warning: exported method SignedVoluntaryExit.HashTreeRoot should have comment or be unexported (golint)
    • Line 119: warning: exported var SignedVoluntaryExitType should have comment or be unexported (golint)
    • Line 124: warning: exported function ValidateVoluntaryExit should have comment or be unexported (golint)
    • Line 184: warning: exported function ProcessVoluntaryExit should have comment or be unexported (golint)
    • Line 191: warning: comment on exported function InitiateValidatorExit should be of the form "InitiateValidatorExit ..." (golint)
    • zrnt/eth2/beacon/altair/attestation.go
    • Line 12: warning: exported function ProcessAttestations should have comment or be unexported (golint)
    • Line 24: warning: exported function ProcessAttestation should have comment or be unexported (golint)
    • Line 135: warning: exported function GetApplicableAttestationParticipationFlags should have comment or be unexported (golint)
    • zrnt/eth2/beacon/phase0/genesis.go
    • Line 7: warning: should not use dot imports (golint)
    • Line 10: warning: exported var DepositRootsType should have comment or be unexported (golint)
    • Line 12: warning: exported type DepositRootsView should have comment or be unexported (golint)
    • Line 16: warning: exported function AsDepositRootsView should have comment or be unexported (golint)
    • Line 21: warning: exported function NewDepositRootsView should have comment or be unexported (golint)
    • Line 25: warning: exported function GenesisFromEth1 should have comment or be unexported (golint)
    • Line 152: warning: exported function IsValidGenesisState should have comment or be unexported (golint)
    • zrnt/eth2/beacon/phase0/history.go
    • Line 7: warning: should not use dot imports (golint)
    • Line 14: warning: exported method HistoricalBatchRoots.Deserialize should have comment or be unexported (golint)
    • Line 18: warning: exported method HistoricalBatchRoots.Serialize should have comment or be unexported (golint)
    • Line 22: warning: exported method HistoricalBatchRoots.ByteLength should have comment or be unexported (golint)
    • Line 26: warning: exported method HistoricalBatchRoots.FixedLength should have comment or be unexported (golint)
    • Line 30: warning: exported method HistoricalBatchRoots.HashTreeRoot should have comment or be unexported (golint)
    • Line 30: warning: receiver name li should be consistent with previous receiver name a for HistoricalBatchRoots (golint)
    • Line 40: warning: exported type HistoricalBatch should have comment or be unexported (golint)
    • Line 45: warning: exported method HistoricalBatch.Deserialize should have comment or be unexported (golint)
    • Line 49: warning: exported method HistoricalBatch.Serialize should have comment or be unexported (golint)
    • Line 53: warning: exported method HistoricalBatch.ByteLength should have comment or be unexported (golint)
    • Line 57: warning: exported method HistoricalBatch.FixedLength should have comment or be unexported (golint)
    • Line 61: warning: exported method HistoricalBatch.HashTreeRoot should have comment or be unexported (golint)
    • Line 61: warning: receiver name p should be consistent with previous receiver name a for HistoricalBatch (golint)
    • Line 65: warning: exported function BatchRootsType should have comment or be unexported (golint)
    • Line 69: warning: exported type BatchRootsView should have comment or be unexported (golint)
    • Line 71: warning: comment on exported method BatchRootsView.GetRoot should be of the form "GetRoot ..." (golint)
    • Line 77: warning: exported method BatchRootsView.SetRoot should have comment or be unexported (golint)
    • Line 83: warning: exported function AsBatchRoots should have comment or be unexported (golint)
    • Line 88: warning: exported function HistoricalBatchType should have comment or be unexported (golint)
    • Line 95: warning: exported type HistoricalBatchView should have comment or be unexported (golint)
    • Line 97: warning: exported method HistoricalBatchView.BlockRoots should have comment or be unexported (golint)
    • Line 101: warning: exported method HistoricalBatchView.StateRoots should have comment or be unexported (golint)
    • Line 105: warning: exported function AsHistoricalBatch should have comment or be unexported (golint)
    • Line 110: warning: comment on exported type HistoricalRoots should be of the form "HistoricalRoots ..." (with optional leading article) (golint)
    • Line 113: warning: exported method HistoricalRoots.Deserialize should have comment or be unexported (golint)
    • Line 117: warning: exported method HistoricalRoots.Serialize should have comment or be unexported (golint)
    • Line 121: warning: exported method HistoricalRoots.ByteLength should have comment or be unexported (golint)
    • Line 125: warning: exported method HistoricalRoots.FixedLength should have comment or be unexported (golint)
    • Line 129: warning: exported method HistoricalRoots.HashTreeRoot should have comment or be unexported (golint)
    • Line 129: warning: receiver name li should be consistent with previous receiver name a for HistoricalRoots (golint)
    • Line 139: warning: exported function HistoricalRootsType should have comment or be unexported (golint)
    • Line 143: warning: comment on exported type HistoricalRootsView should be of the form "HistoricalRootsView ..." (with optional leading article) (golint)
    • Line 146: warning: exported function AsHistoricalRoots should have comment or be unexported (golint)
    • Line 151: warning: exported method HistoricalRootsView.Append should have comment or be unexported (golint)
    • zrnt/eth2/beacon/phase0/deposit.go
    • Line 13: warning: should not use dot imports (golint)
    • Line 16: warning: exported function BlockDepositsType should have comment or be unexported (golint)
    • Line 20: warning: exported type Deposits should have comment or be unexported (golint)
    • Line 22: warning: exported method Deposits.Deserialize should have comment or be unexported (golint)
    • Line 30: warning: exported method Deposits.Serialize should have comment or be unexported (golint)
    • Line 36: warning: exported method Deposits.ByteLength should have comment or be unexported (golint)
    • Line 40: warning: exported method Deposits.FixedLength should have comment or be unexported (golint)
    • Line 44: warning: exported method Deposits.HashTreeRoot should have comment or be unexported (golint)
    • Line 44: warning: receiver name li should be consistent with previous receiver name a for Deposits (golint)
    • Line 54: warning: comment on exported function ProcessDeposits should be of the form "ProcessDeposits ..." (golint)
    • Line 85: warning: comment on exported function ProcessDeposit should be of the form "ProcessDeposit ..." (golint)
    • Line 155: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • zrnt/eth2/beacon/common/pubkeys.go
    • Line 20: warning: exported function NewPubkeyCache should have comment or be unexported (golint)
    • Line 48: warning: exported function EmptyPubkeyCache should have comment or be unexported (golint)
    • Line 57: warning: comment on exported method PubkeyCache.Pubkey should be of the form "Pubkey ..." (golint)
    • Line 80: warning: comment on exported method PubkeyCache.ValidatorIndex should be of the form "ValidatorIndex ..." (golint)
    • zrnt/eth2/beacon/common/general.go
    • Line 7: warning: should not use dot imports (golint)
    • Line 10: warning: exported type Root should have comment or be unexported (golint)
    • Line 12: warning: exported type Bytes32 should have comment or be unexported (golint)
    • Line 14: warning: exported const Bytes32Type should have comment or be unexported (golint)
    • Line 16: warning: exported type Shard should have comment or be unexported (golint)
    • Line 18: warning: exported method Shard.Deserialize should have comment or be unexported (golint)
    • Line 22: warning: exported method Shard.Serialize should have comment or be unexported (golint)
    • Line 22: warning: receiver name i should be consistent with previous receiver name a for Shard (golint)
    • Line 26: warning: exported method Shard.ByteLength should have comment or be unexported (golint)
    • Line 30: warning: exported method Shard.FixedLength should have comment or be unexported (golint)
    • Line 34: warning: exported method Shard.HashTreeRoot should have comment or be unexported (golint)
    • Line 34: warning: receiver name e should be consistent with previous receiver name a for Shard (golint)
    • Line 38: warning: exported method Shard.MarshalJSON should have comment or be unexported (golint)
    • Line 38: warning: receiver name e should be consistent with previous receiver name a for Shard (golint)
    • Line 42: warning: exported method Shard.UnmarshalJSON should have comment or be unexported (golint)
    • Line 42: warning: receiver name e should be consistent with previous receiver name a for Shard (golint)
    • Line 46: warning: receiver name e should be consistent with previous receiver name a for Shard (golint)
    • Line 50: warning: exported const ShardType should have comment or be unexported (golint)
    • Line 52: warning: exported type CommitteeIndex should have comment or be unexported (golint)
    • Line 54: warning: exported method CommitteeIndex.Deserialize should have comment or be unexported (golint)
    • Line 58: warning: exported method CommitteeIndex.Serialize should have comment or be unexported (golint)
    • Line 62: warning: exported method CommitteeIndex.ByteLength should have comment or be unexported (golint)
    • Line 66: warning: exported method CommitteeIndex.FixedLength should have comment or be unexported (golint)
    • Line 70: warning: exported method CommitteeIndex.HashTreeRoot should have comment or be unexported (golint)
    • Line 74: warning: exported method CommitteeIndex.MarshalJSON should have comment or be unexported (golint)
    • Line 74: warning: receiver name e should be consistent with previous receiver name i for CommitteeIndex (golint)
    • Line 78: warning: exported method CommitteeIndex.UnmarshalJSON should have comment or be unexported (golint)
    • Line 78: warning: receiver name e should be consistent with previous receiver name i for CommitteeIndex (golint)
    • Line 82: warning: receiver name e should be consistent with previous receiver name i for CommitteeIndex (golint)
    • Line 86: warning: exported const CommitteeIndexType should have comment or be unexported (golint)
    • Line 88: warning: exported function AsCommitteeIndex should have comment or be unexported (golint)
    • Line 93: warning: exported type Gwei should have comment or be unexported (golint)
    • Line 95: warning: exported method Gwei.Deserialize should have comment or be unexported (golint)
    • Line 99: warning: exported method Gwei.Serialize should have comment or be unexported (golint)
    • Line 99: warning: receiver name i should be consistent with previous receiver name g for Gwei (golint)
    • Line 103: warning: exported method Gwei.ByteLength should have comment or be unexported (golint)
    • Line 107: warning: exported method Gwei.FixedLength should have comment or be unexported (golint)
    • Line 111: warning: exported method Gwei.HashTreeRoot should have comment or be unexported (golint)
    • Line 115: warning: exported method Gwei.MarshalJSON should have comment or be unexported (golint)
    • Line 115: warning: receiver name e should be consistent with previous receiver name g for Gwei (golint)
    • Line 119: warning: exported method Gwei.UnmarshalJSON should have comment or be unexported (golint)
    • Line 119: warning: receiver name e should be consistent with previous receiver name g for Gwei (golint)
    • Line 123: warning: receiver name e should be consistent with previous receiver name g for Gwei (golint)
    • Line 127: warning: exported const GweiType should have comment or be unexported (golint)
    • Line 129: warning: exported function AsGwei should have comment or be unexported (golint)
    • Line 134: warning: exported type Checkpoint should have comment or be unexported (golint)
    • Line 143: warning: exported method Checkpoint.Deserialize should have comment or be unexported (golint)
    • Line 147: warning: exported method Checkpoint.Serialize should have comment or be unexported (golint)
    • Line 147: warning: receiver name a should be consistent with previous receiver name c for Checkpoint (golint)
    • Line 151: warning: exported method Checkpoint.ByteLength should have comment or be unexported (golint)
    • Line 151: warning: receiver name a should be consistent with previous receiver name c for Checkpoint (golint)
    • Line 155: warning: exported method Checkpoint.FixedLength should have comment or be unexported (golint)
    • Line 155: warning: receiver name g should be consistent with previous receiver name c for Checkpoint (golint)
    • Line 159: warning: exported method Checkpoint.HashTreeRoot should have comment or be unexported (golint)
    • Line 163: warning: exported method Checkpoint.View should have comment or be unexported (golint)
    • Line 169: warning: exported var CheckpointType should have comment or be unexported (golint)
    • Line 174: warning: exported method Phase0Config.CheckPoint should have comment or be unexported (golint)
    • Line 181: warning: exported type CheckpointView should have comment or be unexported (golint)
    • Line 185: warning: exported method CheckpointView.Set should have comment or be unexported (golint)
    • Line 189: warning: exported method CheckpointView.Epoch should have comment or be unexported (golint)
    • Line 193: warning: exported method CheckpointView.Root should have comment or be unexported (golint)
    • Line 197: warning: exported method CheckpointView.Raw should have comment or be unexported (golint)
    • Line 209: warning: exported function AsCheckPoint should have comment or be unexported (golint)
    • Line 214: warning: exported type NodeRef should have comment or be unexported (golint)
    • Line 224: warning: exported type ExtendedNodeRef should have comment or be unexported (golint)
    • zrnt/eth2/beacon/phase0/attester.go
    • Line 8: warning: exported type EpochStakeSummary should have comment or be unexported (golint)
    • Line 14: warning: exported type AttesterFlag should have comment or be unexported (golint)
    • Line 16: warning: exported method AttesterFlag.HasMarkers should have comment or be unexported (golint)
    • Line 21: warning: exported const PrevSourceAttester should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: exported type AttesterStatus should have comment or be unexported (golint)
    • Line 44: warning: exported type EpochAttesterData should have comment or be unexported (golint)
    • Line 55: warning: exported type PendingAttestationsBeaconState should have comment or be unexported (golint)
    • Line 61: warning: exported function ComputeEpochAttesterData should have comment or be unexported (golint)
    • zrnt/eth2/beacon/common/indices.go
    • Line 6: warning: should not use dot imports (golint)
    • Line 9: warning: exported type CommitteeIndices should have comment or be unexported (golint)
    • Line 11: warning: exported method CommitteeIndices.Deserialize should have comment or be unexported (golint)
    • Line 19: warning: exported method CommitteeIndices.Serialize should have comment or be unexported (golint)
    • Line 19: warning: receiver name a should be consistent with previous receiver name p for CommitteeIndices (golint)
    • Line 25: warning: exported method CommitteeIndices.ByteLength should have comment or be unexported (golint)
    • Line 25: warning: receiver name a should be consistent with previous receiver name p for CommitteeIndices (golint)
    • Line 29: warning: exported method CommitteeIndices.FixedLength should have comment or be unexported (golint)
    • Line 33: warning: exported method CommitteeIndices.HashTreeRoot should have comment or be unexported (golint)
    • Line 39: warning: exported method Phase0Config.CommitteeIndices should have comment or be unexported (golint)
    • zrnt/eth2/db/states/mem.go
    • Line 11: warning: exported type MemDB should have comment or be unexported (golint)
    • Line 19: warning: exported function NewMemDB should have comment or be unexported (golint)
    • Line 23: warning: exported method MemDB.Store should have comment or be unexported (golint)
    • Line 34: warning: exported method MemDB.Get should have comment or be unexported (golint)
    • Line 47: warning: exported method MemDB.Remove should have comment or be unexported (golint)
    • Line 58: warning: exported method MemDB.Stats should have comment or be unexported (golint)
    • Line 63: warning: exported method MemDB.List should have comment or be unexported (golint)
    • Line 73: warning: exported method MemDB.Path should have comment or be unexported (golint)
    • Line 77: warning: exported method MemDB.Spec should have comment or be unexported (golint)
    • zrnt/eth2/beacon/altair/transition.go
    • Line 10: warning: exported method BeaconStateView.ProcessEpoch should have comment or be unexported (golint)
    • Line 69: warning: exported method BeaconStateView.ProcessBlock should have comment or be unexported (golint)
    • zrnt/eth2/beacon/common/network.go
    • Line 9: warning: should not use dot imports (golint)
    • Line 12: warning: exported type Eth2Data should have comment or be unexported (golint)
    • Line 18: warning: exported method Eth2Data.Deserialize should have comment or be unexported (golint)
    • Line 22: warning: exported method Eth2Data.Serialize should have comment or be unexported (golint)
    • Line 26: warning: exported method Eth2Data.ByteLength should have comment or be unexported (golint)
    • Line 30: warning: exported method Eth2Data.FixedLength should have comment or be unexported (golint)
    • Line 34: warning: exported method Eth2Data.HashTreeRoot should have comment or be unexported (golint)
    • Line 38: warning: exported const ATTESTATION_SUBNET_COUNT should have comment or be unexported (golint)
    • Line 42: warning: exported type AttnetBits should have comment or be unexported (golint)
    • Line 44: warning: exported method AttnetBits.BitLen should have comment or be unexported (golint)
    • Line 48: warning: exported method AttnetBits.Deserialize should have comment or be unexported (golint)
    • Line 48: warning: receiver name p should be consistent with previous receiver name ab for AttnetBits (golint)
    • Line 56: warning: exported method AttnetBits.Serialize should have comment or be unexported (golint)
    • Line 56: warning: receiver name p should be consistent with previous receiver name ab for AttnetBits (golint)
    • Line 60: warning: exported method AttnetBits.ByteLength should have comment or be unexported (golint)
    • Line 60: warning: receiver name p should be consistent with previous receiver name ab for AttnetBits (golint)
    • Line 64: warning: exported method AttnetBits.FixedLength should have comment or be unexported (golint)
    • Line 68: warning: exported method AttnetBits.HashTreeRoot should have comment or be unexported (golint)
    • Line 68: warning: receiver name p should be consistent with previous receiver name ab for AttnetBits (golint)
    • Line 73: warning: exported method AttnetBits.MarshalText should have comment or be unexported (golint)
    • Line 73: warning: receiver name p should be consistent with previous receiver name ab for AttnetBits (golint)
    • Line 77: warning: receiver name p should be consistent with previous receiver name ab for AttnetBits (golint)
    • Line 81: warning: exported method AttnetBits.UnmarshalText should have comment or be unexported (golint)
    • Line 81: warning: receiver name p should be consistent with previous receiver name ab for AttnetBits (golint)
    • Line 95: warning: exported type SeqNr should have comment or be unexported (golint)
    • Line 97: warning: exported method SeqNr.Deserialize should have comment or be unexported (golint)
    • Line 101: warning: exported method SeqNr.Serialize should have comment or be unexported (golint)
    • Line 105: warning: exported method SeqNr.ByteLength should have comment or be unexported (golint)
    • Line 109: warning: exported method SeqNr.FixedLength should have comment or be unexported (golint)
    • Line 113: warning: exported method SeqNr.HashTreeRoot should have comment or be unexported (golint)
    • Line 117: warning: exported method SeqNr.MarshalJSON should have comment or be unexported (golint)
    • Line 121: warning: exported method SeqNr.UnmarshalJSON should have comment or be unexported (golint)
    • Line 129: warning: exported type Ping should have comment or be unexported (golint)
    • Line 131: warning: exported method Ping.Deserialize should have comment or be unexported (golint)
    • Line 135: warning: exported method Ping.Serialize should have comment or be unexported (golint)
    • Line 139: warning: exported method Ping.ByteLength should have comment or be unexported (golint)
    • Line 143: warning: exported method Ping.FixedLength should have comment or be unexported (golint)
    • Line 147: warning: exported method Ping.HashTreeRoot should have comment or be unexported (golint)
    • Line 151: warning: exported method Ping.MarshalJSON should have comment or be unexported (golint)
    • Line 155: warning: exported method Ping.UnmarshalJSON should have comment or be unexported (golint)
    • Line 163: warning: exported type Pong should have comment or be unexported (golint)
    • Line 165: warning: exported method Pong.Deserialize should have comment or be unexported (golint)
    • Line 169: warning: exported method Pong.Serialize should have comment or be unexported (golint)
    • Line 173: warning: exported method Pong.ByteLength should have comment or be unexported (golint)
    • Line 177: warning: exported method Pong.FixedLength should have comment or be unexported (golint)
    • Line 181: warning: exported method Pong.HashTreeRoot should have comment or be unexported (golint)
    • Line 185: warning: exported method Pong.MarshalJSON should have comment or be unexported (golint)
    • Line 189: warning: exported method Pong.UnmarshalJSON should have comment or be unexported (golint)
    • Line 197: warning: exported type MetaData should have comment or be unexported (golint)
    • Line 202: warning: exported method MetaData.Data should have comment or be unexported (golint)
    • Line 209: warning: exported method MetaData.Deserialize should have comment or be unexported (golint)
    • Line 209: warning: receiver name d should be consistent with previous receiver name m for MetaData (golint)
    • Line 213: warning: exported method MetaData.Serialize should have comment or be unexported (golint)
    • Line 213: warning: receiver name d should be consistent with previous receiver name m for MetaData (golint)
    • Line 217: warning: exported const MetadataByteLen should have comment or be unexported (golint)
    • Line 219: warning: exported method MetaData.ByteLength should have comment or be unexported (golint)
    • Line 219: warning: receiver name d should be consistent with previous receiver name m for MetaData (golint)
    • Line 223: warning: exported method MetaData.FixedLength should have comment or be unexported (golint)
    • Line 227: warning: exported method MetaData.HashTreeRoot should have comment or be unexported (golint)
    • Line 227: warning: receiver name d should be consistent with previous receiver name m for MetaData (golint)
    • Line 235: warning: exported type Status should have comment or be unexported (golint)
    • Line 243: warning: exported method Status.Data should have comment or be unexported (golint)
    • Line 253: warning: exported method Status.Deserialize should have comment or be unexported (golint)
    • Line 253: warning: receiver name d should be consistent with previous receiver name s for Status (golint)
    • Line 257: warning: exported method Status.Serialize should have comment or be unexported (golint)
    • Line 257: warning: receiver name d should be consistent with previous receiver name s for Status (golint)
    • Line 261: warning: exported const StatusByteLen should have comment or be unexported (golint)
    • Line 263: warning: exported method Status.ByteLength should have comment or be unexported (golint)
    • Line 263: warning: receiver name d should be consistent with previous receiver name s for Status (golint)
    • Line 267: warning: exported method Status.FixedLength should have comment or be unexported (golint)
    • Line 271: warning: exported method Status.HashTreeRoot should have comment or be unexported (golint)
    • Line 271: warning: receiver name d should be consistent with previous receiver name s for Status (golint)
    • Line 280: warning: exported type Goodbye should have comment or be unexported (golint)
    • Line 282: warning: exported method Goodbye.Deserialize should have comment or be unexported (golint)
    • Line 286: warning: exported method Goodbye.Serialize should have comment or be unexported (golint)
    • Line 290: warning: exported method Goodbye.ByteLength should have comment or be unexported (golint)
    • Line 294: warning: exported method Goodbye.FixedLength should have comment or be unexported (golint)
    • Line 298: warning: exported method Goodbye.HashTreeRoot should have comment or be unexported (golint)
    • Line 302: warning: exported method Goodbye.MarshalJSON should have comment or be unexported (golint)
    • Line 306: warning: exported method Goodbye.UnmarshalJSON should have comment or be unexported (golint)
    • zrnt/eth2/forkchoice/internal/fctest/util.go
    • Line 10: warning: exported type ForkChoiceTestTarget should have comment or be unexported (golint)
    • Line 16: warning: exported type Operation should have comment or be unexported (golint)
    • Line 20: warning: exported type OpCanonicalChain should have comment or be unexported (golint)
    • Line 28: warning: exported method OpCanonicalChain.Apply should have comment or be unexported (golint)
    • Line 47: warning: exported type OpClosestToSlot should have comment or be unexported (golint)
    • Line 54: warning: exported method OpClosestToSlot.Apply should have comment or be unexported (golint)
    • Line 69: warning: exported type OpCanonAtSlot should have comment or be unexported (golint)
    • Line 77: warning: exported method OpCanonAtSlot.Apply should have comment or be unexported (golint)
    • Line 92: warning: exported type OpGetSlot should have comment or be unexported (golint)
    • Line 98: warning: exported method OpGetSlot.Apply should have comment or be unexported (golint)
    • Line 112: warning: exported type OpFindHead should have comment or be unexported (golint)
    • Line 119: warning: exported method OpFindHead.Apply should have comment or be unexported (golint)
    • Line 134: warning: exported type OpHead should have comment or be unexported (golint)
    • Line 139: warning: exported method OpHead.Apply should have comment or be unexported (golint)
    • Line 153: warning: exported type OpIsAncestor should have comment or be unexported (golint)
    • Line 160: warning: exported method OpIsAncestor.Apply should have comment or be unexported (golint)
    • Line 169: warning: exported type OpProcessSlot should have comment or be unexported (golint)
    • Line 176: warning: exported method OpProcessSlot.Apply should have comment or be unexported (golint)
    • Line 181: warning: exported type OpProcessBlock should have comment or be unexported (golint)
    • Line 189: warning: exported method OpProcessBlock.Apply should have comment or be unexported (golint)
    • Line 194: warning: exported type OpProcessAttestation should have comment or be unexported (golint)
    • Line 201: warning: exported method OpProcessAttestation.Apply should have comment or be unexported (golint)
    • Line 209: warning: exported type OpPruneable should have comment or be unexported (golint)
    • Line 214: warning: exported method OpPruneable.Apply should have comment or be unexported (golint)
    • Line 219: warning: exported type OpUpdateJustified should have comment or be unexported (golint)
    • Line 227: warning: exported method OpUpdateJustified.Apply should have comment or be unexported (golint)
    • Line 238: warning: exported type ForkChoiceTestInit should have comment or be unexported (golint)
    • Line 248: warning: exported type ForkChoiceTestDef should have comment or be unexported (golint)
    • Line 253: warning: exported method ForkChoiceTestDef.Run should have comment or be unexported (golint)
    • zrnt/eth2/beacon/phase0/attester_slashing.go
    • Line 11: warning: should not use dot imports (golint)
    • Line 14: warning: exported function ProcessAttesterSlashings should have comment or be unexported (golint)
    • Line 26: warning: exported type AttesterSlashing should have comment or be unexported (golint)
    • Line 31: warning: exported method AttesterSlashing.Deserialize should have comment or be unexported (golint)
    • Line 35: warning: exported method AttesterSlashing.Serialize should have comment or be unexported (golint)
    • Line 39: warning: exported method AttesterSlashing.ByteLength should have comment or be unexported (golint)
    • Line 43: warning: exported method AttesterSlashing.FixedLength should have comment or be unexported (golint)
    • Line 47: warning: exported method AttesterSlashing.HashTreeRoot should have comment or be unexported (golint)
    • Line 51: warning: exported function BlockAttesterSlashingsType should have comment or be unexported (golint)
    • Line 55: warning: exported function AttesterSlashingType should have comment or be unexported (golint)
    • Line 62: warning: exported type AttesterSlashings should have comment or be unexported (golint)
    • Line 64: warning: exported method AttesterSlashings.Deserialize should have comment or be unexported (golint)
    • Line 72: warning: exported method AttesterSlashings.Serialize should have comment or be unexported (golint)
    • Line 78: warning: exported method AttesterSlashings.ByteLength should have comment or be unexported (golint)
    • Line 85: warning: exported method AttesterSlashings.FixedLength should have comment or be unexported (golint)
    • Line 89: warning: exported method AttesterSlashings.HashTreeRoot should have comment or be unexported (golint)
    • Line 89: warning: receiver name li should be consistent with previous receiver name a for AttesterSlashings (golint)
    • Line 99: warning: exported function ProcessAttesterSlashing should have comment or be unexported (golint)
    • Line 154: warning: exported function IsSlashableAttestationData should have comment or be unexported (golint)
    • Line 158: warning: comment on exported function IsDoubleVote should be of the form "IsDoubleVote ..." (golint)
    • Line 163: warning: comment on exported function IsSurroundVote should be of the form "IsSurroundVote ..." (golint)
    • zrnt/eth2/pool/voluntary_exits.go
    • Line 9: warning: exported type VoluntaryExitPool should have comment or be unexported (golint)
    • Line 15: warning: exported function NewVoluntaryExitPool should have comment or be unexported (golint)
    • Line 22: warning: exported method VoluntaryExitPool.AddVoluntaryExit should have comment or be unexported (golint)
    • zrnt/tests/spec/test_util/spec_testing.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 17: warning: exported type TestPart should have comment or be unexported (golint)
    • Line 23: warning: exported type TestPartReader should have comment or be unexported (golint)
    • Line 28: warning: comment on exported type CaseRunner should be of the form "CaseRunner ..." (with optional leading article) (golint)
    • Line 31: warning: exported function Check should have comment or be unexported (golint)
    • Line 45: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 67: warning: exported function RunHandler should have comment or be unexported (golint)
    • Line 97: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 117: warning: exported function LoadSpecObj should have comment or be unexported (golint)
    • Line 130: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 135: warning: exported function LoadSSZ should have comment or be unexported (golint)
    • Line 145: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • zrnt/eth2/beacon/common/state.go
    • Line 8: warning: exported type BatchRoots should have comment or be unexported (golint)
    • Line 14: warning: exported type HistoricalRoots should have comment or be unexported (golint)
    • Line 18: warning: exported type Eth1DataVotes should have comment or be unexported (golint)
    • Line 25: warning: exported type Validator should have comment or be unexported (golint)
    • Line 46: warning: exported type ValidatorRegistry should have comment or be unexported (golint)
    • Line 54: warning: exported type Balances should have comment or be unexported (golint)
    • Line 62: warning: exported type RandaoMixes should have comment or be unexported (golint)
    • Line 67: warning: exported type Slashings should have comment or be unexported (golint)
    • Line 83: warning: exported type BeaconState should have comment or be unexported (golint)
    • Line 137: warning: exported type SyncCommitteeBeaconState should have comment or be unexported (golint)
    • zrnt/eth2/beacon/fork.go
    • Line 12: warning: exported type ForkDecoder should have comment or be unexported (golint)
    • Line 19: warning: exported function NewForkDecoder should have comment or be unexported (golint)
    • Line 27: warning: exported method ForkDecoder.DecodeBlock should have comment or be unexported (golint)
    • zrnt/eth2/util/bls/bls.go
    • Line 12: warning: exported type BLSPubkey should have comment or be unexported (golint)
    • Line 14: warning: exported method BLSPubkey.Deserialize should have comment or be unexported (golint)
    • Line 22: warning: exported method BLSPubkey.Serialize should have comment or be unexported (golint)
    • Line 26: warning: exported method BLSPubkey.ByteLength should have comment or be unexported (golint)
    • Line 30: warning: exported method BLSPubkey.FixedLength should have comment or be unexported (golint)
    • Line 34: warning: exported method BLSPubkey.HashTreeRoot should have comment or be unexported (golint)
    • Line 41: warning: exported method BLSPubkey.MarshalText should have comment or be unexported (golint)
    • Line 49: warning: exported method BLSPubkey.UnmarshalText should have comment or be unexported (golint)
    • Line 63: warning: exported type BLSSignature should have comment or be unexported (golint)
    • Line 65: warning: exported method BLSSignature.Deserialize should have comment or be unexported (golint)
    • Line 73: warning: exported method BLSSignature.Serialize should have comment or be unexported (golint)
    • Line 77: warning: exported method BLSSignature.ByteLength should have comment or be unexported (golint)
    • Line 81: warning: exported method BLSSignature.FixedLength should have comment or be unexported (golint)
    • Line 85: warning: exported method BLSSignature.HashTreeRoot should have comment or be unexported (golint)
    • Line 94: warning: exported method BLSSignature.MarshalText should have comment or be unexported (golint)
    • Line 94: warning: receiver name p should be consistent with previous receiver name s for BLSSignature (golint)
    • Line 98: warning: receiver name p should be consistent with previous receiver name s for BLSSignature (golint)
    • Line 102: warning: exported method BLSSignature.UnmarshalText should have comment or be unexported (golint)
    • Line 102: warning: receiver name p should be consistent with previous receiver name s for BLSSignature (golint)
    • Line 116: warning: exported type CachedPubkey should have comment or be unexported (golint)
    • Line 121: warning: exported method CachedPubkey.Pubkey should have comment or be unexported (golint)
    • zrnt/eth2/beacon/common/withdrawals.go
    • Line 9: warning: exported type WithdrawalPrefix should have comment or be unexported (golint)
    • Line 11: warning: exported method WithdrawalPrefix.MarshalText should have comment or be unexported (golint)
    • Line 19: warning: exported method WithdrawalPrefix.UnmarshalText should have comment or be unexported (golint)
    • zrnt/eth2/forkchoice/proto/proto_array.go
    • Line 9: warning: should not use dot imports (golint)
    • Line 12: warning: exported const NONE should have comment or be unexported (golint)
    • Line 14: warning: exported type ProtoNode should have comment or be unexported (golint)
    • Line 32: warning: exported type NodeSinkFn should have comment or be unexported (golint)
    • Line 34: warning: exported method NodeSinkFn.OnPrunedNode should have comment or be unexported (golint)
    • Line 38: warning: exported type NodeSink should have comment or be unexported (golint)
    • Line 42: warning: comment on exported type ProtoArray should be of the form "ProtoArray ..." (with optional leading article) (golint)
    • Line 62: warning: exported function NewProtoArray should have comment or be unexported (golint)
    • Line 90: warning: error var invalidIndexErr should have name of the form errFoo (golint)
    • Line 103: warning: exported method ProtoArray.Indices should have comment or be unexported (golint)
    • Line 107: warning: comment on exported method ProtoArray.CanonicalChain should be of the form "CanonicalChain ..." (golint)
    • Line 127: warning: comment on exported method ProtoArray.ClosestToSlot should be of the form "ClosestToSlot ..." (golint)
    • Line 163: warning: comment on exported method ProtoArray.CanonAtSlot should be of the form "CanonAtSlot ..." (golint)
    • Line 229: warning: exported method ProtoArray.GetSlot should have comment or be unexported (golint)
    • Line 234: warning: comment on exported method ProtoArray.Search should be of the form "Search ..." (golint)
    • Line 283: warning: error var lengthMismatchErr should have name of the form errFoo (golint)
    • Line 285: warning: comment on exported method ProtoArray.ApplyScoreChanges should be of the form "ApplyScoreChanges ..." (golint)
    • Line 339: warning: comment on exported method ProtoArray.ProcessSlot should be of the form "ProcessSlot ..." (golint)
    • Line 399: warning: comment on exported method ProtoArray.ProcessBlock should be of the form "ProcessBlock ..." (golint)
    • Line 447: warning: error var UnknownAnchorErr should have name of the form ErrFoo (golint)
    • Line 447: warning: exported var UnknownAnchorErr should have comment or be unexported (golint)
    • Line 448: warning: error var NoViableHeadErr should have name of the form ErrFoo (golint)
    • Line 448: warning: exported var NoViableHeadErr should have comment or be unexported (golint)
    • Line 450: warning: comment on exported method ProtoArray.FindHead should be of the form "FindHead ..." (golint)
    • Line 561: warning: error var HeadUnknownErr should have name of the form ErrFoo (golint)
    • Line 561: warning: exported var HeadUnknownErr should have comment or be unexported (golint)
    • Line 568: warning: comment on exported method ProtoArray.OnPrune should be of the form "OnPrune ..." (golint)
    • Line 722: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • zrnt/eth2/beacon/phase0/final.go
    • Line 8: warning: exported function ProcessEffectiveBalanceUpdates should have comment or be unexported (golint)
    • Line 51: warning: exported function ProcessEth1DataReset should have comment or be unexported (golint)
    • Line 68: warning: exported function ProcessSlashingsReset should have comment or be unexported (golint)
    • Line 79: warning: exported function ProcessRandaoMixesReset should have comment or be unexported (golint)
    • Line 90: warning: exported function ProcessHistoricalRootsUpdate should have comment or be unexported (golint)
    • Line 103: warning: exported function ProcessParticipationRecordUpdates should have comment or be unexported (golint)
    • zrnt/eth2/util/math/math_util.go
    • Line 5: warning: exported function MaxU64 should have comment or be unexported (golint)
    • Line 12: warning: exported function MinU64 should have comment or be unexported (golint)
    • Line 19: warning: comment on exported function IntegerSquareroot should be of the form "IntegerSquareroot ..." (golint)
    • Line 44: warning: exported function IntegerSquareRootPrysm should have comment or be unexported (golint)
    • Line 52: warning: exported function IsPowerOfTwo should have comment or be unexported (golint)
    • zrnt/eth2/beacon/altair/deltas.go
    • Line 9: warning: exported function ComputeFlagDeltas should have comment or be unexported (golint)
    • Line 51: warning: exported function ComputeInactivityPenaltyDeltas should have comment or be unexported (golint)
    • Line 69: warning: exported type RewardsAndPenalties should have comment or be unexported (golint)
    • Line 76: warning: exported function NewRewardsAndPenalties should have comment or be unexported (golint)
    • Line 85: warning: exported function AttestationRewardsAndPenalties should have comment or be unexported (golint)
    • Line 128: warning: exported function ProcessEpochRewardsAndPenalties should have comment or be unexported (golint)
    • zrnt/eth2/beacon/phase0/indexed.go
    • Line 10: warning: should not use dot imports (golint)
    • Line 14: warning: exported type IndexedAttestation should have comment or be unexported (golint)
    • Line 20: warning: exported method IndexedAttestation.Deserialize should have comment or be unexported (golint)
    • Line 24: warning: exported method IndexedAttestation.Serialize should have comment or be unexported (golint)
    • Line 24: warning: receiver name a should be consistent with previous receiver name p for IndexedAttestation (golint)
    • Line 28: warning: exported method IndexedAttestation.ByteLength should have comment or be unexported (golint)
    • Line 28: warning: receiver name a should be consistent with previous receiver name p for IndexedAttestation (golint)
    • Line 32: warning: exported method IndexedAttestation.FixedLength should have comment or be unexported (golint)
    • Line 36: warning: exported method IndexedAttestation.HashTreeRoot should have comment or be unexported (golint)
    • Line 40: warning: exported function IndexedAttestationType should have comment or be unexported (golint)
    • Line 48: warning: exported function ValidateIndexedAttestationIndicesSet should have comment or be unexported (golint)
    • Line 76: warning: exported function ValidateIndexedAttestationNoSignature should have comment or be unexported (golint)
    • Line 98: warning: exported function ValidateIndexedAttestationSignature should have comment or be unexported (golint)
    • Line 121: warning: comment on exported function ValidateIndexedAttestation should be of the form "ValidateIndexedAttestation ..." (golint)
    • zrnt/eth2/beacon/phase0/validator.go
    • Line 8: warning: should not use dot imports (golint)
    • Line 11: warning: exported type Validator should have comment or be unexported (golint)
    • Line 23: warning: exported method Validator.Deserialize should have comment or be unexported (golint)
    • Line 28: warning: exported method Validator.Serialize should have comment or be unexported (golint)
    • Line 33: warning: exported method Validator.ByteLength should have comment or be unexported (golint)
    • Line 33: warning: receiver name a should be consistent with previous receiver name v for Validator (golint)
    • Line 37: warning: exported method Validator.FixedLength should have comment or be unexported (golint)
    • Line 41: warning: exported method Validator.HashTreeRoot should have comment or be unexported (golint)
    • Line 46: warning: exported method Validator.View should have comment or be unexported (golint)
    • Line 61: warning: exported var ValidatorType should have comment or be unexported (golint)
    • Line 85: warning: exported type ValidatorView should have comment or be unexported (golint)
    • Line 91: warning: exported function NewValidatorView should have comment or be unexported (golint)
    • Line 95: warning: exported function AsValidator should have comment or be unexported (golint)
    • Line 100: warning: exported method ValidatorView.Pubkey should have comment or be unexported (golint)
    • Line 103: warning: exported method ValidatorView.WithdrawalCredentials should have comment or be unexported (golint)
    • Line 106: warning: exported method ValidatorView.EffectiveBalance should have comment or be unexported (golint)
    • Line 109: warning: exported method ValidatorView.SetEffectiveBalance should have comment or be unexported (golint)
    • Line 113: warning: exported method ValidatorView.Slashed should have comment or be unexported (golint)
    • Line 118: warning: exported method ValidatorView.MakeSlashed should have comment or be unexported (golint)
    • Line 121: warning: exported method ValidatorView.ActivationEligibilityEpoch should have comment or be unexported (golint)
    • Line 124: warning: exported method ValidatorView.SetActivationEligibilityEpoch should have comment or be unexported (golint)
    • Line 127: warning: exported method ValidatorView.ActivationEpoch should have comment or be unexported (golint)
    • Line 130: warning: exported method ValidatorView.SetActivationEpoch should have comment or be unexported (golint)
    • Line 133: warning: exported method ValidatorView.ExitEpoch should have comment or be unexported (golint)
    • Line 136: warning: exported method ValidatorView.SetExitEpoch should have comment or be unexported (golint)
    • Line 139: warning: exported method ValidatorView.WithdrawableEpoch should have comment or be unexported (golint)
    • Line 142: warning: exported method ValidatorView.SetWithdrawableEpoch should have comment or be unexported (golint)
    • Line 146: warning: exported method ValidatorView.Flatten should have comment or be unexported (golint)
    • Line 164: warning: exported function IsActive should have comment or be unexported (golint)
    • Line 180: warning: exported function IsSlashable should have comment or be unexported (golint)
    • Line 202: warning: exported function IsEligibleForActivationQueue should have comment or be unexported (golint)
    • Line 214: warning: exported function IsEligibleForActivation should have comment or be unexported (golint)
    • zrnt/eth2/beacon/merge/block.go
    • Line 9: warning: should not use dot imports (golint)
    • Line 12: warning: exported type SignedBeaconBlock should have comment or be unexported (golint)
    • Line 19: warning: exported method SignedBeaconBlock.Envelope should have comment or be unexported (golint)
    • Line 32: warning: exported method SignedBeaconBlock.Deserialize should have comment or be unexported (golint)
    • Line 36: warning: exported method SignedBeaconBlock.Serialize should have comment or be unexported (golint)
    • Line 40: warning: exported method SignedBeaconBlock.ByteLength should have comment or be unexported (golint)
    • Line 44: warning: exported method SignedBeaconBlock.FixedLength should have comment or be unexported (golint)
    • Line 44: warning: receiver name a should be consistent with previous receiver name b for SignedBeaconBlock (golint)
    • Line 48: warning: exported method SignedBeaconBlock.HashTreeRoot should have comment or be unexported (golint)
    • Line 52: warning: exported method SignedBeaconBlock.SignedHeader should have comment or be unexported (golint)
    • Line 52: warning: receiver name block should be consistent with previous receiver name b for SignedBeaconBlock (golint)
    • Line 59: warning: exported type BeaconBlock should have comment or be unexported (golint)
    • Line 67: warning: exported method BeaconBlock.Deserialize should have comment or be unexported (golint)
    • Line 71: warning: exported method BeaconBlock.Serialize should have comment or be unexported (golint)
    • Line 75: warning: exported method BeaconBlock.ByteLength should have comment or be unexported (golint)
    • Line 79: warning: exported method BeaconBlock.FixedLength should have comment or be unexported (golint)
    • Line 79: warning: receiver name a should be consistent with previous receiver name b for BeaconBlock (golint)
    • Line 83: warning: exported method BeaconBlock.HashTreeRoot should have comment or be unexported (golint)
    • Line 87: warning: exported function BeaconBlockType should have comment or be unexported (golint)
    • Line 97: warning: exported function SignedBeaconBlockType should have comment or be unexported (golint)
    • Line 104: warning: exported method BeaconBlock.Header should have comment or be unexported (golint)
    • Line 104: warning: receiver name block should be consistent with previous receiver name b for BeaconBlock (golint)
    • Line 114: warning: exported type BeaconBlockBody should have comment or be unexported (golint)
    • Line 128: warning: exported method BeaconBlockBody.Deserialize should have comment or be unexported (golint)
    • Line 138: warning: exported method BeaconBlockBody.Serialize should have comment or be unexported (golint)
    • Line 148: warning: exported method BeaconBlockBody.ByteLength should have comment or be unexported (golint)
    • Line 158: warning: exported method BeaconBlockBody.FixedLength should have comment or be unexported (golint)
    • Line 158: warning: receiver name a should be consistent with previous receiver name b for BeaconBlockBody (golint)
    • Line 162: warning: exported method BeaconBlockBody.HashTreeRoot should have comment or be unexported (golint)
    • Line 172: warning: exported method BeaconBlockBody.CheckLimits should have comment or be unexported (golint)
    • Line 195: warning: exported function BeaconBlockBodyType should have comment or be unexported (golint)
    • zrnt/eth2/beacon/merge/state.go
    • Line 9: warning: should not use dot imports (golint)
    • Line 12: warning: exported type BeaconState should have comment or be unexported (golint)
    • Line 44: warning: exported method BeaconState.Deserialize should have comment or be unexported (golint)
    • Line 58: warning: exported method BeaconState.Serialize should have comment or be unexported (golint)
    • Line 72: warning: exported method BeaconState.ByteLength should have comment or be unexported (golint)
    • Line 86: warning: exported method BeaconState.FixedLength should have comment or be unexported (golint)
    • Line 90: warning: exported method BeaconState.HashTreeRoot should have comment or be unexported (golint)
    • Line 131: warning: exported function BeaconStateType should have comment or be unexported (golint)
    • Line 167: warning: comment on exported function AsBeaconStateView should be of the form "AsBeaconStateView ..." (golint)
    • Line 175: warning: exported type BeaconStateView should have comment or be unexported (golint)
    • Line 181: warning: exported function NewBeaconStateView should have comment or be unexported (golint)
    • Line 185: warning: exported method BeaconStateView.GenesisTime should have comment or be unexported (golint)
    • Line 189: warning: exported method BeaconStateView.SetGenesisTime should have comment or be unexported (golint)
    • Line 193: warning: exported method BeaconStateView.GenesisValidatorsRoot should have comment or be unexported (golint)
    • Line 197: warning: exported method BeaconStateView.SetGenesisValidatorsRoot should have comment or be unexported (golint)
    • Line 202: warning: exported method BeaconStateView.Slot should have comment or be unexported (golint)
    • Line 206: warning: exported method BeaconStateView.SetSlot should have comment or be unexported (golint)
    • Line 210: warning: exported method BeaconStateView.Fork should have comment or be unexported (golint)
    • Line 218: warning: exported method BeaconStateView.SetFork should have comment or be unexported (golint)
    • Line 222: warning: exported method BeaconStateView.LatestBlockHeader should have comment or be unexported (golint)
    • Line 230: warning: exported method BeaconStateView.SetLatestBlockHeader should have comment or be unexported (golint)
    • Line 234: warning: exported method BeaconStateView.BlockRoots should have comment or be unexported (golint)
    • Line 238: warning: exported method BeaconStateView.StateRoots should have comment or be unexported (golint)
    • Line 242: warning: exported method BeaconStateView.HistoricalRoots should have comment or be unexported (golint)
    • Line 246: warning: exported method BeaconStateView.Eth1Data should have comment or be unexported (golint)
    • Line 254: warning: exported method BeaconStateView.SetEth1Data should have comment or be unexported (golint)
    • Line 258: warning: exported method BeaconStateView.Eth1DataVotes should have comment or be unexported (golint)
    • Line 262: warning: exported method BeaconStateView.DepositIndex should have comment or be unexported (golint)
    • Line 266: warning: exported method BeaconStateView.IncrementDepositIndex should have comment or be unexported (golint)
    • Line 274: warning: exported method BeaconStateView.Validators should have comment or be unexported (golint)
    • Line 278: warning: exported method BeaconStateView.Balances should have comment or be unexported (golint)
    • Line 282: warning: exported method BeaconStateView.SetBalances should have comment or be unexported (golint)
    • Line 286: warning: exported method BeaconStateView.AddValidator should have comment or be unexported (golint)
    • Line 317: warning: exported method BeaconStateView.RandaoMixes should have comment or be unexported (golint)
    • Line 321: warning: exported method BeaconStateView.SeedRandao should have comment or be unexported (golint)
    • Line 329: warning: exported method BeaconStateView.Slashings should have comment or be unexported (golint)
    • Line 333: warning: exported method BeaconStateView.PreviousEpochAttestations should have comment or be unexported (golint)
    • Line 337: warning: exported method BeaconStateView.CurrentEpochAttestations should have comment or be unexported (golint)
    • Line 341: warning: exported method BeaconStateView.JustificationBits should have comment or be unexported (golint)
    • Line 349: warning: exported method BeaconStateView.SetJustificationBits should have comment or be unexported (golint)
    • Line 357: warning: exported method BeaconStateView.PreviousJustifiedCheckpoint should have comment or be unexported (golint)
    • Line 365: warning: exported method BeaconStateView.SetPreviousJustifiedCheckpoint should have comment or be unexported (golint)
    • Line 373: warning: exported method BeaconStateView.CurrentJustifiedCheckpoint should have comment or be unexported (golint)
    • Line 381: warning: exported method BeaconStateView.SetCurrentJustifiedCheckpoint should have comment or be unexported (golint)
    • Line 389: warning: exported method BeaconStateView.FinalizedCheckpoint should have comment or be unexported (golint)
    • Line 397: warning: exported method BeaconStateView.SetFinalizedCheckpoint should have comment or be unexported (golint)
    • Line 405: warning: exported method BeaconStateView.LatestExecutionPayloadHeader should have comment or be unexported (golint)
    • Line 409: warning: exported method BeaconStateView.SetLatestExecutionPayloadHeader should have comment or be unexported (golint)
    • Line 413: warning: exported method BeaconStateView.ForkSettings should have comment or be unexported (golint)
    • Line 437: warning: exported method BeaconStateView.Copy should have comment or be unexported (golint)
    • zrnt/eth2/beacon/common/transactions.go
    • Line 12: warning: exported const MAX_BYTES_PER_OPAQUE_TRANSACTION should have comment or be unexported (golint)
    • Line 13: warning: exported const MAX_EXECUTION_TRANSACTIONS should have comment or be unexported (golint)
    • Line 15: warning: exported var PayloadTransactionsType should have comment or be unexported (golint)
    • Line 17: warning: exported type PayloadTransactions should have comment or be unexported (golint)
    • Line 19: warning: exported method PayloadTransactions.Deserialize should have comment or be unexported (golint)
    • Line 27: warning: exported method PayloadTransactions.Serialize should have comment or be unexported (golint)
    • Line 33: warning: exported method PayloadTransactions.ByteLength should have comment or be unexported (golint)
    • Line 40: warning: exported method PayloadTransactions.FixedLength should have comment or be unexported (golint)
    • Line 44: warning: exported method PayloadTransactions.HashTreeRoot should have comment or be unexported (golint)
    • Line 54: warning: exported var OpaqueTransactionType should have comment or be unexported (golint)
    • Line 56: warning: exported type OpaqueTransaction should have comment or be unexported (golint)
    • Line 58: warning: exported method OpaqueTransaction.Deserialize should have comment or be unexported (golint)
    • Line 62: warning: exported method OpaqueTransaction.Serialize should have comment or be unexported (golint)
    • Line 66: warning: exported method OpaqueTransaction.ByteLength should have comment or be unexported (golint)
    • Line 70: warning: exported method OpaqueTransaction.FixedLength should have comment or be unexported (golint)
    • Line 74: warning: exported method OpaqueTransaction.HashTreeRoot should have comment or be unexported (golint)
    • Line 78: warning: exported method OpaqueTransaction.MarshalText should have comment or be unexported (golint)
    • Line 86: warning: exported method OpaqueTransaction.UnmarshalText should have comment or be unexported (golint)
    • zrnt/eth2/beacon/phase0/eth1.go
    • Line 10: warning: should not use dot imports (golint)
    • Line 13: warning: exported type Eth1DataVotes should have comment or be unexported (golint)
    • Line 15: warning: exported method Eth1DataVotes.Deserialize should have comment or be unexported (golint)
    • Line 23: warning: exported method Eth1DataVotes.Serialize should have comment or be unexported (golint)
    • Line 29: warning: exported method Eth1DataVotes.ByteLength should have comment or be unexported (golint)
    • Line 33: warning: exported method Eth1DataVotes.FixedLength should have comment or be unexported (golint)
    • Line 37: warning: exported method Eth1DataVotes.HashTreeRoot should have comment or be unexported (golint)
    • Line 37: warning: receiver name li should be consistent with previous receiver name a for Eth1DataVotes (golint)
    • Line 47: warning: exported function Eth1DataVotesType should have comment or be unexported (golint)
    • Line 51: warning: exported type Eth1DataVotesView should have comment or be unexported (golint)
    • Line 55: warning: exported function AsEth1DataVotes should have comment or be unexported (golint)
    • Line 60: warning: comment on exported method Eth1DataVotesView.Reset should be of the form "Reset ..." (golint)
    • Line 65: warning: exported method Eth1DataVotesView.Length should have comment or be unexported (golint)
    • Line 69: warning: exported method Eth1DataVotesView.Count should have comment or be unexported (golint)
    • Line 89: warning: exported method Eth1DataVotesView.Append should have comment or be unexported (golint)
    • Line 93: warning: exported function ProcessEth1Vote should have comment or be unexported (golint)
    • zrnt/eth2/beacon/common/shuffling.go
    • Line 3: warning: exported type BoundedIndex should have comment or be unexported (golint)
    • Line 9: warning: exported function LoadBoundedIndices should have comment or be unexported (golint)
    • Line 43: warning: exported function CommitteeCount should have comment or be unexported (golint)
    • Line 55: warning: comment on exported type ShufflingEpoch should be of the form "ShufflingEpoch ..." (with optional leading article) (golint)
    • Line 65: warning: exported function ComputeShufflingEpoch should have comment or be unexported (golint)
    • Line 77: warning: exported function NewShufflingEpoch should have comment or be unexported (golint)
    • zrnt/eth2/gossipval/validator.go
    • Line 12: warning: exported type GossipValidatorCode should have comment or be unexported (golint)
    • Line 15: warning: comment on exported const REJECT should be of the form "REJECT ..." (golint)
    • Line 17: warning: exported const IGNORE should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported type GossipValidatorResult should have comment or be unexported (golint)
    • Line 47: warning: exported type Spec should have comment or be unexported (golint)
    • Line 51: warning: exported type SlotAfter should have comment or be unexported (golint)
    • Line 56: warning: exported type GenesisValidatorsRoot should have comment or be unexported (golint)
    • Line 60: warning: exported type DomainGetter should have comment or be unexported (golint)
    • Line 64: warning: exported type BadBlockValidator should have comment or be unexported (golint)
    • Line 69: warning: exported type HeadInfo should have comment or be unexported (golint)
    • Line 73: warning: exported type Chain should have comment or be unexported (golint)
    • zrnt/eth2/beacon/altair/sync_committee.go
    • Line 14: warning: should not use dot imports (golint)
    • Line 21: warning: exported method SyncCommitteeBits.View should have comment or be unexported (golint)
    • Line 26: warning: exported method SyncCommitteeBits.Deserialize should have comment or be unexported (golint)
    • Line 30: warning: exported method SyncCommitteeBits.Serialize should have comment or be unexported (golint)
    • Line 30: warning: receiver name a should be consistent with previous receiver name li for SyncCommitteeBits (golint)
    • Line 34: warning: exported method SyncCommitteeBits.ByteLength should have comment or be unexported (golint)
    • Line 34: warning: receiver name a should be consistent with previous receiver name li for SyncCommitteeBits (golint)
    • Line 38: warning: exported method SyncCommitteeBits.FixedLength should have comment or be unexported (golint)
    • Line 38: warning: receiver name a should be consistent with previous receiver name li for SyncCommitteeBits (golint)
    • Line 42: warning: exported method SyncCommitteeBits.HashTreeRoot should have comment or be unexported (golint)
    • Line 46: warning: exported method SyncCommitteeBits.MarshalText should have comment or be unexported (golint)
    • Line 46: warning: receiver name cb should be consistent with previous receiver name li for SyncCommitteeBits (golint)
    • Line 50: warning: exported method SyncCommitteeBits.UnmarshalText should have comment or be unexported (golint)
    • Line 50: warning: receiver name cb should be consistent with previous receiver name li for SyncCommitteeBits (golint)
    • Line 54: warning: receiver name cb should be consistent with previous receiver name li for SyncCommitteeBits (golint)
    • Line 58: warning: exported method SyncCommitteeBits.GetBit should have comment or be unexported (golint)
    • Line 58: warning: receiver name cb should be consistent with previous receiver name li for SyncCommitteeBits (golint)
    • Line 62: warning: exported method SyncCommitteeBits.SetBit should have comment or be unexported (golint)
    • Line 62: warning: receiver name cb should be consistent with previous receiver name li for SyncCommitteeBits (golint)
    • Line 66: warning: exported type SyncCommitteeBitsView should have comment or be unexported (golint)
    • Line 70: warning: exported function AsSyncCommitteeBits should have comment or be unexported (golint)
    • Line 75: warning: exported method SyncCommitteeBitsView.Raw should have comment or be unexported (golint)
    • Line 89: warning: exported function SyncCommitteeBitsType should have comment or be unexported (golint)
    • Line 93: warning: exported function SyncAggregateType should have comment or be unexported (golint)
    • Line 100: warning: exported type SyncAggregate should have comment or be unexported (golint)
    • Line 105: warning: exported method SyncAggregate.Deserialize should have comment or be unexported (golint)
    • Line 112: warning: exported method SyncAggregate.Serialize should have comment or be unexported (golint)
    • Line 119: warning: exported method SyncAggregate.ByteLength should have comment or be unexported (golint)
    • Line 126: warning: exported method SyncAggregate.FixedLength should have comment or be unexported (golint)
    • Line 131: warning: exported method SyncAggregate.HashTreeRoot should have comment or be unexported (golint)
    • Line 138: warning: exported type SyncAggregateView should have comment or be unexported (golint)
    • Line 142: warning: exported function AsSyncAggregate should have comment or be unexported (golint)
    • Line 147: warning: exported function ProcessSyncCommittee should have comment or be unexported (golint)
    • Line 215: warning: exported function ProcessSyncCommitteeUpdates should have comment or be unexported (golint)
    • zrnt/eth2/pool/proposer_slashings.go
    • Line 9: warning: exported type ProposerSlashingPool should have comment or be unexported (golint)
    • Line 15: warning: exported function NewProposerSlashingPool should have comment or be unexported (golint)
    • Line 22: warning: exported method ProposerSlashingPool.AddProposerSlashing should have comment or be unexported (golint)
    • zrnt/eth2/db/blocks/file.go
    • Line 28: warning: comment on exported function NewFileDB should be of the form "NewFileDB ..." (golint)
    • Line 37: warning: comment on exported method FileDB.Store should be of the form "Store ..." (golint)
    • Line 58: warning: exported method FileDB.Import should have comment or be unexported (golint)
    • Line 71: warning: exported method FileDB.Get should have comment or be unexported (golint)
    • Line 92: warning: exported method FileDB.Size should have comment or be unexported (golint)
    • Line 111: warning: exported method FileDB.Stream should have comment or be unexported (golint)
    • Line 128: warning: exported method FileDB.Remove should have comment or be unexported (golint)
    • Line 137: warning: exported method FileDB.Stats should have comment or be unexported (golint)
    • Line 168: warning: exported method FileDB.List should have comment or be unexported (golint)
    • Line 190: warning: exported method FileDB.Path should have comment or be unexported (golint)
    • Line 194: warning: exported method FileDB.Spec should have comment or be unexported (golint)
    • zrnt/eth2/beacon/common/logs_bloom.go
    • Line 14: warning: exported const BYTES_PER_LOGS_BLOOM should have comment or be unexported (golint)
    • Line 16: warning: exported type LogsBloomView should have comment or be unexported (golint)
    • Line 20: warning: exported method LogsBloomView.Raw should have comment or be unexported (golint)
    • Line 32: warning: exported function AsLogsBloom should have comment or be unexported (golint)
    • Line 40: warning: exported var LogsBloomType should have comment or be unexported (golint)
    • Line 42: warning: exported type LogsBloom should have comment or be unexported (golint)
    • Line 44: warning: exported method LogsBloom.View should have comment or be unexported (golint)
    • Line 53: warning: exported method LogsBloom.Deserialize should have comment or be unexported (golint)
    • Line 61: warning: exported method LogsBloom.Serialize should have comment or be unexported (golint)
    • Line 65: warning: exported method LogsBloom.ByteLength should have comment or be unexported (golint)
    • Line 69: warning: exported method LogsBloom.FixedLength should have comment or be unexported (golint)
    • Line 73: warning: exported method LogsBloom.HashTreeRoot should have comment or be unexported (golint)
    • Line 85: warning: exported method LogsBloom.MarshalText should have comment or be unexported (golint)
    • Line 85: warning: receiver name p should be consistent with previous receiver name s for LogsBloom (golint)
    • Line 89: warning: receiver name p should be consistent with previous receiver name s for LogsBloom (golint)
    • Line 93: warning: exported method LogsBloom.UnmarshalText should have comment or be unexported (golint)
    • Line 93: warning: receiver name p should be consistent with previous receiver name s for LogsBloom (golint)
    • zrnt/eth2/beacon/phase0/transition.go
    • Line 9: warning: exported method BeaconStateView.ProcessEpoch should have comment or be unexported (golint)
    • Line 61: warning: exported method BeaconStateView.ProcessBlock should have comment or be unexported (golint)
    • zrnt/eth2/db/states/db.go
    • Line 8: warning: exported type DBStats should have comment or be unexported (golint)
    • Line 13: warning: exported type DB should have comment or be unexported (golint)
    • zrnt/eth2/util/bls/bls_util_on.go
    • Line 18: warning: exported var G2_POINT_AT_INFINITY should have comment or be unexported (golint)
    • Line 20: warning: exported const BLS_ACTIVE should have comment or be unexported (golint)
    • Line 22: warning: exported function Verify should have comment or be unexported (golint)
    • Line 47: warning: exported function Eth2FastAggregateVerify should have comment or be unexported (golint)
    • Line 55: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • zrnt/eth2/beacon/phase0/deltas.go
    • Line 9: warning: exported type RewardsAndPenalties should have comment or be unexported (golint)
    • Line 17: warning: exported function NewRewardsAndPenalties should have comment or be unexported (golint)
    • Line 27: warning: exported function AttestationRewardsAndPenalties should have comment or be unexported (golint)
    • Line 138: warning: exported type BalancesBeaconState should have comment or be unexported (golint)
    • Line 143: warning: exported function ProcessEpochRewardsAndPenalties should have comment or be unexported (golint)
    • zrnt/eth2/beacon/common/block.go
    • Line 8: warning: exported type BeaconBlockEnvelope should have comment or be unexported (golint)
    • Line 27: warning: exported method BeaconBlockEnvelope.VerifySignature should have comment or be unexported (golint)
    • Line 32: warning: comment on exported method BeaconBlockEnvelope.VerifySignatureVersioned should be of the form "VerifySignatureVersioned ..." (golint)
    • Line 46: warning: exported type EnvelopeBuilder should have comment or be unexported (golint)
    • zrnt/eth2/chain/hot.go
    • Line 15: warning: exported type HotEntry should have comment or be unexported (golint)
    • Line 22: warning: exported function NewHotEntry should have comment or be unexported (golint)
    • Line 32: warning: exported method HotEntry.Step should have comment or be unexported (golint)
    • Line 36: warning: exported method HotEntry.ParentRoot should have comment or be unexported (golint)
    • Line 40: warning: exported method HotEntry.BlockRoot should have comment or be unexported (golint)
    • Line 44: warning: exported method HotEntry.StateRoot should have comment or be unexported (golint)
    • Line 48: warning: exported method HotEntry.EpochsContext should have comment or be unexported (golint)
    • Line 52: warning: exported method HotEntry.State should have comment or be unexported (golint)
    • Line 57: warning: exported type HotChain should have comment or be unexported (golint)
    • Line 75: warning: exported type UnfinalizedChain should have comment or be unexported (golint)
    • Line 101: warning: comment on exported type HotChainIter should be of the form "HotChainIter ..." (with optional leading article) (golint)
    • Line 110: warning: exported method HotChainIter.Start should have comment or be unexported (golint)
    • Line 114: warning: exported method HotChainIter.End should have comment or be unexported (golint)
    • Line 118: warning: exported method HotChainIter.Entry should have comment or be unexported (golint)
    • Line 131: warning: exported method UnfinalizedChain.Iter should have comment or be unexported (golint)
    • Line 166: warning: exported type BlockSink should have comment or be unexported (golint)
    • Line 171: warning: exported type BlockSinkFn should have comment or be unexported (golint)
    • Line 173: warning: exported method BlockSinkFn.Sink should have comment or be unexported (golint)
    • Line 177: warning: exported function NewUnfinalizedChain should have comment or be unexported (golint)
    • Line 260: warning: exported method UnfinalizedChain.ByStateRoot should have comment or be unexported (golint)
    • Line 270: warning: exported method UnfinalizedChain.ByBlock should have comment or be unexported (golint)
    • Line 285: warning: exported method UnfinalizedChain.ByBlockSlot should have comment or be unexported (golint)
    • Line 291: warning: exported method UnfinalizedChain.Search should have comment or be unexported (golint)
    • Line 317: warning: exported method UnfinalizedChain.Closest should have comment or be unexported (golint)
    • Line 344: warning: exported method UnfinalizedChain.Towards should have comment or be unexported (golint)
    • Line 429: warning: exported method UnfinalizedChain.InSubtree should have comment or be unexported (golint)
    • Line 435: warning: exported method UnfinalizedChain.ByCanonStep should have comment or be unexported (golint)
    • Line 445: warning: exported method UnfinalizedChain.JustifiedCheckpoint should have comment or be unexported (golint)
    • Line 451: warning: exported method UnfinalizedChain.FinalizedCheckpoint should have comment or be unexported (golint)
    • Line 457: warning: exported method UnfinalizedChain.Justified should have comment or be unexported (golint)
    • Line 470: warning: exported method UnfinalizedChain.Finalized should have comment or be unexported (golint)
    • Line 483: warning: exported method UnfinalizedChain.Head should have comment or be unexported (golint)
    • Line 498: warning: exported method UnfinalizedChain.AddBlock should have comment or be unexported (golint)
    • zrnt/eth2/beacon/altair/inactivity_scores.go
    • Line 8: warning: should not use dot imports (golint)
    • Line 11: warning: exported type InactivityScores should have comment or be unexported (golint)
    • Line 13: warning: exported method InactivityScores.Deserialize should have comment or be unexported (golint)
    • Line 21: warning: exported method InactivityScores.Serialize should have comment or be unexported (golint)
    • Line 27: warning: exported method InactivityScores.ByteLength should have comment or be unexported (golint)
    • Line 31: warning: exported method InactivityScores.FixedLength should have comment or be unexported (golint)
    • Line 35: warning: exported method InactivityScores.HashTreeRoot should have comment or be unexported (golint)
    • Line 35: warning: receiver name li should be consistent with previous receiver name a for InactivityScores (golint)
    • Line 42: warning: exported function InactivityScoresType should have comment or be unexported (golint)
    • Line 46: warning: exported type InactivityScoresView should have comment or be unexported (golint)
    • Line 50: warning: exported function AsInactivityScores should have comment or be unexported (golint)
    • Line 55: warning: exported method InactivityScoresView.GetScore should have comment or be unexported (golint)
    • Line 60: warning: exported method InactivityScoresView.SetScore should have comment or be unexported (golint)
    • Line 64: warning: exported function ProcessInactivityUpdates should have comment or be unexported (golint)
    • zrnt/tests/benches/util.go
    • Line 10: warning: exported function CreateTestValidators should have comment or be unexported (golint)
    • Line 26: warning: exported function CreateTestState should have comment or be unexported (golint)
    • zrnt/eth2/beacon/common/flat.go
    • Line 3: warning: exported type FlatValidator should have comment or be unexported (golint)
    • Line 12: warning: exported method FlatValidator.IsActive should have comment or be unexported (golint)
    • Line 16: warning: exported function FlattenValidators should have comment or be unexported (golint)
    • zrnt/example/main.go
    • Line 12: warning: exported function CreateTestValidators should have comment or be unexported (golint)
    • Line 28: warning: exported function CreateTestState should have comment or be unexported (golint)
    • zrnt/eth2/beacon/common/justification.go
    • Line 8: warning: should not use dot imports (golint)
    • Line 11: warning: exported type JustificationBits should have comment or be unexported (golint)
    • Line 13: warning: exported method JustificationBits.Deserialize should have comment or be unexported (golint)
    • Line 22: warning: exported method JustificationBits.Serialize should have comment or be unexported (golint)
    • Line 22: warning: receiver name a should be consistent with previous receiver name b for JustificationBits (golint)
    • Line 26: warning: exported method JustificationBits.FixedLength should have comment or be unexported (golint)
    • Line 26: warning: receiver name jb should be consistent with previous receiver name b for JustificationBits (golint)
    • Line 30: warning: exported method JustificationBits.ByteLength should have comment or be unexported (golint)
    • Line 30: warning: receiver name jb should be consistent with previous receiver name b for JustificationBits (golint)
    • Line 34: warning: exported method JustificationBits.HashTreeRoot should have comment or be unexported (golint)
    • Line 34: warning: receiver name jb should be consistent with previous receiver name b for JustificationBits (golint)
    • Line 38: warning: exported method JustificationBits.BitLen should have comment or be unexported (golint)
    • Line 38: warning: receiver name jb should be consistent with previous receiver name b for JustificationBits (golint)
    • Line 42: warning: comment on exported method JustificationBits.NextEpoch should be of the form "NextEpoch ..." (golint)
    • Line 43: warning: receiver name jb should be consistent with previous receiver name b for JustificationBits (golint)
    • Line 48: warning: exported method JustificationBits.IsJustified should have comment or be unexported (golint)
    • Line 48: warning: receiver name jb should be consistent with previous receiver name b for JustificationBits (golint)
    • Line 57: warning: exported method JustificationBits.MarshalText should have comment or be unexported (golint)
    • Line 57: warning: receiver name jb should be consistent with previous receiver name b for JustificationBits (golint)
    • Line 61: warning: exported method JustificationBits.UnmarshalText should have comment or be unexported (golint)
    • Line 61: warning: receiver name jb should be consistent with previous receiver name b for JustificationBits (golint)
    • Line 65: warning: receiver name jb should be consistent with previous receiver name b for JustificationBits (golint)
    • Line 69: warning: exported var JustificationBitsType should have comment or be unexported (golint)
    • Line 71: warning: exported type JustificationBitsView should have comment or be unexported (golint)
    • Line 75: warning: exported method JustificationBitsView.Raw should have comment or be unexported (golint)
    • Line 87: warning: exported method JustificationBitsView.Set should have comment or be unexported (golint)
    • Line 92: warning: exported function AsJustificationBits should have comment or be unexported (golint)
    • zrnt/eth2/beacon/altair/attester.go
    • Line 8: warning: exported type EpochStakeSummary should have comment or be unexported (golint)
    • Line 14: warning: exported type EpochAttesterData should have comment or be unexported (golint)
    • Line 28: warning: exported function ComputeEpochAttesterData should have comment or be unexported (golint)
    • zrnt/eth2/beacon/altair/participation.go
    • Line 9: warning: should not use dot imports (golint)
    • Line 12: warning: exported const ParticipationFlagsType should have comment or be unexported (golint)
    • Line 14: warning: exported type ParticipationFlags should have comment or be unexported (golint)
    • Line 16: warning: exported function AsParticipationFlags should have comment or be unexported (golint)
    • Line 21: warning: exported method ParticipationFlags.Deserialize should have comment or be unexported (golint)
    • Line 25: warning: exported method ParticipationFlags.Serialize should have comment or be unexported (golint)
    • Line 25: warning: receiver name i should be consistent with previous receiver name a for ParticipationFlags (golint)
    • Line 29: warning: exported method ParticipationFlags.ByteLength should have comment or be unexported (golint)
    • Line 33: warning: exported method ParticipationFlags.FixedLength should have comment or be unexported (golint)
    • Line 37: warning: exported method ParticipationFlags.HashTreeRoot should have comment or be unexported (golint)
    • Line 37: warning: receiver name t should be consistent with previous receiver name a for ParticipationFlags (golint)
    • Line 41: warning: receiver name e should be consistent with previous receiver name a for ParticipationFlags (golint)
    • Line 53: warning: exported const TIMELY_SOURCE_FLAG should have comment (or a comment on this block) or be unexported (golint)
    • Line 68: warning: exported type ParticipationRegistry should have comment or be unexported (golint)
    • Line 70: warning: exported method ParticipationRegistry.Deserialize should have comment or be unexported (golint)
    • Line 78: warning: exported method ParticipationRegistry.Serialize should have comment or be unexported (golint)
    • Line 84: warning: exported method ParticipationRegistry.ByteLength should have comment or be unexported (golint)
    • Line 88: warning: exported method ParticipationRegistry.FixedLength should have comment or be unexported (golint)
    • Line 92: warning: exported method ParticipationRegistry.HashTreeRoot should have comment or be unexported (golint)
    • Line 92: warning: receiver name li should be consistent with previous receiver name a for ParticipationRegistry (golint)
    • Line 98: warning: exported function ParticipationRegistryType should have comment or be unexported (golint)
    • Line 102: warning: exported type ParticipationRegistryView should have comment or be unexported (golint)
    • Line 106: warning: exported function AsParticipationRegistry should have comment or be unexported (golint)
    • Line 111: warning: exported method ParticipationRegistryView.GetFlags should have comment or be unexported (golint)
    • Line 115: warning: exported method ParticipationRegistryView.SetFlags should have comment or be unexported (golint)
    • Line 119: warning: exported method ParticipationRegistryView.Raw should have comment or be unexported (golint)
    • Line 139: warning: exported method ParticipationRegistryView.FillZeroes should have comment or be unexported (golint)
    • Line 153: warning: exported function ProcessParticipationFlagUpdates should have comment or be unexported (golint)
    • zrnt/eth2/forkchoice/proto/votestore.go
    • Line 5: warning: should not use dot imports (golint)
    • Line 8: warning: exported type VoteTracker should have comment or be unexported (golint)
    • Line 15: warning: exported type ProtoVoteStore should have comment or be unexported (golint)
    • Line 23: warning: exported function NewProtoVoteStore should have comment or be unexported (golint)
    • Line 27: warning: comment on exported method ProtoVoteStore.ProcessAttestation should be of the form "ProcessAttestation ..." (golint)
    • Line 49: warning: exported method ProtoVoteStore.HasChanges should have comment or be unexported (golint)
    • Line 53: warning: comment on exported method ProtoVoteStore.ComputeDeltas should be of the form "ComputeDeltas ..." (golint)
    • zrnt/eth2/db/blocks/mem.go
    • Line 16: warning: exported type MemDB should have comment or be unexported (golint)
    • Line 27: warning: exported function NewMemDB should have comment or be unexported (golint)
    • Line 31: warning: exported method MemDB.Store should have comment or be unexported (golint)
    • Line 57: warning: exported method MemDB.Import should have comment or be unexported (golint)
    • Line 70: warning: exported method MemDB.Get should have comment or be unexported (golint)
    • Line 83: warning: exported method MemDB.Size should have comment or be unexported (golint)
    • Line 105: warning: exported method MemDB.Stream should have comment or be unexported (golint)
    • Line 117: warning: exported method MemDB.Remove should have comment or be unexported (golint)
    • Line 129: warning: exported method MemDB.Stats should have comment or be unexported (golint)
    • Line 134: warning: exported method MemDB.List should have comment or be unexported (golint)
    • Line 144: warning: exported method MemDB.Path should have comment or be unexported (golint)
    • Line 148: warning: exported method MemDB.Spec should have comment or be unexported (golint)
    • zrnt/eth2/beacon/phase0/attestation_bits.go
    • Line 11: warning: should not use dot imports (golint)
    • Line 17: warning: exported method AttestationBits.View should have comment or be unexported (golint)
    • Line 22: warning: exported method AttestationBits.Deserialize should have comment or be unexported (golint)
    • Line 26: warning: exported method AttestationBits.Serialize should have comment or be unexported (golint)
    • Line 26: warning: receiver name a should be consistent with previous receiver name li for AttestationBits (golint)
    • Line 30: warning: exported method AttestationBits.ByteLength should have comment or be unexported (golint)
    • Line 30: warning: receiver name a should be consistent with previous receiver name li for AttestationBits (golint)
    • Line 34: warning: exported method AttestationBits.FixedLength should have comment or be unexported (golint)
    • Line 34: warning: receiver name a should be consistent with previous receiver name li for AttestationBits (golint)
    • Line 38: warning: exported method AttestationBits.HashTreeRoot should have comment or be unexported (golint)
    • Line 42: warning: exported method AttestationBits.MarshalText should have comment or be unexported (golint)
    • Line 42: warning: receiver name cb should be consistent with previous receiver name li for AttestationBits (golint)
    • Line 46: warning: exported method AttestationBits.UnmarshalText should have comment or be unexported (golint)
    • Line 46: warning: receiver name cb should be consistent with previous receiver name li for AttestationBits (golint)
    • Line 50: warning: receiver name cb should be consistent with previous receiver name li for AttestationBits (golint)
    • Line 54: warning: exported method AttestationBits.BitLen should have comment or be unexported (golint)
    • Line 54: warning: receiver name cb should be consistent with previous receiver name li for AttestationBits (golint)
    • Line 58: warning: exported method AttestationBits.GetBit should have comment or be unexported (golint)
    • Line 58: warning: receiver name cb should be consistent with previous receiver name li for AttestationBits (golint)
    • Line 62: warning: exported method AttestationBits.SetBit should have comment or be unexported (golint)
    • Line 62: warning: receiver name cb should be consistent with previous receiver name li for AttestationBits (golint)
    • Line 66: warning: comment on exported method AttestationBits.Or should be of the form "Or ..." (golint)
    • Line 67: warning: receiver name cb should be consistent with previous receiver name li for AttestationBits (golint)
    • Line 73: warning: comment on exported method AttestationBits.FilterParticipants should be of the form "FilterParticipants ..." (golint)
    • Line 77: warning: receiver name cb should be consistent with previous receiver name li for AttestationBits (golint)
    • Line 91: warning: comment on exported method AttestationBits.FilterNonParticipants should be of the form "FilterNonParticipants ..." (golint)
    • Line 95: warning: receiver name cb should be consistent with previous receiver name li for AttestationBits (golint)
    • Line 109: warning: comment on exported method AttestationBits.Covers should be of the form "Covers ..." (golint)
    • Line 110: warning: receiver name cb should be consistent with previous receiver name li for AttestationBits (golint)
    • Line 117: warning: exported method AttestationBits.OnesCount should have comment or be unexported (golint)
    • Line 117: warning: receiver name cb should be consistent with previous receiver name li for AttestationBits (golint)
    • Line 121: warning: exported method AttestationBits.SingleParticipant should have comment or be unexported (golint)
    • Line 121: warning: receiver name cb should be consistent with previous receiver name li for AttestationBits (golint)
    • Line 142: warning: exported method AttestationBits.Copy should have comment or be unexported (golint)
    • Line 142: warning: receiver name cb should be consistent with previous receiver name li for AttestationBits (golint)
    • Line 147: warning: exported function AttestationBitsType should have comment or be unexported (golint)
    • Line 151: warning: exported type AttestationBitsView should have comment or be unexported (golint)
    • Line 155: warning: exported function AsAttestationBits should have comment or be unexported (golint)
    • Line 160: warning: exported method AttestationBitsView.Raw should have comment or be unexported (golint)
    • zrnt/eth2/util/hashing/hash_util.go
    • Line 12: warning: comment on exported type HashFn should be of the form "HashFn ..." (with optional leading article) (golint)
    • Line 15: warning: exported type NewHashFn should have comment or be unexported (golint)
    • Line 17: warning: comment on exported function Sha256Repeat should be of the form "Sha256Repeat ..." (golint)
    • Line 29: warning: comment on exported var GetHashFn should be of the form "GetHashFn ..." (golint)
    • Line 32: warning: exported function XorBytes32 should have comment or be unexported (golint)
    • zrnt/eth2/pool/attestations.go
    • Line 14: warning: exported type Assignment should have comment or be unexported (golint)
    • Line 19: warning: exported type IndexedAttData should have comment or be unexported (golint)
    • Line 24: warning: exported type AttRef should have comment or be unexported (golint)
    • Line 29: warning: exported type Aggregate should have comment or be unexported (golint)
    • Line 34: warning: exported type MinAggregates should have comment or be unexported (golint)
    • Line 42: warning: exported type AttestationPool should have comment or be unexported (golint)
    • Line 51: warning: exported function NewAttestationPool should have comment or be unexported (golint)
    • Line 61: warning: exported method AttestationPool.AddAttestation should have comment or be unexported (golint)
    • Line 90: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 135: warning: exported type AttSearchOption should have comment or be unexported (golint)
    • Line 137: warning: exported function WithSlot should have comment or be unexported (golint)
    • Line 143: warning: exported function WithCommittee should have comment or be unexported (golint)
    • Line 149: warning: exported method AttestationPool.Search should have comment or be unexported (golint)
    • Line 170: warning: exported method AttestationPool.Prune should have comment or be unexported (golint)
    • Line 174: warning: exported method AttestationPool.Packing should have comment or be unexported (golint)
    • zrnt/eth2/beacon/phase0/slashings.go
    • Line 9: warning: should not use dot imports (golint)
    • Line 15: warning: exported method SlashingsHistory.Deserialize should have comment or be unexported (golint)
    • Line 29: warning: exported method SlashingsHistory.Serialize should have comment or be unexported (golint)
    • Line 35: warning: exported method SlashingsHistory.ByteLength should have comment or be unexported (golint)
    • Line 39: warning: exported method SlashingsHistory.FixedLength should have comment or be unexported (golint)
    • Line 43: warning: exported method SlashingsHistory.HashTreeRoot should have comment or be unexported (golint)
    • Line 43: warning: receiver name li should be consistent with previous receiver name a for SlashingsHistory (golint)
    • Line 49: warning: comment on exported function SlashingsType should be of the form "SlashingsType ..." (golint)
    • Line 54: warning: exported type SlashingsView should have comment or be unexported (golint)
    • Line 58: warning: exported function AsSlashings should have comment or be unexported (golint)
    • Line 63: warning: exported method SlashingsView.GetSlashingsValue should have comment or be unexported (golint)
    • Line 68: warning: exported method SlashingsView.ResetSlashings should have comment or be unexported (golint)
    • Line 73: warning: exported method SlashingsView.AddSlashing should have comment or be unexported (golint)
    • Line 82: warning: exported method SlashingsView.Total should have comment or be unexported (golint)
    • Line 101: warning: comment on exported function SlashValidator should be of the form "SlashValidator ..." (golint)
    • Line 175: warning: exported function ProcessEpochSlashings should have comment or be unexported (golint)
    • zrnt/eth2/beacon/altair/state.go
    • Line 9: warning: should not use dot imports (golint)
    • Line 12: warning: exported type BeaconState should have comment or be unexported (golint)
    • Line 47: warning: exported method BeaconState.Deserialize should have comment or be unexported (golint)
    • Line 63: warning: exported method BeaconState.Serialize should have comment or be unexported (golint)
    • Line 79: warning: exported method BeaconState.ByteLength should have comment or be unexported (golint)
    • Line 95: warning: exported method BeaconState.FixedLength should have comment or be unexported (golint)
    • Line 99: warning: exported method BeaconState.HashTreeRoot should have comment or be unexported (golint)
    • Line 144: warning: exported function BeaconStateType should have comment or be unexported (golint)
    • Line 183: warning: comment on exported function AsBeaconStateView should be of the form "AsBeaconStateView ..." (golint)
    • Line 191: warning: exported type BeaconStateView should have comment or be unexported (golint)
    • Line 197: warning: exported function NewBeaconStateView should have comment or be unexported (golint)
    • Line 201: warning: exported method BeaconStateView.GenesisTime should have comment or be unexported (golint)
    • Line 205: warning: exported method BeaconStateView.SetGenesisTime should have comment or be unexported (golint)
    • Line 209: warning: exported method BeaconStateView.GenesisValidatorsRoot should have comment or be unexported (golint)
    • Line 213: warning: exported method BeaconStateView.SetGenesisValidatorsRoot should have comment or be unexported (golint)
    • Line 218: warning: exported method BeaconStateView.Slot should have comment or be unexported (golint)
    • Line 222: warning: exported method BeaconStateView.SetSlot should have comment or be unexported (golint)
    • Line 226: warning: exported method BeaconStateView.Fork should have comment or be unexported (golint)
    • Line 234: warning: exported method BeaconStateView.SetFork should have comment or be unexported (golint)
    • Line 238: warning: exported method BeaconStateView.LatestBlockHeader should have comment or be unexported (golint)
    • Line 246: warning: exported method BeaconStateView.SetLatestBlockHeader should have comment or be unexported (golint)
    • Line 250: warning: exported method BeaconStateView.BlockRoots should have comment or be unexported (golint)
    • Line 254: warning: exported method BeaconStateView.StateRoots should have comment or be unexported (golint)
    • Line 258: warning: exported method BeaconStateView.HistoricalRoots should have comment or be unexported (golint)
    • Line 262: warning: exported method BeaconStateView.Eth1Data should have comment or be unexported (golint)
    • Line 270: warning: exported method BeaconStateView.SetEth1Data should have comment or be unexported (golint)
    • Line 274: warning: exported method BeaconStateView.Eth1DataVotes should have comment or be unexported (golint)
    • Line 278: warning: exported method BeaconStateView.DepositIndex should have comment or be unexported (golint)
    • Line 282: warning: exported method BeaconStateView.IncrementDepositIndex should have comment or be unexported (golint)
    • Line 290: warning: exported method BeaconStateView.Validators should have comment or be unexported (golint)
    • Line 294: warning: exported method BeaconStateView.Balances should have comment or be unexported (golint)
    • Line 298: warning: exported method BeaconStateView.SetBalances should have comment or be unexported (golint)
    • Line 302: warning: exported method BeaconStateView.AddValidator should have comment or be unexported (golint)
    • Line 356: warning: exported method BeaconStateView.RandaoMixes should have comment or be unexported (golint)
    • Line 360: warning: exported method BeaconStateView.SeedRandao should have comment or be unexported (golint)
    • Line 368: warning: exported method BeaconStateView.Slashings should have comment or be unexported (golint)
    • Line 372: warning: exported method BeaconStateView.PreviousEpochParticipation should have comment or be unexported (golint)
    • Line 376: warning: exported method BeaconStateView.CurrentEpochParticipation should have comment or be unexported (golint)
    • Line 380: warning: exported method BeaconStateView.JustificationBits should have comment or be unexported (golint)
    • Line 388: warning: exported method BeaconStateView.SetJustificationBits should have comment or be unexported (golint)
    • Line 396: warning: exported method BeaconStateView.PreviousJustifiedCheckpoint should have comment or be unexported (golint)
    • Line 404: warning: exported method BeaconStateView.SetPreviousJustifiedCheckpoint should have comment or be unexported (golint)
    • Line 412: warning: exported method BeaconStateView.CurrentJustifiedCheckpoint should have comment or be unexported (golint)
    • Line 420: warning: exported method BeaconStateView.SetCurrentJustifiedCheckpoint should have comment or be unexported (golint)
    • Line 428: warning: exported method BeaconStateView.FinalizedCheckpoint should have comment or be unexported (golint)
    • Line 436: warning: exported method BeaconStateView.SetFinalizedCheckpoint should have comment or be unexported (golint)
    • Line 444: warning: exported method BeaconStateView.InactivityScores should have comment or be unexported (golint)
    • Line 448: warning: exported method BeaconStateView.CurrentSyncCommittee should have comment or be unexported (golint)
    • Line 452: warning: exported method BeaconStateView.NextSyncCommittee should have comment or be unexported (golint)
    • Line 456: warning: exported method BeaconStateView.RotateSyncCommittee should have comment or be unexported (golint)
    • Line 467: warning: exported method BeaconStateView.ForkSettings should have comment or be unexported (golint)
    • Line 491: warning: exported method BeaconStateView.Copy should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign96%

IneffAssign detects ineffectual assignments in Go code.


misspell98%

Misspell Finds commonly misspelled English words