elc

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

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)
	// VerifyMembership defines a rpc handler method for MsgVerifyMembership
	VerifyMembership(ctx context.Context, in *MsgVerifyMembership, opts ...grpc.CallOption) (*MsgVerifyMembershipResponse, error)
	// VerifyNonMembership defines a rpc handler method for MsgVerifyNonMembership
	VerifyNonMembership(ctx context.Context, in *MsgVerifyNonMembership, opts ...grpc.CallOption) (*MsgVerifyNonMembershipResponse, 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 */
	// enclave key for signing
	Signer []byte `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
}

MsgCreateClient defines a message to create an IBC client

func (*MsgCreateClient) Descriptor

func (*MsgCreateClient) Descriptor() ([]byte, []int)

func (*MsgCreateClient) Marshal

func (m *MsgCreateClient) Marshal() (dAtA []byte, err error)

func (*MsgCreateClient) MarshalTo

func (m *MsgCreateClient) MarshalTo(dAtA []byte) (int, 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) 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 {
	ClientId   string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	Commitment []byte `protobuf:"bytes,2,opt,name=commitment,proto3" json:"commitment,omitempty"`
	Signer     []byte `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
	Signature  []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
}

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)
	// VerifyMembership defines a rpc handler method for MsgVerifyMembership
	VerifyMembership(context.Context, *MsgVerifyMembership) (*MsgVerifyMembershipResponse, error)
	// VerifyNonMembership defines a rpc handler method for MsgVerifyNonMembership
	VerifyNonMembership(context.Context, *MsgVerifyNonMembership) (*MsgVerifyNonMembershipResponse, error)
}

MsgServer is the server API for Msg service.

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"`
	// request to include state in a commitment
	IncludeState bool `protobuf:"varint,3,opt,name=include_state,json=includeState,proto3" json:"include_state,omitempty"`
	// enclave key for signing
	Signer []byte `protobuf:"bytes,4,opt,name=signer,proto3" json:"signer,omitempty"`
}

MsgUpdateClient defines an sdk.Msg to update a IBC client state using the given header.

func (*MsgUpdateClient) Descriptor

func (*MsgUpdateClient) Descriptor() ([]byte, []int)

func (*MsgUpdateClient) Marshal

func (m *MsgUpdateClient) Marshal() (dAtA []byte, err error)

func (*MsgUpdateClient) MarshalTo

func (m *MsgUpdateClient) MarshalTo(dAtA []byte) (int, 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) 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 {
	Commitment []byte `protobuf:"bytes,1,opt,name=commitment,proto3" json:"commitment,omitempty"`
	Signer     []byte `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
	Signature  []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
}

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 MsgVerifyMembership

type MsgVerifyMembership struct {
	ClientId    string        `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	Prefix      []byte        `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
	Path        string        `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	Value       []byte        `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	ProofHeight types1.Height `protobuf:"bytes,5,opt,name=proof_height,json=proofHeight,proto3" json:"proof_height"`
	Proof       []byte        `protobuf:"bytes,6,opt,name=proof,proto3" json:"proof,omitempty"`
	// enclave key for signing
	Signer []byte `protobuf:"bytes,7,opt,name=signer,proto3" json:"signer,omitempty"`
}

func (*MsgVerifyMembership) Descriptor

func (*MsgVerifyMembership) Descriptor() ([]byte, []int)

func (*MsgVerifyMembership) Marshal

func (m *MsgVerifyMembership) Marshal() (dAtA []byte, err error)

func (*MsgVerifyMembership) MarshalTo

func (m *MsgVerifyMembership) MarshalTo(dAtA []byte) (int, error)

func (*MsgVerifyMembership) MarshalToSizedBuffer

func (m *MsgVerifyMembership) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgVerifyMembership) ProtoMessage

func (*MsgVerifyMembership) ProtoMessage()

func (*MsgVerifyMembership) Reset

func (m *MsgVerifyMembership) Reset()

func (*MsgVerifyMembership) Size

func (m *MsgVerifyMembership) Size() (n int)

func (*MsgVerifyMembership) String

func (m *MsgVerifyMembership) String() string

func (*MsgVerifyMembership) Unmarshal

func (m *MsgVerifyMembership) Unmarshal(dAtA []byte) error

func (*MsgVerifyMembership) XXX_DiscardUnknown

func (m *MsgVerifyMembership) XXX_DiscardUnknown()

func (*MsgVerifyMembership) XXX_Marshal

func (m *MsgVerifyMembership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgVerifyMembership) XXX_Merge

func (m *MsgVerifyMembership) XXX_Merge(src proto.Message)

func (*MsgVerifyMembership) XXX_Size

func (m *MsgVerifyMembership) XXX_Size() int

func (*MsgVerifyMembership) XXX_Unmarshal

func (m *MsgVerifyMembership) XXX_Unmarshal(b []byte) error

type MsgVerifyMembershipResponse

type MsgVerifyMembershipResponse struct {
	Commitment []byte `protobuf:"bytes,1,opt,name=commitment,proto3" json:"commitment,omitempty"`
	Signer     []byte `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
	Signature  []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
}

func (*MsgVerifyMembershipResponse) Descriptor

func (*MsgVerifyMembershipResponse) Descriptor() ([]byte, []int)

func (*MsgVerifyMembershipResponse) Marshal

func (m *MsgVerifyMembershipResponse) Marshal() (dAtA []byte, err error)

func (*MsgVerifyMembershipResponse) MarshalTo

func (m *MsgVerifyMembershipResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgVerifyMembershipResponse) MarshalToSizedBuffer

func (m *MsgVerifyMembershipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgVerifyMembershipResponse) ProtoMessage

func (*MsgVerifyMembershipResponse) ProtoMessage()

func (*MsgVerifyMembershipResponse) Reset

func (m *MsgVerifyMembershipResponse) Reset()

func (*MsgVerifyMembershipResponse) Size

func (m *MsgVerifyMembershipResponse) Size() (n int)

func (*MsgVerifyMembershipResponse) String

func (m *MsgVerifyMembershipResponse) String() string

func (*MsgVerifyMembershipResponse) Unmarshal

func (m *MsgVerifyMembershipResponse) Unmarshal(dAtA []byte) error

func (*MsgVerifyMembershipResponse) XXX_DiscardUnknown

func (m *MsgVerifyMembershipResponse) XXX_DiscardUnknown()

func (*MsgVerifyMembershipResponse) XXX_Marshal

func (m *MsgVerifyMembershipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgVerifyMembershipResponse) XXX_Merge

func (m *MsgVerifyMembershipResponse) XXX_Merge(src proto.Message)

func (*MsgVerifyMembershipResponse) XXX_Size

func (m *MsgVerifyMembershipResponse) XXX_Size() int

func (*MsgVerifyMembershipResponse) XXX_Unmarshal

func (m *MsgVerifyMembershipResponse) XXX_Unmarshal(b []byte) error

type MsgVerifyNonMembership

type MsgVerifyNonMembership struct {
	ClientId    string        `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	Prefix      []byte        `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
	Path        string        `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	ProofHeight types1.Height `protobuf:"bytes,4,opt,name=proof_height,json=proofHeight,proto3" json:"proof_height"`
	Proof       []byte        `protobuf:"bytes,5,opt,name=proof,proto3" json:"proof,omitempty"`
	// enclave key for signing
	Signer []byte `protobuf:"bytes,6,opt,name=signer,proto3" json:"signer,omitempty"`
}

func (*MsgVerifyNonMembership) Descriptor

func (*MsgVerifyNonMembership) Descriptor() ([]byte, []int)

func (*MsgVerifyNonMembership) Marshal

func (m *MsgVerifyNonMembership) Marshal() (dAtA []byte, err error)

func (*MsgVerifyNonMembership) MarshalTo

func (m *MsgVerifyNonMembership) MarshalTo(dAtA []byte) (int, error)

func (*MsgVerifyNonMembership) MarshalToSizedBuffer

func (m *MsgVerifyNonMembership) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgVerifyNonMembership) ProtoMessage

func (*MsgVerifyNonMembership) ProtoMessage()

func (*MsgVerifyNonMembership) Reset

func (m *MsgVerifyNonMembership) Reset()

func (*MsgVerifyNonMembership) Size

func (m *MsgVerifyNonMembership) Size() (n int)

func (*MsgVerifyNonMembership) String

func (m *MsgVerifyNonMembership) String() string

func (*MsgVerifyNonMembership) Unmarshal

func (m *MsgVerifyNonMembership) Unmarshal(dAtA []byte) error

func (*MsgVerifyNonMembership) XXX_DiscardUnknown

func (m *MsgVerifyNonMembership) XXX_DiscardUnknown()

func (*MsgVerifyNonMembership) XXX_Marshal

func (m *MsgVerifyNonMembership) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgVerifyNonMembership) XXX_Merge

func (m *MsgVerifyNonMembership) XXX_Merge(src proto.Message)

func (*MsgVerifyNonMembership) XXX_Size

func (m *MsgVerifyNonMembership) XXX_Size() int

func (*MsgVerifyNonMembership) XXX_Unmarshal

func (m *MsgVerifyNonMembership) XXX_Unmarshal(b []byte) error

type MsgVerifyNonMembershipResponse

type MsgVerifyNonMembershipResponse struct {
	Commitment []byte `protobuf:"bytes,1,opt,name=commitment,proto3" json:"commitment,omitempty"`
	Signer     []byte `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
	Signature  []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
}

func (*MsgVerifyNonMembershipResponse) Descriptor

func (*MsgVerifyNonMembershipResponse) Descriptor() ([]byte, []int)

func (*MsgVerifyNonMembershipResponse) Marshal

func (m *MsgVerifyNonMembershipResponse) Marshal() (dAtA []byte, err error)

func (*MsgVerifyNonMembershipResponse) MarshalTo

func (m *MsgVerifyNonMembershipResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgVerifyNonMembershipResponse) MarshalToSizedBuffer

func (m *MsgVerifyNonMembershipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgVerifyNonMembershipResponse) ProtoMessage

func (*MsgVerifyNonMembershipResponse) ProtoMessage()

func (*MsgVerifyNonMembershipResponse) Reset

func (m *MsgVerifyNonMembershipResponse) Reset()

func (*MsgVerifyNonMembershipResponse) Size

func (m *MsgVerifyNonMembershipResponse) Size() (n int)

func (*MsgVerifyNonMembershipResponse) String

func (*MsgVerifyNonMembershipResponse) Unmarshal

func (m *MsgVerifyNonMembershipResponse) Unmarshal(dAtA []byte) error

func (*MsgVerifyNonMembershipResponse) XXX_DiscardUnknown

func (m *MsgVerifyNonMembershipResponse) XXX_DiscardUnknown()

func (*MsgVerifyNonMembershipResponse) XXX_Marshal

func (m *MsgVerifyNonMembershipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgVerifyNonMembershipResponse) XXX_Merge

func (m *MsgVerifyNonMembershipResponse) XXX_Merge(src proto.Message)

func (*MsgVerifyNonMembershipResponse) XXX_Size

func (m *MsgVerifyNonMembershipResponse) XXX_Size() int

func (*MsgVerifyNonMembershipResponse) XXX_Unmarshal

func (m *MsgVerifyNonMembershipResponse) XXX_Unmarshal(b []byte) error

type QueryClient

type QueryClient interface {
	Client(ctx context.Context, in *QueryClientRequest, opts ...grpc.CallOption) (*QueryClientResponse, 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 QueryClientRequest

type QueryClientRequest struct {
	ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
}

func (*QueryClientRequest) Descriptor

func (*QueryClientRequest) Descriptor() ([]byte, []int)

func (*QueryClientRequest) Marshal

func (m *QueryClientRequest) Marshal() (dAtA []byte, err error)

func (*QueryClientRequest) MarshalTo

func (m *QueryClientRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryClientRequest) MarshalToSizedBuffer

func (m *QueryClientRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryClientRequest) ProtoMessage

func (*QueryClientRequest) ProtoMessage()

func (*QueryClientRequest) Reset

func (m *QueryClientRequest) Reset()

func (*QueryClientRequest) Size

func (m *QueryClientRequest) Size() (n int)

func (*QueryClientRequest) String

func (m *QueryClientRequest) String() string

func (*QueryClientRequest) Unmarshal

func (m *QueryClientRequest) Unmarshal(dAtA []byte) error

func (*QueryClientRequest) XXX_DiscardUnknown

func (m *QueryClientRequest) XXX_DiscardUnknown()

func (*QueryClientRequest) XXX_Marshal

func (m *QueryClientRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryClientRequest) XXX_Merge

func (m *QueryClientRequest) XXX_Merge(src proto.Message)

func (*QueryClientRequest) XXX_Size

func (m *QueryClientRequest) XXX_Size() int

func (*QueryClientRequest) XXX_Unmarshal

func (m *QueryClientRequest) XXX_Unmarshal(b []byte) error

type QueryClientResponse

type QueryClientResponse 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 */
}

func (*QueryClientResponse) Descriptor

func (*QueryClientResponse) Descriptor() ([]byte, []int)

func (*QueryClientResponse) Marshal

func (m *QueryClientResponse) Marshal() (dAtA []byte, err error)

func (*QueryClientResponse) MarshalTo

func (m *QueryClientResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryClientResponse) MarshalToSizedBuffer

func (m *QueryClientResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryClientResponse) ProtoMessage

func (*QueryClientResponse) ProtoMessage()

func (*QueryClientResponse) Reset

func (m *QueryClientResponse) Reset()

func (*QueryClientResponse) Size

func (m *QueryClientResponse) Size() (n int)

func (*QueryClientResponse) String

func (m *QueryClientResponse) String() string

func (*QueryClientResponse) Unmarshal

func (m *QueryClientResponse) Unmarshal(dAtA []byte) error

func (*QueryClientResponse) XXX_DiscardUnknown

func (m *QueryClientResponse) XXX_DiscardUnknown()

func (*QueryClientResponse) XXX_Marshal

func (m *QueryClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryClientResponse) XXX_Merge

func (m *QueryClientResponse) XXX_Merge(src proto.Message)

func (*QueryClientResponse) XXX_Size

func (m *QueryClientResponse) XXX_Size() int

func (*QueryClientResponse) XXX_Unmarshal

func (m *QueryClientResponse) XXX_Unmarshal(b []byte) error

type QueryServer

type QueryServer interface {
	Client(context.Context, *QueryClientRequest) (*QueryClientResponse, error)
}

QueryServer is the server API for Query service.

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CreateClient

func (*UnimplementedMsgServer) UpdateClient

func (*UnimplementedMsgServer) VerifyMembership

func (*UnimplementedMsgServer) VerifyNonMembership

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Client

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL