Versions in this module Expand all Collapse all v0 v0.0.1 Oct 19, 2023 Changes in this version + func EncodeLightBlockValidationResult(validatorSetChanged bool, consensusStateBytes []byte) []byte + type ConsensusState struct + ChainID string + Height uint64 + NextValidatorSetHash []byte + ValidatorSet *types.ValidatorSet + func DecodeConsensusState(input []byte) (ConsensusState, error) + func DecodeLightBlockValidationInput(input []byte) (*ConsensusState, *types.LightBlock, error) + func (cs *ConsensusState) ApplyLightBlock(block *types.LightBlock, isHertz bool) (bool, error) + func (cs ConsensusState) EncodeConsensusState() ([]byte, error)