Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func Queue(queueTypeName ConsensusQueueType, chainType ChainType, chainID string) string
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.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 Uint64ToByte(n uint64) []byte
- type AccountKeeper
- type AnyUnpacker
- type AttestResult
- type AttestTask
- type Attestator
- type BankKeeper
- type Batch
- func (*Batch) Descriptor() ([]byte, []int)
- func (m *Batch) GetBytesToSign() []byte
- func (m *Batch) GetMsgs() []*types.Any
- func (b *Batch) GetSignBytes() []byte
- func (m *Batch) Marshal() (dAtA []byte, err error)
- func (m *Batch) MarshalTo(dAtA []byte) (int, error)
- func (m *Batch) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Batch) ProtoMessage()
- func (m *Batch) Reset()
- func (m *Batch) Size() (n int)
- func (m *Batch) String() string
- func (m *Batch) Unmarshal(dAtA []byte) error
- func (m *Batch) XXX_DiscardUnknown()
- func (m *Batch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Batch) XXX_Merge(src proto.Message)
- func (m *Batch) XXX_Size() int
- func (m *Batch) XXX_Unmarshal(b []byte) error
- type BatchOfConsensusMessages
- func (*BatchOfConsensusMessages) Descriptor() ([]byte, []int)
- func (m *BatchOfConsensusMessages) GetMsg() *types.Any
- func (m *BatchOfConsensusMessages) Marshal() (dAtA []byte, err error)
- func (m *BatchOfConsensusMessages) MarshalTo(dAtA []byte) (int, error)
- func (m *BatchOfConsensusMessages) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BatchOfConsensusMessages) ProtoMessage()
- func (m *BatchOfConsensusMessages) Reset()
- func (m *BatchOfConsensusMessages) Size() (n int)
- func (m *BatchOfConsensusMessages) String() string
- func (m *BatchOfConsensusMessages) Unmarshal(dAtA []byte) error
- func (m *BatchOfConsensusMessages) XXX_DiscardUnknown()
- func (m *BatchOfConsensusMessages) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchOfConsensusMessages) XXX_Merge(src proto.Message)
- func (m *BatchOfConsensusMessages) XXX_Size() int
- func (m *BatchOfConsensusMessages) XXX_Unmarshal(b []byte) error
- type BytesToSignFunc
- type ChainType
- type ConsensusMsg
- type ConsensusPacketData
- func (*ConsensusPacketData) Descriptor() ([]byte, []int)
- func (m *ConsensusPacketData) GetNoData() *NoData
- func (m *ConsensusPacketData) GetPacket() isConsensusPacketData_Packet
- func (m *ConsensusPacketData) Marshal() (dAtA []byte, err error)
- func (m *ConsensusPacketData) MarshalTo(dAtA []byte) (int, error)
- func (m *ConsensusPacketData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConsensusPacketData) ProtoMessage()
- func (m *ConsensusPacketData) Reset()
- func (m *ConsensusPacketData) Size() (n int)
- func (m *ConsensusPacketData) String() string
- func (m *ConsensusPacketData) Unmarshal(dAtA []byte) error
- func (m *ConsensusPacketData) XXX_DiscardUnknown()
- func (m *ConsensusPacketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsensusPacketData) XXX_Merge(src proto.Message)
- func (*ConsensusPacketData) XXX_OneofWrappers() []interface{}
- func (m *ConsensusPacketData) XXX_Size() int
- func (m *ConsensusPacketData) XXX_Unmarshal(b []byte) error
- type ConsensusPacketData_NoData
- type ConsensusQueueType
- type EvenSimplerMessage
- func (*EvenSimplerMessage) Descriptor() ([]byte, []int)
- func (m *EvenSimplerMessage) GetBoo() string
- func (m *EvenSimplerMessage) GetSender() string
- func (msg *EvenSimplerMessage) GetSignBytes() []byte
- func (m *EvenSimplerMessage) Marshal() (dAtA []byte, err error)
- func (m *EvenSimplerMessage) MarshalTo(dAtA []byte) (int, error)
- func (m *EvenSimplerMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EvenSimplerMessage) ProtoMessage()
- func (m *EvenSimplerMessage) Reset()
- func (m *EvenSimplerMessage) Size() (n int)
- func (m *EvenSimplerMessage) String() string
- func (m *EvenSimplerMessage) Unmarshal(dAtA []byte) error
- func (m *EvenSimplerMessage) XXX_DiscardUnknown()
- func (m *EvenSimplerMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EvenSimplerMessage) XXX_Merge(src proto.Message)
- func (m *EvenSimplerMessage) XXX_Size() int
- func (m *EvenSimplerMessage) XXX_Unmarshal(b []byte) error
- type Evidence
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetPortId() string
- 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) 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 MessageQueuedForBatchingI
- type MessageToSign
- func (*MessageToSign) Descriptor() ([]byte, []int)
- func (m *MessageToSign) GetBytesToSign() []byte
- func (m *MessageToSign) GetId() uint64
- func (m *MessageToSign) GetMsg() *types.Any
- func (m *MessageToSign) GetNonce() []byte
- func (m *MessageToSign) Marshal() (dAtA []byte, err error)
- func (m *MessageToSign) MarshalTo(dAtA []byte) (int, error)
- func (m *MessageToSign) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MessageToSign) ProtoMessage()
- func (m *MessageToSign) Reset()
- func (m *MessageToSign) Size() (n int)
- func (m *MessageToSign) String() string
- func (m *MessageToSign) Unmarshal(dAtA []byte) error
- func (m *MessageToSign) XXX_DiscardUnknown()
- func (m *MessageToSign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageToSign) XXX_Merge(src proto.Message)
- func (m *MessageToSign) XXX_Size() int
- func (m *MessageToSign) XXX_Unmarshal(b []byte) error
- type MessageWithSignatures
- func (*MessageWithSignatures) Descriptor() ([]byte, []int)
- func (m *MessageWithSignatures) GetBytesToSign() []byte
- func (m *MessageWithSignatures) GetId() uint64
- func (m *MessageWithSignatures) GetMsg() *types.Any
- func (m *MessageWithSignatures) GetNonce() []byte
- func (m *MessageWithSignatures) GetSignData() []*ValidatorSignature
- func (m *MessageWithSignatures) Marshal() (dAtA []byte, err error)
- func (m *MessageWithSignatures) MarshalTo(dAtA []byte) (int, error)
- func (m *MessageWithSignatures) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MessageWithSignatures) ProtoMessage()
- func (m *MessageWithSignatures) Reset()
- func (m *MessageWithSignatures) Size() (n int)
- func (m *MessageWithSignatures) String() string
- func (m *MessageWithSignatures) Unmarshal(dAtA []byte) error
- func (m *MessageWithSignatures) XXX_DiscardUnknown()
- func (m *MessageWithSignatures) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageWithSignatures) XXX_Merge(src proto.Message)
- func (m *MessageWithSignatures) XXX_Size() int
- func (m *MessageWithSignatures) XXX_Unmarshal(b []byte) error
- type MsgAddMessagesSignatures
- func (*MsgAddMessagesSignatures) Descriptor() ([]byte, []int)
- func (m *MsgAddMessagesSignatures) GetCreator() string
- func (msg *MsgAddMessagesSignatures) GetSignBytes() []byte
- func (m *MsgAddMessagesSignatures) GetSignedMessages() []*MsgAddMessagesSignatures_MsgSignedMessage
- func (msg *MsgAddMessagesSignatures) GetSigners() []sdk.AccAddress
- func (m *MsgAddMessagesSignatures) Marshal() (dAtA []byte, err error)
- func (m *MsgAddMessagesSignatures) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddMessagesSignatures) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddMessagesSignatures) ProtoMessage()
- func (m *MsgAddMessagesSignatures) Reset()
- func (msg *MsgAddMessagesSignatures) Route() string
- func (m *MsgAddMessagesSignatures) Size() (n int)
- func (m *MsgAddMessagesSignatures) String() string
- func (msg *MsgAddMessagesSignatures) Type() string
- func (m *MsgAddMessagesSignatures) Unmarshal(dAtA []byte) error
- func (msg *MsgAddMessagesSignatures) ValidateBasic() error
- func (m *MsgAddMessagesSignatures) XXX_DiscardUnknown()
- func (m *MsgAddMessagesSignatures) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddMessagesSignatures) XXX_Merge(src proto.Message)
- func (m *MsgAddMessagesSignatures) XXX_Size() int
- func (m *MsgAddMessagesSignatures) XXX_Unmarshal(b []byte) error
- type MsgAddMessagesSignaturesResponse
- func (*MsgAddMessagesSignaturesResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddMessagesSignaturesResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddMessagesSignaturesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddMessagesSignaturesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddMessagesSignaturesResponse) ProtoMessage()
- func (m *MsgAddMessagesSignaturesResponse) Reset()
- func (m *MsgAddMessagesSignaturesResponse) Size() (n int)
- func (m *MsgAddMessagesSignaturesResponse) String() string
- func (m *MsgAddMessagesSignaturesResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddMessagesSignaturesResponse) XXX_DiscardUnknown()
- func (m *MsgAddMessagesSignaturesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddMessagesSignaturesResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddMessagesSignaturesResponse) XXX_Size() int
- func (m *MsgAddMessagesSignaturesResponse) XXX_Unmarshal(b []byte) error
- type MsgAddMessagesSignatures_MsgSignedMessage
- func (*MsgAddMessagesSignatures_MsgSignedMessage) Descriptor() ([]byte, []int)
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) GetExtraData() []byte
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) GetId() uint64
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) GetQueueTypeName() string
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) GetSignature() []byte
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) GetSignedByAddress() string
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) Marshal() (dAtA []byte, err error)
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddMessagesSignatures_MsgSignedMessage) ProtoMessage()
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) Reset()
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) Size() (n int)
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) String() string
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) Unmarshal(dAtA []byte) error
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) XXX_DiscardUnknown()
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) XXX_Merge(src proto.Message)
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) XXX_Size() int
- func (m *MsgAddMessagesSignatures_MsgSignedMessage) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgDeleteJob
- func (*MsgDeleteJob) Descriptor() ([]byte, []int)
- func (m *MsgDeleteJob) GetCreator() string
- func (m *MsgDeleteJob) GetMessageID() uint64
- func (m *MsgDeleteJob) GetQueueTypeName() string
- func (msg *MsgDeleteJob) GetSignBytes() []byte
- func (msg *MsgDeleteJob) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteJob) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteJob) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteJob) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteJob) ProtoMessage()
- func (m *MsgDeleteJob) Reset()
- func (msg *MsgDeleteJob) Route() string
- func (m *MsgDeleteJob) Size() (n int)
- func (m *MsgDeleteJob) String() string
- func (msg *MsgDeleteJob) Type() string
- func (m *MsgDeleteJob) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteJob) ValidateBasic() error
- func (m *MsgDeleteJob) XXX_DiscardUnknown()
- func (m *MsgDeleteJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteJob) XXX_Merge(src proto.Message)
- func (m *MsgDeleteJob) XXX_Size() int
- func (m *MsgDeleteJob) XXX_Unmarshal(b []byte) error
- type MsgDeleteJobResponse
- func (*MsgDeleteJobResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteJobResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteJobResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteJobResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteJobResponse) ProtoMessage()
- func (m *MsgDeleteJobResponse) Reset()
- func (m *MsgDeleteJobResponse) Size() (n int)
- func (m *MsgDeleteJobResponse) String() string
- func (m *MsgDeleteJobResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteJobResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteJobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteJobResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteJobResponse) XXX_Size() int
- func (m *MsgDeleteJobResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type NoData
- func (*NoData) Descriptor() ([]byte, []int)
- func (m *NoData) Marshal() (dAtA []byte, err error)
- func (m *NoData) MarshalTo(dAtA []byte) (int, error)
- func (m *NoData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NoData) ProtoMessage()
- func (m *NoData) Reset()
- func (m *NoData) Size() (n int)
- func (m *NoData) String() string
- func (m *NoData) Unmarshal(dAtA []byte) error
- func (m *NoData) XXX_DiscardUnknown()
- func (m *NoData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NoData) XXX_Merge(src proto.Message)
- func (m *NoData) XXX_Size() int
- func (m *NoData) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- 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 (p 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 QueryGetAllQueueNamesRequest
- func (*QueryGetAllQueueNamesRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetAllQueueNamesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetAllQueueNamesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetAllQueueNamesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetAllQueueNamesRequest) ProtoMessage()
- func (m *QueryGetAllQueueNamesRequest) Reset()
- func (m *QueryGetAllQueueNamesRequest) Size() (n int)
- func (m *QueryGetAllQueueNamesRequest) String() string
- func (m *QueryGetAllQueueNamesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetAllQueueNamesRequest) XXX_DiscardUnknown()
- func (m *QueryGetAllQueueNamesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetAllQueueNamesRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetAllQueueNamesRequest) XXX_Size() int
- func (m *QueryGetAllQueueNamesRequest) XXX_Unmarshal(b []byte) error
- type QueryGetAllQueueNamesResponse
- func (*QueryGetAllQueueNamesResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetAllQueueNamesResponse) GetQueues() []string
- func (m *QueryGetAllQueueNamesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetAllQueueNamesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetAllQueueNamesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetAllQueueNamesResponse) ProtoMessage()
- func (m *QueryGetAllQueueNamesResponse) Reset()
- func (m *QueryGetAllQueueNamesResponse) Size() (n int)
- func (m *QueryGetAllQueueNamesResponse) String() string
- func (m *QueryGetAllQueueNamesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetAllQueueNamesResponse) XXX_DiscardUnknown()
- func (m *QueryGetAllQueueNamesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetAllQueueNamesResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetAllQueueNamesResponse) XXX_Size() int
- func (m *QueryGetAllQueueNamesResponse) XXX_Unmarshal(b []byte) error
- type QueryMessagesInQueueRequest
- func (*QueryMessagesInQueueRequest) Descriptor() ([]byte, []int)
- func (m *QueryMessagesInQueueRequest) GetQueueTypeName() string
- func (m *QueryMessagesInQueueRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryMessagesInQueueRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMessagesInQueueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMessagesInQueueRequest) ProtoMessage()
- func (m *QueryMessagesInQueueRequest) Reset()
- func (m *QueryMessagesInQueueRequest) Size() (n int)
- func (m *QueryMessagesInQueueRequest) String() string
- func (m *QueryMessagesInQueueRequest) Unmarshal(dAtA []byte) error
- func (m *QueryMessagesInQueueRequest) XXX_DiscardUnknown()
- func (m *QueryMessagesInQueueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMessagesInQueueRequest) XXX_Merge(src proto.Message)
- func (m *QueryMessagesInQueueRequest) XXX_Size() int
- func (m *QueryMessagesInQueueRequest) XXX_Unmarshal(b []byte) error
- type QueryMessagesInQueueResponse
- func (*QueryMessagesInQueueResponse) Descriptor() ([]byte, []int)
- func (m *QueryMessagesInQueueResponse) GetMessages() []*MessageWithSignatures
- func (m *QueryMessagesInQueueResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryMessagesInQueueResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMessagesInQueueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMessagesInQueueResponse) ProtoMessage()
- func (m *QueryMessagesInQueueResponse) Reset()
- func (m *QueryMessagesInQueueResponse) Size() (n int)
- func (m *QueryMessagesInQueueResponse) String() string
- func (m *QueryMessagesInQueueResponse) Unmarshal(dAtA []byte) error
- func (m *QueryMessagesInQueueResponse) XXX_DiscardUnknown()
- func (m *QueryMessagesInQueueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMessagesInQueueResponse) XXX_Merge(src proto.Message)
- func (m *QueryMessagesInQueueResponse) XXX_Size() int
- func (m *QueryMessagesInQueueResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryQueuedMessagesForSigningRequest
- func (*QueryQueuedMessagesForSigningRequest) Descriptor() ([]byte, []int)
- func (m *QueryQueuedMessagesForSigningRequest) GetQueueTypeName() string
- func (m *QueryQueuedMessagesForSigningRequest) GetValAddress() github_com_cosmos_cosmos_sdk_types.ValAddress
- func (m *QueryQueuedMessagesForSigningRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryQueuedMessagesForSigningRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryQueuedMessagesForSigningRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryQueuedMessagesForSigningRequest) ProtoMessage()
- func (m *QueryQueuedMessagesForSigningRequest) Reset()
- func (m *QueryQueuedMessagesForSigningRequest) Size() (n int)
- func (m *QueryQueuedMessagesForSigningRequest) String() string
- func (m *QueryQueuedMessagesForSigningRequest) Unmarshal(dAtA []byte) error
- func (m *QueryQueuedMessagesForSigningRequest) XXX_DiscardUnknown()
- func (m *QueryQueuedMessagesForSigningRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryQueuedMessagesForSigningRequest) XXX_Merge(src proto.Message)
- func (m *QueryQueuedMessagesForSigningRequest) XXX_Size() int
- func (m *QueryQueuedMessagesForSigningRequest) XXX_Unmarshal(b []byte) error
- type QueryQueuedMessagesForSigningResponse
- func (*QueryQueuedMessagesForSigningResponse) Descriptor() ([]byte, []int)
- func (m *QueryQueuedMessagesForSigningResponse) GetMessageToSign() []*MessageToSign
- func (m *QueryQueuedMessagesForSigningResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryQueuedMessagesForSigningResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryQueuedMessagesForSigningResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryQueuedMessagesForSigningResponse) ProtoMessage()
- func (m *QueryQueuedMessagesForSigningResponse) Reset()
- func (m *QueryQueuedMessagesForSigningResponse) Size() (n int)
- func (m *QueryQueuedMessagesForSigningResponse) String() string
- func (m *QueryQueuedMessagesForSigningResponse) Unmarshal(dAtA []byte) error
- func (m *QueryQueuedMessagesForSigningResponse) XXX_DiscardUnknown()
- func (m *QueryQueuedMessagesForSigningResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryQueuedMessagesForSigningResponse) XXX_Merge(src proto.Message)
- func (m *QueryQueuedMessagesForSigningResponse) XXX_Size() int
- func (m *QueryQueuedMessagesForSigningResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueuedSignedMessage
- func (q *QueuedSignedMessage) AddSignData(data *SignData)
- func (q *QueuedSignedMessage) ConsensusMsg(unpacker AnyUnpacker) (ConsensusMsg, error)
- func (*QueuedSignedMessage) Descriptor() ([]byte, []int)
- func (m *QueuedSignedMessage) GetBytesToSign() []byte
- func (m *QueuedSignedMessage) GetId() uint64
- func (m *QueuedSignedMessage) GetMsg() *types.Any
- func (m *QueuedSignedMessage) GetSignData() []*SignData
- func (m *QueuedSignedMessage) Marshal() (dAtA []byte, err error)
- func (m *QueuedSignedMessage) MarshalTo(dAtA []byte) (int, error)
- func (m *QueuedSignedMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (q *QueuedSignedMessage) Nonce() []byte
- func (*QueuedSignedMessage) ProtoMessage()
- func (m *QueuedSignedMessage) Reset()
- func (m *QueuedSignedMessage) Size() (n int)
- func (m *QueuedSignedMessage) String() string
- func (m *QueuedSignedMessage) Unmarshal(dAtA []byte) error
- func (m *QueuedSignedMessage) XXX_DiscardUnknown()
- func (m *QueuedSignedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueuedSignedMessage) XXX_Merge(src proto.Message)
- func (m *QueuedSignedMessage) XXX_Size() int
- func (m *QueuedSignedMessage) XXX_Unmarshal(b []byte) error
- type QueuedSignedMessageI
- type Salt
- type SignData
- func (*SignData) Descriptor() ([]byte, []int)
- func (m *SignData) GetExternalAccountAddress() string
- func (m *SignData) GetExtraData() []byte
- func (m *SignData) GetPublicKey() []byte
- func (m *SignData) GetSignature() []byte
- func (m *SignData) GetValAddress() github_com_cosmos_cosmos_sdk_types.ValAddress
- func (m *SignData) Marshal() (dAtA []byte, err error)
- func (m *SignData) MarshalTo(dAtA []byte) (int, error)
- func (m *SignData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignData) ProtoMessage()
- func (m *SignData) Reset()
- func (m *SignData) Size() (n int)
- func (m *SignData) String() string
- func (m *SignData) Unmarshal(dAtA []byte) error
- func (m *SignData) XXX_DiscardUnknown()
- func (m *SignData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignData) XXX_Merge(src proto.Message)
- func (m *SignData) XXX_Size() int
- func (m *SignData) XXX_Unmarshal(b []byte) error
- type SignSmartContractExecute
- func (*SignSmartContractExecute) Descriptor() ([]byte, []int)
- func (m *SignSmartContractExecute) GetId() uint64
- func (m *SignSmartContractExecute) Marshal() (dAtA []byte, err error)
- func (m *SignSmartContractExecute) MarshalTo(dAtA []byte) (int, error)
- func (m *SignSmartContractExecute) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignSmartContractExecute) ProtoMessage()
- func (m *SignSmartContractExecute) Reset()
- func (m *SignSmartContractExecute) Size() (n int)
- func (m *SignSmartContractExecute) String() string
- func (m *SignSmartContractExecute) Unmarshal(dAtA []byte) error
- func (m *SignSmartContractExecute) XXX_DiscardUnknown()
- func (m *SignSmartContractExecute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignSmartContractExecute) XXX_Merge(src proto.Message)
- func (m *SignSmartContractExecute) XXX_Size() int
- func (m *SignSmartContractExecute) XXX_Unmarshal(b []byte) error
- type SimpleMessage
- func (msg *SimpleMessage) Attest()
- func (msg *SimpleMessage) ConsensusSignBytes() BytesToSignFunc
- func (*SimpleMessage) Descriptor() ([]byte, []int)
- func (m *SimpleMessage) GetHello() string
- func (m *SimpleMessage) GetSender() string
- func (msg *SimpleMessage) GetSignBytes() []byte
- func (m *SimpleMessage) GetWorld() string
- func (m *SimpleMessage) Marshal() (dAtA []byte, err error)
- func (m *SimpleMessage) MarshalTo(dAtA []byte) (int, error)
- func (m *SimpleMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SimpleMessage) ProtoMessage()
- func (m *SimpleMessage) Reset()
- func (m *SimpleMessage) Size() (n int)
- func (m *SimpleMessage) String() string
- func (m *SimpleMessage) Unmarshal(dAtA []byte) error
- func (m *SimpleMessage) XXX_DiscardUnknown()
- func (m *SimpleMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SimpleMessage) XXX_Merge(src proto.Message)
- func (m *SimpleMessage) XXX_Size() int
- func (m *SimpleMessage) XXX_Unmarshal(b []byte) error
- type TypeChecker
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) GetAllQueueNames(ctx context.Context, req *QueryGetAllQueueNamesRequest) (*QueryGetAllQueueNamesResponse, error)
- func (*UnimplementedQueryServer) MessagesInQueue(ctx context.Context, req *QueryMessagesInQueueRequest) (*QueryMessagesInQueueResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) QueuedMessagesForSigning(ctx context.Context, req *QueryQueuedMessagesForSigningRequest) (*QueryQueuedMessagesForSigningResponse, error)
- type ValidatorSignature
- func (*ValidatorSignature) Descriptor() ([]byte, []int)
- func (m *ValidatorSignature) GetExternalAccountAddress() string
- func (m *ValidatorSignature) GetExtraData() []byte
- func (m *ValidatorSignature) GetPublicKey() []byte
- func (m *ValidatorSignature) GetSignature() []byte
- func (m *ValidatorSignature) GetValAddress() github_com_cosmos_cosmos_sdk_types.ValAddress
- func (m *ValidatorSignature) Marshal() (dAtA []byte, err error)
- func (m *ValidatorSignature) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorSignature) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorSignature) ProtoMessage()
- func (m *ValidatorSignature) Reset()
- func (m *ValidatorSignature) Size() (n int)
- func (m *ValidatorSignature) String() string
- func (m *ValidatorSignature) Unmarshal(dAtA []byte) error
- func (m *ValidatorSignature) XXX_DiscardUnknown()
- func (m *ValidatorSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorSignature) XXX_Merge(src proto.Message)
- func (m *ValidatorSignature) XXX_Size() int
- func (m *ValidatorSignature) XXX_Unmarshal(b []byte) error
- type ValsetKeeper
- type VerifySignatureFunc
Constants ¶
const ( ChainTypeEVM = ChainType("EVM") ChainTypeCosmos = ChainType("cosmos") )
const ( EventTypeTimeout = "timeout" AttributeKeyAckSuccess = "success" AttributeKeyAck = "acknowledgement" AttributeKeyAckError = "error" )
IBC events
const ( // ModuleName defines the module name ModuleName = "consensus" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_consensus" // Version defines the current version the IBC module supports Version = "consensus-1" // PortID is the default port id that module binds to PortID = "consensus" )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const TypeMsgAddMessagesSignatures = "add_messages_signatures"
const TypeMsgDeleteJob = "delete_job"
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidLengthConsensusQueue = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowConsensusQueue = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupConsensusQueue = fmt.Errorf("proto: unexpected end of group") )
var ( ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error") ErrInvalidPacketTimeout = sdkerrors.Register(ModuleName, 1500, "invalid packet timeout") ErrInvalidVersion = sdkerrors.Register(ModuleName, 1501, "invalid version") )
x/consensus module sentinel errors
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 ( ErrInvalidLengthPacket = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPacket = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPacket = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
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 ( ErrInvalidLengthSigningMessages = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSigningMessages = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupSigningMessages = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthSimpleTestMessage = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSimpleTestMessage = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupSimpleTestMessage = 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 ( // PortKey defines the key to store the port ID in store PortKey = KeyPrefix("consensus-port-") )
Functions ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func Queue ¶
func Queue(queueTypeName ConsensusQueueType, chainType ChainType, chainID string) string
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
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 to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func Uint64ToByte ¶
Types ¶
type AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type AnyUnpacker ¶
type AnyUnpacker = types.AnyUnpacker
type AttestResult ¶
type AttestResult struct { }
type AttestTask ¶
type AttestTask interface {
Attest()
}
type Attestator ¶
type Attestator interface { // ConsensusQueue tells in which ConsensusQueue to store the messages that require signatures. ConsensusQueue() ConsensusQueueType // Type tells the type of allowed message types for the ConsensusQueue. Type() any // Returns function which will be called with the underlying message and nonce // and it needs to return bytes for signing. BytesToSign() BytesToSignFunc // Returns a function which is used to verify signature. VerifySignature() VerifySignatureFunc // Chain info: chain type and chain ID ChainInfo() (ChainType, string) // ValidateEvidence takes a task and an evidence and does a validation to make sure that it's correct. ValidateEvidence(ctx context.Context, task AttestTask, evidence Evidence) error // ProcessAllEvidence processes all given evidences and internally does whatever it needs to do with // that information. It returns the result back to the caller. ProcessAllEvidence(ctx context.Context, task AttestTask, evidence []Evidence) (AttestResult, error) }
type BankKeeper ¶
BankKeeper defines the expected interface needed to retrieve account balances.
type Batch ¶
type Batch struct { Msgs []*types.Any `protobuf:"bytes,1,rep,name=msgs,proto3" json:"msgs,omitempty"` BytesToSign []byte `protobuf:"bytes,2,opt,name=bytesToSign,proto3" json:"bytesToSign,omitempty"` }
func (*Batch) Descriptor ¶
func (*Batch) GetBytesToSign ¶
func (*Batch) GetSignBytes ¶
func (*Batch) ProtoMessage ¶
func (*Batch) ProtoMessage()
func (*Batch) XXX_DiscardUnknown ¶
func (m *Batch) XXX_DiscardUnknown()
func (*Batch) XXX_Marshal ¶
func (*Batch) XXX_Unmarshal ¶
type BatchOfConsensusMessages ¶
type BatchOfConsensusMessages struct {
Msg *types.Any `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
}
func (*BatchOfConsensusMessages) Descriptor ¶
func (*BatchOfConsensusMessages) Descriptor() ([]byte, []int)
func (*BatchOfConsensusMessages) GetMsg ¶
func (m *BatchOfConsensusMessages) GetMsg() *types.Any
func (*BatchOfConsensusMessages) Marshal ¶
func (m *BatchOfConsensusMessages) Marshal() (dAtA []byte, err error)
func (*BatchOfConsensusMessages) MarshalTo ¶
func (m *BatchOfConsensusMessages) MarshalTo(dAtA []byte) (int, error)
func (*BatchOfConsensusMessages) MarshalToSizedBuffer ¶
func (m *BatchOfConsensusMessages) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BatchOfConsensusMessages) ProtoMessage ¶
func (*BatchOfConsensusMessages) ProtoMessage()
func (*BatchOfConsensusMessages) Reset ¶
func (m *BatchOfConsensusMessages) Reset()
func (*BatchOfConsensusMessages) Size ¶
func (m *BatchOfConsensusMessages) Size() (n int)
func (*BatchOfConsensusMessages) String ¶
func (m *BatchOfConsensusMessages) String() string
func (*BatchOfConsensusMessages) Unmarshal ¶
func (m *BatchOfConsensusMessages) Unmarshal(dAtA []byte) error
func (*BatchOfConsensusMessages) XXX_DiscardUnknown ¶
func (m *BatchOfConsensusMessages) XXX_DiscardUnknown()
func (*BatchOfConsensusMessages) XXX_Marshal ¶
func (m *BatchOfConsensusMessages) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchOfConsensusMessages) XXX_Merge ¶
func (m *BatchOfConsensusMessages) XXX_Merge(src proto.Message)
func (*BatchOfConsensusMessages) XXX_Size ¶
func (m *BatchOfConsensusMessages) XXX_Size() int
func (*BatchOfConsensusMessages) XXX_Unmarshal ¶
func (m *BatchOfConsensusMessages) XXX_Unmarshal(b []byte) error
type BytesToSignFunc ¶
type BytesToSignFunc func(msg ConsensusMsg, salt Salt) []byte
func TypedBytesToSign ¶
func TypedBytesToSign[T any](fnc func(msg T, salt Salt) []byte) BytesToSignFunc
type ConsensusMsg ¶
type ConsensusPacketData ¶
type ConsensusPacketData struct { // Types that are valid to be assigned to Packet: // *ConsensusPacketData_NoData Packet isConsensusPacketData_Packet `protobuf_oneof:"packet"` }
func (*ConsensusPacketData) Descriptor ¶
func (*ConsensusPacketData) Descriptor() ([]byte, []int)
func (*ConsensusPacketData) GetNoData ¶
func (m *ConsensusPacketData) GetNoData() *NoData
func (*ConsensusPacketData) GetPacket ¶
func (m *ConsensusPacketData) GetPacket() isConsensusPacketData_Packet
func (*ConsensusPacketData) Marshal ¶
func (m *ConsensusPacketData) Marshal() (dAtA []byte, err error)
func (*ConsensusPacketData) MarshalTo ¶
func (m *ConsensusPacketData) MarshalTo(dAtA []byte) (int, error)
func (*ConsensusPacketData) MarshalToSizedBuffer ¶
func (m *ConsensusPacketData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsensusPacketData) ProtoMessage ¶
func (*ConsensusPacketData) ProtoMessage()
func (*ConsensusPacketData) Reset ¶
func (m *ConsensusPacketData) Reset()
func (*ConsensusPacketData) Size ¶
func (m *ConsensusPacketData) Size() (n int)
func (*ConsensusPacketData) String ¶
func (m *ConsensusPacketData) String() string
func (*ConsensusPacketData) Unmarshal ¶
func (m *ConsensusPacketData) Unmarshal(dAtA []byte) error
func (*ConsensusPacketData) XXX_DiscardUnknown ¶
func (m *ConsensusPacketData) XXX_DiscardUnknown()
func (*ConsensusPacketData) XXX_Marshal ¶
func (m *ConsensusPacketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsensusPacketData) XXX_Merge ¶
func (m *ConsensusPacketData) XXX_Merge(src proto.Message)
func (*ConsensusPacketData) XXX_OneofWrappers ¶
func (*ConsensusPacketData) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ConsensusPacketData) XXX_Size ¶
func (m *ConsensusPacketData) XXX_Size() int
func (*ConsensusPacketData) XXX_Unmarshal ¶
func (m *ConsensusPacketData) XXX_Unmarshal(b []byte) error
type ConsensusPacketData_NoData ¶
type ConsensusPacketData_NoData struct {
NoData *NoData `protobuf:"bytes,1,opt,name=noData,proto3,oneof" json:"noData,omitempty"`
}
func (*ConsensusPacketData_NoData) MarshalTo ¶
func (m *ConsensusPacketData_NoData) MarshalTo(dAtA []byte) (int, error)
func (*ConsensusPacketData_NoData) MarshalToSizedBuffer ¶
func (m *ConsensusPacketData_NoData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsensusPacketData_NoData) Size ¶
func (m *ConsensusPacketData_NoData) Size() (n int)
type ConsensusQueueType ¶
type ConsensusQueueType string
type EvenSimplerMessage ¶
type EvenSimplerMessage struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Boo string `protobuf:"bytes,2,opt,name=boo,proto3" json:"boo,omitempty"` }
func (*EvenSimplerMessage) Descriptor ¶
func (*EvenSimplerMessage) Descriptor() ([]byte, []int)
func (*EvenSimplerMessage) GetBoo ¶
func (m *EvenSimplerMessage) GetBoo() string
func (*EvenSimplerMessage) GetSender ¶
func (m *EvenSimplerMessage) GetSender() string
func (*EvenSimplerMessage) GetSignBytes ¶
func (msg *EvenSimplerMessage) GetSignBytes() []byte
func (*EvenSimplerMessage) Marshal ¶
func (m *EvenSimplerMessage) Marshal() (dAtA []byte, err error)
func (*EvenSimplerMessage) MarshalTo ¶
func (m *EvenSimplerMessage) MarshalTo(dAtA []byte) (int, error)
func (*EvenSimplerMessage) MarshalToSizedBuffer ¶
func (m *EvenSimplerMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EvenSimplerMessage) ProtoMessage ¶
func (*EvenSimplerMessage) ProtoMessage()
func (*EvenSimplerMessage) Reset ¶
func (m *EvenSimplerMessage) Reset()
func (*EvenSimplerMessage) Size ¶
func (m *EvenSimplerMessage) Size() (n int)
func (*EvenSimplerMessage) String ¶
func (m *EvenSimplerMessage) String() string
func (*EvenSimplerMessage) Unmarshal ¶
func (m *EvenSimplerMessage) Unmarshal(dAtA []byte) error
func (*EvenSimplerMessage) XXX_DiscardUnknown ¶
func (m *EvenSimplerMessage) XXX_DiscardUnknown()
func (*EvenSimplerMessage) XXX_Marshal ¶
func (m *EvenSimplerMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EvenSimplerMessage) XXX_Merge ¶
func (m *EvenSimplerMessage) XXX_Merge(src proto.Message)
func (*EvenSimplerMessage) XXX_Size ¶
func (m *EvenSimplerMessage) XXX_Size() int
func (*EvenSimplerMessage) XXX_Unmarshal ¶
func (m *EvenSimplerMessage) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` PortId string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` }
GenesisState defines the consensus module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetPortId ¶
func (m *GenesisState) GetPortId() string
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) 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 MessageToSign ¶
type MessageToSign struct { Nonce []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` BytesToSign []byte `protobuf:"bytes,3,opt,name=bytesToSign,proto3" json:"bytesToSign,omitempty"` Msg *types.Any `protobuf:"bytes,4,opt,name=msg,proto3" json:"msg,omitempty"` }
func (*MessageToSign) Descriptor ¶
func (*MessageToSign) Descriptor() ([]byte, []int)
func (*MessageToSign) GetBytesToSign ¶
func (m *MessageToSign) GetBytesToSign() []byte
func (*MessageToSign) GetId ¶
func (m *MessageToSign) GetId() uint64
func (*MessageToSign) GetMsg ¶
func (m *MessageToSign) GetMsg() *types.Any
func (*MessageToSign) GetNonce ¶
func (m *MessageToSign) GetNonce() []byte
func (*MessageToSign) Marshal ¶
func (m *MessageToSign) Marshal() (dAtA []byte, err error)
func (*MessageToSign) MarshalToSizedBuffer ¶
func (m *MessageToSign) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MessageToSign) ProtoMessage ¶
func (*MessageToSign) ProtoMessage()
func (*MessageToSign) Reset ¶
func (m *MessageToSign) Reset()
func (*MessageToSign) Size ¶
func (m *MessageToSign) Size() (n int)
func (*MessageToSign) String ¶
func (m *MessageToSign) String() string
func (*MessageToSign) Unmarshal ¶
func (m *MessageToSign) Unmarshal(dAtA []byte) error
func (*MessageToSign) XXX_DiscardUnknown ¶
func (m *MessageToSign) XXX_DiscardUnknown()
func (*MessageToSign) XXX_Marshal ¶
func (m *MessageToSign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageToSign) XXX_Merge ¶
func (m *MessageToSign) XXX_Merge(src proto.Message)
func (*MessageToSign) XXX_Size ¶
func (m *MessageToSign) XXX_Size() int
func (*MessageToSign) XXX_Unmarshal ¶
func (m *MessageToSign) XXX_Unmarshal(b []byte) error
type MessageWithSignatures ¶
type MessageWithSignatures struct { Nonce []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Msg *types.Any `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` SignData []*ValidatorSignature `protobuf:"bytes,4,rep,name=signData,proto3" json:"signData,omitempty"` BytesToSign []byte `protobuf:"bytes,5,opt,name=bytesToSign,proto3" json:"bytesToSign,omitempty"` }
func (*MessageWithSignatures) Descriptor ¶
func (*MessageWithSignatures) Descriptor() ([]byte, []int)
func (*MessageWithSignatures) GetBytesToSign ¶
func (m *MessageWithSignatures) GetBytesToSign() []byte
func (*MessageWithSignatures) GetId ¶
func (m *MessageWithSignatures) GetId() uint64
func (*MessageWithSignatures) GetMsg ¶
func (m *MessageWithSignatures) GetMsg() *types.Any
func (*MessageWithSignatures) GetNonce ¶
func (m *MessageWithSignatures) GetNonce() []byte
func (*MessageWithSignatures) GetSignData ¶
func (m *MessageWithSignatures) GetSignData() []*ValidatorSignature
func (*MessageWithSignatures) Marshal ¶
func (m *MessageWithSignatures) Marshal() (dAtA []byte, err error)
func (*MessageWithSignatures) MarshalTo ¶
func (m *MessageWithSignatures) MarshalTo(dAtA []byte) (int, error)
func (*MessageWithSignatures) MarshalToSizedBuffer ¶
func (m *MessageWithSignatures) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MessageWithSignatures) ProtoMessage ¶
func (*MessageWithSignatures) ProtoMessage()
func (*MessageWithSignatures) Reset ¶
func (m *MessageWithSignatures) Reset()
func (*MessageWithSignatures) Size ¶
func (m *MessageWithSignatures) Size() (n int)
func (*MessageWithSignatures) String ¶
func (m *MessageWithSignatures) String() string
func (*MessageWithSignatures) Unmarshal ¶
func (m *MessageWithSignatures) Unmarshal(dAtA []byte) error
func (*MessageWithSignatures) XXX_DiscardUnknown ¶
func (m *MessageWithSignatures) XXX_DiscardUnknown()
func (*MessageWithSignatures) XXX_Marshal ¶
func (m *MessageWithSignatures) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageWithSignatures) XXX_Merge ¶
func (m *MessageWithSignatures) XXX_Merge(src proto.Message)
func (*MessageWithSignatures) XXX_Size ¶
func (m *MessageWithSignatures) XXX_Size() int
func (*MessageWithSignatures) XXX_Unmarshal ¶
func (m *MessageWithSignatures) XXX_Unmarshal(b []byte) error
type MsgAddMessagesSignatures ¶
type MsgAddMessagesSignatures struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` SignedMessages []*MsgAddMessagesSignatures_MsgSignedMessage `protobuf:"bytes,2,rep,name=signedMessages,proto3" json:"signedMessages,omitempty"` }
func NewMsgAddMessagesSignatures ¶
func NewMsgAddMessagesSignatures(creator string) *MsgAddMessagesSignatures
func (*MsgAddMessagesSignatures) Descriptor ¶
func (*MsgAddMessagesSignatures) Descriptor() ([]byte, []int)
func (*MsgAddMessagesSignatures) GetCreator ¶
func (m *MsgAddMessagesSignatures) GetCreator() string
func (*MsgAddMessagesSignatures) GetSignBytes ¶
func (msg *MsgAddMessagesSignatures) GetSignBytes() []byte
func (*MsgAddMessagesSignatures) GetSignedMessages ¶
func (m *MsgAddMessagesSignatures) GetSignedMessages() []*MsgAddMessagesSignatures_MsgSignedMessage
func (*MsgAddMessagesSignatures) GetSigners ¶
func (msg *MsgAddMessagesSignatures) GetSigners() []sdk.AccAddress
func (*MsgAddMessagesSignatures) Marshal ¶
func (m *MsgAddMessagesSignatures) Marshal() (dAtA []byte, err error)
func (*MsgAddMessagesSignatures) MarshalTo ¶
func (m *MsgAddMessagesSignatures) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddMessagesSignatures) MarshalToSizedBuffer ¶
func (m *MsgAddMessagesSignatures) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddMessagesSignatures) ProtoMessage ¶
func (*MsgAddMessagesSignatures) ProtoMessage()
func (*MsgAddMessagesSignatures) Reset ¶
func (m *MsgAddMessagesSignatures) Reset()
func (*MsgAddMessagesSignatures) Route ¶
func (msg *MsgAddMessagesSignatures) Route() string
func (*MsgAddMessagesSignatures) Size ¶
func (m *MsgAddMessagesSignatures) Size() (n int)
func (*MsgAddMessagesSignatures) String ¶
func (m *MsgAddMessagesSignatures) String() string
func (*MsgAddMessagesSignatures) Type ¶
func (msg *MsgAddMessagesSignatures) Type() string
func (*MsgAddMessagesSignatures) Unmarshal ¶
func (m *MsgAddMessagesSignatures) Unmarshal(dAtA []byte) error
func (*MsgAddMessagesSignatures) ValidateBasic ¶
func (msg *MsgAddMessagesSignatures) ValidateBasic() error
func (*MsgAddMessagesSignatures) XXX_DiscardUnknown ¶
func (m *MsgAddMessagesSignatures) XXX_DiscardUnknown()
func (*MsgAddMessagesSignatures) XXX_Marshal ¶
func (m *MsgAddMessagesSignatures) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddMessagesSignatures) XXX_Merge ¶
func (m *MsgAddMessagesSignatures) XXX_Merge(src proto.Message)
func (*MsgAddMessagesSignatures) XXX_Size ¶
func (m *MsgAddMessagesSignatures) XXX_Size() int
func (*MsgAddMessagesSignatures) XXX_Unmarshal ¶
func (m *MsgAddMessagesSignatures) XXX_Unmarshal(b []byte) error
type MsgAddMessagesSignaturesResponse ¶
type MsgAddMessagesSignaturesResponse struct { }
func (*MsgAddMessagesSignaturesResponse) Descriptor ¶
func (*MsgAddMessagesSignaturesResponse) Descriptor() ([]byte, []int)
func (*MsgAddMessagesSignaturesResponse) Marshal ¶
func (m *MsgAddMessagesSignaturesResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddMessagesSignaturesResponse) MarshalTo ¶
func (m *MsgAddMessagesSignaturesResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddMessagesSignaturesResponse) MarshalToSizedBuffer ¶
func (m *MsgAddMessagesSignaturesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddMessagesSignaturesResponse) ProtoMessage ¶
func (*MsgAddMessagesSignaturesResponse) ProtoMessage()
func (*MsgAddMessagesSignaturesResponse) Reset ¶
func (m *MsgAddMessagesSignaturesResponse) Reset()
func (*MsgAddMessagesSignaturesResponse) Size ¶
func (m *MsgAddMessagesSignaturesResponse) Size() (n int)
func (*MsgAddMessagesSignaturesResponse) String ¶
func (m *MsgAddMessagesSignaturesResponse) String() string
func (*MsgAddMessagesSignaturesResponse) Unmarshal ¶
func (m *MsgAddMessagesSignaturesResponse) Unmarshal(dAtA []byte) error
func (*MsgAddMessagesSignaturesResponse) XXX_DiscardUnknown ¶
func (m *MsgAddMessagesSignaturesResponse) XXX_DiscardUnknown()
func (*MsgAddMessagesSignaturesResponse) XXX_Marshal ¶
func (m *MsgAddMessagesSignaturesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddMessagesSignaturesResponse) XXX_Merge ¶
func (m *MsgAddMessagesSignaturesResponse) XXX_Merge(src proto.Message)
func (*MsgAddMessagesSignaturesResponse) XXX_Size ¶
func (m *MsgAddMessagesSignaturesResponse) XXX_Size() int
func (*MsgAddMessagesSignaturesResponse) XXX_Unmarshal ¶
func (m *MsgAddMessagesSignaturesResponse) XXX_Unmarshal(b []byte) error
type MsgAddMessagesSignatures_MsgSignedMessage ¶
type MsgAddMessagesSignatures_MsgSignedMessage struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` QueueTypeName string `protobuf:"bytes,2,opt,name=queueTypeName,proto3" json:"queueTypeName,omitempty"` Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` ExtraData []byte `protobuf:"bytes,4,opt,name=extraData,proto3" json:"extraData,omitempty"` SignedByAddress string `protobuf:"bytes,5,opt,name=signedByAddress,proto3" json:"signedByAddress,omitempty"` }
func (*MsgAddMessagesSignatures_MsgSignedMessage) Descriptor ¶
func (*MsgAddMessagesSignatures_MsgSignedMessage) Descriptor() ([]byte, []int)
func (*MsgAddMessagesSignatures_MsgSignedMessage) GetExtraData ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) GetExtraData() []byte
func (*MsgAddMessagesSignatures_MsgSignedMessage) GetId ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) GetId() uint64
func (*MsgAddMessagesSignatures_MsgSignedMessage) GetQueueTypeName ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) GetQueueTypeName() string
func (*MsgAddMessagesSignatures_MsgSignedMessage) GetSignature ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) GetSignature() []byte
func (*MsgAddMessagesSignatures_MsgSignedMessage) GetSignedByAddress ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) GetSignedByAddress() string
func (*MsgAddMessagesSignatures_MsgSignedMessage) Marshal ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) Marshal() (dAtA []byte, err error)
func (*MsgAddMessagesSignatures_MsgSignedMessage) MarshalTo ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddMessagesSignatures_MsgSignedMessage) MarshalToSizedBuffer ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddMessagesSignatures_MsgSignedMessage) ProtoMessage ¶
func (*MsgAddMessagesSignatures_MsgSignedMessage) ProtoMessage()
func (*MsgAddMessagesSignatures_MsgSignedMessage) Reset ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) Reset()
func (*MsgAddMessagesSignatures_MsgSignedMessage) Size ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) Size() (n int)
func (*MsgAddMessagesSignatures_MsgSignedMessage) String ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) String() string
func (*MsgAddMessagesSignatures_MsgSignedMessage) Unmarshal ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) Unmarshal(dAtA []byte) error
func (*MsgAddMessagesSignatures_MsgSignedMessage) XXX_DiscardUnknown ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) XXX_DiscardUnknown()
func (*MsgAddMessagesSignatures_MsgSignedMessage) XXX_Marshal ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddMessagesSignatures_MsgSignedMessage) XXX_Merge ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) XXX_Merge(src proto.Message)
func (*MsgAddMessagesSignatures_MsgSignedMessage) XXX_Size ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) XXX_Size() int
func (*MsgAddMessagesSignatures_MsgSignedMessage) XXX_Unmarshal ¶
func (m *MsgAddMessagesSignatures_MsgSignedMessage) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { AddMessagesSignatures(ctx context.Context, in *MsgAddMessagesSignatures, opts ...grpc.CallOption) (*MsgAddMessagesSignaturesResponse, error) DeleteJob(ctx context.Context, in *MsgDeleteJob, opts ...grpc.CallOption) (*MsgDeleteJobResponse, 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 MsgDeleteJob ¶
type MsgDeleteJob struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` QueueTypeName string `protobuf:"bytes,2,opt,name=queueTypeName,proto3" json:"queueTypeName,omitempty"` MessageID uint64 `protobuf:"varint,3,opt,name=messageID,proto3" json:"messageID,omitempty"` }
func NewMsgDeleteJob ¶
func NewMsgDeleteJob(creator string, queueTypeName string, messageID uint64) *MsgDeleteJob
func (*MsgDeleteJob) Descriptor ¶
func (*MsgDeleteJob) Descriptor() ([]byte, []int)
func (*MsgDeleteJob) GetCreator ¶
func (m *MsgDeleteJob) GetCreator() string
func (*MsgDeleteJob) GetMessageID ¶
func (m *MsgDeleteJob) GetMessageID() uint64
func (*MsgDeleteJob) GetQueueTypeName ¶
func (m *MsgDeleteJob) GetQueueTypeName() string
func (*MsgDeleteJob) GetSignBytes ¶
func (msg *MsgDeleteJob) GetSignBytes() []byte
func (*MsgDeleteJob) GetSigners ¶
func (msg *MsgDeleteJob) GetSigners() []sdk.AccAddress
func (*MsgDeleteJob) Marshal ¶
func (m *MsgDeleteJob) Marshal() (dAtA []byte, err error)
func (*MsgDeleteJob) MarshalToSizedBuffer ¶
func (m *MsgDeleteJob) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteJob) ProtoMessage ¶
func (*MsgDeleteJob) ProtoMessage()
func (*MsgDeleteJob) Reset ¶
func (m *MsgDeleteJob) Reset()
func (*MsgDeleteJob) Route ¶
func (msg *MsgDeleteJob) Route() string
func (*MsgDeleteJob) Size ¶
func (m *MsgDeleteJob) Size() (n int)
func (*MsgDeleteJob) String ¶
func (m *MsgDeleteJob) String() string
func (*MsgDeleteJob) Type ¶
func (msg *MsgDeleteJob) Type() string
func (*MsgDeleteJob) Unmarshal ¶
func (m *MsgDeleteJob) Unmarshal(dAtA []byte) error
func (*MsgDeleteJob) ValidateBasic ¶
func (msg *MsgDeleteJob) ValidateBasic() error
func (*MsgDeleteJob) XXX_DiscardUnknown ¶
func (m *MsgDeleteJob) XXX_DiscardUnknown()
func (*MsgDeleteJob) XXX_Marshal ¶
func (m *MsgDeleteJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteJob) XXX_Merge ¶
func (m *MsgDeleteJob) XXX_Merge(src proto.Message)
func (*MsgDeleteJob) XXX_Size ¶
func (m *MsgDeleteJob) XXX_Size() int
func (*MsgDeleteJob) XXX_Unmarshal ¶
func (m *MsgDeleteJob) XXX_Unmarshal(b []byte) error
type MsgDeleteJobResponse ¶
type MsgDeleteJobResponse struct { }
func (*MsgDeleteJobResponse) Descriptor ¶
func (*MsgDeleteJobResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteJobResponse) Marshal ¶
func (m *MsgDeleteJobResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteJobResponse) MarshalTo ¶
func (m *MsgDeleteJobResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteJobResponse) MarshalToSizedBuffer ¶
func (m *MsgDeleteJobResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteJobResponse) ProtoMessage ¶
func (*MsgDeleteJobResponse) ProtoMessage()
func (*MsgDeleteJobResponse) Reset ¶
func (m *MsgDeleteJobResponse) Reset()
func (*MsgDeleteJobResponse) Size ¶
func (m *MsgDeleteJobResponse) Size() (n int)
func (*MsgDeleteJobResponse) String ¶
func (m *MsgDeleteJobResponse) String() string
func (*MsgDeleteJobResponse) Unmarshal ¶
func (m *MsgDeleteJobResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteJobResponse) XXX_DiscardUnknown ¶
func (m *MsgDeleteJobResponse) XXX_DiscardUnknown()
func (*MsgDeleteJobResponse) XXX_Marshal ¶
func (m *MsgDeleteJobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteJobResponse) XXX_Merge ¶
func (m *MsgDeleteJobResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteJobResponse) XXX_Size ¶
func (m *MsgDeleteJobResponse) XXX_Size() int
func (*MsgDeleteJobResponse) XXX_Unmarshal ¶
func (m *MsgDeleteJobResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { AddMessagesSignatures(context.Context, *MsgAddMessagesSignatures) (*MsgAddMessagesSignaturesResponse, error) DeleteJob(context.Context, *MsgDeleteJob) (*MsgDeleteJobResponse, error) }
MsgServer is the server API for Msg service.
type NoData ¶
type NoData struct { }
func (*NoData) Descriptor ¶
func (*NoData) MarshalToSizedBuffer ¶
func (*NoData) ProtoMessage ¶
func (*NoData) ProtoMessage()
func (*NoData) XXX_DiscardUnknown ¶
func (m *NoData) XXX_DiscardUnknown()
func (*NoData) XXX_Marshal ¶
func (*NoData) XXX_Unmarshal ¶
type Params ¶
type Params struct { }
Params defines the parameters for the module.
func (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the 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 { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a list of QueuedMessagesForSigning items. QueuedMessagesForSigning(ctx context.Context, in *QueryQueuedMessagesForSigningRequest, opts ...grpc.CallOption) (*QueryQueuedMessagesForSigningResponse, error) // Queries a list of MessagesInQueue items. MessagesInQueue(ctx context.Context, in *QueryMessagesInQueueRequest, opts ...grpc.CallOption) (*QueryMessagesInQueueResponse, error) // Queries a list of GetAllQueueNames items. GetAllQueueNames(ctx context.Context, in *QueryGetAllQueueNamesRequest, opts ...grpc.CallOption) (*QueryGetAllQueueNamesResponse, 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 QueryGetAllQueueNamesRequest ¶
type QueryGetAllQueueNamesRequest struct { }
func (*QueryGetAllQueueNamesRequest) Descriptor ¶
func (*QueryGetAllQueueNamesRequest) Descriptor() ([]byte, []int)
func (*QueryGetAllQueueNamesRequest) Marshal ¶
func (m *QueryGetAllQueueNamesRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetAllQueueNamesRequest) MarshalTo ¶
func (m *QueryGetAllQueueNamesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetAllQueueNamesRequest) MarshalToSizedBuffer ¶
func (m *QueryGetAllQueueNamesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetAllQueueNamesRequest) ProtoMessage ¶
func (*QueryGetAllQueueNamesRequest) ProtoMessage()
func (*QueryGetAllQueueNamesRequest) Reset ¶
func (m *QueryGetAllQueueNamesRequest) Reset()
func (*QueryGetAllQueueNamesRequest) Size ¶
func (m *QueryGetAllQueueNamesRequest) Size() (n int)
func (*QueryGetAllQueueNamesRequest) String ¶
func (m *QueryGetAllQueueNamesRequest) String() string
func (*QueryGetAllQueueNamesRequest) Unmarshal ¶
func (m *QueryGetAllQueueNamesRequest) Unmarshal(dAtA []byte) error
func (*QueryGetAllQueueNamesRequest) XXX_DiscardUnknown ¶
func (m *QueryGetAllQueueNamesRequest) XXX_DiscardUnknown()
func (*QueryGetAllQueueNamesRequest) XXX_Marshal ¶
func (m *QueryGetAllQueueNamesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetAllQueueNamesRequest) XXX_Merge ¶
func (m *QueryGetAllQueueNamesRequest) XXX_Merge(src proto.Message)
func (*QueryGetAllQueueNamesRequest) XXX_Size ¶
func (m *QueryGetAllQueueNamesRequest) XXX_Size() int
func (*QueryGetAllQueueNamesRequest) XXX_Unmarshal ¶
func (m *QueryGetAllQueueNamesRequest) XXX_Unmarshal(b []byte) error
type QueryGetAllQueueNamesResponse ¶
type QueryGetAllQueueNamesResponse struct {
Queues []string `protobuf:"bytes,1,rep,name=queues,proto3" json:"queues,omitempty"`
}
func (*QueryGetAllQueueNamesResponse) Descriptor ¶
func (*QueryGetAllQueueNamesResponse) Descriptor() ([]byte, []int)
func (*QueryGetAllQueueNamesResponse) GetQueues ¶
func (m *QueryGetAllQueueNamesResponse) GetQueues() []string
func (*QueryGetAllQueueNamesResponse) Marshal ¶
func (m *QueryGetAllQueueNamesResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetAllQueueNamesResponse) MarshalTo ¶
func (m *QueryGetAllQueueNamesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetAllQueueNamesResponse) MarshalToSizedBuffer ¶
func (m *QueryGetAllQueueNamesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetAllQueueNamesResponse) ProtoMessage ¶
func (*QueryGetAllQueueNamesResponse) ProtoMessage()
func (*QueryGetAllQueueNamesResponse) Reset ¶
func (m *QueryGetAllQueueNamesResponse) Reset()
func (*QueryGetAllQueueNamesResponse) Size ¶
func (m *QueryGetAllQueueNamesResponse) Size() (n int)
func (*QueryGetAllQueueNamesResponse) String ¶
func (m *QueryGetAllQueueNamesResponse) String() string
func (*QueryGetAllQueueNamesResponse) Unmarshal ¶
func (m *QueryGetAllQueueNamesResponse) Unmarshal(dAtA []byte) error
func (*QueryGetAllQueueNamesResponse) XXX_DiscardUnknown ¶
func (m *QueryGetAllQueueNamesResponse) XXX_DiscardUnknown()
func (*QueryGetAllQueueNamesResponse) XXX_Marshal ¶
func (m *QueryGetAllQueueNamesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetAllQueueNamesResponse) XXX_Merge ¶
func (m *QueryGetAllQueueNamesResponse) XXX_Merge(src proto.Message)
func (*QueryGetAllQueueNamesResponse) XXX_Size ¶
func (m *QueryGetAllQueueNamesResponse) XXX_Size() int
func (*QueryGetAllQueueNamesResponse) XXX_Unmarshal ¶
func (m *QueryGetAllQueueNamesResponse) XXX_Unmarshal(b []byte) error
type QueryMessagesInQueueRequest ¶
type QueryMessagesInQueueRequest struct {
QueueTypeName string `protobuf:"bytes,1,opt,name=queueTypeName,proto3" json:"queueTypeName,omitempty"`
}
func (*QueryMessagesInQueueRequest) Descriptor ¶
func (*QueryMessagesInQueueRequest) Descriptor() ([]byte, []int)
func (*QueryMessagesInQueueRequest) GetQueueTypeName ¶
func (m *QueryMessagesInQueueRequest) GetQueueTypeName() string
func (*QueryMessagesInQueueRequest) Marshal ¶
func (m *QueryMessagesInQueueRequest) Marshal() (dAtA []byte, err error)
func (*QueryMessagesInQueueRequest) MarshalTo ¶
func (m *QueryMessagesInQueueRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryMessagesInQueueRequest) MarshalToSizedBuffer ¶
func (m *QueryMessagesInQueueRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMessagesInQueueRequest) ProtoMessage ¶
func (*QueryMessagesInQueueRequest) ProtoMessage()
func (*QueryMessagesInQueueRequest) Reset ¶
func (m *QueryMessagesInQueueRequest) Reset()
func (*QueryMessagesInQueueRequest) Size ¶
func (m *QueryMessagesInQueueRequest) Size() (n int)
func (*QueryMessagesInQueueRequest) String ¶
func (m *QueryMessagesInQueueRequest) String() string
func (*QueryMessagesInQueueRequest) Unmarshal ¶
func (m *QueryMessagesInQueueRequest) Unmarshal(dAtA []byte) error
func (*QueryMessagesInQueueRequest) XXX_DiscardUnknown ¶
func (m *QueryMessagesInQueueRequest) XXX_DiscardUnknown()
func (*QueryMessagesInQueueRequest) XXX_Marshal ¶
func (m *QueryMessagesInQueueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMessagesInQueueRequest) XXX_Merge ¶
func (m *QueryMessagesInQueueRequest) XXX_Merge(src proto.Message)
func (*QueryMessagesInQueueRequest) XXX_Size ¶
func (m *QueryMessagesInQueueRequest) XXX_Size() int
func (*QueryMessagesInQueueRequest) XXX_Unmarshal ¶
func (m *QueryMessagesInQueueRequest) XXX_Unmarshal(b []byte) error
type QueryMessagesInQueueResponse ¶
type QueryMessagesInQueueResponse struct {
Messages []*MessageWithSignatures `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
}
func (*QueryMessagesInQueueResponse) Descriptor ¶
func (*QueryMessagesInQueueResponse) Descriptor() ([]byte, []int)
func (*QueryMessagesInQueueResponse) GetMessages ¶
func (m *QueryMessagesInQueueResponse) GetMessages() []*MessageWithSignatures
func (*QueryMessagesInQueueResponse) Marshal ¶
func (m *QueryMessagesInQueueResponse) Marshal() (dAtA []byte, err error)
func (*QueryMessagesInQueueResponse) MarshalTo ¶
func (m *QueryMessagesInQueueResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryMessagesInQueueResponse) MarshalToSizedBuffer ¶
func (m *QueryMessagesInQueueResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMessagesInQueueResponse) ProtoMessage ¶
func (*QueryMessagesInQueueResponse) ProtoMessage()
func (*QueryMessagesInQueueResponse) Reset ¶
func (m *QueryMessagesInQueueResponse) Reset()
func (*QueryMessagesInQueueResponse) Size ¶
func (m *QueryMessagesInQueueResponse) Size() (n int)
func (*QueryMessagesInQueueResponse) String ¶
func (m *QueryMessagesInQueueResponse) String() string
func (*QueryMessagesInQueueResponse) Unmarshal ¶
func (m *QueryMessagesInQueueResponse) Unmarshal(dAtA []byte) error
func (*QueryMessagesInQueueResponse) XXX_DiscardUnknown ¶
func (m *QueryMessagesInQueueResponse) XXX_DiscardUnknown()
func (*QueryMessagesInQueueResponse) XXX_Marshal ¶
func (m *QueryMessagesInQueueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMessagesInQueueResponse) XXX_Merge ¶
func (m *QueryMessagesInQueueResponse) XXX_Merge(src proto.Message)
func (*QueryMessagesInQueueResponse) XXX_Size ¶
func (m *QueryMessagesInQueueResponse) XXX_Size() int
func (*QueryMessagesInQueueResponse) XXX_Unmarshal ¶
func (m *QueryMessagesInQueueResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryQueuedMessagesForSigningRequest ¶
type QueryQueuedMessagesForSigningRequest struct { ValAddress github_com_cosmos_cosmos_sdk_types.ValAddress `` /* 128-byte string literal not displayed */ QueueTypeName string `protobuf:"bytes,2,opt,name=queueTypeName,proto3" json:"queueTypeName,omitempty"` }
func (*QueryQueuedMessagesForSigningRequest) Descriptor ¶
func (*QueryQueuedMessagesForSigningRequest) Descriptor() ([]byte, []int)
func (*QueryQueuedMessagesForSigningRequest) GetQueueTypeName ¶
func (m *QueryQueuedMessagesForSigningRequest) GetQueueTypeName() string
func (*QueryQueuedMessagesForSigningRequest) GetValAddress ¶
func (m *QueryQueuedMessagesForSigningRequest) GetValAddress() github_com_cosmos_cosmos_sdk_types.ValAddress
func (*QueryQueuedMessagesForSigningRequest) Marshal ¶
func (m *QueryQueuedMessagesForSigningRequest) Marshal() (dAtA []byte, err error)
func (*QueryQueuedMessagesForSigningRequest) MarshalTo ¶
func (m *QueryQueuedMessagesForSigningRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryQueuedMessagesForSigningRequest) MarshalToSizedBuffer ¶
func (m *QueryQueuedMessagesForSigningRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryQueuedMessagesForSigningRequest) ProtoMessage ¶
func (*QueryQueuedMessagesForSigningRequest) ProtoMessage()
func (*QueryQueuedMessagesForSigningRequest) Reset ¶
func (m *QueryQueuedMessagesForSigningRequest) Reset()
func (*QueryQueuedMessagesForSigningRequest) Size ¶
func (m *QueryQueuedMessagesForSigningRequest) Size() (n int)
func (*QueryQueuedMessagesForSigningRequest) String ¶
func (m *QueryQueuedMessagesForSigningRequest) String() string
func (*QueryQueuedMessagesForSigningRequest) Unmarshal ¶
func (m *QueryQueuedMessagesForSigningRequest) Unmarshal(dAtA []byte) error
func (*QueryQueuedMessagesForSigningRequest) XXX_DiscardUnknown ¶
func (m *QueryQueuedMessagesForSigningRequest) XXX_DiscardUnknown()
func (*QueryQueuedMessagesForSigningRequest) XXX_Marshal ¶
func (m *QueryQueuedMessagesForSigningRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryQueuedMessagesForSigningRequest) XXX_Merge ¶
func (m *QueryQueuedMessagesForSigningRequest) XXX_Merge(src proto.Message)
func (*QueryQueuedMessagesForSigningRequest) XXX_Size ¶
func (m *QueryQueuedMessagesForSigningRequest) XXX_Size() int
func (*QueryQueuedMessagesForSigningRequest) XXX_Unmarshal ¶
func (m *QueryQueuedMessagesForSigningRequest) XXX_Unmarshal(b []byte) error
type QueryQueuedMessagesForSigningResponse ¶
type QueryQueuedMessagesForSigningResponse struct {
MessageToSign []*MessageToSign `protobuf:"bytes,1,rep,name=messageToSign,proto3" json:"messageToSign,omitempty"`
}
func (*QueryQueuedMessagesForSigningResponse) Descriptor ¶
func (*QueryQueuedMessagesForSigningResponse) Descriptor() ([]byte, []int)
func (*QueryQueuedMessagesForSigningResponse) GetMessageToSign ¶
func (m *QueryQueuedMessagesForSigningResponse) GetMessageToSign() []*MessageToSign
func (*QueryQueuedMessagesForSigningResponse) Marshal ¶
func (m *QueryQueuedMessagesForSigningResponse) Marshal() (dAtA []byte, err error)
func (*QueryQueuedMessagesForSigningResponse) MarshalTo ¶
func (m *QueryQueuedMessagesForSigningResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryQueuedMessagesForSigningResponse) MarshalToSizedBuffer ¶
func (m *QueryQueuedMessagesForSigningResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryQueuedMessagesForSigningResponse) ProtoMessage ¶
func (*QueryQueuedMessagesForSigningResponse) ProtoMessage()
func (*QueryQueuedMessagesForSigningResponse) Reset ¶
func (m *QueryQueuedMessagesForSigningResponse) Reset()
func (*QueryQueuedMessagesForSigningResponse) Size ¶
func (m *QueryQueuedMessagesForSigningResponse) Size() (n int)
func (*QueryQueuedMessagesForSigningResponse) String ¶
func (m *QueryQueuedMessagesForSigningResponse) String() string
func (*QueryQueuedMessagesForSigningResponse) Unmarshal ¶
func (m *QueryQueuedMessagesForSigningResponse) Unmarshal(dAtA []byte) error
func (*QueryQueuedMessagesForSigningResponse) XXX_DiscardUnknown ¶
func (m *QueryQueuedMessagesForSigningResponse) XXX_DiscardUnknown()
func (*QueryQueuedMessagesForSigningResponse) XXX_Marshal ¶
func (m *QueryQueuedMessagesForSigningResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryQueuedMessagesForSigningResponse) XXX_Merge ¶
func (m *QueryQueuedMessagesForSigningResponse) XXX_Merge(src proto.Message)
func (*QueryQueuedMessagesForSigningResponse) XXX_Size ¶
func (m *QueryQueuedMessagesForSigningResponse) XXX_Size() int
func (*QueryQueuedMessagesForSigningResponse) XXX_Unmarshal ¶
func (m *QueryQueuedMessagesForSigningResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a list of QueuedMessagesForSigning items. QueuedMessagesForSigning(context.Context, *QueryQueuedMessagesForSigningRequest) (*QueryQueuedMessagesForSigningResponse, error) // Queries a list of MessagesInQueue items. MessagesInQueue(context.Context, *QueryMessagesInQueueRequest) (*QueryMessagesInQueueResponse, error) // Queries a list of GetAllQueueNames items. GetAllQueueNames(context.Context, *QueryGetAllQueueNamesRequest) (*QueryGetAllQueueNamesResponse, error) }
QueryServer is the server API for Query service.
type QueuedSignedMessage ¶
type QueuedSignedMessage struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Msg *types.Any `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` BytesToSign []byte `protobuf:"bytes,3,opt,name=bytesToSign,proto3" json:"bytesToSign,omitempty"` SignData []*SignData `protobuf:"bytes,4,rep,name=signData,proto3" json:"signData,omitempty"` }
message for storing the queued signed message in the internal queue
func (*QueuedSignedMessage) AddSignData ¶
func (q *QueuedSignedMessage) AddSignData(data *SignData)
func (*QueuedSignedMessage) ConsensusMsg ¶
func (q *QueuedSignedMessage) ConsensusMsg(unpacker AnyUnpacker) (ConsensusMsg, error)
func (*QueuedSignedMessage) Descriptor ¶
func (*QueuedSignedMessage) Descriptor() ([]byte, []int)
func (*QueuedSignedMessage) GetBytesToSign ¶
func (m *QueuedSignedMessage) GetBytesToSign() []byte
func (*QueuedSignedMessage) GetId ¶
func (m *QueuedSignedMessage) GetId() uint64
func (*QueuedSignedMessage) GetMsg ¶
func (m *QueuedSignedMessage) GetMsg() *types.Any
func (*QueuedSignedMessage) GetSignData ¶
func (m *QueuedSignedMessage) GetSignData() []*SignData
func (*QueuedSignedMessage) Marshal ¶
func (m *QueuedSignedMessage) Marshal() (dAtA []byte, err error)
func (*QueuedSignedMessage) MarshalTo ¶
func (m *QueuedSignedMessage) MarshalTo(dAtA []byte) (int, error)
func (*QueuedSignedMessage) MarshalToSizedBuffer ¶
func (m *QueuedSignedMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueuedSignedMessage) Nonce ¶
func (q *QueuedSignedMessage) Nonce() []byte
func (*QueuedSignedMessage) ProtoMessage ¶
func (*QueuedSignedMessage) ProtoMessage()
func (*QueuedSignedMessage) Reset ¶
func (m *QueuedSignedMessage) Reset()
func (*QueuedSignedMessage) Size ¶
func (m *QueuedSignedMessage) Size() (n int)
func (*QueuedSignedMessage) String ¶
func (m *QueuedSignedMessage) String() string
func (*QueuedSignedMessage) Unmarshal ¶
func (m *QueuedSignedMessage) Unmarshal(dAtA []byte) error
func (*QueuedSignedMessage) XXX_DiscardUnknown ¶
func (m *QueuedSignedMessage) XXX_DiscardUnknown()
func (*QueuedSignedMessage) XXX_Marshal ¶
func (m *QueuedSignedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueuedSignedMessage) XXX_Merge ¶
func (m *QueuedSignedMessage) XXX_Merge(src proto.Message)
func (*QueuedSignedMessage) XXX_Size ¶
func (m *QueuedSignedMessage) XXX_Size() int
func (*QueuedSignedMessage) XXX_Unmarshal ¶
func (m *QueuedSignedMessage) XXX_Unmarshal(b []byte) error
type QueuedSignedMessageI ¶
type QueuedSignedMessageI interface { proto.Message GetId() uint64 Nonce() []byte ConsensusMsg(AnyUnpacker) (ConsensusMsg, error) GetSignData() []*SignData AddSignData(*SignData) GetBytesToSign() []byte }
type SignData ¶
type SignData struct { ValAddress github_com_cosmos_cosmos_sdk_types.ValAddress `` /* 128-byte string literal not displayed */ Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` ExtraData []byte `protobuf:"bytes,3,opt,name=extraData,proto3" json:"extraData,omitempty"` ExternalAccountAddress string `protobuf:"bytes,4,opt,name=externalAccountAddress,proto3" json:"externalAccountAddress,omitempty"` PublicKey []byte `protobuf:"bytes,5,opt,name=publicKey,proto3" json:"publicKey,omitempty"` }
func (*SignData) Descriptor ¶
func (*SignData) GetExternalAccountAddress ¶
func (*SignData) GetExtraData ¶
func (*SignData) GetPublicKey ¶
func (*SignData) GetSignature ¶
func (*SignData) GetValAddress ¶
func (m *SignData) GetValAddress() github_com_cosmos_cosmos_sdk_types.ValAddress
func (*SignData) MarshalToSizedBuffer ¶
func (*SignData) ProtoMessage ¶
func (*SignData) ProtoMessage()
func (*SignData) XXX_DiscardUnknown ¶
func (m *SignData) XXX_DiscardUnknown()
func (*SignData) XXX_Marshal ¶
func (*SignData) XXX_Unmarshal ¶
type SignSmartContractExecute ¶
type SignSmartContractExecute struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}
THIS IS ONLY TEPORARY HERE TO TEST THINGS OUT
func (*SignSmartContractExecute) Descriptor ¶
func (*SignSmartContractExecute) Descriptor() ([]byte, []int)
func (*SignSmartContractExecute) GetId ¶
func (m *SignSmartContractExecute) GetId() uint64
func (*SignSmartContractExecute) Marshal ¶
func (m *SignSmartContractExecute) Marshal() (dAtA []byte, err error)
func (*SignSmartContractExecute) MarshalTo ¶
func (m *SignSmartContractExecute) MarshalTo(dAtA []byte) (int, error)
func (*SignSmartContractExecute) MarshalToSizedBuffer ¶
func (m *SignSmartContractExecute) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignSmartContractExecute) ProtoMessage ¶
func (*SignSmartContractExecute) ProtoMessage()
func (*SignSmartContractExecute) Reset ¶
func (m *SignSmartContractExecute) Reset()
func (*SignSmartContractExecute) Size ¶
func (m *SignSmartContractExecute) Size() (n int)
func (*SignSmartContractExecute) String ¶
func (m *SignSmartContractExecute) String() string
func (*SignSmartContractExecute) Unmarshal ¶
func (m *SignSmartContractExecute) Unmarshal(dAtA []byte) error
func (*SignSmartContractExecute) XXX_DiscardUnknown ¶
func (m *SignSmartContractExecute) XXX_DiscardUnknown()
func (*SignSmartContractExecute) XXX_Marshal ¶
func (m *SignSmartContractExecute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignSmartContractExecute) XXX_Merge ¶
func (m *SignSmartContractExecute) XXX_Merge(src proto.Message)
func (*SignSmartContractExecute) XXX_Size ¶
func (m *SignSmartContractExecute) XXX_Size() int
func (*SignSmartContractExecute) XXX_Unmarshal ¶
func (m *SignSmartContractExecute) XXX_Unmarshal(b []byte) error
type SimpleMessage ¶
type SimpleMessage struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Hello string `protobuf:"bytes,2,opt,name=hello,proto3" json:"hello,omitempty"` World string `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"` }
func (*SimpleMessage) Attest ¶
func (msg *SimpleMessage) Attest()
func (*SimpleMessage) ConsensusSignBytes ¶
func (msg *SimpleMessage) ConsensusSignBytes() BytesToSignFunc
func (*SimpleMessage) Descriptor ¶
func (*SimpleMessage) Descriptor() ([]byte, []int)
func (*SimpleMessage) GetHello ¶
func (m *SimpleMessage) GetHello() string
func (*SimpleMessage) GetSender ¶
func (m *SimpleMessage) GetSender() string
func (*SimpleMessage) GetSignBytes ¶
func (msg *SimpleMessage) GetSignBytes() []byte
func (*SimpleMessage) GetWorld ¶
func (m *SimpleMessage) GetWorld() string
func (*SimpleMessage) Marshal ¶
func (m *SimpleMessage) Marshal() (dAtA []byte, err error)
func (*SimpleMessage) MarshalToSizedBuffer ¶
func (m *SimpleMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SimpleMessage) ProtoMessage ¶
func (*SimpleMessage) ProtoMessage()
func (*SimpleMessage) Reset ¶
func (m *SimpleMessage) Reset()
func (*SimpleMessage) Size ¶
func (m *SimpleMessage) Size() (n int)
func (*SimpleMessage) String ¶
func (m *SimpleMessage) String() string
func (*SimpleMessage) Unmarshal ¶
func (m *SimpleMessage) Unmarshal(dAtA []byte) error
func (*SimpleMessage) XXX_DiscardUnknown ¶
func (m *SimpleMessage) XXX_DiscardUnknown()
func (*SimpleMessage) XXX_Marshal ¶
func (m *SimpleMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SimpleMessage) XXX_Merge ¶
func (m *SimpleMessage) XXX_Merge(src proto.Message)
func (*SimpleMessage) XXX_Size ¶
func (m *SimpleMessage) XXX_Size() int
func (*SimpleMessage) XXX_Unmarshal ¶
func (m *SimpleMessage) XXX_Unmarshal(b []byte) error
type TypeChecker ¶
func BatchedTypeChecker ¶
func BatchedTypeChecker(static TypeChecker) TypeChecker
func StaticTypeChecker ¶
func StaticTypeChecker(typ any) TypeChecker
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AddMessagesSignatures ¶
func (*UnimplementedMsgServer) AddMessagesSignatures(ctx context.Context, req *MsgAddMessagesSignatures) (*MsgAddMessagesSignaturesResponse, error)
func (*UnimplementedMsgServer) DeleteJob ¶
func (*UnimplementedMsgServer) DeleteJob(ctx context.Context, req *MsgDeleteJob) (*MsgDeleteJobResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) GetAllQueueNames ¶
func (*UnimplementedQueryServer) GetAllQueueNames(ctx context.Context, req *QueryGetAllQueueNamesRequest) (*QueryGetAllQueueNamesResponse, error)
func (*UnimplementedQueryServer) MessagesInQueue ¶
func (*UnimplementedQueryServer) MessagesInQueue(ctx context.Context, req *QueryMessagesInQueueRequest) (*QueryMessagesInQueueResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) QueuedMessagesForSigning ¶
func (*UnimplementedQueryServer) QueuedMessagesForSigning(ctx context.Context, req *QueryQueuedMessagesForSigningRequest) (*QueryQueuedMessagesForSigningResponse, error)
type ValidatorSignature ¶
type ValidatorSignature struct { ValAddress github_com_cosmos_cosmos_sdk_types.ValAddress `` /* 128-byte string literal not displayed */ Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` ExtraData []byte `protobuf:"bytes,3,opt,name=extraData,proto3" json:"extraData,omitempty"` ExternalAccountAddress string `protobuf:"bytes,4,opt,name=externalAccountAddress,proto3" json:"externalAccountAddress,omitempty"` PublicKey []byte `protobuf:"bytes,5,opt,name=publicKey,proto3" json:"publicKey,omitempty"` }
func (*ValidatorSignature) Descriptor ¶
func (*ValidatorSignature) Descriptor() ([]byte, []int)
func (*ValidatorSignature) GetExternalAccountAddress ¶
func (m *ValidatorSignature) GetExternalAccountAddress() string
func (*ValidatorSignature) GetExtraData ¶
func (m *ValidatorSignature) GetExtraData() []byte
func (*ValidatorSignature) GetPublicKey ¶
func (m *ValidatorSignature) GetPublicKey() []byte
func (*ValidatorSignature) GetSignature ¶
func (m *ValidatorSignature) GetSignature() []byte
func (*ValidatorSignature) GetValAddress ¶
func (m *ValidatorSignature) GetValAddress() github_com_cosmos_cosmos_sdk_types.ValAddress
func (*ValidatorSignature) Marshal ¶
func (m *ValidatorSignature) Marshal() (dAtA []byte, err error)
func (*ValidatorSignature) MarshalTo ¶
func (m *ValidatorSignature) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorSignature) MarshalToSizedBuffer ¶
func (m *ValidatorSignature) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorSignature) ProtoMessage ¶
func (*ValidatorSignature) ProtoMessage()
func (*ValidatorSignature) Reset ¶
func (m *ValidatorSignature) Reset()
func (*ValidatorSignature) Size ¶
func (m *ValidatorSignature) Size() (n int)
func (*ValidatorSignature) String ¶
func (m *ValidatorSignature) String() string
func (*ValidatorSignature) Unmarshal ¶
func (m *ValidatorSignature) Unmarshal(dAtA []byte) error
func (*ValidatorSignature) XXX_DiscardUnknown ¶
func (m *ValidatorSignature) XXX_DiscardUnknown()
func (*ValidatorSignature) XXX_Marshal ¶
func (m *ValidatorSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorSignature) XXX_Merge ¶
func (m *ValidatorSignature) XXX_Merge(src proto.Message)
func (*ValidatorSignature) XXX_Size ¶
func (m *ValidatorSignature) XXX_Size() int
func (*ValidatorSignature) XXX_Unmarshal ¶
func (m *ValidatorSignature) XXX_Unmarshal(b []byte) error
type ValsetKeeper ¶
Source Files ¶
- attest.go
- chain_type.go
- codec.go
- consensus.go
- consensus_queue.pb.go
- errors.go
- events_ibc.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- keys.go
- message_add_messages_signatures.go
- message_delete_job.go
- packet.pb.go
- params.go
- params.pb.go
- query.pb.go
- query.pb.gw.go
- signing_messages.pb.go
- simple_message.go
- simple_test_message.pb.go
- tx.pb.go
- type_checker.go
- types.go