Documentation
¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func FormatClientIdentifier(clientType string, sequence uint64) string
- func IsValidClientID(clientID string) bool
- func MarshalClientState(cdc *codec.CodecProxy, clientStateI exported.ClientState) ([]byte, error)
- func MarshalConsensusState(cdc *codec.CodecProxy, cs exported.ConsensusState) ([]byte, error)
- func MarshalHeader(cdc *codec.CodecProxy, h exported.Header) ([]byte, error)
- func MustMarshalClientState(cdc *codec.CodecProxy, clientState exported.ClientState) []byte
- func MustMarshalConsensusState(cdc *codec.CodecProxy, consensusState exported.ConsensusState) []byte
- func MustMarshalHeader(cdc *codec.CodecProxy, header exported.Header) []byte
- func MustPackConsensusState(consensusState exported.ConsensusState) *codectypes.Any
- func MustUnmarshalClientState(cdc *codec.CodecProxy, bz []byte) exported.ClientState
- func MustUnmarshalConsensusState(cdc *codec.CodecProxy, bz []byte) exported.ConsensusState
- func NewClientUpdateProposal(title, description, subjectClientID, substituteClientID string) govtypes.Content
- func PackClientState(clientState exported.ClientState) (*codectypes.Any, error)
- func PackConsensusState(consensusState exported.ConsensusState) (*codectypes.Any, error)
- func PackHeader(header exported.Header) (*codectypes.Any, error)
- func PackMisbehaviour(misbehaviour exported.Misbehaviour) (*codectypes.Any, error)
- func ParamKeyTable() paramtypes.KeyTable
- func ParseChainID(chainID string) uint64
- func ParseClientIdentifier(clientID string) (string, uint64, error)
- func RegisterCodec(cdc *codec.Codec)
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func SetRevisionNumber(chainID string, revision uint64) (string, error)
- func UnmarshalClientState(cdc *codec.CodecProxy, bz []byte) (exported.ClientState, error)
- func UnmarshalConsensusState(cdc *codec.CodecProxy, bz []byte) (exported.ConsensusState, error)
- func UnmarshalHeader(cdc codec.BinaryMarshaler, bz []byte) (exported.Header, error)
- func UnpackClientState(any *codectypes.Any) (exported.ClientState, error)
- func UnpackConsensusState(any *codectypes.Any) (exported.ConsensusState, error)
- func UnpackHeader(any *codectypes.Any) (exported.Header, error)
- func UnpackMisbehaviour(any *codectypes.Any) (exported.Misbehaviour, error)
- func ValidateClientType(clientType string) error
- type ClientConsensusStates
- func (*ClientConsensusStates) Descriptor() ([]byte, []int)
- func (m *ClientConsensusStates) GetClientId() string
- func (m *ClientConsensusStates) GetConsensusStates() []ConsensusStateWithHeight
- func (m *ClientConsensusStates) Marshal() (dAtA []byte, err error)
- func (m *ClientConsensusStates) MarshalTo(dAtA []byte) (int, error)
- func (m *ClientConsensusStates) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClientConsensusStates) ProtoMessage()
- func (m *ClientConsensusStates) Reset()
- func (m *ClientConsensusStates) Size() (n int)
- func (m *ClientConsensusStates) String() string
- func (m *ClientConsensusStates) Unmarshal(dAtA []byte) error
- func (ccs ClientConsensusStates) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m *ClientConsensusStates) XXX_DiscardUnknown()
- func (m *ClientConsensusStates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientConsensusStates) XXX_Merge(src proto.Message)
- func (m *ClientConsensusStates) XXX_Size() int
- func (m *ClientConsensusStates) XXX_Unmarshal(b []byte) error
- type ClientUpdateProposal
- func (*ClientUpdateProposal) Descriptor() ([]byte, []int)
- func (cup *ClientUpdateProposal) GetDescription() string
- func (cup *ClientUpdateProposal) GetTitle() string
- func (m *ClientUpdateProposal) Marshal() (dAtA []byte, err error)
- func (m *ClientUpdateProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *ClientUpdateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (cup *ClientUpdateProposal) ProposalRoute() string
- func (cup *ClientUpdateProposal) ProposalType() string
- func (*ClientUpdateProposal) ProtoMessage()
- func (m *ClientUpdateProposal) Reset()
- func (m *ClientUpdateProposal) Size() (n int)
- func (m *ClientUpdateProposal) String() string
- func (m *ClientUpdateProposal) Unmarshal(dAtA []byte) error
- func (cup *ClientUpdateProposal) ValidateBasic() error
- func (m *ClientUpdateProposal) XXX_DiscardUnknown()
- func (m *ClientUpdateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientUpdateProposal) XXX_Merge(src proto.Message)
- func (m *ClientUpdateProposal) XXX_Size() int
- func (m *ClientUpdateProposal) XXX_Unmarshal(b []byte) error
- type ClientsConsensusStates
- func (ccs ClientsConsensusStates) Len() int
- func (ccs ClientsConsensusStates) Less(i, j int) bool
- func (ccs ClientsConsensusStates) Sort() ClientsConsensusStates
- func (ccs ClientsConsensusStates) Swap(i, j int)
- func (ccs ClientsConsensusStates) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- type ConsensusStateWithHeight
- func (*ConsensusStateWithHeight) Descriptor() ([]byte, []int)
- func (m *ConsensusStateWithHeight) GetConsensusState() *types.Any
- func (m *ConsensusStateWithHeight) GetHeight() Height
- func (m *ConsensusStateWithHeight) Marshal() (dAtA []byte, err error)
- func (m *ConsensusStateWithHeight) MarshalTo(dAtA []byte) (int, error)
- func (m *ConsensusStateWithHeight) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConsensusStateWithHeight) ProtoMessage()
- func (m *ConsensusStateWithHeight) Reset()
- func (m *ConsensusStateWithHeight) Size() (n int)
- func (m *ConsensusStateWithHeight) String() string
- func (m *ConsensusStateWithHeight) Unmarshal(dAtA []byte) error
- func (cswh ConsensusStateWithHeight) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m *ConsensusStateWithHeight) XXX_DiscardUnknown()
- func (m *ConsensusStateWithHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsensusStateWithHeight) XXX_Merge(src proto.Message)
- func (m *ConsensusStateWithHeight) XXX_Size() int
- func (m *ConsensusStateWithHeight) XXX_Unmarshal(b []byte) error
- type GenesisMetadata
- func (*GenesisMetadata) Descriptor() ([]byte, []int)
- func (gm GenesisMetadata) GetKey() []byte
- func (gm GenesisMetadata) GetValue() []byte
- func (m *GenesisMetadata) Marshal() (dAtA []byte, err error)
- func (m *GenesisMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisMetadata) ProtoMessage()
- func (m *GenesisMetadata) Reset()
- func (m *GenesisMetadata) Size() (n int)
- func (m *GenesisMetadata) String() string
- func (m *GenesisMetadata) Unmarshal(dAtA []byte) error
- func (gm GenesisMetadata) Validate() error
- func (m *GenesisMetadata) XXX_DiscardUnknown()
- func (m *GenesisMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisMetadata) XXX_Merge(src proto.Message)
- func (m *GenesisMetadata) XXX_Size() int
- func (m *GenesisMetadata) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetClients() IdentifiedClientStates
- func (m *GenesisState) GetClientsConsensus() ClientsConsensusStates
- func (m *GenesisState) GetClientsMetadata() []IdentifiedGenesisMetadata
- func (m *GenesisState) GetCreateLocalhost() bool
- func (m *GenesisState) GetNextClientSequence() uint64
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type Height
- func (h Height) Compare(other exported.Height) int64
- func (h Height) Decrement() (decremented exported.Height, success bool)
- func (*Height) Descriptor() ([]byte, []int)
- func (h Height) EQ(other exported.Height) bool
- func (h Height) GT(other exported.Height) bool
- func (h Height) GTE(other exported.Height) bool
- func (h Height) GetRevisionHeight() uint64
- func (h Height) GetRevisionNumber() uint64
- func (h Height) Increment() exported.Height
- func (h Height) IsZero() bool
- func (h Height) LT(other exported.Height) bool
- func (h Height) LTE(other exported.Height) bool
- func (m *Height) Marshal() (dAtA []byte, err error)
- func (m *Height) MarshalTo(dAtA []byte) (int, error)
- func (m *Height) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Height) ProtoMessage()
- func (m *Height) Reset()
- func (m *Height) Size() (n int)
- func (h Height) String() string
- func (m *Height) Unmarshal(dAtA []byte) error
- func (m *Height) XXX_DiscardUnknown()
- func (m *Height) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Height) XXX_Merge(src proto.Message)
- func (m *Height) XXX_Size() int
- func (m *Height) XXX_Unmarshal(b []byte) error
- type IdentifiedClientState
- func (*IdentifiedClientState) Descriptor() ([]byte, []int)
- func (m *IdentifiedClientState) GetClientId() string
- func (m *IdentifiedClientState) GetClientState() *types.Any
- func (m *IdentifiedClientState) Marshal() (dAtA []byte, err error)
- func (m *IdentifiedClientState) MarshalTo(dAtA []byte) (int, error)
- func (m *IdentifiedClientState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IdentifiedClientState) ProtoMessage()
- func (m *IdentifiedClientState) Reset()
- func (m *IdentifiedClientState) Size() (n int)
- func (m *IdentifiedClientState) String() string
- func (m *IdentifiedClientState) Unmarshal(dAtA []byte) error
- func (ics IdentifiedClientState) UnpackInterfaces(unpacker types.AnyUnpacker) error
- func (m *IdentifiedClientState) XXX_DiscardUnknown()
- func (m *IdentifiedClientState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IdentifiedClientState) XXX_Merge(src proto.Message)
- func (m *IdentifiedClientState) XXX_Size() int
- func (m *IdentifiedClientState) XXX_Unmarshal(b []byte) error
- type IdentifiedClientStates
- type IdentifiedGenesisMetadata
- func (*IdentifiedGenesisMetadata) Descriptor() ([]byte, []int)
- func (m *IdentifiedGenesisMetadata) GetClientId() string
- func (m *IdentifiedGenesisMetadata) GetClientMetadata() []GenesisMetadata
- func (m *IdentifiedGenesisMetadata) Marshal() (dAtA []byte, err error)
- func (m *IdentifiedGenesisMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *IdentifiedGenesisMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IdentifiedGenesisMetadata) ProtoMessage()
- func (m *IdentifiedGenesisMetadata) Reset()
- func (m *IdentifiedGenesisMetadata) Size() (n int)
- func (m *IdentifiedGenesisMetadata) String() string
- func (m *IdentifiedGenesisMetadata) Unmarshal(dAtA []byte) error
- func (m *IdentifiedGenesisMetadata) XXX_DiscardUnknown()
- func (m *IdentifiedGenesisMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IdentifiedGenesisMetadata) XXX_Merge(src proto.Message)
- func (m *IdentifiedGenesisMetadata) XXX_Size() int
- func (m *IdentifiedGenesisMetadata) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateClient
- func (*MsgCreateClient) Descriptor() ([]byte, []int)
- func (msg MsgCreateClient) GetSignBytes() []byte
- func (msg MsgCreateClient) GetSigners() []sdk.AccAddress
- func (m *MsgCreateClient) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateClient) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateClient) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateClient) ProtoMessage()
- func (m *MsgCreateClient) Reset()
- func (msg MsgCreateClient) Route() string
- func (m *MsgCreateClient) Size() (n int)
- func (m *MsgCreateClient) String() string
- func (msg MsgCreateClient) Type() string
- func (m *MsgCreateClient) Unmarshal(dAtA []byte) error
- func (msg MsgCreateClient) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (msg MsgCreateClient) ValidateBasic() error
- func (m *MsgCreateClient) XXX_DiscardUnknown()
- func (m *MsgCreateClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateClient) XXX_Merge(src proto.Message)
- func (m *MsgCreateClient) XXX_Size() int
- func (m *MsgCreateClient) XXX_Unmarshal(b []byte) error
- type MsgCreateClientResponse
- func (*MsgCreateClientResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateClientResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateClientResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateClientResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateClientResponse) ProtoMessage()
- func (m *MsgCreateClientResponse) Reset()
- func (m *MsgCreateClientResponse) Size() (n int)
- func (m *MsgCreateClientResponse) String() string
- func (m *MsgCreateClientResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateClientResponse) XXX_DiscardUnknown()
- func (m *MsgCreateClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateClientResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateClientResponse) XXX_Size() int
- func (m *MsgCreateClientResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSubmitMisbehaviour
- func (*MsgSubmitMisbehaviour) Descriptor() ([]byte, []int)
- func (msg MsgSubmitMisbehaviour) GetSignBytes() []byte
- func (msg MsgSubmitMisbehaviour) GetSigners() []sdk.AccAddress
- func (m *MsgSubmitMisbehaviour) Marshal() (dAtA []byte, err error)
- func (m *MsgSubmitMisbehaviour) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSubmitMisbehaviour) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSubmitMisbehaviour) ProtoMessage()
- func (m *MsgSubmitMisbehaviour) Reset()
- func (msg MsgSubmitMisbehaviour) Route() string
- func (m *MsgSubmitMisbehaviour) Size() (n int)
- func (m *MsgSubmitMisbehaviour) String() string
- func (msg MsgSubmitMisbehaviour) Type() string
- func (m *MsgSubmitMisbehaviour) Unmarshal(dAtA []byte) error
- func (msg MsgSubmitMisbehaviour) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (msg MsgSubmitMisbehaviour) ValidateBasic() error
- func (m *MsgSubmitMisbehaviour) XXX_DiscardUnknown()
- func (m *MsgSubmitMisbehaviour) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSubmitMisbehaviour) XXX_Merge(src proto.Message)
- func (m *MsgSubmitMisbehaviour) XXX_Size() int
- func (m *MsgSubmitMisbehaviour) XXX_Unmarshal(b []byte) error
- type MsgSubmitMisbehaviourResponse
- func (*MsgSubmitMisbehaviourResponse) Descriptor() ([]byte, []int)
- func (m *MsgSubmitMisbehaviourResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSubmitMisbehaviourResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSubmitMisbehaviourResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSubmitMisbehaviourResponse) ProtoMessage()
- func (m *MsgSubmitMisbehaviourResponse) Reset()
- func (m *MsgSubmitMisbehaviourResponse) Size() (n int)
- func (m *MsgSubmitMisbehaviourResponse) String() string
- func (m *MsgSubmitMisbehaviourResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSubmitMisbehaviourResponse) XXX_DiscardUnknown()
- func (m *MsgSubmitMisbehaviourResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSubmitMisbehaviourResponse) XXX_Merge(src proto.Message)
- func (m *MsgSubmitMisbehaviourResponse) XXX_Size() int
- func (m *MsgSubmitMisbehaviourResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateClient
- func (*MsgUpdateClient) Descriptor() ([]byte, []int)
- func (msg MsgUpdateClient) GetSignBytes() []byte
- func (msg MsgUpdateClient) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateClient) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateClient) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateClient) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateClient) ProtoMessage()
- func (m *MsgUpdateClient) Reset()
- func (msg MsgUpdateClient) Route() string
- func (m *MsgUpdateClient) Size() (n int)
- func (m *MsgUpdateClient) String() string
- func (msg MsgUpdateClient) Type() string
- func (m *MsgUpdateClient) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateClient) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (msg MsgUpdateClient) ValidateBasic() error
- func (m *MsgUpdateClient) XXX_DiscardUnknown()
- func (m *MsgUpdateClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateClient) XXX_Merge(src proto.Message)
- func (m *MsgUpdateClient) XXX_Size() int
- func (m *MsgUpdateClient) XXX_Unmarshal(b []byte) error
- type MsgUpdateClientResponse
- func (*MsgUpdateClientResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateClientResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateClientResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateClientResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateClientResponse) ProtoMessage()
- func (m *MsgUpdateClientResponse) Reset()
- func (m *MsgUpdateClientResponse) Size() (n int)
- func (m *MsgUpdateClientResponse) String() string
- func (m *MsgUpdateClientResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateClientResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateClientResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateClientResponse) XXX_Size() int
- func (m *MsgUpdateClientResponse) XXX_Unmarshal(b []byte) error
- type MsgUpgradeClient
- func (*MsgUpgradeClient) Descriptor() ([]byte, []int)
- func (msg MsgUpgradeClient) GetSignBytes() []byte
- func (msg MsgUpgradeClient) GetSigners() []sdk.AccAddress
- func (m *MsgUpgradeClient) Marshal() (dAtA []byte, err error)
- func (m *MsgUpgradeClient) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpgradeClient) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpgradeClient) ProtoMessage()
- func (m *MsgUpgradeClient) Reset()
- func (msg MsgUpgradeClient) Route() string
- func (m *MsgUpgradeClient) Size() (n int)
- func (m *MsgUpgradeClient) String() string
- func (msg MsgUpgradeClient) Type() string
- func (m *MsgUpgradeClient) Unmarshal(dAtA []byte) error
- func (msg MsgUpgradeClient) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (msg MsgUpgradeClient) ValidateBasic() error
- func (m *MsgUpgradeClient) XXX_DiscardUnknown()
- func (m *MsgUpgradeClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpgradeClient) XXX_Merge(src proto.Message)
- func (m *MsgUpgradeClient) XXX_Size() int
- func (m *MsgUpgradeClient) XXX_Unmarshal(b []byte) error
- type MsgUpgradeClientResponse
- func (*MsgUpgradeClientResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpgradeClientResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpgradeClientResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpgradeClientResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpgradeClientResponse) ProtoMessage()
- func (m *MsgUpgradeClientResponse) Reset()
- func (m *MsgUpgradeClientResponse) Size() (n int)
- func (m *MsgUpgradeClientResponse) String() string
- func (m *MsgUpgradeClientResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpgradeClientResponse) XXX_DiscardUnknown()
- func (m *MsgUpgradeClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpgradeClientResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpgradeClientResponse) XXX_Size() int
- func (m *MsgUpgradeClientResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetAllowedClients() []string
- func (p Params) IsAllowedClient(clientType string) bool
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryClientParamsRequest
- func (*QueryClientParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryClientParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryClientParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClientParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClientParamsRequest) ProtoMessage()
- func (m *QueryClientParamsRequest) Reset()
- func (m *QueryClientParamsRequest) Size() (n int)
- func (m *QueryClientParamsRequest) String() string
- func (m *QueryClientParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryClientParamsRequest) XXX_DiscardUnknown()
- func (m *QueryClientParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClientParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryClientParamsRequest) XXX_Size() int
- func (m *QueryClientParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryClientParamsResponse
- func (*QueryClientParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryClientParamsResponse) GetParams() *Params
- func (m *QueryClientParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryClientParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClientParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClientParamsResponse) ProtoMessage()
- func (m *QueryClientParamsResponse) Reset()
- func (m *QueryClientParamsResponse) Size() (n int)
- func (m *QueryClientParamsResponse) String() string
- func (m *QueryClientParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryClientParamsResponse) XXX_DiscardUnknown()
- func (m *QueryClientParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClientParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryClientParamsResponse) XXX_Size() int
- func (m *QueryClientParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryClientStateRequest
- func (*QueryClientStateRequest) Descriptor() ([]byte, []int)
- func (m *QueryClientStateRequest) GetClientId() string
- func (m *QueryClientStateRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryClientStateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClientStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClientStateRequest) ProtoMessage()
- func (m *QueryClientStateRequest) Reset()
- func (m *QueryClientStateRequest) Size() (n int)
- func (m *QueryClientStateRequest) String() string
- func (m *QueryClientStateRequest) Unmarshal(dAtA []byte) error
- func (m *QueryClientStateRequest) XXX_DiscardUnknown()
- func (m *QueryClientStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClientStateRequest) XXX_Merge(src proto.Message)
- func (m *QueryClientStateRequest) XXX_Size() int
- func (m *QueryClientStateRequest) XXX_Unmarshal(b []byte) error
- type QueryClientStateResponse
- func (*QueryClientStateResponse) Descriptor() ([]byte, []int)
- func (m *QueryClientStateResponse) GetClientState() *types.Any
- func (m *QueryClientStateResponse) GetProof() []byte
- func (m *QueryClientStateResponse) GetProofHeight() Height
- func (m *QueryClientStateResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryClientStateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClientStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClientStateResponse) ProtoMessage()
- func (m *QueryClientStateResponse) Reset()
- func (m *QueryClientStateResponse) Size() (n int)
- func (m *QueryClientStateResponse) String() string
- func (m *QueryClientStateResponse) Unmarshal(dAtA []byte) error
- func (qcsr QueryClientStateResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m *QueryClientStateResponse) XXX_DiscardUnknown()
- func (m *QueryClientStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClientStateResponse) XXX_Merge(src proto.Message)
- func (m *QueryClientStateResponse) XXX_Size() int
- func (m *QueryClientStateResponse) XXX_Unmarshal(b []byte) error
- type QueryClientStatesRequest
- func (*QueryClientStatesRequest) Descriptor() ([]byte, []int)
- func (m *QueryClientStatesRequest) GetPagination() *query.PageRequest
- func (m *QueryClientStatesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryClientStatesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClientStatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClientStatesRequest) ProtoMessage()
- func (m *QueryClientStatesRequest) Reset()
- func (m *QueryClientStatesRequest) Size() (n int)
- func (m *QueryClientStatesRequest) String() string
- func (m *QueryClientStatesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryClientStatesRequest) XXX_DiscardUnknown()
- func (m *QueryClientStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClientStatesRequest) XXX_Merge(src proto.Message)
- func (m *QueryClientStatesRequest) XXX_Size() int
- func (m *QueryClientStatesRequest) XXX_Unmarshal(b []byte) error
- type QueryClientStatesResponse
- func (*QueryClientStatesResponse) Descriptor() ([]byte, []int)
- func (m *QueryClientStatesResponse) GetClientStates() IdentifiedClientStates
- func (m *QueryClientStatesResponse) GetPagination() *query.PageResponse
- func (m *QueryClientStatesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryClientStatesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClientStatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClientStatesResponse) ProtoMessage()
- func (m *QueryClientStatesResponse) Reset()
- func (m *QueryClientStatesResponse) Size() (n int)
- func (m *QueryClientStatesResponse) String() string
- func (m *QueryClientStatesResponse) Unmarshal(dAtA []byte) error
- func (qcsr QueryClientStatesResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m *QueryClientStatesResponse) XXX_DiscardUnknown()
- func (m *QueryClientStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClientStatesResponse) XXX_Merge(src proto.Message)
- func (m *QueryClientStatesResponse) XXX_Size() int
- func (m *QueryClientStatesResponse) XXX_Unmarshal(b []byte) error
- type QueryClientStatusRequest
- func (*QueryClientStatusRequest) Descriptor() ([]byte, []int)
- func (m *QueryClientStatusRequest) GetClientId() string
- func (m *QueryClientStatusRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryClientStatusRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClientStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClientStatusRequest) ProtoMessage()
- func (m *QueryClientStatusRequest) Reset()
- func (m *QueryClientStatusRequest) Size() (n int)
- func (m *QueryClientStatusRequest) String() string
- func (m *QueryClientStatusRequest) Unmarshal(dAtA []byte) error
- func (m *QueryClientStatusRequest) XXX_DiscardUnknown()
- func (m *QueryClientStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClientStatusRequest) XXX_Merge(src proto.Message)
- func (m *QueryClientStatusRequest) XXX_Size() int
- func (m *QueryClientStatusRequest) XXX_Unmarshal(b []byte) error
- type QueryClientStatusResponse
- func (*QueryClientStatusResponse) Descriptor() ([]byte, []int)
- func (m *QueryClientStatusResponse) GetStatus() string
- func (m *QueryClientStatusResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryClientStatusResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClientStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClientStatusResponse) ProtoMessage()
- func (m *QueryClientStatusResponse) Reset()
- func (m *QueryClientStatusResponse) Size() (n int)
- func (m *QueryClientStatusResponse) String() string
- func (m *QueryClientStatusResponse) Unmarshal(dAtA []byte) error
- func (m *QueryClientStatusResponse) XXX_DiscardUnknown()
- func (m *QueryClientStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClientStatusResponse) XXX_Merge(src proto.Message)
- func (m *QueryClientStatusResponse) XXX_Size() int
- func (m *QueryClientStatusResponse) XXX_Unmarshal(b []byte) error
- type QueryConsensusStateHeightsRequest
- func (*QueryConsensusStateHeightsRequest) Descriptor() ([]byte, []int)
- func (m *QueryConsensusStateHeightsRequest) GetClientId() string
- func (m *QueryConsensusStateHeightsRequest) GetPagination() *query.PageRequest
- func (m *QueryConsensusStateHeightsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryConsensusStateHeightsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsensusStateHeightsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsensusStateHeightsRequest) ProtoMessage()
- func (m *QueryConsensusStateHeightsRequest) Reset()
- func (m *QueryConsensusStateHeightsRequest) Size() (n int)
- func (m *QueryConsensusStateHeightsRequest) String() string
- func (m *QueryConsensusStateHeightsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryConsensusStateHeightsRequest) XXX_DiscardUnknown()
- func (m *QueryConsensusStateHeightsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsensusStateHeightsRequest) XXX_Merge(src proto.Message)
- func (m *QueryConsensusStateHeightsRequest) XXX_Size() int
- func (m *QueryConsensusStateHeightsRequest) XXX_Unmarshal(b []byte) error
- type QueryConsensusStateHeightsResponse
- func (*QueryConsensusStateHeightsResponse) Descriptor() ([]byte, []int)
- func (m *QueryConsensusStateHeightsResponse) GetConsensusStateHeights() []Height
- func (m *QueryConsensusStateHeightsResponse) GetPagination() *query.PageResponse
- func (m *QueryConsensusStateHeightsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryConsensusStateHeightsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsensusStateHeightsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsensusStateHeightsResponse) ProtoMessage()
- func (m *QueryConsensusStateHeightsResponse) Reset()
- func (m *QueryConsensusStateHeightsResponse) Size() (n int)
- func (m *QueryConsensusStateHeightsResponse) String() string
- func (m *QueryConsensusStateHeightsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryConsensusStateHeightsResponse) XXX_DiscardUnknown()
- func (m *QueryConsensusStateHeightsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsensusStateHeightsResponse) XXX_Merge(src proto.Message)
- func (m *QueryConsensusStateHeightsResponse) XXX_Size() int
- func (m *QueryConsensusStateHeightsResponse) XXX_Unmarshal(b []byte) error
- type QueryConsensusStateRequest
- func (*QueryConsensusStateRequest) Descriptor() ([]byte, []int)
- func (m *QueryConsensusStateRequest) GetClientId() string
- func (m *QueryConsensusStateRequest) GetLatestHeight() bool
- func (m *QueryConsensusStateRequest) GetRevisionHeight() uint64
- func (m *QueryConsensusStateRequest) GetRevisionNumber() uint64
- func (m *QueryConsensusStateRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryConsensusStateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsensusStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsensusStateRequest) ProtoMessage()
- func (m *QueryConsensusStateRequest) Reset()
- func (m *QueryConsensusStateRequest) Size() (n int)
- func (m *QueryConsensusStateRequest) String() string
- func (m *QueryConsensusStateRequest) Unmarshal(dAtA []byte) error
- func (m *QueryConsensusStateRequest) XXX_DiscardUnknown()
- func (m *QueryConsensusStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsensusStateRequest) XXX_Merge(src proto.Message)
- func (m *QueryConsensusStateRequest) XXX_Size() int
- func (m *QueryConsensusStateRequest) XXX_Unmarshal(b []byte) error
- type QueryConsensusStateResponse
- func (*QueryConsensusStateResponse) Descriptor() ([]byte, []int)
- func (m *QueryConsensusStateResponse) GetConsensusState() *types.Any
- func (m *QueryConsensusStateResponse) GetProof() []byte
- func (m *QueryConsensusStateResponse) GetProofHeight() Height
- func (m *QueryConsensusStateResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryConsensusStateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsensusStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsensusStateResponse) ProtoMessage()
- func (m *QueryConsensusStateResponse) Reset()
- func (m *QueryConsensusStateResponse) Size() (n int)
- func (m *QueryConsensusStateResponse) String() string
- func (m *QueryConsensusStateResponse) Unmarshal(dAtA []byte) error
- func (qcsr QueryConsensusStateResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m *QueryConsensusStateResponse) XXX_DiscardUnknown()
- func (m *QueryConsensusStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsensusStateResponse) XXX_Merge(src proto.Message)
- func (m *QueryConsensusStateResponse) XXX_Size() int
- func (m *QueryConsensusStateResponse) XXX_Unmarshal(b []byte) error
- type QueryConsensusStatesRequest
- func (*QueryConsensusStatesRequest) Descriptor() ([]byte, []int)
- func (m *QueryConsensusStatesRequest) GetClientId() string
- func (m *QueryConsensusStatesRequest) GetPagination() *query.PageRequest
- func (m *QueryConsensusStatesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryConsensusStatesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsensusStatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsensusStatesRequest) ProtoMessage()
- func (m *QueryConsensusStatesRequest) Reset()
- func (m *QueryConsensusStatesRequest) Size() (n int)
- func (m *QueryConsensusStatesRequest) String() string
- func (m *QueryConsensusStatesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryConsensusStatesRequest) XXX_DiscardUnknown()
- func (m *QueryConsensusStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsensusStatesRequest) XXX_Merge(src proto.Message)
- func (m *QueryConsensusStatesRequest) XXX_Size() int
- func (m *QueryConsensusStatesRequest) XXX_Unmarshal(b []byte) error
- type QueryConsensusStatesResponse
- func (*QueryConsensusStatesResponse) Descriptor() ([]byte, []int)
- func (m *QueryConsensusStatesResponse) GetConsensusStates() []ConsensusStateWithHeight
- func (m *QueryConsensusStatesResponse) GetPagination() *query.PageResponse
- func (m *QueryConsensusStatesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryConsensusStatesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryConsensusStatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryConsensusStatesResponse) ProtoMessage()
- func (m *QueryConsensusStatesResponse) Reset()
- func (m *QueryConsensusStatesResponse) Size() (n int)
- func (m *QueryConsensusStatesResponse) String() string
- func (m *QueryConsensusStatesResponse) Unmarshal(dAtA []byte) error
- func (qcsr QueryConsensusStatesResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m *QueryConsensusStatesResponse) XXX_DiscardUnknown()
- func (m *QueryConsensusStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryConsensusStatesResponse) XXX_Merge(src proto.Message)
- func (m *QueryConsensusStatesResponse) XXX_Size() int
- func (m *QueryConsensusStatesResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryUpgradedClientStateRequest
- func (*QueryUpgradedClientStateRequest) Descriptor() ([]byte, []int)
- func (m *QueryUpgradedClientStateRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryUpgradedClientStateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUpgradedClientStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUpgradedClientStateRequest) ProtoMessage()
- func (m *QueryUpgradedClientStateRequest) Reset()
- func (m *QueryUpgradedClientStateRequest) Size() (n int)
- func (m *QueryUpgradedClientStateRequest) String() string
- func (m *QueryUpgradedClientStateRequest) Unmarshal(dAtA []byte) error
- func (m *QueryUpgradedClientStateRequest) XXX_DiscardUnknown()
- func (m *QueryUpgradedClientStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUpgradedClientStateRequest) XXX_Merge(src proto.Message)
- func (m *QueryUpgradedClientStateRequest) XXX_Size() int
- func (m *QueryUpgradedClientStateRequest) XXX_Unmarshal(b []byte) error
- type QueryUpgradedClientStateResponse
- func (*QueryUpgradedClientStateResponse) Descriptor() ([]byte, []int)
- func (m *QueryUpgradedClientStateResponse) GetUpgradedClientState() *types.Any
- func (m *QueryUpgradedClientStateResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryUpgradedClientStateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUpgradedClientStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUpgradedClientStateResponse) ProtoMessage()
- func (m *QueryUpgradedClientStateResponse) Reset()
- func (m *QueryUpgradedClientStateResponse) Size() (n int)
- func (m *QueryUpgradedClientStateResponse) String() string
- func (m *QueryUpgradedClientStateResponse) Unmarshal(dAtA []byte) error
- func (m *QueryUpgradedClientStateResponse) XXX_DiscardUnknown()
- func (m *QueryUpgradedClientStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUpgradedClientStateResponse) XXX_Merge(src proto.Message)
- func (m *QueryUpgradedClientStateResponse) XXX_Size() int
- func (m *QueryUpgradedClientStateResponse) XXX_Unmarshal(b []byte) error
- type QueryUpgradedConsensusStateRequest
- func (*QueryUpgradedConsensusStateRequest) Descriptor() ([]byte, []int)
- func (m *QueryUpgradedConsensusStateRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryUpgradedConsensusStateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUpgradedConsensusStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUpgradedConsensusStateRequest) ProtoMessage()
- func (m *QueryUpgradedConsensusStateRequest) Reset()
- func (m *QueryUpgradedConsensusStateRequest) Size() (n int)
- func (m *QueryUpgradedConsensusStateRequest) String() string
- func (m *QueryUpgradedConsensusStateRequest) Unmarshal(dAtA []byte) error
- func (m *QueryUpgradedConsensusStateRequest) XXX_DiscardUnknown()
- func (m *QueryUpgradedConsensusStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUpgradedConsensusStateRequest) XXX_Merge(src proto.Message)
- func (m *QueryUpgradedConsensusStateRequest) XXX_Size() int
- func (m *QueryUpgradedConsensusStateRequest) XXX_Unmarshal(b []byte) error
- type QueryUpgradedConsensusStateResponse
- func (*QueryUpgradedConsensusStateResponse) Descriptor() ([]byte, []int)
- func (m *QueryUpgradedConsensusStateResponse) GetUpgradedConsensusState() *types.Any
- func (m *QueryUpgradedConsensusStateResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryUpgradedConsensusStateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUpgradedConsensusStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUpgradedConsensusStateResponse) ProtoMessage()
- func (m *QueryUpgradedConsensusStateResponse) Reset()
- func (m *QueryUpgradedConsensusStateResponse) Size() (n int)
- func (m *QueryUpgradedConsensusStateResponse) String() string
- func (m *QueryUpgradedConsensusStateResponse) Unmarshal(dAtA []byte) error
- func (m *QueryUpgradedConsensusStateResponse) XXX_DiscardUnknown()
- func (m *QueryUpgradedConsensusStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUpgradedConsensusStateResponse) XXX_Merge(src proto.Message)
- func (m *QueryUpgradedConsensusStateResponse) XXX_Size() int
- func (m *QueryUpgradedConsensusStateResponse) XXX_Unmarshal(b []byte) error
- type StakingKeeper
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CreateClient(ctx context.Context, req *MsgCreateClient) (*MsgCreateClientResponse, error)
- func (*UnimplementedMsgServer) SubmitMisbehaviour(ctx context.Context, req *MsgSubmitMisbehaviour) (*MsgSubmitMisbehaviourResponse, error)
- func (*UnimplementedMsgServer) UpdateClient(ctx context.Context, req *MsgUpdateClient) (*MsgUpdateClientResponse, error)
- func (*UnimplementedMsgServer) UpgradeClient(ctx context.Context, req *MsgUpgradeClient) (*MsgUpgradeClientResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) ClientParams(ctx context.Context, req *QueryClientParamsRequest) (*QueryClientParamsResponse, error)
- func (*UnimplementedQueryServer) ClientState(ctx context.Context, req *QueryClientStateRequest) (*QueryClientStateResponse, error)
- func (*UnimplementedQueryServer) ClientStates(ctx context.Context, req *QueryClientStatesRequest) (*QueryClientStatesResponse, error)
- func (*UnimplementedQueryServer) ClientStatus(ctx context.Context, req *QueryClientStatusRequest) (*QueryClientStatusResponse, error)
- func (*UnimplementedQueryServer) ConsensusState(ctx context.Context, req *QueryConsensusStateRequest) (*QueryConsensusStateResponse, error)
- func (*UnimplementedQueryServer) ConsensusStateHeights(ctx context.Context, req *QueryConsensusStateHeightsRequest) (*QueryConsensusStateHeightsResponse, error)
- func (*UnimplementedQueryServer) ConsensusStates(ctx context.Context, req *QueryConsensusStatesRequest) (*QueryConsensusStatesResponse, error)
- func (*UnimplementedQueryServer) UpgradedClientState(ctx context.Context, req *QueryUpgradedClientStateRequest) (*QueryUpgradedClientStateResponse, error)
- func (*UnimplementedQueryServer) UpgradedConsensusState(ctx context.Context, req *QueryUpgradedConsensusStateRequest) (*QueryUpgradedConsensusStateResponse, error)
- type UpgradeKeeper
- type UpgradeProposal
- func (*UpgradeProposal) Descriptor() ([]byte, []int)
- func (this *UpgradeProposal) Equal(that interface{}) bool
- func (up *UpgradeProposal) GetDescription() string
- func (up *UpgradeProposal) GetTitle() string
- func (m *UpgradeProposal) Marshal() (dAtA []byte, err error)
- func (m *UpgradeProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *UpgradeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (up *UpgradeProposal) ProposalRoute() string
- func (up *UpgradeProposal) ProposalType() string
- func (*UpgradeProposal) ProtoMessage()
- func (m *UpgradeProposal) Reset()
- func (m *UpgradeProposal) Size() (n int)
- func (up *UpgradeProposal) String() string
- func (m *UpgradeProposal) Unmarshal(dAtA []byte) error
- func (up *UpgradeProposal) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (up *UpgradeProposal) ValidateBasic() error
- func (m *UpgradeProposal) XXX_DiscardUnknown()
- func (m *UpgradeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpgradeProposal) XXX_Merge(src proto.Message)
- func (m *UpgradeProposal) XXX_Size() int
- func (m *UpgradeProposal) XXX_Unmarshal(b []byte) error
Constants ¶
const ( AttributeKeyClientID = "client_id" AttributeKeySubjectClientID = "subject_client_id" AttributeKeyClientType = "client_type" AttributeKeyConsensusHeight = "consensus_height" AttributeKeyHeader = "header" )
IBC client events
const ( // SubModuleName defines the IBC client name SubModuleName string = "client" // RouterKey is the message route for IBC client RouterKey string = SubModuleName // QuerierRoute is the querier route for IBC client QuerierRoute string = SubModuleName // KeyNextClientSequence is the key used to store the next client sequence in // the keeper. KeyNextClientSequence = "nextClientSequence" )
const ( LabelClientType = "client_type" LabelClientID = "client_id" LabelUpdateType = "update_type" LabelMsgType = "msg_type" )
Prometheus metric labels.
const ( TypeMsgCreateClient string = "create_client" TypeMsgUpdateClient string = "update_client" TypeMsgUpgradeClient string = "upgrade_client" TypeMsgSubmitMisbehaviour string = "submit_misbehaviour" )
message types for the IBC client
const ( // ProposalTypeClientUpdate defines the type for a ClientUpdateProposal ProposalTypeClientUpdate = "ClientUpdate" ProposalTypeUpgrade = "IBCUpgrade" )
Variables ¶
var ( ErrInvalidLengthClient = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowClient = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupClient = fmt.Errorf("proto: unexpected end of group") )
var ( ErrClientExists = sdkerrors.Register(SubModuleName, 2, "light client already exists") ErrInvalidClient = sdkerrors.Register(SubModuleName, 3, "light client is invalid") ErrClientNotFound = sdkerrors.Register(SubModuleName, 4, "light client not found") ErrClientFrozen = sdkerrors.Register(SubModuleName, 5, "light client is frozen due to misbehaviour") ErrInvalidClientMetadata = sdkerrors.Register(SubModuleName, 6, "invalid client metadata") ErrConsensusStateNotFound = sdkerrors.Register(SubModuleName, 7, "consensus state not found") ErrInvalidConsensus = sdkerrors.Register(SubModuleName, 8, "invalid consensus state") ErrClientTypeNotFound = sdkerrors.Register(SubModuleName, 9, "client type not found") ErrInvalidClientType = sdkerrors.Register(SubModuleName, 10, "invalid client type") ErrRootNotFound = sdkerrors.Register(SubModuleName, 11, "commitment root not found") ErrInvalidHeader = sdkerrors.Register(SubModuleName, 12, "invalid client header") ErrInvalidMisbehaviour = sdkerrors.Register(SubModuleName, 13, "invalid light client misbehaviour") ErrFailedClientStateVerification = sdkerrors.Register(SubModuleName, 14, "client state verification failed") ErrFailedClientConsensusStateVerification = sdkerrors.Register(SubModuleName, 15, "client consensus state verification failed") ErrFailedConnectionStateVerification = sdkerrors.Register(SubModuleName, 16, "connection state verification failed") ErrFailedChannelStateVerification = sdkerrors.Register(SubModuleName, 17, "channel state verification failed") ErrFailedPacketCommitmentVerification = sdkerrors.Register(SubModuleName, 18, "packet commitment verification failed") ErrFailedPacketAckVerification = sdkerrors.Register(SubModuleName, 19, "packet acknowledgement verification failed") ErrFailedPacketReceiptVerification = sdkerrors.Register(SubModuleName, 20, "packet receipt verification failed") ErrFailedNextSeqRecvVerification = sdkerrors.Register(SubModuleName, 21, "next sequence receive verification failed") ErrSelfConsensusStateNotFound = sdkerrors.Register(SubModuleName, 22, "self consensus state not found") ErrUpdateClientFailed = sdkerrors.Register(SubModuleName, 23, "unable to update light client") ErrInvalidUpdateClientProposal = sdkerrors.Register(SubModuleName, 24, "invalid update client proposal") ErrInvalidUpgradeClient = sdkerrors.Register(SubModuleName, 25, "invalid client upgrade") ErrInvalidHeight = sdkerrors.Register(SubModuleName, 26, "invalid height") ErrInvalidSubstitute = sdkerrors.Register(SubModuleName, 27, "invalid client state substitute") ErrInvalidUpgradeProposal = sdkerrors.Register(SubModuleName, 28, "invalid upgrade proposal") ErrClientNotActive = sdkerrors.Register(SubModuleName, 29, "client is not active") )
IBC client sentinel errors
var ( EventTypeCreateClient = "create_client" EventTypeUpdateClient = "update_client" EventTypeUpgradeClient = "upgrade_client" EventTypeSubmitMisbehaviour = "client_misbehaviour" EventTypeUpdateClientProposal = "update_client_proposal" AttributeValueCategory = fmt.Sprintf("%s_%s", host.ModuleName, SubModuleName) )
IBC client events vars
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( // DefaultAllowedClients are "06-solomachine" and "07-tendermint" DefaultAllowedClients = []string{exported.Solomachine, exported.Tendermint} // KeyAllowedClients is store's key for AllowedClients Params KeyAllowedClients = []byte("AllowedClients") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var IsClientIDFormat = regexp.MustCompile(`^.*[^\n-]-[0-9]{1,20}$`).MatchString
IsClientIDFormat checks if a clientID is in the format required on the SDK for parsing client identifiers. The client identifier must be in the form: `{client-type}-{N}
var IsRevisionFormat = regexp.MustCompile(`^.*[^\n-]-{1}[1-9][0-9]*$`).MatchString
IsRevisionFormat checks if a chainID is in the format required for parsing revisions The chainID must be in the form: `{chainID}-{revision} 24-host may enforce stricter checks on chainID
Functions ¶
func FormatClientIdentifier ¶
FormatClientIdentifier returns the client identifier with the sequence appended. This is a SDK specific format not enforced by IBC protocol.
func IsValidClientID ¶
IsValidClientID checks if the clientID is valid and can be parsed into the client identifier format.
func MarshalClientState ¶
func MarshalClientState(cdc *codec.CodecProxy, clientStateI exported.ClientState) ([]byte, error)
MarshalClientState protobuf serializes an ClientState interface
func MarshalConsensusState ¶
func MarshalConsensusState(cdc *codec.CodecProxy, cs exported.ConsensusState) ([]byte, error)
MarshalConsensusState protobuf serializes a ConsensusState interface
func MarshalHeader ¶
MarshalHeader protobuf serializes a Header interface
func MustMarshalClientState ¶
func MustMarshalClientState(cdc *codec.CodecProxy, clientState exported.ClientState) []byte
MustMarshalClientState attempts to encode an ClientState object and returns the raw encoded bytes. It panics on error.
func MustMarshalConsensusState ¶
func MustMarshalConsensusState(cdc *codec.CodecProxy, consensusState exported.ConsensusState) []byte
MustMarshalConsensusState attempts to encode a ConsensusState object and returns the raw encoded bytes. It panics on error.
func MustMarshalHeader ¶
func MustMarshalHeader(cdc *codec.CodecProxy, header exported.Header) []byte
MustMarshalHeader attempts to encode a Header object and returns the raw encoded bytes. It panics on error.
func MustPackConsensusState ¶
func MustPackConsensusState(consensusState exported.ConsensusState) *codectypes.Any
MustPackConsensusState calls PackConsensusState and panics on error.
func MustUnmarshalClientState ¶
func MustUnmarshalClientState(cdc *codec.CodecProxy, bz []byte) exported.ClientState
MustUnmarshalClientState attempts to decode and return an ClientState object from raw encoded bytes. It panics on error.
func MustUnmarshalConsensusState ¶
func MustUnmarshalConsensusState(cdc *codec.CodecProxy, bz []byte) exported.ConsensusState
MustUnmarshalConsensusState attempts to decode and return an ConsensusState object from raw encoded bytes. It panics on error.
func NewClientUpdateProposal ¶
func NewClientUpdateProposal(title, description, subjectClientID, substituteClientID string) govtypes.Content
NewClientUpdateProposal creates a new client update proposal. NewClientUpdateProposal creates a new client update proposal.
func PackClientState ¶
func PackClientState(clientState exported.ClientState) (*codectypes.Any, error)
PackClientState constructs a new Any packed with the given client state value. It returns an error if the client state can't be casted to a protobuf message or if the concrete implemention is not registered to the protobuf codec.
func PackConsensusState ¶
func PackConsensusState(consensusState exported.ConsensusState) (*codectypes.Any, error)
PackConsensusState constructs a new Any packed with the given consensus state value. It returns an error if the consensus state can't be casted to a protobuf message or if the concrete implemention is not registered to the protobuf codec.
func PackHeader ¶
func PackHeader(header exported.Header) (*codectypes.Any, error)
PackHeader constructs a new Any packed with the given header value. It returns an error if the header can't be casted to a protobuf message or if the concrete implemention is not registered to the protobuf codec.
func PackMisbehaviour ¶
func PackMisbehaviour(misbehaviour exported.Misbehaviour) (*codectypes.Any, error)
PackMisbehaviour constructs a new Any packed with the given misbehaviour value. It returns an error if the misbehaviour can't be casted to a protobuf message or if the concrete implemention is not registered to the protobuf codec.
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable type declaration for parameters
func ParseChainID ¶
ParseChainID is a utility function that returns an revision number from the given ChainID. ParseChainID attempts to parse a chain id in the format: `{chainID}-{revision}` and return the revisionnumber as a uint64. If the chainID is not in the expected format, a default revision value of 0 is returned.
func ParseClientIdentifier ¶
ParseClientIdentifier parses the client type and sequence from the client identifier.
func RegisterCodec ¶ added in v1.5.4
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
RegisterInterfaces registers the client interfaces to protobuf Any.
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func SetRevisionNumber ¶
SetRevisionNumber takes a chainID in valid revision format and swaps the revision number in the chainID with the given revision number.
func UnmarshalClientState ¶
func UnmarshalClientState(cdc *codec.CodecProxy, bz []byte) (exported.ClientState, error)
UnmarshalClientState returns an ClientState interface from raw encoded clientState bytes of a Proto-based ClientState type. An error is returned upon decoding failure.
func UnmarshalConsensusState ¶
func UnmarshalConsensusState(cdc *codec.CodecProxy, bz []byte) (exported.ConsensusState, error)
UnmarshalConsensusState returns a ConsensusState interface from raw encoded consensus state bytes of a Proto-based ConsensusState type. An error is returned upon decoding failure.
func UnmarshalHeader ¶
UnmarshalHeader returns a Header interface from raw proto encoded header bytes. An error is returned upon decoding failure.
func UnpackClientState ¶
func UnpackClientState(any *codectypes.Any) (exported.ClientState, error)
UnpackClientState unpacks an Any into a ClientState. It returns an error if the client state can't be unpacked into a ClientState.
func UnpackConsensusState ¶
func UnpackConsensusState(any *codectypes.Any) (exported.ConsensusState, error)
UnpackConsensusState unpacks an Any into a ConsensusState. It returns an error if the consensus state can't be unpacked into a ConsensusState.
func UnpackHeader ¶
func UnpackHeader(any *codectypes.Any) (exported.Header, error)
UnpackHeader unpacks an Any into a Header. It returns an error if the consensus state can't be unpacked into a Header.
func UnpackMisbehaviour ¶
func UnpackMisbehaviour(any *codectypes.Any) (exported.Misbehaviour, error)
UnpackMisbehaviour unpacks an Any into a Misbehaviour. It returns an error if the Any can't be unpacked into a Misbehaviour.
func ValidateClientType ¶
ValidateClientType validates the client type. It cannot be blank or empty. It must be a valid client identifier when used with '0' or the maximum uint64 as the sequence.
Types ¶
type ClientConsensusStates ¶
type ClientConsensusStates struct { // client identifier ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty" yaml:"client_id"` // consensus states and their heights associated with the client ConsensusStates []ConsensusStateWithHeight `protobuf:"bytes,2,rep,name=consensus_states,json=consensusStates,proto3" json:"consensus_states" yaml:"consensus_states"` }
ClientConsensusStates defines all the stored consensus states for a given client.
func NewClientConsensusStates ¶
func NewClientConsensusStates(clientID string, consensusStates []ConsensusStateWithHeight) ClientConsensusStates
NewClientConsensusStates creates a new ClientConsensusStates instance.
func (*ClientConsensusStates) Descriptor ¶
func (*ClientConsensusStates) Descriptor() ([]byte, []int)
func (*ClientConsensusStates) GetClientId ¶
func (m *ClientConsensusStates) GetClientId() string
func (*ClientConsensusStates) GetConsensusStates ¶
func (m *ClientConsensusStates) GetConsensusStates() []ConsensusStateWithHeight
func (*ClientConsensusStates) Marshal ¶
func (m *ClientConsensusStates) Marshal() (dAtA []byte, err error)
func (*ClientConsensusStates) MarshalTo ¶
func (m *ClientConsensusStates) MarshalTo(dAtA []byte) (int, error)
func (*ClientConsensusStates) MarshalToSizedBuffer ¶
func (m *ClientConsensusStates) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClientConsensusStates) ProtoMessage ¶
func (*ClientConsensusStates) ProtoMessage()
func (*ClientConsensusStates) Reset ¶
func (m *ClientConsensusStates) Reset()
func (*ClientConsensusStates) Size ¶
func (m *ClientConsensusStates) Size() (n int)
func (*ClientConsensusStates) String ¶
func (m *ClientConsensusStates) String() string
func (*ClientConsensusStates) Unmarshal ¶
func (m *ClientConsensusStates) Unmarshal(dAtA []byte) error
func (ClientConsensusStates) UnpackInterfaces ¶
func (ccs ClientConsensusStates) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (*ClientConsensusStates) XXX_DiscardUnknown ¶
func (m *ClientConsensusStates) XXX_DiscardUnknown()
func (*ClientConsensusStates) XXX_Marshal ¶
func (m *ClientConsensusStates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientConsensusStates) XXX_Merge ¶
func (m *ClientConsensusStates) XXX_Merge(src proto.Message)
func (*ClientConsensusStates) XXX_Size ¶
func (m *ClientConsensusStates) XXX_Size() int
func (*ClientConsensusStates) XXX_Unmarshal ¶
func (m *ClientConsensusStates) XXX_Unmarshal(b []byte) error
type ClientUpdateProposal ¶
type ClientUpdateProposal struct { // the title of the update proposal Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // the description of the proposal Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // the client identifier for the client to be updated if the proposal passes SubjectClientId string `` /* 133-byte string literal not displayed */ // the substitute client identifier for the client standing in for the subject // client SubstituteClientId string `` /* 145-byte string literal not displayed */ }
ClientUpdateProposal is a governance proposal. If it passes, the substitute client's latest consensus state is copied over to the subject client. The proposal handler may fail if the subject and the substitute do not match in client and chain parameters (with exception to latest height, frozen height, and chain-id).
func (*ClientUpdateProposal) Descriptor ¶
func (*ClientUpdateProposal) Descriptor() ([]byte, []int)
func (*ClientUpdateProposal) GetDescription ¶
func (cup *ClientUpdateProposal) GetDescription() string
GetDescription returns the description of a client update proposal.
func (*ClientUpdateProposal) GetTitle ¶
func (cup *ClientUpdateProposal) GetTitle() string
GetTitle returns the title of a client update proposal.
func (*ClientUpdateProposal) Marshal ¶
func (m *ClientUpdateProposal) Marshal() (dAtA []byte, err error)
func (*ClientUpdateProposal) MarshalTo ¶
func (m *ClientUpdateProposal) MarshalTo(dAtA []byte) (int, error)
func (*ClientUpdateProposal) MarshalToSizedBuffer ¶
func (m *ClientUpdateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClientUpdateProposal) ProposalRoute ¶
func (cup *ClientUpdateProposal) ProposalRoute() string
ProposalRoute returns the routing key of a client update proposal.
func (*ClientUpdateProposal) ProposalType ¶
func (cup *ClientUpdateProposal) ProposalType() string
ProposalType returns the type of a client update proposal.
func (*ClientUpdateProposal) ProtoMessage ¶
func (*ClientUpdateProposal) ProtoMessage()
func (*ClientUpdateProposal) Reset ¶
func (m *ClientUpdateProposal) Reset()
func (*ClientUpdateProposal) Size ¶
func (m *ClientUpdateProposal) Size() (n int)
func (*ClientUpdateProposal) String ¶
func (m *ClientUpdateProposal) String() string
func (*ClientUpdateProposal) Unmarshal ¶
func (m *ClientUpdateProposal) Unmarshal(dAtA []byte) error
func (*ClientUpdateProposal) ValidateBasic ¶
func (cup *ClientUpdateProposal) ValidateBasic() error
ValidateBasic runs basic stateless validity checks
func (*ClientUpdateProposal) XXX_DiscardUnknown ¶
func (m *ClientUpdateProposal) XXX_DiscardUnknown()
func (*ClientUpdateProposal) XXX_Marshal ¶
func (m *ClientUpdateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientUpdateProposal) XXX_Merge ¶
func (m *ClientUpdateProposal) XXX_Merge(src proto.Message)
func (*ClientUpdateProposal) XXX_Size ¶
func (m *ClientUpdateProposal) XXX_Size() int
func (*ClientUpdateProposal) XXX_Unmarshal ¶
func (m *ClientUpdateProposal) XXX_Unmarshal(b []byte) error
type ClientsConsensusStates ¶
type ClientsConsensusStates []ClientConsensusStates
ClientsConsensusStates defines a slice of ClientConsensusStates that supports the sort interface
func (ClientsConsensusStates) Len ¶
func (ccs ClientsConsensusStates) Len() int
Len implements sort.Interface
func (ClientsConsensusStates) Less ¶
func (ccs ClientsConsensusStates) Less(i, j int) bool
Less implements sort.Interface
func (ClientsConsensusStates) Sort ¶
func (ccs ClientsConsensusStates) Sort() ClientsConsensusStates
Sort is a helper function to sort the set of ClientsConsensusStates in place
func (ClientsConsensusStates) Swap ¶
func (ccs ClientsConsensusStates) Swap(i, j int)
Swap implements sort.Interface
func (ClientsConsensusStates) UnpackInterfaces ¶
func (ccs ClientsConsensusStates) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
type ConsensusStateWithHeight ¶
type ConsensusStateWithHeight struct { // consensus state height Height Height `protobuf:"bytes,1,opt,name=height,proto3" json:"height"` // consensus state ConsensusState *types.Any `protobuf:"bytes,2,opt,name=consensus_state,json=consensusState,proto3" json:"consensus_state,omitempty" yaml"consensus_state"` }
ConsensusStateWithHeight defines a consensus state with an additional height field.
func NewConsensusStateWithHeight ¶
func NewConsensusStateWithHeight(height Height, consensusState exported.ConsensusState) ConsensusStateWithHeight
NewConsensusStateWithHeight creates a new ConsensusStateWithHeight instance
func (*ConsensusStateWithHeight) Descriptor ¶
func (*ConsensusStateWithHeight) Descriptor() ([]byte, []int)
func (*ConsensusStateWithHeight) GetConsensusState ¶
func (m *ConsensusStateWithHeight) GetConsensusState() *types.Any
func (*ConsensusStateWithHeight) GetHeight ¶
func (m *ConsensusStateWithHeight) GetHeight() Height
func (*ConsensusStateWithHeight) Marshal ¶
func (m *ConsensusStateWithHeight) Marshal() (dAtA []byte, err error)
func (*ConsensusStateWithHeight) MarshalTo ¶
func (m *ConsensusStateWithHeight) MarshalTo(dAtA []byte) (int, error)
func (*ConsensusStateWithHeight) MarshalToSizedBuffer ¶
func (m *ConsensusStateWithHeight) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsensusStateWithHeight) ProtoMessage ¶
func (*ConsensusStateWithHeight) ProtoMessage()
func (*ConsensusStateWithHeight) Reset ¶
func (m *ConsensusStateWithHeight) Reset()
func (*ConsensusStateWithHeight) Size ¶
func (m *ConsensusStateWithHeight) Size() (n int)
func (*ConsensusStateWithHeight) String ¶
func (m *ConsensusStateWithHeight) String() string
func (*ConsensusStateWithHeight) Unmarshal ¶
func (m *ConsensusStateWithHeight) Unmarshal(dAtA []byte) error
func (ConsensusStateWithHeight) UnpackInterfaces ¶
func (cswh ConsensusStateWithHeight) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMesssage.UnpackInterfaces
func (*ConsensusStateWithHeight) XXX_DiscardUnknown ¶
func (m *ConsensusStateWithHeight) XXX_DiscardUnknown()
func (*ConsensusStateWithHeight) XXX_Marshal ¶
func (m *ConsensusStateWithHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsensusStateWithHeight) XXX_Merge ¶
func (m *ConsensusStateWithHeight) XXX_Merge(src proto.Message)
func (*ConsensusStateWithHeight) XXX_Size ¶
func (m *ConsensusStateWithHeight) XXX_Size() int
func (*ConsensusStateWithHeight) XXX_Unmarshal ¶
func (m *ConsensusStateWithHeight) XXX_Unmarshal(b []byte) error
type GenesisMetadata ¶
type GenesisMetadata struct { // store key of metadata without clientID-prefix Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // metadata value Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` }
GenesisMetadata defines the genesis type for metadata that clients may return with ExportMetadata
func NewGenesisMetadata ¶
func NewGenesisMetadata(key, val []byte) GenesisMetadata
NewGenesisMetadata is a constructor for GenesisMetadata
func (*GenesisMetadata) Descriptor ¶
func (*GenesisMetadata) Descriptor() ([]byte, []int)
func (GenesisMetadata) GetKey ¶
func (gm GenesisMetadata) GetKey() []byte
GetKey returns the key of metadata. Implements exported.GenesisMetadata interface.
func (GenesisMetadata) GetValue ¶
func (gm GenesisMetadata) GetValue() []byte
GetValue returns the value of metadata. Implements exported.GenesisMetadata interface.
func (*GenesisMetadata) Marshal ¶
func (m *GenesisMetadata) Marshal() (dAtA []byte, err error)
func (*GenesisMetadata) MarshalToSizedBuffer ¶
func (m *GenesisMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisMetadata) ProtoMessage ¶
func (*GenesisMetadata) ProtoMessage()
func (*GenesisMetadata) Reset ¶
func (m *GenesisMetadata) Reset()
func (*GenesisMetadata) Size ¶
func (m *GenesisMetadata) Size() (n int)
func (*GenesisMetadata) String ¶
func (m *GenesisMetadata) String() string
func (*GenesisMetadata) Unmarshal ¶
func (m *GenesisMetadata) Unmarshal(dAtA []byte) error
func (GenesisMetadata) Validate ¶
func (gm GenesisMetadata) Validate() error
Validate ensures key and value of metadata are not empty
func (*GenesisMetadata) XXX_DiscardUnknown ¶
func (m *GenesisMetadata) XXX_DiscardUnknown()
func (*GenesisMetadata) XXX_Marshal ¶
func (m *GenesisMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisMetadata) XXX_Merge ¶
func (m *GenesisMetadata) XXX_Merge(src proto.Message)
func (*GenesisMetadata) XXX_Size ¶
func (m *GenesisMetadata) XXX_Size() int
func (*GenesisMetadata) XXX_Unmarshal ¶
func (m *GenesisMetadata) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { // client states with their corresponding identifiers Clients IdentifiedClientStates `protobuf:"bytes,1,rep,name=clients,proto3,castrepeated=IdentifiedClientStates" json:"clients"` // consensus states from each client ClientsConsensus ClientsConsensusStates `` /* 160-byte string literal not displayed */ // metadata from each client ClientsMetadata []IdentifiedGenesisMetadata `protobuf:"bytes,3,rep,name=clients_metadata,json=clientsMetadata,proto3" json:"clients_metadata" yaml:"clients_metadata"` Params Params `protobuf:"bytes,4,opt,name=params,proto3" json:"params"` // create localhost on initialization CreateLocalhost bool `` /* 131-byte string literal not displayed */ // the sequence for the next generated client identifier NextClientSequence uint64 `` /* 146-byte string literal not displayed */ }
GenesisState defines the ibc client submodule's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() GenesisState
DefaultGenesisState returns the ibc client submodule's default genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetClients ¶
func (m *GenesisState) GetClients() IdentifiedClientStates
func (*GenesisState) GetClientsConsensus ¶
func (m *GenesisState) GetClientsConsensus() ClientsConsensusStates
func (*GenesisState) GetClientsMetadata ¶
func (m *GenesisState) GetClientsMetadata() []IdentifiedGenesisMetadata
func (*GenesisState) GetCreateLocalhost ¶
func (m *GenesisState) GetCreateLocalhost() bool
func (*GenesisState) GetNextClientSequence ¶
func (m *GenesisState) GetNextClientSequence() uint64
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) UnpackInterfaces ¶
func (gs GenesisState) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type Height ¶
type Height struct { // the revision that the client is currently on RevisionNumber uint64 `` /* 127-byte string literal not displayed */ // the height within the given revision RevisionHeight uint64 `` /* 127-byte string literal not displayed */ }
Height is a monotonically increasing data type that can be compared against another Height for the purposes of updating and freezing clients
Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset
func GetSelfHeight ¶
GetSelfHeight is a utility function that returns self height given context Revision number is retrieved from ctx.ChainID()
func MustParseHeight ¶
MustParseHeight will attempt to parse a string representation of a height and panic if parsing fails.
func ParseHeight ¶
ParseHeight is a utility function that takes a string representation of the height and returns a Height struct
func ZeroHeight ¶
func ZeroHeight() Height
ZeroHeight is a helper function which returns an uninitialized height.
func (Height) Compare ¶
Compare implements a method to compare two heights. When comparing two heights a, b we can call a.Compare(b) which will return -1 if a < b 0 if a = b 1 if a > b
It first compares based on revision numbers, whichever has the higher revision number is the higher height If revision number is the same, then the revision height is compared
func (Height) Decrement ¶
Decrement will return a new height with the RevisionHeight decremented If the RevisionHeight is already at lowest value (1), then false success flag is returend
func (*Height) Descriptor ¶
func (Height) GetRevisionHeight ¶
GetRevisionHeight returns the revision-height of the height
func (Height) GetRevisionNumber ¶
GetRevisionNumber returns the revision-number of the height
func (Height) Increment ¶
Increment will return a height with the same revision number but an incremented revision height
func (*Height) MarshalToSizedBuffer ¶
func (*Height) ProtoMessage ¶
func (*Height) ProtoMessage()
func (*Height) XXX_DiscardUnknown ¶
func (m *Height) XXX_DiscardUnknown()
func (*Height) XXX_Marshal ¶
func (*Height) XXX_Unmarshal ¶
type IdentifiedClientState ¶
type IdentifiedClientState struct { // client identifier ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty" yaml:"client_id"` // client state ClientState *types.Any `protobuf:"bytes,2,opt,name=client_state,json=clientState,proto3" json:"client_state,omitempty" yaml:"client_state"` }
IdentifiedClientState defines a client state with an additional client identifier field.
func NewIdentifiedClientState ¶
func NewIdentifiedClientState(clientID string, clientState exported.ClientState) IdentifiedClientState
NewIdentifiedClientState creates a new IdentifiedClientState instance
func (*IdentifiedClientState) Descriptor ¶
func (*IdentifiedClientState) Descriptor() ([]byte, []int)
func (*IdentifiedClientState) GetClientId ¶
func (m *IdentifiedClientState) GetClientId() string
func (*IdentifiedClientState) GetClientState ¶
func (m *IdentifiedClientState) GetClientState() *types.Any
func (*IdentifiedClientState) Marshal ¶
func (m *IdentifiedClientState) Marshal() (dAtA []byte, err error)
func (*IdentifiedClientState) MarshalTo ¶
func (m *IdentifiedClientState) MarshalTo(dAtA []byte) (int, error)
func (*IdentifiedClientState) MarshalToSizedBuffer ¶
func (m *IdentifiedClientState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IdentifiedClientState) ProtoMessage ¶
func (*IdentifiedClientState) ProtoMessage()
func (*IdentifiedClientState) Reset ¶
func (m *IdentifiedClientState) Reset()
func (*IdentifiedClientState) Size ¶
func (m *IdentifiedClientState) Size() (n int)
func (*IdentifiedClientState) String ¶
func (m *IdentifiedClientState) String() string
func (*IdentifiedClientState) Unmarshal ¶
func (m *IdentifiedClientState) Unmarshal(dAtA []byte) error
func (IdentifiedClientState) UnpackInterfaces ¶
func (ics IdentifiedClientState) UnpackInterfaces(unpacker types.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMesssage.UnpackInterfaces
func (*IdentifiedClientState) XXX_DiscardUnknown ¶
func (m *IdentifiedClientState) XXX_DiscardUnknown()
func (*IdentifiedClientState) XXX_Marshal ¶
func (m *IdentifiedClientState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IdentifiedClientState) XXX_Merge ¶
func (m *IdentifiedClientState) XXX_Merge(src proto.Message)
func (*IdentifiedClientState) XXX_Size ¶
func (m *IdentifiedClientState) XXX_Size() int
func (*IdentifiedClientState) XXX_Unmarshal ¶
func (m *IdentifiedClientState) XXX_Unmarshal(b []byte) error
type IdentifiedClientStates ¶
type IdentifiedClientStates []IdentifiedClientState
IdentifiedClientStates defines a slice of ClientConsensusStates that supports the sort interface
func (IdentifiedClientStates) Len ¶
func (ics IdentifiedClientStates) Len() int
Len implements sort.Interface
func (IdentifiedClientStates) Less ¶
func (ics IdentifiedClientStates) Less(i, j int) bool
Less implements sort.Interface
func (IdentifiedClientStates) Sort ¶
func (ics IdentifiedClientStates) Sort() IdentifiedClientStates
Sort is a helper function to sort the set of IdentifiedClientStates in place
func (IdentifiedClientStates) Swap ¶
func (ics IdentifiedClientStates) Swap(i, j int)
Swap implements sort.Interface
type IdentifiedGenesisMetadata ¶
type IdentifiedGenesisMetadata struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty" yaml:"client_id"` ClientMetadata []GenesisMetadata `protobuf:"bytes,2,rep,name=client_metadata,json=clientMetadata,proto3" json:"client_metadata" yaml:"client_metadata"` }
IdentifiedGenesisMetadata has the client metadata with the corresponding client id.
func NewIdentifiedGenesisMetadata ¶
func NewIdentifiedGenesisMetadata(clientID string, gms []GenesisMetadata) IdentifiedGenesisMetadata
NewIdentifiedGenesisMetadata takes in a client ID and list of genesis metadata for that client and constructs a new IdentifiedGenesisMetadata.
func (*IdentifiedGenesisMetadata) Descriptor ¶
func (*IdentifiedGenesisMetadata) Descriptor() ([]byte, []int)
func (*IdentifiedGenesisMetadata) GetClientId ¶
func (m *IdentifiedGenesisMetadata) GetClientId() string
func (*IdentifiedGenesisMetadata) GetClientMetadata ¶
func (m *IdentifiedGenesisMetadata) GetClientMetadata() []GenesisMetadata
func (*IdentifiedGenesisMetadata) Marshal ¶
func (m *IdentifiedGenesisMetadata) Marshal() (dAtA []byte, err error)
func (*IdentifiedGenesisMetadata) MarshalTo ¶
func (m *IdentifiedGenesisMetadata) MarshalTo(dAtA []byte) (int, error)
func (*IdentifiedGenesisMetadata) MarshalToSizedBuffer ¶
func (m *IdentifiedGenesisMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IdentifiedGenesisMetadata) ProtoMessage ¶
func (*IdentifiedGenesisMetadata) ProtoMessage()
func (*IdentifiedGenesisMetadata) Reset ¶
func (m *IdentifiedGenesisMetadata) Reset()
func (*IdentifiedGenesisMetadata) Size ¶
func (m *IdentifiedGenesisMetadata) Size() (n int)
func (*IdentifiedGenesisMetadata) String ¶
func (m *IdentifiedGenesisMetadata) String() string
func (*IdentifiedGenesisMetadata) Unmarshal ¶
func (m *IdentifiedGenesisMetadata) Unmarshal(dAtA []byte) error
func (*IdentifiedGenesisMetadata) XXX_DiscardUnknown ¶
func (m *IdentifiedGenesisMetadata) XXX_DiscardUnknown()
func (*IdentifiedGenesisMetadata) XXX_Marshal ¶
func (m *IdentifiedGenesisMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IdentifiedGenesisMetadata) XXX_Merge ¶
func (m *IdentifiedGenesisMetadata) XXX_Merge(src proto.Message)
func (*IdentifiedGenesisMetadata) XXX_Size ¶
func (m *IdentifiedGenesisMetadata) XXX_Size() int
func (*IdentifiedGenesisMetadata) XXX_Unmarshal ¶
func (m *IdentifiedGenesisMetadata) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // CreateClient defines a rpc handler method for MsgCreateClient. CreateClient(ctx context.Context, in *MsgCreateClient, opts ...grpc.CallOption) (*MsgCreateClientResponse, error) // UpdateClient defines a rpc handler method for MsgUpdateClient. UpdateClient(ctx context.Context, in *MsgUpdateClient, opts ...grpc.CallOption) (*MsgUpdateClientResponse, error) // UpgradeClient defines a rpc handler method for MsgUpgradeClient. UpgradeClient(ctx context.Context, in *MsgUpgradeClient, opts ...grpc.CallOption) (*MsgUpgradeClientResponse, error) // SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour. SubmitMisbehaviour(ctx context.Context, in *MsgSubmitMisbehaviour, opts ...grpc.CallOption) (*MsgSubmitMisbehaviourResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgCreateClient ¶
type MsgCreateClient struct { // light client state ClientState *types.Any `protobuf:"bytes,1,opt,name=client_state,json=clientState,proto3" json:"client_state,omitempty" yaml:"client_state"` // consensus state associated with the client that corresponds to a given // height. ConsensusState *types.Any `` /* 126-byte string literal not displayed */ // signer address Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"` }
MsgCreateClient defines a message to create an IBC client
func NewMsgCreateClient ¶
func NewMsgCreateClient( clientState exported.ClientState, consensusState exported.ConsensusState, signer sdk.AccAddress, ) (*MsgCreateClient, error)
NewMsgCreateClient creates a new MsgCreateClient instance
func (*MsgCreateClient) Descriptor ¶
func (*MsgCreateClient) Descriptor() ([]byte, []int)
func (MsgCreateClient) GetSignBytes ¶
func (msg MsgCreateClient) GetSignBytes() []byte
GetSignBytes implements sdk.Msg. The function will panic since it is used for amino transaction verification which IBC does not support.
func (MsgCreateClient) GetSigners ¶
func (msg MsgCreateClient) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgCreateClient) Marshal ¶
func (m *MsgCreateClient) Marshal() (dAtA []byte, err error)
func (*MsgCreateClient) MarshalToSizedBuffer ¶
func (m *MsgCreateClient) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateClient) ProtoMessage ¶
func (*MsgCreateClient) ProtoMessage()
func (*MsgCreateClient) Reset ¶
func (m *MsgCreateClient) Reset()
func (*MsgCreateClient) Size ¶
func (m *MsgCreateClient) Size() (n int)
func (*MsgCreateClient) String ¶
func (m *MsgCreateClient) String() string
func (*MsgCreateClient) Unmarshal ¶
func (m *MsgCreateClient) Unmarshal(dAtA []byte) error
func (MsgCreateClient) UnpackInterfaces ¶
func (msg MsgCreateClient) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (MsgCreateClient) ValidateBasic ¶
func (msg MsgCreateClient) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgCreateClient) XXX_DiscardUnknown ¶
func (m *MsgCreateClient) XXX_DiscardUnknown()
func (*MsgCreateClient) XXX_Marshal ¶
func (m *MsgCreateClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateClient) XXX_Merge ¶
func (m *MsgCreateClient) XXX_Merge(src proto.Message)
func (*MsgCreateClient) XXX_Size ¶
func (m *MsgCreateClient) XXX_Size() int
func (*MsgCreateClient) XXX_Unmarshal ¶
func (m *MsgCreateClient) XXX_Unmarshal(b []byte) error
type MsgCreateClientResponse ¶
type MsgCreateClientResponse struct { }
MsgCreateClientResponse defines the Msg/CreateClient response type.
func (*MsgCreateClientResponse) Descriptor ¶
func (*MsgCreateClientResponse) Descriptor() ([]byte, []int)
func (*MsgCreateClientResponse) Marshal ¶
func (m *MsgCreateClientResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateClientResponse) MarshalTo ¶
func (m *MsgCreateClientResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateClientResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateClientResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateClientResponse) ProtoMessage ¶
func (*MsgCreateClientResponse) ProtoMessage()
func (*MsgCreateClientResponse) Reset ¶
func (m *MsgCreateClientResponse) Reset()
func (*MsgCreateClientResponse) Size ¶
func (m *MsgCreateClientResponse) Size() (n int)
func (*MsgCreateClientResponse) String ¶
func (m *MsgCreateClientResponse) String() string
func (*MsgCreateClientResponse) Unmarshal ¶
func (m *MsgCreateClientResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateClientResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateClientResponse) XXX_DiscardUnknown()
func (*MsgCreateClientResponse) XXX_Marshal ¶
func (m *MsgCreateClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateClientResponse) XXX_Merge ¶
func (m *MsgCreateClientResponse) XXX_Merge(src proto.Message)
func (*MsgCreateClientResponse) XXX_Size ¶
func (m *MsgCreateClientResponse) XXX_Size() int
func (*MsgCreateClientResponse) XXX_Unmarshal ¶
func (m *MsgCreateClientResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // CreateClient defines a rpc handler method for MsgCreateClient. CreateClient(context.Context, *MsgCreateClient) (*MsgCreateClientResponse, error) // UpdateClient defines a rpc handler method for MsgUpdateClient. UpdateClient(context.Context, *MsgUpdateClient) (*MsgUpdateClientResponse, error) // UpgradeClient defines a rpc handler method for MsgUpgradeClient. UpgradeClient(context.Context, *MsgUpgradeClient) (*MsgUpgradeClientResponse, error) // SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour. SubmitMisbehaviour(context.Context, *MsgSubmitMisbehaviour) (*MsgSubmitMisbehaviourResponse, error) }
MsgServer is the server API for Msg service.
type MsgSubmitMisbehaviour ¶
type MsgSubmitMisbehaviour struct { // client unique identifier ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty" yaml:"client_id"` // misbehaviour used for freezing the light client Misbehaviour *types.Any `protobuf:"bytes,2,opt,name=misbehaviour,proto3" json:"misbehaviour,omitempty"` // signer address Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"` }
MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for light client misbehaviour.
func NewMsgSubmitMisbehaviour ¶
func NewMsgSubmitMisbehaviour(clientID string, misbehaviour exported.Misbehaviour, signer sdk.AccAddress) (*MsgSubmitMisbehaviour, error)
NewMsgSubmitMisbehaviour creates a new MsgSubmitMisbehaviour instance.
func (*MsgSubmitMisbehaviour) Descriptor ¶
func (*MsgSubmitMisbehaviour) Descriptor() ([]byte, []int)
func (MsgSubmitMisbehaviour) GetSignBytes ¶
func (msg MsgSubmitMisbehaviour) GetSignBytes() []byte
GetSignBytes implements sdk.Msg. The function will panic since it is used for amino transaction verification which IBC does not support.
func (MsgSubmitMisbehaviour) GetSigners ¶
func (msg MsgSubmitMisbehaviour) GetSigners() []sdk.AccAddress
GetSigners returns the single expected signer for a MsgSubmitMisbehaviour.
func (*MsgSubmitMisbehaviour) Marshal ¶
func (m *MsgSubmitMisbehaviour) Marshal() (dAtA []byte, err error)
func (*MsgSubmitMisbehaviour) MarshalTo ¶
func (m *MsgSubmitMisbehaviour) MarshalTo(dAtA []byte) (int, error)
func (*MsgSubmitMisbehaviour) MarshalToSizedBuffer ¶
func (m *MsgSubmitMisbehaviour) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSubmitMisbehaviour) ProtoMessage ¶
func (*MsgSubmitMisbehaviour) ProtoMessage()
func (*MsgSubmitMisbehaviour) Reset ¶
func (m *MsgSubmitMisbehaviour) Reset()
func (MsgSubmitMisbehaviour) Route ¶
func (msg MsgSubmitMisbehaviour) Route() string
Route returns the MsgSubmitClientMisbehaviour's route.
func (*MsgSubmitMisbehaviour) Size ¶
func (m *MsgSubmitMisbehaviour) Size() (n int)
func (*MsgSubmitMisbehaviour) String ¶
func (m *MsgSubmitMisbehaviour) String() string
func (MsgSubmitMisbehaviour) Type ¶
func (msg MsgSubmitMisbehaviour) Type() string
Type returns the MsgSubmitMisbehaviour's type.
func (*MsgSubmitMisbehaviour) Unmarshal ¶
func (m *MsgSubmitMisbehaviour) Unmarshal(dAtA []byte) error
func (MsgSubmitMisbehaviour) UnpackInterfaces ¶
func (msg MsgSubmitMisbehaviour) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (MsgSubmitMisbehaviour) ValidateBasic ¶
func (msg MsgSubmitMisbehaviour) ValidateBasic() error
ValidateBasic performs basic (non-state-dependant) validation on a MsgSubmitMisbehaviour.
func (*MsgSubmitMisbehaviour) XXX_DiscardUnknown ¶
func (m *MsgSubmitMisbehaviour) XXX_DiscardUnknown()
func (*MsgSubmitMisbehaviour) XXX_Marshal ¶
func (m *MsgSubmitMisbehaviour) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSubmitMisbehaviour) XXX_Merge ¶
func (m *MsgSubmitMisbehaviour) XXX_Merge(src proto.Message)
func (*MsgSubmitMisbehaviour) XXX_Size ¶
func (m *MsgSubmitMisbehaviour) XXX_Size() int
func (*MsgSubmitMisbehaviour) XXX_Unmarshal ¶
func (m *MsgSubmitMisbehaviour) XXX_Unmarshal(b []byte) error
type MsgSubmitMisbehaviourResponse ¶
type MsgSubmitMisbehaviourResponse struct { }
MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response type.
func (*MsgSubmitMisbehaviourResponse) Descriptor ¶
func (*MsgSubmitMisbehaviourResponse) Descriptor() ([]byte, []int)
func (*MsgSubmitMisbehaviourResponse) Marshal ¶
func (m *MsgSubmitMisbehaviourResponse) Marshal() (dAtA []byte, err error)
func (*MsgSubmitMisbehaviourResponse) MarshalTo ¶
func (m *MsgSubmitMisbehaviourResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSubmitMisbehaviourResponse) MarshalToSizedBuffer ¶
func (m *MsgSubmitMisbehaviourResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSubmitMisbehaviourResponse) ProtoMessage ¶
func (*MsgSubmitMisbehaviourResponse) ProtoMessage()
func (*MsgSubmitMisbehaviourResponse) Reset ¶
func (m *MsgSubmitMisbehaviourResponse) Reset()
func (*MsgSubmitMisbehaviourResponse) Size ¶
func (m *MsgSubmitMisbehaviourResponse) Size() (n int)
func (*MsgSubmitMisbehaviourResponse) String ¶
func (m *MsgSubmitMisbehaviourResponse) String() string
func (*MsgSubmitMisbehaviourResponse) Unmarshal ¶
func (m *MsgSubmitMisbehaviourResponse) Unmarshal(dAtA []byte) error
func (*MsgSubmitMisbehaviourResponse) XXX_DiscardUnknown ¶
func (m *MsgSubmitMisbehaviourResponse) XXX_DiscardUnknown()
func (*MsgSubmitMisbehaviourResponse) XXX_Marshal ¶
func (m *MsgSubmitMisbehaviourResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSubmitMisbehaviourResponse) XXX_Merge ¶
func (m *MsgSubmitMisbehaviourResponse) XXX_Merge(src proto.Message)
func (*MsgSubmitMisbehaviourResponse) XXX_Size ¶
func (m *MsgSubmitMisbehaviourResponse) XXX_Size() int
func (*MsgSubmitMisbehaviourResponse) XXX_Unmarshal ¶
func (m *MsgSubmitMisbehaviourResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateClient ¶
type MsgUpdateClient struct { // client unique identifier ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty" yaml:"client_id"` // header to update the light client Header *types.Any `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"` // signer address Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"` }
MsgUpdateClient defines an sdk.Msg to update a IBC client state using the given header.
func NewMsgUpdateClient ¶
func NewMsgUpdateClient(id string, header exported.Header, signer sdk.AccAddress) (*MsgUpdateClient, error)
NewMsgUpdateClient creates a new MsgUpdateClient instance
func (*MsgUpdateClient) Descriptor ¶
func (*MsgUpdateClient) Descriptor() ([]byte, []int)
func (MsgUpdateClient) GetSignBytes ¶
func (msg MsgUpdateClient) GetSignBytes() []byte
GetSignBytes implements sdk.Msg. The function will panic since it is used for amino transaction verification which IBC does not support.
func (MsgUpdateClient) GetSigners ¶
func (msg MsgUpdateClient) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgUpdateClient) Marshal ¶
func (m *MsgUpdateClient) Marshal() (dAtA []byte, err error)
func (*MsgUpdateClient) MarshalToSizedBuffer ¶
func (m *MsgUpdateClient) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateClient) ProtoMessage ¶
func (*MsgUpdateClient) ProtoMessage()
func (*MsgUpdateClient) Reset ¶
func (m *MsgUpdateClient) Reset()
func (*MsgUpdateClient) Size ¶
func (m *MsgUpdateClient) Size() (n int)
func (*MsgUpdateClient) String ¶
func (m *MsgUpdateClient) String() string
func (*MsgUpdateClient) Unmarshal ¶
func (m *MsgUpdateClient) Unmarshal(dAtA []byte) error
func (MsgUpdateClient) UnpackInterfaces ¶
func (msg MsgUpdateClient) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (MsgUpdateClient) ValidateBasic ¶
func (msg MsgUpdateClient) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgUpdateClient) XXX_DiscardUnknown ¶
func (m *MsgUpdateClient) XXX_DiscardUnknown()
func (*MsgUpdateClient) XXX_Marshal ¶
func (m *MsgUpdateClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateClient) XXX_Merge ¶
func (m *MsgUpdateClient) XXX_Merge(src proto.Message)
func (*MsgUpdateClient) XXX_Size ¶
func (m *MsgUpdateClient) XXX_Size() int
func (*MsgUpdateClient) XXX_Unmarshal ¶
func (m *MsgUpdateClient) XXX_Unmarshal(b []byte) error
type MsgUpdateClientResponse ¶
type MsgUpdateClientResponse struct { }
MsgUpdateClientResponse defines the Msg/UpdateClient response type.
func (*MsgUpdateClientResponse) Descriptor ¶
func (*MsgUpdateClientResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateClientResponse) Marshal ¶
func (m *MsgUpdateClientResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateClientResponse) MarshalTo ¶
func (m *MsgUpdateClientResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateClientResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateClientResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateClientResponse) ProtoMessage ¶
func (*MsgUpdateClientResponse) ProtoMessage()
func (*MsgUpdateClientResponse) Reset ¶
func (m *MsgUpdateClientResponse) Reset()
func (*MsgUpdateClientResponse) Size ¶
func (m *MsgUpdateClientResponse) Size() (n int)
func (*MsgUpdateClientResponse) String ¶
func (m *MsgUpdateClientResponse) String() string
func (*MsgUpdateClientResponse) Unmarshal ¶
func (m *MsgUpdateClientResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateClientResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateClientResponse) XXX_DiscardUnknown()
func (*MsgUpdateClientResponse) XXX_Marshal ¶
func (m *MsgUpdateClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateClientResponse) XXX_Merge ¶
func (m *MsgUpdateClientResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateClientResponse) XXX_Size ¶
func (m *MsgUpdateClientResponse) XXX_Size() int
func (*MsgUpdateClientResponse) XXX_Unmarshal ¶
func (m *MsgUpdateClientResponse) XXX_Unmarshal(b []byte) error
type MsgUpgradeClient ¶
type MsgUpgradeClient struct { // client unique identifier ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty" yaml:"client_id"` // upgraded client state ClientState *types.Any `protobuf:"bytes,2,opt,name=client_state,json=clientState,proto3" json:"client_state,omitempty" yaml:"client_state"` // upgraded consensus state, only contains enough information to serve as a basis of trust in update logic ConsensusState *types.Any `` /* 126-byte string literal not displayed */ // proof that old chain committed to new client ProofUpgradeClient []byte `` /* 145-byte string literal not displayed */ // proof that old chain committed to new consensus state ProofUpgradeConsensusState []byte `` /* 180-byte string literal not displayed */ // signer address Signer string `protobuf:"bytes,6,opt,name=signer,proto3" json:"signer,omitempty"` }
MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client state
func NewMsgUpgradeClient ¶
func NewMsgUpgradeClient(clientID string, clientState exported.ClientState, consState exported.ConsensusState, proofUpgradeClient, proofUpgradeConsState []byte, signer sdk.AccAddress) (*MsgUpgradeClient, error)
NewMsgUpgradeClient creates a new MsgUpgradeClient instance nolint: interfacer
func (*MsgUpgradeClient) Descriptor ¶
func (*MsgUpgradeClient) Descriptor() ([]byte, []int)
func (MsgUpgradeClient) GetSignBytes ¶
func (msg MsgUpgradeClient) GetSignBytes() []byte
GetSignBytes implements sdk.Msg. The function will panic since it is used for amino transaction verification which IBC does not support.
func (MsgUpgradeClient) GetSigners ¶
func (msg MsgUpgradeClient) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgUpgradeClient) Marshal ¶
func (m *MsgUpgradeClient) Marshal() (dAtA []byte, err error)
func (*MsgUpgradeClient) MarshalToSizedBuffer ¶
func (m *MsgUpgradeClient) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpgradeClient) ProtoMessage ¶
func (*MsgUpgradeClient) ProtoMessage()
func (*MsgUpgradeClient) Reset ¶
func (m *MsgUpgradeClient) Reset()
func (*MsgUpgradeClient) Size ¶
func (m *MsgUpgradeClient) Size() (n int)
func (*MsgUpgradeClient) String ¶
func (m *MsgUpgradeClient) String() string
func (*MsgUpgradeClient) Unmarshal ¶
func (m *MsgUpgradeClient) Unmarshal(dAtA []byte) error
func (MsgUpgradeClient) UnpackInterfaces ¶
func (msg MsgUpgradeClient) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (MsgUpgradeClient) ValidateBasic ¶
func (msg MsgUpgradeClient) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgUpgradeClient) XXX_DiscardUnknown ¶
func (m *MsgUpgradeClient) XXX_DiscardUnknown()
func (*MsgUpgradeClient) XXX_Marshal ¶
func (m *MsgUpgradeClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpgradeClient) XXX_Merge ¶
func (m *MsgUpgradeClient) XXX_Merge(src proto.Message)
func (*MsgUpgradeClient) XXX_Size ¶
func (m *MsgUpgradeClient) XXX_Size() int
func (*MsgUpgradeClient) XXX_Unmarshal ¶
func (m *MsgUpgradeClient) XXX_Unmarshal(b []byte) error
type MsgUpgradeClientResponse ¶
type MsgUpgradeClientResponse struct { }
MsgUpgradeClientResponse defines the Msg/UpgradeClient response type.
func (*MsgUpgradeClientResponse) Descriptor ¶
func (*MsgUpgradeClientResponse) Descriptor() ([]byte, []int)
func (*MsgUpgradeClientResponse) Marshal ¶
func (m *MsgUpgradeClientResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpgradeClientResponse) MarshalTo ¶
func (m *MsgUpgradeClientResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpgradeClientResponse) MarshalToSizedBuffer ¶
func (m *MsgUpgradeClientResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpgradeClientResponse) ProtoMessage ¶
func (*MsgUpgradeClientResponse) ProtoMessage()
func (*MsgUpgradeClientResponse) Reset ¶
func (m *MsgUpgradeClientResponse) Reset()
func (*MsgUpgradeClientResponse) Size ¶
func (m *MsgUpgradeClientResponse) Size() (n int)
func (*MsgUpgradeClientResponse) String ¶
func (m *MsgUpgradeClientResponse) String() string
func (*MsgUpgradeClientResponse) Unmarshal ¶
func (m *MsgUpgradeClientResponse) Unmarshal(dAtA []byte) error
func (*MsgUpgradeClientResponse) XXX_DiscardUnknown ¶
func (m *MsgUpgradeClientResponse) XXX_DiscardUnknown()
func (*MsgUpgradeClientResponse) XXX_Marshal ¶
func (m *MsgUpgradeClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpgradeClientResponse) XXX_Merge ¶
func (m *MsgUpgradeClientResponse) XXX_Merge(src proto.Message)
func (*MsgUpgradeClientResponse) XXX_Size ¶
func (m *MsgUpgradeClientResponse) XXX_Size() int
func (*MsgUpgradeClientResponse) XXX_Unmarshal ¶
func (m *MsgUpgradeClientResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { // allowed_clients defines the list of allowed client state types. AllowedClients []string `` /* 126-byte string literal not displayed */ }
Params defines the set of IBC light client parameters.
func DefaultParams ¶
func DefaultParams() Params
DefaultParams is the default parameter configuration for the ibc-transfer module
func (*Params) Descriptor ¶
func (*Params) GetAllowedClients ¶
func (Params) IsAllowedClient ¶
IsAllowedClient checks if the given client type is registered on the allowlist.
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs implements params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryClient ¶
type QueryClient interface { // ClientState queries an IBC light client. ClientState(ctx context.Context, in *QueryClientStateRequest, opts ...grpc.CallOption) (*QueryClientStateResponse, error) // ClientStates queries all the IBC light clients of a chain. ClientStates(ctx context.Context, in *QueryClientStatesRequest, opts ...grpc.CallOption) (*QueryClientStatesResponse, error) // ConsensusState queries a consensus state associated with a client state at // a given height. ConsensusState(ctx context.Context, in *QueryConsensusStateRequest, opts ...grpc.CallOption) (*QueryConsensusStateResponse, error) // ConsensusStates queries all the consensus state associated with a given // client. ConsensusStates(ctx context.Context, in *QueryConsensusStatesRequest, opts ...grpc.CallOption) (*QueryConsensusStatesResponse, error) // ConsensusStateHeights queries the height of every consensus states associated with a given client. ConsensusStateHeights(ctx context.Context, in *QueryConsensusStateHeightsRequest, opts ...grpc.CallOption) (*QueryConsensusStateHeightsResponse, error) // Status queries the status of an IBC client. ClientStatus(ctx context.Context, in *QueryClientStatusRequest, opts ...grpc.CallOption) (*QueryClientStatusResponse, error) // ClientParams queries all parameters of the ibc client. ClientParams(ctx context.Context, in *QueryClientParamsRequest, opts ...grpc.CallOption) (*QueryClientParamsResponse, error) // UpgradedClientState queries an Upgraded IBC light client. UpgradedClientState(ctx context.Context, in *QueryUpgradedClientStateRequest, opts ...grpc.CallOption) (*QueryUpgradedClientStateResponse, error) // UpgradedConsensusState queries an Upgraded IBC consensus state. UpgradedConsensusState(ctx context.Context, in *QueryUpgradedConsensusStateRequest, opts ...grpc.CallOption) (*QueryUpgradedConsensusStateResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryClientParamsRequest ¶
type QueryClientParamsRequest struct { }
QueryClientParamsRequest is the request type for the Query/ClientParams RPC method.
func (*QueryClientParamsRequest) Descriptor ¶
func (*QueryClientParamsRequest) Descriptor() ([]byte, []int)
func (*QueryClientParamsRequest) Marshal ¶
func (m *QueryClientParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryClientParamsRequest) MarshalTo ¶
func (m *QueryClientParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryClientParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryClientParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClientParamsRequest) ProtoMessage ¶
func (*QueryClientParamsRequest) ProtoMessage()
func (*QueryClientParamsRequest) Reset ¶
func (m *QueryClientParamsRequest) Reset()
func (*QueryClientParamsRequest) Size ¶
func (m *QueryClientParamsRequest) Size() (n int)
func (*QueryClientParamsRequest) String ¶
func (m *QueryClientParamsRequest) String() string
func (*QueryClientParamsRequest) Unmarshal ¶
func (m *QueryClientParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryClientParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryClientParamsRequest) XXX_DiscardUnknown()
func (*QueryClientParamsRequest) XXX_Marshal ¶
func (m *QueryClientParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClientParamsRequest) XXX_Merge ¶
func (m *QueryClientParamsRequest) XXX_Merge(src proto.Message)
func (*QueryClientParamsRequest) XXX_Size ¶
func (m *QueryClientParamsRequest) XXX_Size() int
func (*QueryClientParamsRequest) XXX_Unmarshal ¶
func (m *QueryClientParamsRequest) XXX_Unmarshal(b []byte) error
type QueryClientParamsResponse ¶
type QueryClientParamsResponse struct { // params defines the parameters of the module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` }
QueryClientParamsResponse is the response type for the Query/ClientParams RPC method.
func (*QueryClientParamsResponse) Descriptor ¶
func (*QueryClientParamsResponse) Descriptor() ([]byte, []int)
func (*QueryClientParamsResponse) GetParams ¶
func (m *QueryClientParamsResponse) GetParams() *Params
func (*QueryClientParamsResponse) Marshal ¶
func (m *QueryClientParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryClientParamsResponse) MarshalTo ¶
func (m *QueryClientParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryClientParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryClientParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClientParamsResponse) ProtoMessage ¶
func (*QueryClientParamsResponse) ProtoMessage()
func (*QueryClientParamsResponse) Reset ¶
func (m *QueryClientParamsResponse) Reset()
func (*QueryClientParamsResponse) Size ¶
func (m *QueryClientParamsResponse) Size() (n int)
func (*QueryClientParamsResponse) String ¶
func (m *QueryClientParamsResponse) String() string
func (*QueryClientParamsResponse) Unmarshal ¶
func (m *QueryClientParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryClientParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryClientParamsResponse) XXX_DiscardUnknown()
func (*QueryClientParamsResponse) XXX_Marshal ¶
func (m *QueryClientParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClientParamsResponse) XXX_Merge ¶
func (m *QueryClientParamsResponse) XXX_Merge(src proto.Message)
func (*QueryClientParamsResponse) XXX_Size ¶
func (m *QueryClientParamsResponse) XXX_Size() int
func (*QueryClientParamsResponse) XXX_Unmarshal ¶
func (m *QueryClientParamsResponse) XXX_Unmarshal(b []byte) error
type QueryClientStateRequest ¶
type QueryClientStateRequest struct { // client state unique identifier ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` }
QueryClientStateRequest is the request type for the Query/ClientState RPC method
func (*QueryClientStateRequest) Descriptor ¶
func (*QueryClientStateRequest) Descriptor() ([]byte, []int)
func (*QueryClientStateRequest) GetClientId ¶
func (m *QueryClientStateRequest) GetClientId() string
func (*QueryClientStateRequest) Marshal ¶
func (m *QueryClientStateRequest) Marshal() (dAtA []byte, err error)
func (*QueryClientStateRequest) MarshalTo ¶
func (m *QueryClientStateRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryClientStateRequest) MarshalToSizedBuffer ¶
func (m *QueryClientStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClientStateRequest) ProtoMessage ¶
func (*QueryClientStateRequest) ProtoMessage()
func (*QueryClientStateRequest) Reset ¶
func (m *QueryClientStateRequest) Reset()
func (*QueryClientStateRequest) Size ¶
func (m *QueryClientStateRequest) Size() (n int)
func (*QueryClientStateRequest) String ¶
func (m *QueryClientStateRequest) String() string
func (*QueryClientStateRequest) Unmarshal ¶
func (m *QueryClientStateRequest) Unmarshal(dAtA []byte) error
func (*QueryClientStateRequest) XXX_DiscardUnknown ¶
func (m *QueryClientStateRequest) XXX_DiscardUnknown()
func (*QueryClientStateRequest) XXX_Marshal ¶
func (m *QueryClientStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClientStateRequest) XXX_Merge ¶
func (m *QueryClientStateRequest) XXX_Merge(src proto.Message)
func (*QueryClientStateRequest) XXX_Size ¶
func (m *QueryClientStateRequest) XXX_Size() int
func (*QueryClientStateRequest) XXX_Unmarshal ¶
func (m *QueryClientStateRequest) XXX_Unmarshal(b []byte) error
type QueryClientStateResponse ¶
type QueryClientStateResponse struct { // client state associated with the request identifier ClientState *types.Any `protobuf:"bytes,1,opt,name=client_state,json=clientState,proto3" json:"client_state,omitempty"` // merkle proof of existence Proof []byte `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"` // height at which the proof was retrieved ProofHeight Height `protobuf:"bytes,3,opt,name=proof_height,json=proofHeight,proto3" json:"proof_height"` }
QueryClientStateResponse is the response type for the Query/ClientState RPC method. Besides the client state, it includes a proof and the height from which the proof was retrieved.
func NewQueryClientStateResponse ¶
func NewQueryClientStateResponse( clientStateAny *codectypes.Any, proof []byte, height Height, ) *QueryClientStateResponse
NewQueryClientStateResponse creates a new QueryClientStateResponse instance.
func (*QueryClientStateResponse) Descriptor ¶
func (*QueryClientStateResponse) Descriptor() ([]byte, []int)
func (*QueryClientStateResponse) GetClientState ¶
func (m *QueryClientStateResponse) GetClientState() *types.Any
func (*QueryClientStateResponse) GetProof ¶
func (m *QueryClientStateResponse) GetProof() []byte
func (*QueryClientStateResponse) GetProofHeight ¶
func (m *QueryClientStateResponse) GetProofHeight() Height
func (*QueryClientStateResponse) Marshal ¶
func (m *QueryClientStateResponse) Marshal() (dAtA []byte, err error)
func (*QueryClientStateResponse) MarshalTo ¶
func (m *QueryClientStateResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryClientStateResponse) MarshalToSizedBuffer ¶
func (m *QueryClientStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClientStateResponse) ProtoMessage ¶
func (*QueryClientStateResponse) ProtoMessage()
func (*QueryClientStateResponse) Reset ¶
func (m *QueryClientStateResponse) Reset()
func (*QueryClientStateResponse) Size ¶
func (m *QueryClientStateResponse) Size() (n int)
func (*QueryClientStateResponse) String ¶
func (m *QueryClientStateResponse) String() string
func (*QueryClientStateResponse) Unmarshal ¶
func (m *QueryClientStateResponse) Unmarshal(dAtA []byte) error
func (QueryClientStateResponse) UnpackInterfaces ¶ added in v1.6.7
func (qcsr QueryClientStateResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMesssage.UnpackInterfaces
func (*QueryClientStateResponse) XXX_DiscardUnknown ¶
func (m *QueryClientStateResponse) XXX_DiscardUnknown()
func (*QueryClientStateResponse) XXX_Marshal ¶
func (m *QueryClientStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClientStateResponse) XXX_Merge ¶
func (m *QueryClientStateResponse) XXX_Merge(src proto.Message)
func (*QueryClientStateResponse) XXX_Size ¶
func (m *QueryClientStateResponse) XXX_Size() int
func (*QueryClientStateResponse) XXX_Unmarshal ¶
func (m *QueryClientStateResponse) XXX_Unmarshal(b []byte) error
type QueryClientStatesRequest ¶
type QueryClientStatesRequest struct { // pagination request Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryClientStatesRequest is the request type for the Query/ClientStates RPC method
func (*QueryClientStatesRequest) Descriptor ¶
func (*QueryClientStatesRequest) Descriptor() ([]byte, []int)
func (*QueryClientStatesRequest) GetPagination ¶
func (m *QueryClientStatesRequest) GetPagination() *query.PageRequest
func (*QueryClientStatesRequest) Marshal ¶
func (m *QueryClientStatesRequest) Marshal() (dAtA []byte, err error)
func (*QueryClientStatesRequest) MarshalTo ¶
func (m *QueryClientStatesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryClientStatesRequest) MarshalToSizedBuffer ¶
func (m *QueryClientStatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClientStatesRequest) ProtoMessage ¶
func (*QueryClientStatesRequest) ProtoMessage()
func (*QueryClientStatesRequest) Reset ¶
func (m *QueryClientStatesRequest) Reset()
func (*QueryClientStatesRequest) Size ¶
func (m *QueryClientStatesRequest) Size() (n int)
func (*QueryClientStatesRequest) String ¶
func (m *QueryClientStatesRequest) String() string
func (*QueryClientStatesRequest) Unmarshal ¶
func (m *QueryClientStatesRequest) Unmarshal(dAtA []byte) error
func (*QueryClientStatesRequest) XXX_DiscardUnknown ¶
func (m *QueryClientStatesRequest) XXX_DiscardUnknown()
func (*QueryClientStatesRequest) XXX_Marshal ¶
func (m *QueryClientStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClientStatesRequest) XXX_Merge ¶
func (m *QueryClientStatesRequest) XXX_Merge(src proto.Message)
func (*QueryClientStatesRequest) XXX_Size ¶
func (m *QueryClientStatesRequest) XXX_Size() int
func (*QueryClientStatesRequest) XXX_Unmarshal ¶
func (m *QueryClientStatesRequest) XXX_Unmarshal(b []byte) error
type QueryClientStatesResponse ¶
type QueryClientStatesResponse struct { // list of stored ClientStates of the chain. ClientStates IdentifiedClientStates `protobuf:"bytes,1,rep,name=client_states,json=clientStates,proto3,castrepeated=IdentifiedClientStates" json:"client_states"` // pagination response Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryClientStatesResponse is the response type for the Query/ClientStates RPC method.
func (*QueryClientStatesResponse) Descriptor ¶
func (*QueryClientStatesResponse) Descriptor() ([]byte, []int)
func (*QueryClientStatesResponse) GetClientStates ¶
func (m *QueryClientStatesResponse) GetClientStates() IdentifiedClientStates
func (*QueryClientStatesResponse) GetPagination ¶
func (m *QueryClientStatesResponse) GetPagination() *query.PageResponse
func (*QueryClientStatesResponse) Marshal ¶
func (m *QueryClientStatesResponse) Marshal() (dAtA []byte, err error)
func (*QueryClientStatesResponse) MarshalTo ¶
func (m *QueryClientStatesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryClientStatesResponse) MarshalToSizedBuffer ¶
func (m *QueryClientStatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClientStatesResponse) ProtoMessage ¶
func (*QueryClientStatesResponse) ProtoMessage()
func (*QueryClientStatesResponse) Reset ¶
func (m *QueryClientStatesResponse) Reset()
func (*QueryClientStatesResponse) Size ¶
func (m *QueryClientStatesResponse) Size() (n int)
func (*QueryClientStatesResponse) String ¶
func (m *QueryClientStatesResponse) String() string
func (*QueryClientStatesResponse) Unmarshal ¶
func (m *QueryClientStatesResponse) Unmarshal(dAtA []byte) error
func (QueryClientStatesResponse) UnpackInterfaces ¶ added in v1.6.7
func (qcsr QueryClientStatesResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMesssage.UnpackInterfaces
func (*QueryClientStatesResponse) XXX_DiscardUnknown ¶
func (m *QueryClientStatesResponse) XXX_DiscardUnknown()
func (*QueryClientStatesResponse) XXX_Marshal ¶
func (m *QueryClientStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClientStatesResponse) XXX_Merge ¶
func (m *QueryClientStatesResponse) XXX_Merge(src proto.Message)
func (*QueryClientStatesResponse) XXX_Size ¶
func (m *QueryClientStatesResponse) XXX_Size() int
func (*QueryClientStatesResponse) XXX_Unmarshal ¶
func (m *QueryClientStatesResponse) XXX_Unmarshal(b []byte) error
type QueryClientStatusRequest ¶
type QueryClientStatusRequest struct { // client unique identifier ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` }
QueryClientStatusRequest is the request type for the Query/ClientStatus RPC method
func (*QueryClientStatusRequest) Descriptor ¶
func (*QueryClientStatusRequest) Descriptor() ([]byte, []int)
func (*QueryClientStatusRequest) GetClientId ¶
func (m *QueryClientStatusRequest) GetClientId() string
func (*QueryClientStatusRequest) Marshal ¶
func (m *QueryClientStatusRequest) Marshal() (dAtA []byte, err error)
func (*QueryClientStatusRequest) MarshalTo ¶
func (m *QueryClientStatusRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryClientStatusRequest) MarshalToSizedBuffer ¶
func (m *QueryClientStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClientStatusRequest) ProtoMessage ¶
func (*QueryClientStatusRequest) ProtoMessage()
func (*QueryClientStatusRequest) Reset ¶
func (m *QueryClientStatusRequest) Reset()
func (*QueryClientStatusRequest) Size ¶
func (m *QueryClientStatusRequest) Size() (n int)
func (*QueryClientStatusRequest) String ¶
func (m *QueryClientStatusRequest) String() string
func (*QueryClientStatusRequest) Unmarshal ¶
func (m *QueryClientStatusRequest) Unmarshal(dAtA []byte) error
func (*QueryClientStatusRequest) XXX_DiscardUnknown ¶
func (m *QueryClientStatusRequest) XXX_DiscardUnknown()
func (*QueryClientStatusRequest) XXX_Marshal ¶
func (m *QueryClientStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClientStatusRequest) XXX_Merge ¶
func (m *QueryClientStatusRequest) XXX_Merge(src proto.Message)
func (*QueryClientStatusRequest) XXX_Size ¶
func (m *QueryClientStatusRequest) XXX_Size() int
func (*QueryClientStatusRequest) XXX_Unmarshal ¶
func (m *QueryClientStatusRequest) XXX_Unmarshal(b []byte) error
type QueryClientStatusResponse ¶
type QueryClientStatusResponse struct {
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
}
QueryClientStatusResponse is the response type for the Query/ClientStatus RPC method. It returns the current status of the IBC client.
func (*QueryClientStatusResponse) Descriptor ¶
func (*QueryClientStatusResponse) Descriptor() ([]byte, []int)
func (*QueryClientStatusResponse) GetStatus ¶
func (m *QueryClientStatusResponse) GetStatus() string
func (*QueryClientStatusResponse) Marshal ¶
func (m *QueryClientStatusResponse) Marshal() (dAtA []byte, err error)
func (*QueryClientStatusResponse) MarshalTo ¶
func (m *QueryClientStatusResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryClientStatusResponse) MarshalToSizedBuffer ¶
func (m *QueryClientStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClientStatusResponse) ProtoMessage ¶
func (*QueryClientStatusResponse) ProtoMessage()
func (*QueryClientStatusResponse) Reset ¶
func (m *QueryClientStatusResponse) Reset()
func (*QueryClientStatusResponse) Size ¶
func (m *QueryClientStatusResponse) Size() (n int)
func (*QueryClientStatusResponse) String ¶
func (m *QueryClientStatusResponse) String() string
func (*QueryClientStatusResponse) Unmarshal ¶
func (m *QueryClientStatusResponse) Unmarshal(dAtA []byte) error
func (*QueryClientStatusResponse) XXX_DiscardUnknown ¶
func (m *QueryClientStatusResponse) XXX_DiscardUnknown()
func (*QueryClientStatusResponse) XXX_Marshal ¶
func (m *QueryClientStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClientStatusResponse) XXX_Merge ¶
func (m *QueryClientStatusResponse) XXX_Merge(src proto.Message)
func (*QueryClientStatusResponse) XXX_Size ¶
func (m *QueryClientStatusResponse) XXX_Size() int
func (*QueryClientStatusResponse) XXX_Unmarshal ¶
func (m *QueryClientStatusResponse) XXX_Unmarshal(b []byte) error
type QueryConsensusStateHeightsRequest ¶ added in v1.6.7
type QueryConsensusStateHeightsRequest struct { // client identifier ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // pagination request Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryConsensusStateHeightsRequest is the request type for Query/ConsensusStateHeights RPC method.
func (*QueryConsensusStateHeightsRequest) Descriptor ¶ added in v1.6.7
func (*QueryConsensusStateHeightsRequest) Descriptor() ([]byte, []int)
func (*QueryConsensusStateHeightsRequest) GetClientId ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsRequest) GetClientId() string
func (*QueryConsensusStateHeightsRequest) GetPagination ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsRequest) GetPagination() *query.PageRequest
func (*QueryConsensusStateHeightsRequest) Marshal ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsRequest) Marshal() (dAtA []byte, err error)
func (*QueryConsensusStateHeightsRequest) MarshalTo ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsensusStateHeightsRequest) MarshalToSizedBuffer ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsensusStateHeightsRequest) ProtoMessage ¶ added in v1.6.7
func (*QueryConsensusStateHeightsRequest) ProtoMessage()
func (*QueryConsensusStateHeightsRequest) Reset ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsRequest) Reset()
func (*QueryConsensusStateHeightsRequest) Size ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsRequest) Size() (n int)
func (*QueryConsensusStateHeightsRequest) String ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsRequest) String() string
func (*QueryConsensusStateHeightsRequest) Unmarshal ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsRequest) Unmarshal(dAtA []byte) error
func (*QueryConsensusStateHeightsRequest) XXX_DiscardUnknown ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsRequest) XXX_DiscardUnknown()
func (*QueryConsensusStateHeightsRequest) XXX_Marshal ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsensusStateHeightsRequest) XXX_Merge ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsRequest) XXX_Merge(src proto.Message)
func (*QueryConsensusStateHeightsRequest) XXX_Size ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsRequest) XXX_Size() int
func (*QueryConsensusStateHeightsRequest) XXX_Unmarshal ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsRequest) XXX_Unmarshal(b []byte) error
type QueryConsensusStateHeightsResponse ¶ added in v1.6.7
type QueryConsensusStateHeightsResponse struct { // consensus state heights ConsensusStateHeights []Height `protobuf:"bytes,1,rep,name=consensus_state_heights,json=consensusStateHeights,proto3" json:"consensus_state_heights"` // pagination response Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryConsensusStateHeightsResponse is the response type for the Query/ConsensusStateHeights RPC method
func (*QueryConsensusStateHeightsResponse) Descriptor ¶ added in v1.6.7
func (*QueryConsensusStateHeightsResponse) Descriptor() ([]byte, []int)
func (*QueryConsensusStateHeightsResponse) GetConsensusStateHeights ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsResponse) GetConsensusStateHeights() []Height
func (*QueryConsensusStateHeightsResponse) GetPagination ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsResponse) GetPagination() *query.PageResponse
func (*QueryConsensusStateHeightsResponse) Marshal ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsResponse) Marshal() (dAtA []byte, err error)
func (*QueryConsensusStateHeightsResponse) MarshalTo ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsensusStateHeightsResponse) MarshalToSizedBuffer ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsensusStateHeightsResponse) ProtoMessage ¶ added in v1.6.7
func (*QueryConsensusStateHeightsResponse) ProtoMessage()
func (*QueryConsensusStateHeightsResponse) Reset ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsResponse) Reset()
func (*QueryConsensusStateHeightsResponse) Size ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsResponse) Size() (n int)
func (*QueryConsensusStateHeightsResponse) String ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsResponse) String() string
func (*QueryConsensusStateHeightsResponse) Unmarshal ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsResponse) Unmarshal(dAtA []byte) error
func (*QueryConsensusStateHeightsResponse) XXX_DiscardUnknown ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsResponse) XXX_DiscardUnknown()
func (*QueryConsensusStateHeightsResponse) XXX_Marshal ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsensusStateHeightsResponse) XXX_Merge ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsResponse) XXX_Merge(src proto.Message)
func (*QueryConsensusStateHeightsResponse) XXX_Size ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsResponse) XXX_Size() int
func (*QueryConsensusStateHeightsResponse) XXX_Unmarshal ¶ added in v1.6.7
func (m *QueryConsensusStateHeightsResponse) XXX_Unmarshal(b []byte) error
type QueryConsensusStateRequest ¶
type QueryConsensusStateRequest struct { // client identifier ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // consensus state revision number RevisionNumber uint64 `protobuf:"varint,2,opt,name=revision_number,json=revisionNumber,proto3" json:"revision_number,omitempty"` // consensus state revision height RevisionHeight uint64 `protobuf:"varint,3,opt,name=revision_height,json=revisionHeight,proto3" json:"revision_height,omitempty"` // latest_height overrrides the height field and queries the latest stored // ConsensusState LatestHeight bool `protobuf:"varint,4,opt,name=latest_height,json=latestHeight,proto3" json:"latest_height,omitempty"` }
QueryConsensusStateRequest is the request type for the Query/ConsensusState RPC method. Besides the consensus state, it includes a proof and the height from which the proof was retrieved.
func (*QueryConsensusStateRequest) Descriptor ¶
func (*QueryConsensusStateRequest) Descriptor() ([]byte, []int)
func (*QueryConsensusStateRequest) GetClientId ¶
func (m *QueryConsensusStateRequest) GetClientId() string
func (*QueryConsensusStateRequest) GetLatestHeight ¶
func (m *QueryConsensusStateRequest) GetLatestHeight() bool
func (*QueryConsensusStateRequest) GetRevisionHeight ¶
func (m *QueryConsensusStateRequest) GetRevisionHeight() uint64
func (*QueryConsensusStateRequest) GetRevisionNumber ¶
func (m *QueryConsensusStateRequest) GetRevisionNumber() uint64
func (*QueryConsensusStateRequest) Marshal ¶
func (m *QueryConsensusStateRequest) Marshal() (dAtA []byte, err error)
func (*QueryConsensusStateRequest) MarshalTo ¶
func (m *QueryConsensusStateRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsensusStateRequest) MarshalToSizedBuffer ¶
func (m *QueryConsensusStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsensusStateRequest) ProtoMessage ¶
func (*QueryConsensusStateRequest) ProtoMessage()
func (*QueryConsensusStateRequest) Reset ¶
func (m *QueryConsensusStateRequest) Reset()
func (*QueryConsensusStateRequest) Size ¶
func (m *QueryConsensusStateRequest) Size() (n int)
func (*QueryConsensusStateRequest) String ¶
func (m *QueryConsensusStateRequest) String() string
func (*QueryConsensusStateRequest) Unmarshal ¶
func (m *QueryConsensusStateRequest) Unmarshal(dAtA []byte) error
func (*QueryConsensusStateRequest) XXX_DiscardUnknown ¶
func (m *QueryConsensusStateRequest) XXX_DiscardUnknown()
func (*QueryConsensusStateRequest) XXX_Marshal ¶
func (m *QueryConsensusStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsensusStateRequest) XXX_Merge ¶
func (m *QueryConsensusStateRequest) XXX_Merge(src proto.Message)
func (*QueryConsensusStateRequest) XXX_Size ¶
func (m *QueryConsensusStateRequest) XXX_Size() int
func (*QueryConsensusStateRequest) XXX_Unmarshal ¶
func (m *QueryConsensusStateRequest) XXX_Unmarshal(b []byte) error
type QueryConsensusStateResponse ¶
type QueryConsensusStateResponse struct { // consensus state associated with the client identifier at the given height ConsensusState *types.Any `protobuf:"bytes,1,opt,name=consensus_state,json=consensusState,proto3" json:"consensus_state,omitempty"` // merkle proof of existence Proof []byte `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"` // height at which the proof was retrieved ProofHeight Height `protobuf:"bytes,3,opt,name=proof_height,json=proofHeight,proto3" json:"proof_height"` }
QueryConsensusStateResponse is the response type for the Query/ConsensusState RPC method
func NewQueryConsensusStateResponse ¶
func NewQueryConsensusStateResponse( consensusStateAny *codectypes.Any, proof []byte, height Height, ) *QueryConsensusStateResponse
NewQueryConsensusStateResponse creates a new QueryConsensusStateResponse instance.
func (*QueryConsensusStateResponse) Descriptor ¶
func (*QueryConsensusStateResponse) Descriptor() ([]byte, []int)
func (*QueryConsensusStateResponse) GetConsensusState ¶
func (m *QueryConsensusStateResponse) GetConsensusState() *types.Any
func (*QueryConsensusStateResponse) GetProof ¶
func (m *QueryConsensusStateResponse) GetProof() []byte
func (*QueryConsensusStateResponse) GetProofHeight ¶
func (m *QueryConsensusStateResponse) GetProofHeight() Height
func (*QueryConsensusStateResponse) Marshal ¶
func (m *QueryConsensusStateResponse) Marshal() (dAtA []byte, err error)
func (*QueryConsensusStateResponse) MarshalTo ¶
func (m *QueryConsensusStateResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsensusStateResponse) MarshalToSizedBuffer ¶
func (m *QueryConsensusStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsensusStateResponse) ProtoMessage ¶
func (*QueryConsensusStateResponse) ProtoMessage()
func (*QueryConsensusStateResponse) Reset ¶
func (m *QueryConsensusStateResponse) Reset()
func (*QueryConsensusStateResponse) Size ¶
func (m *QueryConsensusStateResponse) Size() (n int)
func (*QueryConsensusStateResponse) String ¶
func (m *QueryConsensusStateResponse) String() string
func (*QueryConsensusStateResponse) Unmarshal ¶
func (m *QueryConsensusStateResponse) Unmarshal(dAtA []byte) error
func (QueryConsensusStateResponse) UnpackInterfaces ¶ added in v1.6.7
func (qcsr QueryConsensusStateResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMesssage.UnpackInterfaces
func (*QueryConsensusStateResponse) XXX_DiscardUnknown ¶
func (m *QueryConsensusStateResponse) XXX_DiscardUnknown()
func (*QueryConsensusStateResponse) XXX_Marshal ¶
func (m *QueryConsensusStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsensusStateResponse) XXX_Merge ¶
func (m *QueryConsensusStateResponse) XXX_Merge(src proto.Message)
func (*QueryConsensusStateResponse) XXX_Size ¶
func (m *QueryConsensusStateResponse) XXX_Size() int
func (*QueryConsensusStateResponse) XXX_Unmarshal ¶
func (m *QueryConsensusStateResponse) XXX_Unmarshal(b []byte) error
type QueryConsensusStatesRequest ¶
type QueryConsensusStatesRequest struct { // client identifier ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // pagination request Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryConsensusStatesRequest is the request type for the Query/ConsensusStates RPC method.
func (*QueryConsensusStatesRequest) Descriptor ¶
func (*QueryConsensusStatesRequest) Descriptor() ([]byte, []int)
func (*QueryConsensusStatesRequest) GetClientId ¶
func (m *QueryConsensusStatesRequest) GetClientId() string
func (*QueryConsensusStatesRequest) GetPagination ¶
func (m *QueryConsensusStatesRequest) GetPagination() *query.PageRequest
func (*QueryConsensusStatesRequest) Marshal ¶
func (m *QueryConsensusStatesRequest) Marshal() (dAtA []byte, err error)
func (*QueryConsensusStatesRequest) MarshalTo ¶
func (m *QueryConsensusStatesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsensusStatesRequest) MarshalToSizedBuffer ¶
func (m *QueryConsensusStatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsensusStatesRequest) ProtoMessage ¶
func (*QueryConsensusStatesRequest) ProtoMessage()
func (*QueryConsensusStatesRequest) Reset ¶
func (m *QueryConsensusStatesRequest) Reset()
func (*QueryConsensusStatesRequest) Size ¶
func (m *QueryConsensusStatesRequest) Size() (n int)
func (*QueryConsensusStatesRequest) String ¶
func (m *QueryConsensusStatesRequest) String() string
func (*QueryConsensusStatesRequest) Unmarshal ¶
func (m *QueryConsensusStatesRequest) Unmarshal(dAtA []byte) error
func (*QueryConsensusStatesRequest) XXX_DiscardUnknown ¶
func (m *QueryConsensusStatesRequest) XXX_DiscardUnknown()
func (*QueryConsensusStatesRequest) XXX_Marshal ¶
func (m *QueryConsensusStatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsensusStatesRequest) XXX_Merge ¶
func (m *QueryConsensusStatesRequest) XXX_Merge(src proto.Message)
func (*QueryConsensusStatesRequest) XXX_Size ¶
func (m *QueryConsensusStatesRequest) XXX_Size() int
func (*QueryConsensusStatesRequest) XXX_Unmarshal ¶
func (m *QueryConsensusStatesRequest) XXX_Unmarshal(b []byte) error
type QueryConsensusStatesResponse ¶
type QueryConsensusStatesResponse struct { // consensus states associated with the identifier ConsensusStates []ConsensusStateWithHeight `protobuf:"bytes,1,rep,name=consensus_states,json=consensusStates,proto3" json:"consensus_states"` // pagination response Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryConsensusStatesResponse is the response type for the Query/ConsensusStates RPC method
func (*QueryConsensusStatesResponse) Descriptor ¶
func (*QueryConsensusStatesResponse) Descriptor() ([]byte, []int)
func (*QueryConsensusStatesResponse) GetConsensusStates ¶
func (m *QueryConsensusStatesResponse) GetConsensusStates() []ConsensusStateWithHeight
func (*QueryConsensusStatesResponse) GetPagination ¶
func (m *QueryConsensusStatesResponse) GetPagination() *query.PageResponse
func (*QueryConsensusStatesResponse) Marshal ¶
func (m *QueryConsensusStatesResponse) Marshal() (dAtA []byte, err error)
func (*QueryConsensusStatesResponse) MarshalTo ¶
func (m *QueryConsensusStatesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryConsensusStatesResponse) MarshalToSizedBuffer ¶
func (m *QueryConsensusStatesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryConsensusStatesResponse) ProtoMessage ¶
func (*QueryConsensusStatesResponse) ProtoMessage()
func (*QueryConsensusStatesResponse) Reset ¶
func (m *QueryConsensusStatesResponse) Reset()
func (*QueryConsensusStatesResponse) Size ¶
func (m *QueryConsensusStatesResponse) Size() (n int)
func (*QueryConsensusStatesResponse) String ¶
func (m *QueryConsensusStatesResponse) String() string
func (*QueryConsensusStatesResponse) Unmarshal ¶
func (m *QueryConsensusStatesResponse) Unmarshal(dAtA []byte) error
func (QueryConsensusStatesResponse) UnpackInterfaces ¶ added in v1.6.7
func (qcsr QueryConsensusStatesResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMesssage.UnpackInterfaces
func (*QueryConsensusStatesResponse) XXX_DiscardUnknown ¶
func (m *QueryConsensusStatesResponse) XXX_DiscardUnknown()
func (*QueryConsensusStatesResponse) XXX_Marshal ¶
func (m *QueryConsensusStatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryConsensusStatesResponse) XXX_Merge ¶
func (m *QueryConsensusStatesResponse) XXX_Merge(src proto.Message)
func (*QueryConsensusStatesResponse) XXX_Size ¶
func (m *QueryConsensusStatesResponse) XXX_Size() int
func (*QueryConsensusStatesResponse) XXX_Unmarshal ¶
func (m *QueryConsensusStatesResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // ClientState queries an IBC light client. ClientState(context.Context, *QueryClientStateRequest) (*QueryClientStateResponse, error) // ClientStates queries all the IBC light clients of a chain. ClientStates(context.Context, *QueryClientStatesRequest) (*QueryClientStatesResponse, error) // ConsensusState queries a consensus state associated with a client state at // a given height. ConsensusState(context.Context, *QueryConsensusStateRequest) (*QueryConsensusStateResponse, error) // ConsensusStates queries all the consensus state associated with a given // client. ConsensusStates(context.Context, *QueryConsensusStatesRequest) (*QueryConsensusStatesResponse, error) // ConsensusStateHeights queries the height of every consensus states associated with a given client. ConsensusStateHeights(context.Context, *QueryConsensusStateHeightsRequest) (*QueryConsensusStateHeightsResponse, error) // Status queries the status of an IBC client. ClientStatus(context.Context, *QueryClientStatusRequest) (*QueryClientStatusResponse, error) // ClientParams queries all parameters of the ibc client. ClientParams(context.Context, *QueryClientParamsRequest) (*QueryClientParamsResponse, error) // UpgradedClientState queries an Upgraded IBC light client. UpgradedClientState(context.Context, *QueryUpgradedClientStateRequest) (*QueryUpgradedClientStateResponse, error) // UpgradedConsensusState queries an Upgraded IBC consensus state. UpgradedConsensusState(context.Context, *QueryUpgradedConsensusStateRequest) (*QueryUpgradedConsensusStateResponse, error) }
QueryServer is the server API for Query service.
type QueryUpgradedClientStateRequest ¶
type QueryUpgradedClientStateRequest struct { }
QueryUpgradedClientStateRequest is the request type for the Query/UpgradedClientState RPC method
func (*QueryUpgradedClientStateRequest) Descriptor ¶
func (*QueryUpgradedClientStateRequest) Descriptor() ([]byte, []int)
func (*QueryUpgradedClientStateRequest) Marshal ¶
func (m *QueryUpgradedClientStateRequest) Marshal() (dAtA []byte, err error)
func (*QueryUpgradedClientStateRequest) MarshalTo ¶
func (m *QueryUpgradedClientStateRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryUpgradedClientStateRequest) MarshalToSizedBuffer ¶
func (m *QueryUpgradedClientStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUpgradedClientStateRequest) ProtoMessage ¶
func (*QueryUpgradedClientStateRequest) ProtoMessage()
func (*QueryUpgradedClientStateRequest) Reset ¶
func (m *QueryUpgradedClientStateRequest) Reset()
func (*QueryUpgradedClientStateRequest) Size ¶
func (m *QueryUpgradedClientStateRequest) Size() (n int)
func (*QueryUpgradedClientStateRequest) String ¶
func (m *QueryUpgradedClientStateRequest) String() string
func (*QueryUpgradedClientStateRequest) Unmarshal ¶
func (m *QueryUpgradedClientStateRequest) Unmarshal(dAtA []byte) error
func (*QueryUpgradedClientStateRequest) XXX_DiscardUnknown ¶
func (m *QueryUpgradedClientStateRequest) XXX_DiscardUnknown()
func (*QueryUpgradedClientStateRequest) XXX_Marshal ¶
func (m *QueryUpgradedClientStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUpgradedClientStateRequest) XXX_Merge ¶
func (m *QueryUpgradedClientStateRequest) XXX_Merge(src proto.Message)
func (*QueryUpgradedClientStateRequest) XXX_Size ¶
func (m *QueryUpgradedClientStateRequest) XXX_Size() int
func (*QueryUpgradedClientStateRequest) XXX_Unmarshal ¶
func (m *QueryUpgradedClientStateRequest) XXX_Unmarshal(b []byte) error
type QueryUpgradedClientStateResponse ¶
type QueryUpgradedClientStateResponse struct { // client state associated with the request identifier UpgradedClientState *types.Any `protobuf:"bytes,1,opt,name=upgraded_client_state,json=upgradedClientState,proto3" json:"upgraded_client_state,omitempty"` }
QueryUpgradedClientStateResponse is the response type for the Query/UpgradedClientState RPC method.
func (*QueryUpgradedClientStateResponse) Descriptor ¶
func (*QueryUpgradedClientStateResponse) Descriptor() ([]byte, []int)
func (*QueryUpgradedClientStateResponse) GetUpgradedClientState ¶
func (m *QueryUpgradedClientStateResponse) GetUpgradedClientState() *types.Any
func (*QueryUpgradedClientStateResponse) Marshal ¶
func (m *QueryUpgradedClientStateResponse) Marshal() (dAtA []byte, err error)
func (*QueryUpgradedClientStateResponse) MarshalTo ¶
func (m *QueryUpgradedClientStateResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryUpgradedClientStateResponse) MarshalToSizedBuffer ¶
func (m *QueryUpgradedClientStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUpgradedClientStateResponse) ProtoMessage ¶
func (*QueryUpgradedClientStateResponse) ProtoMessage()
func (*QueryUpgradedClientStateResponse) Reset ¶
func (m *QueryUpgradedClientStateResponse) Reset()
func (*QueryUpgradedClientStateResponse) Size ¶
func (m *QueryUpgradedClientStateResponse) Size() (n int)
func (*QueryUpgradedClientStateResponse) String ¶
func (m *QueryUpgradedClientStateResponse) String() string
func (*QueryUpgradedClientStateResponse) Unmarshal ¶
func (m *QueryUpgradedClientStateResponse) Unmarshal(dAtA []byte) error
func (*QueryUpgradedClientStateResponse) XXX_DiscardUnknown ¶
func (m *QueryUpgradedClientStateResponse) XXX_DiscardUnknown()
func (*QueryUpgradedClientStateResponse) XXX_Marshal ¶
func (m *QueryUpgradedClientStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUpgradedClientStateResponse) XXX_Merge ¶
func (m *QueryUpgradedClientStateResponse) XXX_Merge(src proto.Message)
func (*QueryUpgradedClientStateResponse) XXX_Size ¶
func (m *QueryUpgradedClientStateResponse) XXX_Size() int
func (*QueryUpgradedClientStateResponse) XXX_Unmarshal ¶
func (m *QueryUpgradedClientStateResponse) XXX_Unmarshal(b []byte) error
type QueryUpgradedConsensusStateRequest ¶
type QueryUpgradedConsensusStateRequest struct { }
QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState RPC method
func (*QueryUpgradedConsensusStateRequest) Descriptor ¶
func (*QueryUpgradedConsensusStateRequest) Descriptor() ([]byte, []int)
func (*QueryUpgradedConsensusStateRequest) Marshal ¶
func (m *QueryUpgradedConsensusStateRequest) Marshal() (dAtA []byte, err error)
func (*QueryUpgradedConsensusStateRequest) MarshalTo ¶
func (m *QueryUpgradedConsensusStateRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryUpgradedConsensusStateRequest) MarshalToSizedBuffer ¶
func (m *QueryUpgradedConsensusStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUpgradedConsensusStateRequest) ProtoMessage ¶
func (*QueryUpgradedConsensusStateRequest) ProtoMessage()
func (*QueryUpgradedConsensusStateRequest) Reset ¶
func (m *QueryUpgradedConsensusStateRequest) Reset()
func (*QueryUpgradedConsensusStateRequest) Size ¶
func (m *QueryUpgradedConsensusStateRequest) Size() (n int)
func (*QueryUpgradedConsensusStateRequest) String ¶
func (m *QueryUpgradedConsensusStateRequest) String() string
func (*QueryUpgradedConsensusStateRequest) Unmarshal ¶
func (m *QueryUpgradedConsensusStateRequest) Unmarshal(dAtA []byte) error
func (*QueryUpgradedConsensusStateRequest) XXX_DiscardUnknown ¶
func (m *QueryUpgradedConsensusStateRequest) XXX_DiscardUnknown()
func (*QueryUpgradedConsensusStateRequest) XXX_Marshal ¶
func (m *QueryUpgradedConsensusStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUpgradedConsensusStateRequest) XXX_Merge ¶
func (m *QueryUpgradedConsensusStateRequest) XXX_Merge(src proto.Message)
func (*QueryUpgradedConsensusStateRequest) XXX_Size ¶
func (m *QueryUpgradedConsensusStateRequest) XXX_Size() int
func (*QueryUpgradedConsensusStateRequest) XXX_Unmarshal ¶
func (m *QueryUpgradedConsensusStateRequest) XXX_Unmarshal(b []byte) error
type QueryUpgradedConsensusStateResponse ¶
type QueryUpgradedConsensusStateResponse struct { // Consensus state associated with the request identifier UpgradedConsensusState *types.Any `` /* 129-byte string literal not displayed */ }
QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState RPC method.
func (*QueryUpgradedConsensusStateResponse) Descriptor ¶
func (*QueryUpgradedConsensusStateResponse) Descriptor() ([]byte, []int)
func (*QueryUpgradedConsensusStateResponse) GetUpgradedConsensusState ¶
func (m *QueryUpgradedConsensusStateResponse) GetUpgradedConsensusState() *types.Any
func (*QueryUpgradedConsensusStateResponse) Marshal ¶
func (m *QueryUpgradedConsensusStateResponse) Marshal() (dAtA []byte, err error)
func (*QueryUpgradedConsensusStateResponse) MarshalTo ¶
func (m *QueryUpgradedConsensusStateResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryUpgradedConsensusStateResponse) MarshalToSizedBuffer ¶
func (m *QueryUpgradedConsensusStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUpgradedConsensusStateResponse) ProtoMessage ¶
func (*QueryUpgradedConsensusStateResponse) ProtoMessage()
func (*QueryUpgradedConsensusStateResponse) Reset ¶
func (m *QueryUpgradedConsensusStateResponse) Reset()
func (*QueryUpgradedConsensusStateResponse) Size ¶
func (m *QueryUpgradedConsensusStateResponse) Size() (n int)
func (*QueryUpgradedConsensusStateResponse) String ¶
func (m *QueryUpgradedConsensusStateResponse) String() string
func (*QueryUpgradedConsensusStateResponse) Unmarshal ¶
func (m *QueryUpgradedConsensusStateResponse) Unmarshal(dAtA []byte) error
func (*QueryUpgradedConsensusStateResponse) XXX_DiscardUnknown ¶
func (m *QueryUpgradedConsensusStateResponse) XXX_DiscardUnknown()
func (*QueryUpgradedConsensusStateResponse) XXX_Marshal ¶
func (m *QueryUpgradedConsensusStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUpgradedConsensusStateResponse) XXX_Merge ¶
func (m *QueryUpgradedConsensusStateResponse) XXX_Merge(src proto.Message)
func (*QueryUpgradedConsensusStateResponse) XXX_Size ¶
func (m *QueryUpgradedConsensusStateResponse) XXX_Size() int
func (*QueryUpgradedConsensusStateResponse) XXX_Unmarshal ¶
func (m *QueryUpgradedConsensusStateResponse) XXX_Unmarshal(b []byte) error
type StakingKeeper ¶
type StakingKeeper interface { GetHistoricalInfo(ctx sdk.Context, height int64) (stakingtypes.HistoricalInfo, bool) UnbondingTime(ctx sdk.Context) time.Duration }
StakingKeeper expected staking keeper
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CreateClient ¶
func (*UnimplementedMsgServer) CreateClient(ctx context.Context, req *MsgCreateClient) (*MsgCreateClientResponse, error)
func (*UnimplementedMsgServer) SubmitMisbehaviour ¶
func (*UnimplementedMsgServer) SubmitMisbehaviour(ctx context.Context, req *MsgSubmitMisbehaviour) (*MsgSubmitMisbehaviourResponse, error)
func (*UnimplementedMsgServer) UpdateClient ¶
func (*UnimplementedMsgServer) UpdateClient(ctx context.Context, req *MsgUpdateClient) (*MsgUpdateClientResponse, error)
func (*UnimplementedMsgServer) UpgradeClient ¶
func (*UnimplementedMsgServer) UpgradeClient(ctx context.Context, req *MsgUpgradeClient) (*MsgUpgradeClientResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) ClientParams ¶
func (*UnimplementedQueryServer) ClientParams(ctx context.Context, req *QueryClientParamsRequest) (*QueryClientParamsResponse, error)
func (*UnimplementedQueryServer) ClientState ¶
func (*UnimplementedQueryServer) ClientState(ctx context.Context, req *QueryClientStateRequest) (*QueryClientStateResponse, error)
func (*UnimplementedQueryServer) ClientStates ¶
func (*UnimplementedQueryServer) ClientStates(ctx context.Context, req *QueryClientStatesRequest) (*QueryClientStatesResponse, error)
func (*UnimplementedQueryServer) ClientStatus ¶
func (*UnimplementedQueryServer) ClientStatus(ctx context.Context, req *QueryClientStatusRequest) (*QueryClientStatusResponse, error)
func (*UnimplementedQueryServer) ConsensusState ¶
func (*UnimplementedQueryServer) ConsensusState(ctx context.Context, req *QueryConsensusStateRequest) (*QueryConsensusStateResponse, error)
func (*UnimplementedQueryServer) ConsensusStateHeights ¶ added in v1.6.7
func (*UnimplementedQueryServer) ConsensusStateHeights(ctx context.Context, req *QueryConsensusStateHeightsRequest) (*QueryConsensusStateHeightsResponse, error)
func (*UnimplementedQueryServer) ConsensusStates ¶
func (*UnimplementedQueryServer) ConsensusStates(ctx context.Context, req *QueryConsensusStatesRequest) (*QueryConsensusStatesResponse, error)
func (*UnimplementedQueryServer) UpgradedClientState ¶
func (*UnimplementedQueryServer) UpgradedClientState(ctx context.Context, req *QueryUpgradedClientStateRequest) (*QueryUpgradedClientStateResponse, error)
func (*UnimplementedQueryServer) UpgradedConsensusState ¶
func (*UnimplementedQueryServer) UpgradedConsensusState(ctx context.Context, req *QueryUpgradedConsensusStateRequest) (*QueryUpgradedConsensusStateResponse, error)
type UpgradeKeeper ¶
type UpgradeKeeper interface { ClearIBCState(ctx sdk.Context, lastHeight int64) GetUpgradePlan(ctx sdk.Context) (plan upgrade.Plan, havePlan bool) GetUpgradedClient(ctx sdk.Context, height int64) ([]byte, bool) SetUpgradedClient(ctx sdk.Context, planHeight int64, bz []byte) error GetUpgradedConsensusState(ctx sdk.Context, lastHeight int64) ([]byte, bool) SetUpgradedConsensusState(ctx sdk.Context, planHeight int64, bz []byte) error ScheduleUpgrade(ctx sdk.Context, plan upgrade.Plan) error }
UpgradeKeeper expected upgrade keeper
type UpgradeProposal ¶ added in v1.5.4
type UpgradeProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Plan types1.Plan `protobuf:"bytes,3,opt,name=plan,proto3" json:"plan"` // An UpgradedClientState must be provided to perform an IBC breaking upgrade. // This will make the chain commit to the correct upgraded (self) client state // before the upgrade occurs, so that connecting chains can verify that the // new upgraded client is valid by verifying a proof on the previous version // of the chain. This will allow IBC connections to persist smoothly across // planned chain upgrades UpgradedClientState *types.Any `` /* 149-byte string literal not displayed */ }
UpgradeProposal is a gov Content type for initiating an IBC breaking upgrade.
func NewUpgradeProposal ¶ added in v1.5.4
func NewUpgradeProposal(title, description string, plan types.Plan, upgradedClientState exported.ClientState) (*UpgradeProposal, error)
NewUpgradeProposal creates a new IBC breaking upgrade proposal.
func (*UpgradeProposal) Descriptor ¶ added in v1.5.4
func (*UpgradeProposal) Descriptor() ([]byte, []int)
func (*UpgradeProposal) Equal ¶ added in v1.5.4
func (this *UpgradeProposal) Equal(that interface{}) bool
func (*UpgradeProposal) GetDescription ¶ added in v1.5.4
func (up *UpgradeProposal) GetDescription() string
GetDescription returns the description of a upgrade proposal.
func (*UpgradeProposal) GetTitle ¶ added in v1.5.4
func (up *UpgradeProposal) GetTitle() string
GetTitle returns the title of a upgrade proposal.
func (*UpgradeProposal) Marshal ¶ added in v1.5.4
func (m *UpgradeProposal) Marshal() (dAtA []byte, err error)
func (*UpgradeProposal) MarshalTo ¶ added in v1.5.4
func (m *UpgradeProposal) MarshalTo(dAtA []byte) (int, error)
func (*UpgradeProposal) MarshalToSizedBuffer ¶ added in v1.5.4
func (m *UpgradeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UpgradeProposal) ProposalRoute ¶ added in v1.5.4
func (up *UpgradeProposal) ProposalRoute() string
ProposalRoute returns the routing key of a upgrade proposal.
func (*UpgradeProposal) ProposalType ¶ added in v1.5.4
func (up *UpgradeProposal) ProposalType() string
ProposalType returns the upgrade proposal type.
func (*UpgradeProposal) ProtoMessage ¶ added in v1.5.4
func (*UpgradeProposal) ProtoMessage()
func (*UpgradeProposal) Reset ¶ added in v1.5.4
func (m *UpgradeProposal) Reset()
func (*UpgradeProposal) Size ¶ added in v1.5.4
func (m *UpgradeProposal) Size() (n int)
func (*UpgradeProposal) String ¶ added in v1.5.4
func (up *UpgradeProposal) String() string
String returns the string representation of the UpgradeProposal.
func (*UpgradeProposal) Unmarshal ¶ added in v1.5.4
func (m *UpgradeProposal) Unmarshal(dAtA []byte) error
func (*UpgradeProposal) UnpackInterfaces ¶ added in v1.5.4
func (up *UpgradeProposal) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (*UpgradeProposal) ValidateBasic ¶ added in v1.5.4
func (up *UpgradeProposal) ValidateBasic() error
ValidateBasic runs basic stateless validity checks
func (*UpgradeProposal) XXX_DiscardUnknown ¶ added in v1.5.4
func (m *UpgradeProposal) XXX_DiscardUnknown()
func (*UpgradeProposal) XXX_Marshal ¶ added in v1.5.4
func (m *UpgradeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpgradeProposal) XXX_Merge ¶ added in v1.5.4
func (m *UpgradeProposal) XXX_Merge(src proto.Message)
func (*UpgradeProposal) XXX_Size ¶ added in v1.5.4
func (m *UpgradeProposal) XXX_Size() int
func (*UpgradeProposal) XXX_Unmarshal ¶ added in v1.5.4
func (m *UpgradeProposal) XXX_Unmarshal(b []byte) error