Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Logger instance for quick declarative logging levels Logger = logging.MustGetLogger("replayer") SdkLogger = &sdkLogger{} )
Functions ¶
Types ¶
type ConsensusState ¶
type ConsensusState struct { ChainID string Height uint64 AppHash []byte CurValidatorSetHash []byte NextValidatorSet *tmtypes.ValidatorSet }
func (ConsensusState) EncodeConsensusState ¶
func (cs ConsensusState) EncodeConsensusState() ([]byte, error)
output: | chainID | height | appHash | curValidatorSetHash | [{validator pubkey, voting power}] | | 32 bytes | 8 bytes | 32 bytes | 32 bytes | [{32 bytes, 8 bytes}] |
type CrossChainChannelID ¶
type CrossChainChannelID int8
type CrossChainID ¶
type CrossChainID uint16
type Header ¶
type Header struct { tmtypes.SignedHeader ValidatorSet *tmtypes.ValidatorSet `json:"validator_set"` NextValidatorSet *tmtypes.ValidatorSet `json:"next_validator_set"` }
func (*Header) EncodeHeader ¶
type Task ¶
type Task struct { ChannelID CrossChainChannelID Sequence uint64 }
Click to show internal directories.
Click to hide internal directories.