Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
- type AccountUpdate
- func (*AccountUpdate) Descriptor() ([]byte, []int)
- func (m *AccountUpdate) Marshal() (dAtA []byte, err error)
- func (m *AccountUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountUpdate) ProtoMessage()
- func (m *AccountUpdate) Reset()
- func (m *AccountUpdate) Size() (n int)
- func (m *AccountUpdate) String() string
- func (m *AccountUpdate) Unmarshal(dAtA []byte) error
- func (u *AccountUpdate) ValidateBasic() error
- func (m *AccountUpdate) XXX_DiscardUnknown()
- func (m *AccountUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountUpdate) XXX_Merge(src proto.Message)
- func (m *AccountUpdate) XXX_Size() int
- func (m *AccountUpdate) XXX_Unmarshal(b []byte) error
- type BeaconBlockHeader
- func (*BeaconBlockHeader) Descriptor() ([]byte, []int)
- func (m *BeaconBlockHeader) Marshal() (dAtA []byte, err error)
- func (m *BeaconBlockHeader) MarshalTo(dAtA []byte) (int, error)
- func (m *BeaconBlockHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BeaconBlockHeader) ProtoMessage()
- func (m *BeaconBlockHeader) Reset()
- func (m *BeaconBlockHeader) Size() (n int)
- func (m *BeaconBlockHeader) String() string
- func (m *BeaconBlockHeader) Unmarshal(dAtA []byte) error
- func (m *BeaconBlockHeader) XXX_DiscardUnknown()
- func (m *BeaconBlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BeaconBlockHeader) XXX_Merge(src proto.Message)
- func (m *BeaconBlockHeader) XXX_Size() int
- func (m *BeaconBlockHeader) XXX_Unmarshal(b []byte) error
- type ClientState
- func (cs *ClientState) CheckForMisbehaviour(ctx sdk.Context, cdc codec.BinaryCodec, clientStore sdk.KVStore, ...) bool
- func (cs *ClientState) CheckSubstituteAndUpdateState(ctx sdk.Context, cdc codec.BinaryCodec, ...) error
- func (cs *ClientState) ClientType() string
- func (*ClientState) Descriptor() ([]byte, []int)
- func (cs *ClientState) ExportMetadata(_ sdk.KVStore) []exported.GenesisMetadata
- func (cs *ClientState) GetLatestHeight() exported.Height
- func (cs *ClientState) GetTimestampAtHeight(ctx sdk.Context, clientStore sdk.KVStore, cdc codec.BinaryCodec, ...) (uint64, error)
- func (cs *ClientState) Initialize(_ sdk.Context, _ codec.BinaryCodec, _ sdk.KVStore, _ exported.ConsensusState) error
- func (m *ClientState) Marshal() (dAtA []byte, err error)
- func (m *ClientState) MarshalTo(dAtA []byte) (int, error)
- func (m *ClientState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClientState) ProtoMessage()
- func (m *ClientState) Reset()
- func (m *ClientState) Size() (n int)
- func (cs *ClientState) Status(ctx sdk.Context, clientStore sdk.KVStore, cdc codec.BinaryCodec) exported.Status
- func (m *ClientState) String() string
- func (m *ClientState) Unmarshal(dAtA []byte) error
- func (cs *ClientState) UpdateState(ctx sdk.Context, cdc codec.BinaryCodec, clientStore sdk.KVStore, ...) []exported.Height
- func (cs *ClientState) UpdateStateOnMisbehaviour(ctx sdk.Context, cdc codec.BinaryCodec, clientStore sdk.KVStore, ...)
- func (cs *ClientState) Validate() error
- func (cs *ClientState) VerifyClientMessage(ctx sdk.Context, cdc codec.BinaryCodec, clientStore sdk.KVStore, ...) error
- func (cs *ClientState) VerifyMembership(ctx sdk.Context, clientStore sdk.KVStore, cdc codec.BinaryCodec, ...) error
- func (cs *ClientState) VerifyNonMembership(ctx sdk.Context, clientStore sdk.KVStore, cdc codec.BinaryCodec, ...) error
- func (cs *ClientState) VerifyUpgradeAndUpdateState(ctx sdk.Context, cdc codec.BinaryCodec, store sdk.KVStore, ...) error
- func (m *ClientState) XXX_DiscardUnknown()
- func (m *ClientState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientState) XXX_Merge(src proto.Message)
- func (m *ClientState) XXX_Size() int
- func (m *ClientState) XXX_Unmarshal(b []byte) error
- func (cs *ClientState) ZeroCustomFields() exported.ClientState
- type ConsensusState
- func (cs *ConsensusState) ClientType() string
- func (*ConsensusState) Descriptor() ([]byte, []int)
- func (cs *ConsensusState) GetRoot() exported.Root
- func (cs *ConsensusState) GetTimestamp() uint64
- func (m *ConsensusState) Marshal() (dAtA []byte, err error)
- func (m *ConsensusState) MarshalTo(dAtA []byte) (int, error)
- func (m *ConsensusState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConsensusState) ProtoMessage()
- func (m *ConsensusState) Reset()
- func (m *ConsensusState) Size() (n int)
- func (m *ConsensusState) String() string
- func (m *ConsensusState) Unmarshal(dAtA []byte) error
- func (cs *ConsensusState) ValidateBasic() error
- func (m *ConsensusState) XXX_DiscardUnknown()
- func (m *ConsensusState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsensusState) XXX_Merge(src proto.Message)
- func (m *ConsensusState) XXX_Size() int
- func (m *ConsensusState) XXX_Unmarshal(b []byte) error
- type ExecutionUpdate
- func (*ExecutionUpdate) Descriptor() ([]byte, []int)
- func (m *ExecutionUpdate) Marshal() (dAtA []byte, err error)
- func (m *ExecutionUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *ExecutionUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExecutionUpdate) ProtoMessage()
- func (m *ExecutionUpdate) Reset()
- func (m *ExecutionUpdate) Size() (n int)
- func (m *ExecutionUpdate) String() string
- func (m *ExecutionUpdate) Unmarshal(dAtA []byte) error
- func (u *ExecutionUpdate) ValidateBasic() error
- func (m *ExecutionUpdate) XXX_DiscardUnknown()
- func (m *ExecutionUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecutionUpdate) XXX_Merge(src proto.Message)
- func (m *ExecutionUpdate) XXX_Size() int
- func (m *ExecutionUpdate) XXX_Unmarshal(b []byte) error
- type FinalizedHeaderMisbehaviour
- func (*FinalizedHeaderMisbehaviour) Descriptor() ([]byte, []int)
- func (m *FinalizedHeaderMisbehaviour) Marshal() (dAtA []byte, err error)
- func (m *FinalizedHeaderMisbehaviour) MarshalTo(dAtA []byte) (int, error)
- func (m *FinalizedHeaderMisbehaviour) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FinalizedHeaderMisbehaviour) ProtoMessage()
- func (m *FinalizedHeaderMisbehaviour) Reset()
- func (m *FinalizedHeaderMisbehaviour) Size() (n int)
- func (m *FinalizedHeaderMisbehaviour) String() string
- func (m *FinalizedHeaderMisbehaviour) Unmarshal(dAtA []byte) error
- func (m *FinalizedHeaderMisbehaviour) XXX_DiscardUnknown()
- func (m *FinalizedHeaderMisbehaviour) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FinalizedHeaderMisbehaviour) XXX_Merge(src proto.Message)
- func (m *FinalizedHeaderMisbehaviour) XXX_Size() int
- func (m *FinalizedHeaderMisbehaviour) XXX_Unmarshal(b []byte) error
- type Fork
- func (*Fork) Descriptor() ([]byte, []int)
- func (m *Fork) Marshal() (dAtA []byte, err error)
- func (m *Fork) MarshalTo(dAtA []byte) (int, error)
- func (m *Fork) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Fork) ProtoMessage()
- func (m *Fork) Reset()
- func (m *Fork) Size() (n int)
- func (m *Fork) String() string
- func (m *Fork) Unmarshal(dAtA []byte) error
- func (m *Fork) XXX_DiscardUnknown()
- func (m *Fork) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Fork) XXX_Merge(src proto.Message)
- func (m *Fork) XXX_Size() int
- func (m *Fork) XXX_Unmarshal(b []byte) error
- type ForkParameters
- func (*ForkParameters) Descriptor() ([]byte, []int)
- func (m *ForkParameters) Marshal() (dAtA []byte, err error)
- func (m *ForkParameters) MarshalTo(dAtA []byte) (int, error)
- func (m *ForkParameters) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ForkParameters) ProtoMessage()
- func (m *ForkParameters) Reset()
- func (m *ForkParameters) Size() (n int)
- func (m *ForkParameters) String() string
- func (m *ForkParameters) Unmarshal(dAtA []byte) error
- func (m *ForkParameters) XXX_DiscardUnknown()
- func (m *ForkParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ForkParameters) XXX_Merge(src proto.Message)
- func (m *ForkParameters) XXX_Size() int
- func (m *ForkParameters) XXX_Unmarshal(b []byte) error
- type Fraction
- func (*Fraction) Descriptor() ([]byte, []int)
- func (m *Fraction) Marshal() (dAtA []byte, err error)
- func (m *Fraction) MarshalTo(dAtA []byte) (int, error)
- func (m *Fraction) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Fraction) ProtoMessage()
- func (m *Fraction) Reset()
- func (m *Fraction) Size() (n int)
- func (m *Fraction) String() string
- func (m *Fraction) Unmarshal(dAtA []byte) error
- func (m *Fraction) XXX_DiscardUnknown()
- func (m *Fraction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Fraction) XXX_Merge(src proto.Message)
- func (m *Fraction) XXX_Size() int
- func (m *Fraction) XXX_Unmarshal(b []byte) error
- type Header
- func (h *Header) ClientType() string
- func (*Header) Descriptor() ([]byte, []int)
- func (h *Header) GetHeight() exported.Height
- func (m *Header) Marshal() (dAtA []byte, err error)
- func (m *Header) MarshalTo(dAtA []byte) (int, error)
- func (m *Header) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Header) ProtoMessage()
- func (m *Header) Reset()
- func (m *Header) Size() (n int)
- func (m *Header) String() string
- func (m *Header) Unmarshal(dAtA []byte) error
- func (h *Header) ValidateBasic() error
- func (m *Header) XXX_DiscardUnknown()
- func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Header) XXX_Merge(src proto.Message)
- func (m *Header) XXX_Size() int
- func (m *Header) XXX_Unmarshal(b []byte) error
- type LightClientUpdate
- func (*LightClientUpdate) Descriptor() ([]byte, []int)
- func (m *LightClientUpdate) Marshal() (dAtA []byte, err error)
- func (m *LightClientUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *LightClientUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LightClientUpdate) ProtoMessage()
- func (m *LightClientUpdate) Reset()
- func (m *LightClientUpdate) Size() (n int)
- func (m *LightClientUpdate) String() string
- func (m *LightClientUpdate) Unmarshal(dAtA []byte) error
- func (u *LightClientUpdate) ValidateBasic() error
- func (m *LightClientUpdate) XXX_DiscardUnknown()
- func (m *LightClientUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LightClientUpdate) XXX_Merge(src proto.Message)
- func (m *LightClientUpdate) XXX_Size() int
- func (m *LightClientUpdate) XXX_Unmarshal(b []byte) error
- type NextSyncCommitteeMisbehaviour
- func (*NextSyncCommitteeMisbehaviour) Descriptor() ([]byte, []int)
- func (m *NextSyncCommitteeMisbehaviour) Marshal() (dAtA []byte, err error)
- func (m *NextSyncCommitteeMisbehaviour) MarshalTo(dAtA []byte) (int, error)
- func (m *NextSyncCommitteeMisbehaviour) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NextSyncCommitteeMisbehaviour) ProtoMessage()
- func (m *NextSyncCommitteeMisbehaviour) Reset()
- func (m *NextSyncCommitteeMisbehaviour) Size() (n int)
- func (m *NextSyncCommitteeMisbehaviour) String() string
- func (m *NextSyncCommitteeMisbehaviour) Unmarshal(dAtA []byte) error
- func (m *NextSyncCommitteeMisbehaviour) XXX_DiscardUnknown()
- func (m *NextSyncCommitteeMisbehaviour) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NextSyncCommitteeMisbehaviour) XXX_Merge(src proto.Message)
- func (m *NextSyncCommitteeMisbehaviour) XXX_Size() int
- func (m *NextSyncCommitteeMisbehaviour) XXX_Unmarshal(b []byte) error
- type SyncAggregate
- func (*SyncAggregate) Descriptor() ([]byte, []int)
- func (m *SyncAggregate) Marshal() (dAtA []byte, err error)
- func (m *SyncAggregate) MarshalTo(dAtA []byte) (int, error)
- func (m *SyncAggregate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SyncAggregate) ProtoMessage()
- func (m *SyncAggregate) Reset()
- func (m *SyncAggregate) Size() (n int)
- func (m *SyncAggregate) String() string
- func (m *SyncAggregate) Unmarshal(dAtA []byte) error
- func (m *SyncAggregate) XXX_DiscardUnknown()
- func (m *SyncAggregate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SyncAggregate) XXX_Merge(src proto.Message)
- func (m *SyncAggregate) XXX_Size() int
- func (m *SyncAggregate) XXX_Unmarshal(b []byte) error
- type SyncCommittee
- func (*SyncCommittee) Descriptor() ([]byte, []int)
- func (m *SyncCommittee) Marshal() (dAtA []byte, err error)
- func (m *SyncCommittee) MarshalTo(dAtA []byte) (int, error)
- func (m *SyncCommittee) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SyncCommittee) ProtoMessage()
- func (m *SyncCommittee) Reset()
- func (m *SyncCommittee) Size() (n int)
- func (m *SyncCommittee) String() string
- func (m *SyncCommittee) Unmarshal(dAtA []byte) error
- func (m *SyncCommittee) XXX_DiscardUnknown()
- func (m *SyncCommittee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SyncCommittee) XXX_Merge(src proto.Message)
- func (m *SyncCommittee) XXX_Size() int
- func (m *SyncCommittee) XXX_Unmarshal(b []byte) error
- type TrustedSyncCommittee
- func (*TrustedSyncCommittee) Descriptor() ([]byte, []int)
- func (m *TrustedSyncCommittee) Marshal() (dAtA []byte, err error)
- func (m *TrustedSyncCommittee) MarshalTo(dAtA []byte) (int, error)
- func (m *TrustedSyncCommittee) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TrustedSyncCommittee) ProtoMessage()
- func (m *TrustedSyncCommittee) Reset()
- func (m *TrustedSyncCommittee) Size() (n int)
- func (m *TrustedSyncCommittee) String() string
- func (m *TrustedSyncCommittee) Unmarshal(dAtA []byte) error
- func (m *TrustedSyncCommittee) XXX_DiscardUnknown()
- func (m *TrustedSyncCommittee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TrustedSyncCommittee) XXX_Merge(src proto.Message)
- func (m *TrustedSyncCommittee) XXX_Size() int
- func (m *TrustedSyncCommittee) XXX_Unmarshal(b []byte) error
Constants ¶
const ( ModuleName = "ethereum" ClientType = "ethereum" )
Variables ¶
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
RegisterInterfaces register the module interfaces to protobuf Any.
Types ¶
type AccountUpdate ¶
type AccountUpdate struct { AccountProof []byte `protobuf:"bytes,1,opt,name=account_proof,json=accountProof,proto3" json:"account_proof,omitempty"` AccountStorageRoot []byte `protobuf:"bytes,2,opt,name=account_storage_root,json=accountStorageRoot,proto3" json:"account_storage_root,omitempty"` }
func (*AccountUpdate) Descriptor ¶
func (*AccountUpdate) Descriptor() ([]byte, []int)
func (*AccountUpdate) Marshal ¶
func (m *AccountUpdate) Marshal() (dAtA []byte, err error)
func (*AccountUpdate) MarshalToSizedBuffer ¶
func (m *AccountUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AccountUpdate) ProtoMessage ¶
func (*AccountUpdate) ProtoMessage()
func (*AccountUpdate) Reset ¶
func (m *AccountUpdate) Reset()
func (*AccountUpdate) Size ¶
func (m *AccountUpdate) Size() (n int)
func (*AccountUpdate) String ¶
func (m *AccountUpdate) String() string
func (*AccountUpdate) Unmarshal ¶
func (m *AccountUpdate) Unmarshal(dAtA []byte) error
func (*AccountUpdate) ValidateBasic ¶ added in v0.2.5
func (u *AccountUpdate) ValidateBasic() error
func (*AccountUpdate) XXX_DiscardUnknown ¶
func (m *AccountUpdate) XXX_DiscardUnknown()
func (*AccountUpdate) XXX_Marshal ¶
func (m *AccountUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountUpdate) XXX_Merge ¶
func (m *AccountUpdate) XXX_Merge(src proto.Message)
func (*AccountUpdate) XXX_Size ¶
func (m *AccountUpdate) XXX_Size() int
func (*AccountUpdate) XXX_Unmarshal ¶
func (m *AccountUpdate) XXX_Unmarshal(b []byte) error
type BeaconBlockHeader ¶
type BeaconBlockHeader struct { Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"` ProposerIndex uint64 `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty"` ParentRoot []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty"` StateRoot []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` BodyRoot []byte `protobuf:"bytes,5,opt,name=body_root,json=bodyRoot,proto3" json:"body_root,omitempty"` }
func (*BeaconBlockHeader) Descriptor ¶
func (*BeaconBlockHeader) Descriptor() ([]byte, []int)
func (*BeaconBlockHeader) Marshal ¶
func (m *BeaconBlockHeader) Marshal() (dAtA []byte, err error)
func (*BeaconBlockHeader) MarshalTo ¶
func (m *BeaconBlockHeader) MarshalTo(dAtA []byte) (int, error)
func (*BeaconBlockHeader) MarshalToSizedBuffer ¶
func (m *BeaconBlockHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BeaconBlockHeader) ProtoMessage ¶
func (*BeaconBlockHeader) ProtoMessage()
func (*BeaconBlockHeader) Reset ¶
func (m *BeaconBlockHeader) Reset()
func (*BeaconBlockHeader) Size ¶
func (m *BeaconBlockHeader) Size() (n int)
func (*BeaconBlockHeader) String ¶
func (m *BeaconBlockHeader) String() string
func (*BeaconBlockHeader) Unmarshal ¶
func (m *BeaconBlockHeader) Unmarshal(dAtA []byte) error
func (*BeaconBlockHeader) XXX_DiscardUnknown ¶
func (m *BeaconBlockHeader) XXX_DiscardUnknown()
func (*BeaconBlockHeader) XXX_Marshal ¶
func (m *BeaconBlockHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BeaconBlockHeader) XXX_Merge ¶
func (m *BeaconBlockHeader) XXX_Merge(src proto.Message)
func (*BeaconBlockHeader) XXX_Size ¶
func (m *BeaconBlockHeader) XXX_Size() int
func (*BeaconBlockHeader) XXX_Unmarshal ¶
func (m *BeaconBlockHeader) XXX_Unmarshal(b []byte) error
type ClientState ¶
type ClientState struct { GenesisValidatorsRoot []byte `` /* 126-byte string literal not displayed */ MinSyncCommitteeParticipants uint64 `` /* 150-byte string literal not displayed */ GenesisTime uint64 `protobuf:"varint,3,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"` ForkParameters *ForkParameters `protobuf:"bytes,4,opt,name=fork_parameters,json=forkParameters,proto3" json:"fork_parameters,omitempty"` SecondsPerSlot uint64 `protobuf:"varint,5,opt,name=seconds_per_slot,json=secondsPerSlot,proto3" json:"seconds_per_slot,omitempty"` SlotsPerEpoch uint64 `protobuf:"varint,6,opt,name=slots_per_epoch,json=slotsPerEpoch,proto3" json:"slots_per_epoch,omitempty"` EpochsPerSyncCommitteePeriod uint64 `` /* 152-byte string literal not displayed */ IbcAddress []byte `protobuf:"bytes,8,opt,name=ibc_address,json=ibcAddress,proto3" json:"ibc_address,omitempty"` IbcCommitmentsSlot []byte `protobuf:"bytes,9,opt,name=ibc_commitments_slot,json=ibcCommitmentsSlot,proto3" json:"ibc_commitments_slot,omitempty"` TrustLevel *Fraction `protobuf:"bytes,10,opt,name=trust_level,json=trustLevel,proto3" json:"trust_level,omitempty"` TrustingPeriod time.Duration `protobuf:"bytes,11,opt,name=trusting_period,json=trustingPeriod,proto3,stdduration" json:"trusting_period"` MaxClockDrift time.Duration `protobuf:"bytes,12,opt,name=max_clock_drift,json=maxClockDrift,proto3,stdduration" json:"max_clock_drift"` LatestSlot uint64 `protobuf:"varint,13,opt,name=latest_slot,json=latestSlot,proto3" json:"latest_slot,omitempty"` LatestExecutionBlockNumber uint64 `` /* 145-byte string literal not displayed */ FrozenHeight *types.Height `protobuf:"bytes,15,opt,name=frozen_height,json=frozenHeight,proto3" json:"frozen_height,omitempty"` }
func (*ClientState) CheckForMisbehaviour ¶ added in v0.2.0
func (cs *ClientState) CheckForMisbehaviour(ctx sdk.Context, cdc codec.BinaryCodec, clientStore sdk.KVStore, clientMsg exported.ClientMessage) bool
func (*ClientState) CheckSubstituteAndUpdateState ¶
func (cs *ClientState) CheckSubstituteAndUpdateState(ctx sdk.Context, cdc codec.BinaryCodec, subjectClientStore, substituteClientStore sdk.KVStore, substituteClient exported.ClientState) error
func (*ClientState) ClientType ¶
func (cs *ClientState) ClientType() string
func (*ClientState) Descriptor ¶
func (*ClientState) Descriptor() ([]byte, []int)
func (*ClientState) ExportMetadata ¶
func (cs *ClientState) ExportMetadata(_ sdk.KVStore) []exported.GenesisMetadata
Genesis function
func (*ClientState) GetLatestHeight ¶
func (cs *ClientState) GetLatestHeight() exported.Height
func (*ClientState) GetTimestampAtHeight ¶ added in v0.2.0
func (*ClientState) Initialize ¶
func (cs *ClientState) Initialize(_ sdk.Context, _ codec.BinaryCodec, _ sdk.KVStore, _ exported.ConsensusState) error
Initialization function Clients must validate the initial consensus state, and may store any client-specific metadata necessary for correct light client operation
func (*ClientState) Marshal ¶
func (m *ClientState) Marshal() (dAtA []byte, err error)
func (*ClientState) MarshalToSizedBuffer ¶
func (m *ClientState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClientState) ProtoMessage ¶
func (*ClientState) ProtoMessage()
func (*ClientState) Reset ¶
func (m *ClientState) Reset()
func (*ClientState) Size ¶
func (m *ClientState) Size() (n int)
func (*ClientState) Status ¶
func (cs *ClientState) Status(ctx sdk.Context, clientStore sdk.KVStore, cdc codec.BinaryCodec) exported.Status
Status function Clients must return their status. Only Active clients are allowed to process packets.
func (*ClientState) String ¶
func (m *ClientState) String() string
func (*ClientState) Unmarshal ¶
func (m *ClientState) Unmarshal(dAtA []byte) error
func (*ClientState) UpdateState ¶ added in v0.2.0
func (cs *ClientState) UpdateState(ctx sdk.Context, cdc codec.BinaryCodec, clientStore sdk.KVStore, clientMsg exported.ClientMessage) []exported.Height
func (*ClientState) UpdateStateOnMisbehaviour ¶ added in v0.2.0
func (cs *ClientState) UpdateStateOnMisbehaviour(ctx sdk.Context, cdc codec.BinaryCodec, clientStore sdk.KVStore, clientMsg exported.ClientMessage)
func (*ClientState) Validate ¶
func (cs *ClientState) Validate() error
func (*ClientState) VerifyClientMessage ¶ added in v0.2.0
func (cs *ClientState) VerifyClientMessage(ctx sdk.Context, cdc codec.BinaryCodec, clientStore sdk.KVStore, clientMsg exported.ClientMessage) error
func (*ClientState) VerifyMembership ¶ added in v0.2.0
func (*ClientState) VerifyNonMembership ¶ added in v0.2.0
func (*ClientState) VerifyUpgradeAndUpdateState ¶
func (cs *ClientState) VerifyUpgradeAndUpdateState(ctx sdk.Context, cdc codec.BinaryCodec, store sdk.KVStore, newClient exported.ClientState, newConsState exported.ConsensusState, proofUpgradeClient []byte, proofUpgradeConsState []byte) error
Upgrade functions NOTE: proof heights are not included as upgrade to a new revision is expected to pass only on the last height committed by the current revision. Clients are responsible for ensuring that the planned last height of the current revision is somehow encoded in the proof verification process. This is to ensure that no premature upgrades occur, since upgrade plans committed to by the counterparty may be cancelled or modified before the last planned height.
func (*ClientState) XXX_DiscardUnknown ¶
func (m *ClientState) XXX_DiscardUnknown()
func (*ClientState) XXX_Marshal ¶
func (m *ClientState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientState) XXX_Merge ¶
func (m *ClientState) XXX_Merge(src proto.Message)
func (*ClientState) XXX_Size ¶
func (m *ClientState) XXX_Size() int
func (*ClientState) XXX_Unmarshal ¶
func (m *ClientState) XXX_Unmarshal(b []byte) error
func (*ClientState) ZeroCustomFields ¶
func (cs *ClientState) ZeroCustomFields() exported.ClientState
Utility function that zeroes out any client customizable fields in client state Ledger enforced fields are maintained while all custom fields are zero values Used to verify upgrades
type ConsensusState ¶
type ConsensusState struct { Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"` StorageRoot []byte `protobuf:"bytes,2,opt,name=storage_root,json=storageRoot,proto3" json:"storage_root,omitempty"` Timestamp time.Time `protobuf:"bytes,3,opt,name=timestamp,proto3,stdtime" json:"timestamp"` CurrentSyncCommittee []byte `protobuf:"bytes,4,opt,name=current_sync_committee,json=currentSyncCommittee,proto3" json:"current_sync_committee,omitempty"` NextSyncCommittee []byte `protobuf:"bytes,5,opt,name=next_sync_committee,json=nextSyncCommittee,proto3" json:"next_sync_committee,omitempty"` }
func (*ConsensusState) ClientType ¶
func (cs *ConsensusState) ClientType() string
func (*ConsensusState) Descriptor ¶
func (*ConsensusState) Descriptor() ([]byte, []int)
func (*ConsensusState) GetRoot ¶
func (cs *ConsensusState) GetRoot() exported.Root
GetRoot returns the commitment root of the consensus state, which is used for key-value pair verification.
func (*ConsensusState) GetTimestamp ¶
func (cs *ConsensusState) GetTimestamp() uint64
func (*ConsensusState) Marshal ¶
func (m *ConsensusState) Marshal() (dAtA []byte, err error)
func (*ConsensusState) MarshalToSizedBuffer ¶
func (m *ConsensusState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsensusState) ProtoMessage ¶
func (*ConsensusState) ProtoMessage()
func (*ConsensusState) Reset ¶
func (m *ConsensusState) Reset()
func (*ConsensusState) Size ¶
func (m *ConsensusState) Size() (n int)
func (*ConsensusState) String ¶
func (m *ConsensusState) String() string
func (*ConsensusState) Unmarshal ¶
func (m *ConsensusState) Unmarshal(dAtA []byte) error
func (*ConsensusState) ValidateBasic ¶
func (cs *ConsensusState) ValidateBasic() error
func (*ConsensusState) XXX_DiscardUnknown ¶
func (m *ConsensusState) XXX_DiscardUnknown()
func (*ConsensusState) XXX_Marshal ¶
func (m *ConsensusState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsensusState) XXX_Merge ¶
func (m *ConsensusState) XXX_Merge(src proto.Message)
func (*ConsensusState) XXX_Size ¶
func (m *ConsensusState) XXX_Size() int
func (*ConsensusState) XXX_Unmarshal ¶
func (m *ConsensusState) XXX_Unmarshal(b []byte) error
type ExecutionUpdate ¶
type ExecutionUpdate struct { StateRoot []byte `protobuf:"bytes,1,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"` StateRootBranch [][]byte `protobuf:"bytes,2,rep,name=state_root_branch,json=stateRootBranch,proto3" json:"state_root_branch,omitempty"` BlockNumber uint64 `protobuf:"varint,3,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` BlockNumberBranch [][]byte `protobuf:"bytes,4,rep,name=block_number_branch,json=blockNumberBranch,proto3" json:"block_number_branch,omitempty"` }
func (*ExecutionUpdate) Descriptor ¶
func (*ExecutionUpdate) Descriptor() ([]byte, []int)
func (*ExecutionUpdate) Marshal ¶
func (m *ExecutionUpdate) Marshal() (dAtA []byte, err error)
func (*ExecutionUpdate) MarshalToSizedBuffer ¶
func (m *ExecutionUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExecutionUpdate) ProtoMessage ¶
func (*ExecutionUpdate) ProtoMessage()
func (*ExecutionUpdate) Reset ¶
func (m *ExecutionUpdate) Reset()
func (*ExecutionUpdate) Size ¶
func (m *ExecutionUpdate) Size() (n int)
func (*ExecutionUpdate) String ¶
func (m *ExecutionUpdate) String() string
func (*ExecutionUpdate) Unmarshal ¶
func (m *ExecutionUpdate) Unmarshal(dAtA []byte) error
func (*ExecutionUpdate) ValidateBasic ¶ added in v0.2.5
func (u *ExecutionUpdate) ValidateBasic() error
func (*ExecutionUpdate) XXX_DiscardUnknown ¶
func (m *ExecutionUpdate) XXX_DiscardUnknown()
func (*ExecutionUpdate) XXX_Marshal ¶
func (m *ExecutionUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecutionUpdate) XXX_Merge ¶
func (m *ExecutionUpdate) XXX_Merge(src proto.Message)
func (*ExecutionUpdate) XXX_Size ¶
func (m *ExecutionUpdate) XXX_Size() int
func (*ExecutionUpdate) XXX_Unmarshal ¶
func (m *ExecutionUpdate) XXX_Unmarshal(b []byte) error
type FinalizedHeaderMisbehaviour ¶
type FinalizedHeaderMisbehaviour struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` TrustedSyncCommittee *TrustedSyncCommittee `protobuf:"bytes,2,opt,name=trusted_sync_committee,json=trustedSyncCommittee,proto3" json:"trusted_sync_committee,omitempty"` ConsensusUpdate_1 *LightClientUpdate `protobuf:"bytes,3,opt,name=consensus_update_1,json=consensusUpdate1,proto3" json:"consensus_update_1,omitempty"` ConsensusUpdate_2 *LightClientUpdate `protobuf:"bytes,4,opt,name=consensus_update_2,json=consensusUpdate2,proto3" json:"consensus_update_2,omitempty"` }
func (*FinalizedHeaderMisbehaviour) Descriptor ¶
func (*FinalizedHeaderMisbehaviour) Descriptor() ([]byte, []int)
func (*FinalizedHeaderMisbehaviour) Marshal ¶
func (m *FinalizedHeaderMisbehaviour) Marshal() (dAtA []byte, err error)
func (*FinalizedHeaderMisbehaviour) MarshalTo ¶
func (m *FinalizedHeaderMisbehaviour) MarshalTo(dAtA []byte) (int, error)
func (*FinalizedHeaderMisbehaviour) MarshalToSizedBuffer ¶
func (m *FinalizedHeaderMisbehaviour) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FinalizedHeaderMisbehaviour) ProtoMessage ¶
func (*FinalizedHeaderMisbehaviour) ProtoMessage()
func (*FinalizedHeaderMisbehaviour) Reset ¶
func (m *FinalizedHeaderMisbehaviour) Reset()
func (*FinalizedHeaderMisbehaviour) Size ¶
func (m *FinalizedHeaderMisbehaviour) Size() (n int)
func (*FinalizedHeaderMisbehaviour) String ¶
func (m *FinalizedHeaderMisbehaviour) String() string
func (*FinalizedHeaderMisbehaviour) Unmarshal ¶
func (m *FinalizedHeaderMisbehaviour) Unmarshal(dAtA []byte) error
func (*FinalizedHeaderMisbehaviour) XXX_DiscardUnknown ¶
func (m *FinalizedHeaderMisbehaviour) XXX_DiscardUnknown()
func (*FinalizedHeaderMisbehaviour) XXX_Marshal ¶
func (m *FinalizedHeaderMisbehaviour) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FinalizedHeaderMisbehaviour) XXX_Merge ¶
func (m *FinalizedHeaderMisbehaviour) XXX_Merge(src proto.Message)
func (*FinalizedHeaderMisbehaviour) XXX_Size ¶
func (m *FinalizedHeaderMisbehaviour) XXX_Size() int
func (*FinalizedHeaderMisbehaviour) XXX_Unmarshal ¶
func (m *FinalizedHeaderMisbehaviour) XXX_Unmarshal(b []byte) error
type Fork ¶
type Fork struct { Version []byte `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Epoch uint64 `protobuf:"varint,2,opt,name=epoch,proto3" json:"epoch,omitempty"` }
func (*Fork) Descriptor ¶
func (*Fork) ProtoMessage ¶
func (*Fork) ProtoMessage()
func (*Fork) XXX_DiscardUnknown ¶
func (m *Fork) XXX_DiscardUnknown()
func (*Fork) XXX_Unmarshal ¶
type ForkParameters ¶
type ForkParameters struct { GenesisForkVersion []byte `protobuf:"bytes,1,opt,name=genesis_fork_version,json=genesisForkVersion,proto3" json:"genesis_fork_version,omitempty"` Forks []*Fork `protobuf:"bytes,2,rep,name=forks,proto3" json:"forks,omitempty"` }
func (*ForkParameters) Descriptor ¶
func (*ForkParameters) Descriptor() ([]byte, []int)
func (*ForkParameters) Marshal ¶
func (m *ForkParameters) Marshal() (dAtA []byte, err error)
func (*ForkParameters) MarshalToSizedBuffer ¶
func (m *ForkParameters) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ForkParameters) ProtoMessage ¶
func (*ForkParameters) ProtoMessage()
func (*ForkParameters) Reset ¶
func (m *ForkParameters) Reset()
func (*ForkParameters) Size ¶
func (m *ForkParameters) Size() (n int)
func (*ForkParameters) String ¶
func (m *ForkParameters) String() string
func (*ForkParameters) Unmarshal ¶
func (m *ForkParameters) Unmarshal(dAtA []byte) error
func (*ForkParameters) XXX_DiscardUnknown ¶
func (m *ForkParameters) XXX_DiscardUnknown()
func (*ForkParameters) XXX_Marshal ¶
func (m *ForkParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ForkParameters) XXX_Merge ¶
func (m *ForkParameters) XXX_Merge(src proto.Message)
func (*ForkParameters) XXX_Size ¶
func (m *ForkParameters) XXX_Size() int
func (*ForkParameters) XXX_Unmarshal ¶
func (m *ForkParameters) XXX_Unmarshal(b []byte) error
type Fraction ¶
type Fraction struct { Numerator uint64 `protobuf:"varint,1,opt,name=numerator,proto3" json:"numerator,omitempty"` Denominator uint64 `protobuf:"varint,2,opt,name=denominator,proto3" json:"denominator,omitempty"` }
func (*Fraction) Descriptor ¶
func (*Fraction) MarshalToSizedBuffer ¶
func (*Fraction) ProtoMessage ¶
func (*Fraction) ProtoMessage()
func (*Fraction) XXX_DiscardUnknown ¶
func (m *Fraction) XXX_DiscardUnknown()
func (*Fraction) XXX_Marshal ¶
func (*Fraction) XXX_Unmarshal ¶
type Header ¶
type Header struct { TrustedSyncCommittee *TrustedSyncCommittee `protobuf:"bytes,1,opt,name=trusted_sync_committee,json=trustedSyncCommittee,proto3" json:"trusted_sync_committee,omitempty"` ConsensusUpdate *LightClientUpdate `protobuf:"bytes,2,opt,name=consensus_update,json=consensusUpdate,proto3" json:"consensus_update,omitempty"` ExecutionUpdate *ExecutionUpdate `protobuf:"bytes,3,opt,name=execution_update,json=executionUpdate,proto3" json:"execution_update,omitempty"` AccountUpdate *AccountUpdate `protobuf:"bytes,4,opt,name=account_update,json=accountUpdate,proto3" json:"account_update,omitempty"` // seconds from unix epoch Timestamp uint64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` }
func (*Header) ClientType ¶
func (*Header) Descriptor ¶
func (*Header) MarshalToSizedBuffer ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ValidateBasic ¶
func (*Header) XXX_DiscardUnknown ¶
func (m *Header) XXX_DiscardUnknown()
func (*Header) XXX_Marshal ¶
func (*Header) XXX_Unmarshal ¶
type LightClientUpdate ¶
type LightClientUpdate struct { AttestedHeader *BeaconBlockHeader `protobuf:"bytes,1,opt,name=attested_header,json=attestedHeader,proto3" json:"attested_header,omitempty"` NextSyncCommittee *SyncCommittee `protobuf:"bytes,2,opt,name=next_sync_committee,json=nextSyncCommittee,proto3" json:"next_sync_committee,omitempty"` NextSyncCommitteeBranch [][]byte `` /* 134-byte string literal not displayed */ FinalizedHeader *BeaconBlockHeader `protobuf:"bytes,4,opt,name=finalized_header,json=finalizedHeader,proto3" json:"finalized_header,omitempty"` FinalizedHeaderBranch [][]byte `` /* 126-byte string literal not displayed */ FinalizedExecutionRoot []byte `` /* 129-byte string literal not displayed */ FinalizedExecutionBranch [][]byte `` /* 135-byte string literal not displayed */ SyncAggregate *SyncAggregate `protobuf:"bytes,8,opt,name=sync_aggregate,json=syncAggregate,proto3" json:"sync_aggregate,omitempty"` SignatureSlot uint64 `protobuf:"varint,9,opt,name=signature_slot,json=signatureSlot,proto3" json:"signature_slot,omitempty"` }
func (*LightClientUpdate) Descriptor ¶
func (*LightClientUpdate) Descriptor() ([]byte, []int)
func (*LightClientUpdate) Marshal ¶
func (m *LightClientUpdate) Marshal() (dAtA []byte, err error)
func (*LightClientUpdate) MarshalTo ¶
func (m *LightClientUpdate) MarshalTo(dAtA []byte) (int, error)
func (*LightClientUpdate) MarshalToSizedBuffer ¶
func (m *LightClientUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LightClientUpdate) ProtoMessage ¶
func (*LightClientUpdate) ProtoMessage()
func (*LightClientUpdate) Reset ¶
func (m *LightClientUpdate) Reset()
func (*LightClientUpdate) Size ¶
func (m *LightClientUpdate) Size() (n int)
func (*LightClientUpdate) String ¶
func (m *LightClientUpdate) String() string
func (*LightClientUpdate) Unmarshal ¶
func (m *LightClientUpdate) Unmarshal(dAtA []byte) error
func (*LightClientUpdate) ValidateBasic ¶ added in v0.2.5
func (u *LightClientUpdate) ValidateBasic() error
func (*LightClientUpdate) XXX_DiscardUnknown ¶
func (m *LightClientUpdate) XXX_DiscardUnknown()
func (*LightClientUpdate) XXX_Marshal ¶
func (m *LightClientUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LightClientUpdate) XXX_Merge ¶
func (m *LightClientUpdate) XXX_Merge(src proto.Message)
func (*LightClientUpdate) XXX_Size ¶
func (m *LightClientUpdate) XXX_Size() int
func (*LightClientUpdate) XXX_Unmarshal ¶
func (m *LightClientUpdate) XXX_Unmarshal(b []byte) error
type NextSyncCommitteeMisbehaviour ¶
type NextSyncCommitteeMisbehaviour struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` TrustedSyncCommittee *TrustedSyncCommittee `protobuf:"bytes,2,opt,name=trusted_sync_committee,json=trustedSyncCommittee,proto3" json:"trusted_sync_committee,omitempty"` ConsensusUpdate_1 *LightClientUpdate `protobuf:"bytes,3,opt,name=consensus_update_1,json=consensusUpdate1,proto3" json:"consensus_update_1,omitempty"` ConsensusUpdate_2 *LightClientUpdate `protobuf:"bytes,4,opt,name=consensus_update_2,json=consensusUpdate2,proto3" json:"consensus_update_2,omitempty"` }
func (*NextSyncCommitteeMisbehaviour) Descriptor ¶
func (*NextSyncCommitteeMisbehaviour) Descriptor() ([]byte, []int)
func (*NextSyncCommitteeMisbehaviour) Marshal ¶
func (m *NextSyncCommitteeMisbehaviour) Marshal() (dAtA []byte, err error)
func (*NextSyncCommitteeMisbehaviour) MarshalTo ¶
func (m *NextSyncCommitteeMisbehaviour) MarshalTo(dAtA []byte) (int, error)
func (*NextSyncCommitteeMisbehaviour) MarshalToSizedBuffer ¶
func (m *NextSyncCommitteeMisbehaviour) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NextSyncCommitteeMisbehaviour) ProtoMessage ¶
func (*NextSyncCommitteeMisbehaviour) ProtoMessage()
func (*NextSyncCommitteeMisbehaviour) Reset ¶
func (m *NextSyncCommitteeMisbehaviour) Reset()
func (*NextSyncCommitteeMisbehaviour) Size ¶
func (m *NextSyncCommitteeMisbehaviour) Size() (n int)
func (*NextSyncCommitteeMisbehaviour) String ¶
func (m *NextSyncCommitteeMisbehaviour) String() string
func (*NextSyncCommitteeMisbehaviour) Unmarshal ¶
func (m *NextSyncCommitteeMisbehaviour) Unmarshal(dAtA []byte) error
func (*NextSyncCommitteeMisbehaviour) XXX_DiscardUnknown ¶
func (m *NextSyncCommitteeMisbehaviour) XXX_DiscardUnknown()
func (*NextSyncCommitteeMisbehaviour) XXX_Marshal ¶
func (m *NextSyncCommitteeMisbehaviour) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NextSyncCommitteeMisbehaviour) XXX_Merge ¶
func (m *NextSyncCommitteeMisbehaviour) XXX_Merge(src proto.Message)
func (*NextSyncCommitteeMisbehaviour) XXX_Size ¶
func (m *NextSyncCommitteeMisbehaviour) XXX_Size() int
func (*NextSyncCommitteeMisbehaviour) XXX_Unmarshal ¶
func (m *NextSyncCommitteeMisbehaviour) XXX_Unmarshal(b []byte) error
type SyncAggregate ¶
type SyncAggregate struct { SyncCommitteeBits []byte `protobuf:"bytes,1,opt,name=sync_committee_bits,json=syncCommitteeBits,proto3" json:"sync_committee_bits,omitempty"` SyncCommitteeSignature []byte `` /* 129-byte string literal not displayed */ }
func (*SyncAggregate) Descriptor ¶
func (*SyncAggregate) Descriptor() ([]byte, []int)
func (*SyncAggregate) Marshal ¶
func (m *SyncAggregate) Marshal() (dAtA []byte, err error)
func (*SyncAggregate) MarshalToSizedBuffer ¶
func (m *SyncAggregate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SyncAggregate) ProtoMessage ¶
func (*SyncAggregate) ProtoMessage()
func (*SyncAggregate) Reset ¶
func (m *SyncAggregate) Reset()
func (*SyncAggregate) Size ¶
func (m *SyncAggregate) Size() (n int)
func (*SyncAggregate) String ¶
func (m *SyncAggregate) String() string
func (*SyncAggregate) Unmarshal ¶
func (m *SyncAggregate) Unmarshal(dAtA []byte) error
func (*SyncAggregate) XXX_DiscardUnknown ¶
func (m *SyncAggregate) XXX_DiscardUnknown()
func (*SyncAggregate) XXX_Marshal ¶
func (m *SyncAggregate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SyncAggregate) XXX_Merge ¶
func (m *SyncAggregate) XXX_Merge(src proto.Message)
func (*SyncAggregate) XXX_Size ¶
func (m *SyncAggregate) XXX_Size() int
func (*SyncAggregate) XXX_Unmarshal ¶
func (m *SyncAggregate) XXX_Unmarshal(b []byte) error
type SyncCommittee ¶
type SyncCommittee struct { Pubkeys [][]byte `protobuf:"bytes,1,rep,name=pubkeys,proto3" json:"pubkeys,omitempty"` AggregatePubkey []byte `protobuf:"bytes,2,opt,name=aggregate_pubkey,json=aggregatePubkey,proto3" json:"aggregate_pubkey,omitempty"` }
func (*SyncCommittee) Descriptor ¶
func (*SyncCommittee) Descriptor() ([]byte, []int)
func (*SyncCommittee) Marshal ¶
func (m *SyncCommittee) Marshal() (dAtA []byte, err error)
func (*SyncCommittee) MarshalToSizedBuffer ¶
func (m *SyncCommittee) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SyncCommittee) ProtoMessage ¶
func (*SyncCommittee) ProtoMessage()
func (*SyncCommittee) Reset ¶
func (m *SyncCommittee) Reset()
func (*SyncCommittee) Size ¶
func (m *SyncCommittee) Size() (n int)
func (*SyncCommittee) String ¶
func (m *SyncCommittee) String() string
func (*SyncCommittee) Unmarshal ¶
func (m *SyncCommittee) Unmarshal(dAtA []byte) error
func (*SyncCommittee) XXX_DiscardUnknown ¶
func (m *SyncCommittee) XXX_DiscardUnknown()
func (*SyncCommittee) XXX_Marshal ¶
func (m *SyncCommittee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SyncCommittee) XXX_Merge ¶
func (m *SyncCommittee) XXX_Merge(src proto.Message)
func (*SyncCommittee) XXX_Size ¶
func (m *SyncCommittee) XXX_Size() int
func (*SyncCommittee) XXX_Unmarshal ¶
func (m *SyncCommittee) XXX_Unmarshal(b []byte) error
type TrustedSyncCommittee ¶
type TrustedSyncCommittee struct { TrustedHeight *types.Height `protobuf:"bytes,1,opt,name=trusted_height,json=trustedHeight,proto3" json:"trusted_height,omitempty"` SyncCommittee *SyncCommittee `protobuf:"bytes,2,opt,name=sync_committee,json=syncCommittee,proto3" json:"sync_committee,omitempty"` IsNext bool `protobuf:"varint,3,opt,name=is_next,json=isNext,proto3" json:"is_next,omitempty"` }
func (*TrustedSyncCommittee) Descriptor ¶
func (*TrustedSyncCommittee) Descriptor() ([]byte, []int)
func (*TrustedSyncCommittee) Marshal ¶
func (m *TrustedSyncCommittee) Marshal() (dAtA []byte, err error)
func (*TrustedSyncCommittee) MarshalTo ¶
func (m *TrustedSyncCommittee) MarshalTo(dAtA []byte) (int, error)
func (*TrustedSyncCommittee) MarshalToSizedBuffer ¶
func (m *TrustedSyncCommittee) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TrustedSyncCommittee) ProtoMessage ¶
func (*TrustedSyncCommittee) ProtoMessage()
func (*TrustedSyncCommittee) Reset ¶
func (m *TrustedSyncCommittee) Reset()
func (*TrustedSyncCommittee) Size ¶
func (m *TrustedSyncCommittee) Size() (n int)
func (*TrustedSyncCommittee) String ¶
func (m *TrustedSyncCommittee) String() string
func (*TrustedSyncCommittee) Unmarshal ¶
func (m *TrustedSyncCommittee) Unmarshal(dAtA []byte) error
func (*TrustedSyncCommittee) XXX_DiscardUnknown ¶
func (m *TrustedSyncCommittee) XXX_DiscardUnknown()
func (*TrustedSyncCommittee) XXX_Marshal ¶
func (m *TrustedSyncCommittee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TrustedSyncCommittee) XXX_Merge ¶
func (m *TrustedSyncCommittee) XXX_Merge(src proto.Message)
func (*TrustedSyncCommittee) XXX_Size ¶
func (m *TrustedSyncCommittee) XXX_Size() int
func (*TrustedSyncCommittee) XXX_Unmarshal ¶
func (m *TrustedSyncCommittee) XXX_Unmarshal(b []byte) error