Versions in this module Expand all Collapse all v1 v1.1.0 Sep 30, 2020 Changes in this version + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowRandom = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthRandom = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupRandom = fmt.Errorf("proto: unexpected end of group") + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + type MsgRequestRandom struct + BlockInterval uint64 + Consumer github_com_bianjieai_irita_sdk_go_types.AccAddress + Oracle bool + ServiceFeeCap github_com_bianjieai_irita_sdk_go_types.Coins + func (*MsgRequestRandom) Descriptor() ([]byte, []int) + func (*MsgRequestRandom) ProtoMessage() + func (m *MsgRequestRandom) GetBlockInterval() uint64 + func (m *MsgRequestRandom) GetConsumer() github_com_bianjieai_irita_sdk_go_types.AccAddress + func (m *MsgRequestRandom) GetOracle() bool + func (m *MsgRequestRandom) GetServiceFeeCap() github_com_bianjieai_irita_sdk_go_types.Coins + func (m *MsgRequestRandom) Marshal() (dAtA []byte, err error) + func (m *MsgRequestRandom) MarshalTo(dAtA []byte) (int, error) + func (m *MsgRequestRandom) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgRequestRandom) Reset() + func (m *MsgRequestRandom) Size() (n int) + func (m *MsgRequestRandom) String() string + func (m *MsgRequestRandom) Unmarshal(dAtA []byte) error + func (m *MsgRequestRandom) XXX_DiscardUnknown() + func (m *MsgRequestRandom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgRequestRandom) XXX_Merge(src proto.Message) + func (m *MsgRequestRandom) XXX_Size() int + func (m *MsgRequestRandom) XXX_Unmarshal(b []byte) error + type QueryClient interface + Random func(ctx context.Context, in *QueryRandomRequest, opts ...grpc.CallOption) (*QueryRandomResponse, error) + RandomRequestQueue func(ctx context.Context, in *QueryRandomRequestQueueRequest, ...) (*QueryRandomRequestQueueResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryRandomRequest struct + ReqId string + func (*QueryRandomRequest) Descriptor() ([]byte, []int) + func (*QueryRandomRequest) ProtoMessage() + func (m *QueryRandomRequest) GetReqId() string + func (m *QueryRandomRequest) Marshal() (dAtA []byte, err error) + func (m *QueryRandomRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryRandomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryRandomRequest) Reset() + func (m *QueryRandomRequest) Size() (n int) + func (m *QueryRandomRequest) String() string + func (m *QueryRandomRequest) Unmarshal(dAtA []byte) error + func (m *QueryRandomRequest) XXX_DiscardUnknown() + func (m *QueryRandomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryRandomRequest) XXX_Merge(src proto.Message) + func (m *QueryRandomRequest) XXX_Size() int + func (m *QueryRandomRequest) XXX_Unmarshal(b []byte) error + type QueryRandomRequestQueueRequest struct + Height int64 + func (*QueryRandomRequestQueueRequest) Descriptor() ([]byte, []int) + func (*QueryRandomRequestQueueRequest) ProtoMessage() + func (m *QueryRandomRequestQueueRequest) GetHeight() int64 + func (m *QueryRandomRequestQueueRequest) Marshal() (dAtA []byte, err error) + func (m *QueryRandomRequestQueueRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryRandomRequestQueueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryRandomRequestQueueRequest) Reset() + func (m *QueryRandomRequestQueueRequest) Size() (n int) + func (m *QueryRandomRequestQueueRequest) String() string + func (m *QueryRandomRequestQueueRequest) Unmarshal(dAtA []byte) error + func (m *QueryRandomRequestQueueRequest) XXX_DiscardUnknown() + func (m *QueryRandomRequestQueueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryRandomRequestQueueRequest) XXX_Merge(src proto.Message) + func (m *QueryRandomRequestQueueRequest) XXX_Size() int + func (m *QueryRandomRequestQueueRequest) XXX_Unmarshal(b []byte) error + type QueryRandomRequestQueueResponse struct + Requests []Request + func (*QueryRandomRequestQueueResponse) Descriptor() ([]byte, []int) + func (*QueryRandomRequestQueueResponse) ProtoMessage() + func (m *QueryRandomRequestQueueResponse) GetRequests() []Request + func (m *QueryRandomRequestQueueResponse) Marshal() (dAtA []byte, err error) + func (m *QueryRandomRequestQueueResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryRandomRequestQueueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryRandomRequestQueueResponse) Reset() + func (m *QueryRandomRequestQueueResponse) Size() (n int) + func (m *QueryRandomRequestQueueResponse) String() string + func (m *QueryRandomRequestQueueResponse) Unmarshal(dAtA []byte) error + func (m *QueryRandomRequestQueueResponse) XXX_DiscardUnknown() + func (m *QueryRandomRequestQueueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryRandomRequestQueueResponse) XXX_Merge(src proto.Message) + func (m *QueryRandomRequestQueueResponse) XXX_Size() int + func (m *QueryRandomRequestQueueResponse) XXX_Unmarshal(b []byte) error + type QueryRandomResponse struct + Random *Random + func (*QueryRandomResponse) Descriptor() ([]byte, []int) + func (*QueryRandomResponse) ProtoMessage() + func (m *QueryRandomResponse) GetRandom() *Random + func (m *QueryRandomResponse) Marshal() (dAtA []byte, err error) + func (m *QueryRandomResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryRandomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryRandomResponse) Reset() + func (m *QueryRandomResponse) Size() (n int) + func (m *QueryRandomResponse) String() string + func (m *QueryRandomResponse) Unmarshal(dAtA []byte) error + func (m *QueryRandomResponse) XXX_DiscardUnknown() + func (m *QueryRandomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryRandomResponse) XXX_Merge(src proto.Message) + func (m *QueryRandomResponse) XXX_Size() int + func (m *QueryRandomResponse) XXX_Unmarshal(b []byte) error + type QueryServer interface + Random func(context.Context, *QueryRandomRequest) (*QueryRandomResponse, error) + RandomRequestQueue func(context.Context, *QueryRandomRequestQueueRequest) (*QueryRandomRequestQueueResponse, error) + type Random struct + Height int64 + RequestTxHash github_com_tendermint_tendermint_libs_bytes.HexBytes + Value string + func (*Random) Descriptor() ([]byte, []int) + func (*Random) ProtoMessage() + func (m *Random) GetHeight() int64 + func (m *Random) GetRequestTxHash() github_com_tendermint_tendermint_libs_bytes.HexBytes + func (m *Random) GetValue() string + func (m *Random) Marshal() (dAtA []byte, err error) + func (m *Random) MarshalTo(dAtA []byte) (int, error) + func (m *Random) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Random) Reset() + func (m *Random) Size() (n int) + func (m *Random) String() string + func (m *Random) Unmarshal(dAtA []byte) error + func (m *Random) XXX_DiscardUnknown() + func (m *Random) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Random) XXX_Merge(src proto.Message) + func (m *Random) XXX_Size() int + func (m *Random) XXX_Unmarshal(b []byte) error + type Request struct + Consumer github_com_bianjieai_irita_sdk_go_types.AccAddress + Height int64 + Oracle bool + ServiceContextID github_com_tendermint_tendermint_libs_bytes.HexBytes + ServiceFeeCap github_com_bianjieai_irita_sdk_go_types.Coins + TxHash github_com_tendermint_tendermint_libs_bytes.HexBytes + func (*Request) Descriptor() ([]byte, []int) + func (*Request) ProtoMessage() + func (m *Request) GetConsumer() github_com_bianjieai_irita_sdk_go_types.AccAddress + func (m *Request) GetHeight() int64 + func (m *Request) GetOracle() bool + func (m *Request) GetServiceContextID() github_com_tendermint_tendermint_libs_bytes.HexBytes + func (m *Request) GetServiceFeeCap() github_com_bianjieai_irita_sdk_go_types.Coins + func (m *Request) GetTxHash() github_com_tendermint_tendermint_libs_bytes.HexBytes + func (m *Request) Marshal() (dAtA []byte, err error) + func (m *Request) MarshalTo(dAtA []byte) (int, error) + func (m *Request) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Request) Reset() + func (m *Request) Size() (n int) + func (m *Request) String() string + func (m *Request) Unmarshal(dAtA []byte) error + func (m *Request) XXX_DiscardUnknown() + func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Request) XXX_Merge(src proto.Message) + func (m *Request) XXX_Size() int + func (m *Request) XXX_Unmarshal(b []byte) error + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) Random(ctx context.Context, req *QueryRandomRequest) (*QueryRandomResponse, error) + func (*UnimplementedQueryServer) RandomRequestQueue(ctx context.Context, req *QueryRandomRequestQueueRequest) (*QueryRandomRequestQueueResponse, error)