Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GetSenderKey() []byte
- func GetStateRootKey() []byte
- func GetTransactionDataKey() []byte
- func ParamKeyTable() paramtypes.KeyTable
- 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)
- type Account
- func (*Account) Descriptor() ([]byte, []int)
- func (m *Account) GetData() string
- func (m *Account) GetExecutable() bool
- func (m *Account) GetLamports() uint64
- func (m *Account) GetOwner() string
- func (m *Account) GetPubkey() string
- func (m *Account) GetRentEpoch() uint64
- func (m *Account) GetSlot() uint64
- func (m *Account) Marshal() (dAtA []byte, err error)
- func (m *Account) MarshalTo(dAtA []byte) (int, error)
- func (m *Account) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Account) ProtoMessage()
- func (m *Account) Reset()
- func (m *Account) Size() (n int)
- func (m *Account) String() string
- func (m *Account) Unmarshal(dAtA []byte) error
- func (m *Account) XXX_DiscardUnknown()
- func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Account) XXX_Merge(src proto.Message)
- func (m *Account) XXX_Size() int
- func (m *Account) XXX_Unmarshal(b []byte) error
- type CompiledInstruction
- func (*CompiledInstruction) Descriptor() ([]byte, []int)
- func (m *CompiledInstruction) GetAccounts() []uint32
- func (m *CompiledInstruction) GetData() string
- func (m *CompiledInstruction) GetProgramIdIndex() uint32
- func (m *CompiledInstruction) Marshal() (dAtA []byte, err error)
- func (m *CompiledInstruction) MarshalTo(dAtA []byte) (int, error)
- func (m *CompiledInstruction) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CompiledInstruction) ProtoMessage()
- func (m *CompiledInstruction) Reset()
- func (m *CompiledInstruction) Size() (n int)
- func (m *CompiledInstruction) String() string
- func (m *CompiledInstruction) Unmarshal(dAtA []byte) error
- func (m *CompiledInstruction) XXX_DiscardUnknown()
- func (m *CompiledInstruction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CompiledInstruction) XXX_Merge(src proto.Message)
- func (m *CompiledInstruction) XXX_Size() int
- func (m *CompiledInstruction) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetSender() string
- func (m *GenesisState) GetSlot() uint64
- func (m *GenesisState) GetStateRoot() string
- func (m *GenesisState) GetTxs() []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 LegacyMessage
- func (*LegacyMessage) Descriptor() ([]byte, []int)
- func (m *LegacyMessage) GetAccountKeys() []string
- func (m *LegacyMessage) GetHeader() *MessageHeader
- func (m *LegacyMessage) GetInstructions() []*CompiledInstruction
- func (m *LegacyMessage) GetRecentBlockhash() string
- func (m *LegacyMessage) Marshal() (dAtA []byte, err error)
- func (m *LegacyMessage) MarshalTo(dAtA []byte) (int, error)
- func (m *LegacyMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LegacyMessage) ProtoMessage()
- func (m *LegacyMessage) Reset()
- func (m *LegacyMessage) Size() (n int)
- func (m *LegacyMessage) String() string
- func (m *LegacyMessage) Unmarshal(dAtA []byte) error
- func (m *LegacyMessage) XXX_DiscardUnknown()
- func (m *LegacyMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LegacyMessage) XXX_Merge(src proto.Message)
- func (m *LegacyMessage) XXX_Size() int
- func (m *LegacyMessage) XXX_Unmarshal(b []byte) error
- type LoadedAddresses
- func (*LoadedAddresses) Descriptor() ([]byte, []int)
- func (m *LoadedAddresses) GetReadonly() []string
- func (m *LoadedAddresses) GetWritable() []string
- func (m *LoadedAddresses) Marshal() (dAtA []byte, err error)
- func (m *LoadedAddresses) MarshalTo(dAtA []byte) (int, error)
- func (m *LoadedAddresses) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LoadedAddresses) ProtoMessage()
- func (m *LoadedAddresses) Reset()
- func (m *LoadedAddresses) Size() (n int)
- func (m *LoadedAddresses) String() string
- func (m *LoadedAddresses) Unmarshal(dAtA []byte) error
- func (m *LoadedAddresses) XXX_DiscardUnknown()
- func (m *LoadedAddresses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoadedAddresses) XXX_Merge(src proto.Message)
- func (m *LoadedAddresses) XXX_Size() int
- func (m *LoadedAddresses) XXX_Unmarshal(b []byte) error
- type LoadedMessage
- func (*LoadedMessage) Descriptor() ([]byte, []int)
- func (m *LoadedMessage) GetLoadedAddresses() *LoadedAddresses
- func (m *LoadedMessage) GetMessage() *Message
- func (m *LoadedMessage) Marshal() (dAtA []byte, err error)
- func (m *LoadedMessage) MarshalTo(dAtA []byte) (int, error)
- func (m *LoadedMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LoadedMessage) ProtoMessage()
- func (m *LoadedMessage) Reset()
- func (m *LoadedMessage) Size() (n int)
- func (m *LoadedMessage) String() string
- func (m *LoadedMessage) Unmarshal(dAtA []byte) error
- func (m *LoadedMessage) XXX_DiscardUnknown()
- func (m *LoadedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoadedMessage) XXX_Merge(src proto.Message)
- func (m *LoadedMessage) XXX_Size() int
- func (m *LoadedMessage) XXX_Unmarshal(b []byte) error
- type MerkleProof
- func (*MerkleProof) Descriptor() ([]byte, []int)
- func (m *MerkleProof) GetCommitment() string
- func (m *MerkleProof) GetDirection() []int64
- func (m *MerkleProof) GetHash() []string
- func (m *MerkleProof) Marshal() (dAtA []byte, err error)
- func (m *MerkleProof) MarshalTo(dAtA []byte) (int, error)
- func (m *MerkleProof) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MerkleProof) ProtoMessage()
- func (m *MerkleProof) Reset()
- func (m *MerkleProof) Size() (n int)
- func (m *MerkleProof) String() string
- func (m *MerkleProof) Unmarshal(dAtA []byte) error
- func (m *MerkleProof) XXX_DiscardUnknown()
- func (m *MerkleProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MerkleProof) XXX_Merge(src proto.Message)
- func (m *MerkleProof) XXX_Size() int
- func (m *MerkleProof) XXX_Unmarshal(b []byte) error
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetAccountKeys() []string
- func (m *Message) GetAddressTableLookups() []*MessageAddressTableLookup
- func (m *Message) GetHeader() *MessageHeader
- func (m *Message) GetInstructions() []*CompiledInstruction
- func (m *Message) GetRecentBlockhash() string
- func (m *Message) Marshal() (dAtA []byte, err error)
- func (m *Message) MarshalTo(dAtA []byte) (int, error)
- func (m *Message) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) Size() (n int)
- func (m *Message) String() string
- func (m *Message) Unmarshal(dAtA []byte) error
- func (m *Message) XXX_DiscardUnknown()
- func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Message) XXX_Merge(src proto.Message)
- func (m *Message) XXX_Size() int
- func (m *Message) XXX_Unmarshal(b []byte) error
- type MessageAddressTableLookup
- func (*MessageAddressTableLookup) Descriptor() ([]byte, []int)
- func (m *MessageAddressTableLookup) GetAccountKey() string
- func (m *MessageAddressTableLookup) GetReadonlyIndexes() []uint32
- func (m *MessageAddressTableLookup) GetWritableIndexes() []uint32
- func (m *MessageAddressTableLookup) Marshal() (dAtA []byte, err error)
- func (m *MessageAddressTableLookup) MarshalTo(dAtA []byte) (int, error)
- func (m *MessageAddressTableLookup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MessageAddressTableLookup) ProtoMessage()
- func (m *MessageAddressTableLookup) Reset()
- func (m *MessageAddressTableLookup) Size() (n int)
- func (m *MessageAddressTableLookup) String() string
- func (m *MessageAddressTableLookup) Unmarshal(dAtA []byte) error
- func (m *MessageAddressTableLookup) XXX_DiscardUnknown()
- func (m *MessageAddressTableLookup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageAddressTableLookup) XXX_Merge(src proto.Message)
- func (m *MessageAddressTableLookup) XXX_Size() int
- func (m *MessageAddressTableLookup) XXX_Unmarshal(b []byte) error
- type MessageHeader
- func (*MessageHeader) Descriptor() ([]byte, []int)
- func (m *MessageHeader) GetNumReadonlySignedAccounts() uint32
- func (m *MessageHeader) GetNumReadonlyUnsignedAccounts() uint32
- func (m *MessageHeader) GetNumRequiredSignatures() uint32
- func (m *MessageHeader) Marshal() (dAtA []byte, err error)
- func (m *MessageHeader) MarshalTo(dAtA []byte) (int, error)
- func (m *MessageHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MessageHeader) ProtoMessage()
- func (m *MessageHeader) Reset()
- func (m *MessageHeader) Size() (n int)
- func (m *MessageHeader) String() string
- func (m *MessageHeader) Unmarshal(dAtA []byte) error
- func (m *MessageHeader) XXX_DiscardUnknown()
- func (m *MessageHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MessageHeader) XXX_Merge(src proto.Message)
- func (m *MessageHeader) XXX_Size() int
- func (m *MessageHeader) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgRecordTransactionData
- func (*MsgRecordTransactionData) Descriptor() ([]byte, []int)
- func (m *MsgRecordTransactionData) GetSender() string
- func (m MsgRecordTransactionData) GetSignBytes() []byte
- func (m MsgRecordTransactionData) GetSigners() []sdk.AccAddress
- func (m *MsgRecordTransactionData) GetSlot() uint64
- func (m *MsgRecordTransactionData) GetStateRoot() string
- func (m *MsgRecordTransactionData) GetTxs() []string
- func (m *MsgRecordTransactionData) Marshal() (dAtA []byte, err error)
- func (m *MsgRecordTransactionData) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRecordTransactionData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRecordTransactionData) ProtoMessage()
- func (m *MsgRecordTransactionData) Reset()
- func (m MsgRecordTransactionData) Route() string
- func (m *MsgRecordTransactionData) Size() (n int)
- func (m *MsgRecordTransactionData) String() string
- func (m MsgRecordTransactionData) Type() string
- func (m *MsgRecordTransactionData) Unmarshal(dAtA []byte) error
- func (m MsgRecordTransactionData) ValidateBasic() error
- func (m *MsgRecordTransactionData) XXX_DiscardUnknown()
- func (m *MsgRecordTransactionData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRecordTransactionData) XXX_Merge(src proto.Message)
- func (m *MsgRecordTransactionData) XXX_Size() int
- func (m *MsgRecordTransactionData) XXX_Unmarshal(b []byte) error
- type MsgRecordTransactionDataResponse
- func (*MsgRecordTransactionDataResponse) Descriptor() ([]byte, []int)
- func (m *MsgRecordTransactionDataResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRecordTransactionDataResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRecordTransactionDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRecordTransactionDataResponse) ProtoMessage()
- func (m *MsgRecordTransactionDataResponse) Reset()
- func (m *MsgRecordTransactionDataResponse) Size() (n int)
- func (m *MsgRecordTransactionDataResponse) String() string
- func (m *MsgRecordTransactionDataResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRecordTransactionDataResponse) XXX_DiscardUnknown()
- func (m *MsgRecordTransactionDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRecordTransactionDataResponse) XXX_Merge(src proto.Message)
- func (m *MsgRecordTransactionDataResponse) XXX_Size() int
- func (m *MsgRecordTransactionDataResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSubmitFraudChallenge
- func (*MsgSubmitFraudChallenge) Descriptor() ([]byte, []int)
- func (m *MsgSubmitFraudChallenge) GetAccountStates() []*Account
- func (m *MsgSubmitFraudChallenge) GetEndSlot() uint64
- func (m *MsgSubmitFraudChallenge) GetFraudStatePubKey() string
- func (m *MsgSubmitFraudChallenge) GetMerkleProof() *MerkleProof
- func (m *MsgSubmitFraudChallenge) GetPrograms() []*Account
- func (m *MsgSubmitFraudChallenge) GetSender() string
- func (m MsgSubmitFraudChallenge) GetSignBytes() []byte
- func (m MsgSubmitFraudChallenge) GetSigners() []sdk.AccAddress
- func (m *MsgSubmitFraudChallenge) GetStartSlot() uint64
- func (m *MsgSubmitFraudChallenge) GetSysvarAccounts() []*Account
- func (m *MsgSubmitFraudChallenge) Marshal() (dAtA []byte, err error)
- func (m *MsgSubmitFraudChallenge) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSubmitFraudChallenge) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSubmitFraudChallenge) ProtoMessage()
- func (m *MsgSubmitFraudChallenge) Reset()
- func (m MsgSubmitFraudChallenge) Route() string
- func (m *MsgSubmitFraudChallenge) Size() (n int)
- func (m *MsgSubmitFraudChallenge) String() string
- func (m MsgSubmitFraudChallenge) Type() string
- func (m *MsgSubmitFraudChallenge) Unmarshal(dAtA []byte) error
- func (m MsgSubmitFraudChallenge) ValidateBasic() error
- func (m *MsgSubmitFraudChallenge) XXX_DiscardUnknown()
- func (m *MsgSubmitFraudChallenge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSubmitFraudChallenge) XXX_Merge(src proto.Message)
- func (m *MsgSubmitFraudChallenge) XXX_Size() int
- func (m *MsgSubmitFraudChallenge) XXX_Unmarshal(b []byte) error
- type MsgSubmitFraudChallengeResponse
- func (*MsgSubmitFraudChallengeResponse) Descriptor() ([]byte, []int)
- func (m *MsgSubmitFraudChallengeResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSubmitFraudChallengeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSubmitFraudChallengeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSubmitFraudChallengeResponse) ProtoMessage()
- func (m *MsgSubmitFraudChallengeResponse) Reset()
- func (m *MsgSubmitFraudChallengeResponse) Size() (n int)
- func (m *MsgSubmitFraudChallengeResponse) String() string
- func (m *MsgSubmitFraudChallengeResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSubmitFraudChallengeResponse) XXX_DiscardUnknown()
- func (m *MsgSubmitFraudChallengeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSubmitFraudChallengeResponse) XXX_Merge(src proto.Message)
- func (m *MsgSubmitFraudChallengeResponse) XXX_Size() int
- func (m *MsgSubmitFraudChallengeResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetWhitelistedTxSenders() []string
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryClient
- type 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 QueryRecordedTransactionDataRequest
- func (*QueryRecordedTransactionDataRequest) Descriptor() ([]byte, []int)
- func (m *QueryRecordedTransactionDataRequest) GetSlot() uint64
- func (m *QueryRecordedTransactionDataRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryRecordedTransactionDataRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRecordedTransactionDataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRecordedTransactionDataRequest) ProtoMessage()
- func (m *QueryRecordedTransactionDataRequest) Reset()
- func (m *QueryRecordedTransactionDataRequest) Size() (n int)
- func (m *QueryRecordedTransactionDataRequest) String() string
- func (m *QueryRecordedTransactionDataRequest) Unmarshal(dAtA []byte) error
- func (m *QueryRecordedTransactionDataRequest) XXX_DiscardUnknown()
- func (m *QueryRecordedTransactionDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRecordedTransactionDataRequest) XXX_Merge(src proto.Message)
- func (m *QueryRecordedTransactionDataRequest) XXX_Size() int
- func (m *QueryRecordedTransactionDataRequest) XXX_Unmarshal(b []byte) error
- type QueryRecordedTransactionDataResponse
- func (*QueryRecordedTransactionDataResponse) Descriptor() ([]byte, []int)
- func (m *QueryRecordedTransactionDataResponse) GetTxs() []string
- func (m *QueryRecordedTransactionDataResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryRecordedTransactionDataResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRecordedTransactionDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRecordedTransactionDataResponse) ProtoMessage()
- func (m *QueryRecordedTransactionDataResponse) Reset()
- func (m *QueryRecordedTransactionDataResponse) Size() (n int)
- func (m *QueryRecordedTransactionDataResponse) String() string
- func (m *QueryRecordedTransactionDataResponse) Unmarshal(dAtA []byte) error
- func (m *QueryRecordedTransactionDataResponse) XXX_DiscardUnknown()
- func (m *QueryRecordedTransactionDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRecordedTransactionDataResponse) XXX_Merge(src proto.Message)
- func (m *QueryRecordedTransactionDataResponse) XXX_Size() int
- func (m *QueryRecordedTransactionDataResponse) XXX_Unmarshal(b []byte) error
- type QuerySenderRequest
- func (*QuerySenderRequest) Descriptor() ([]byte, []int)
- func (m *QuerySenderRequest) GetSlot() uint64
- func (m *QuerySenderRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySenderRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySenderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySenderRequest) ProtoMessage()
- func (m *QuerySenderRequest) Reset()
- func (m *QuerySenderRequest) Size() (n int)
- func (m *QuerySenderRequest) String() string
- func (m *QuerySenderRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySenderRequest) XXX_DiscardUnknown()
- func (m *QuerySenderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySenderRequest) XXX_Merge(src proto.Message)
- func (m *QuerySenderRequest) XXX_Size() int
- func (m *QuerySenderRequest) XXX_Unmarshal(b []byte) error
- type QuerySenderResponse
- func (*QuerySenderResponse) Descriptor() ([]byte, []int)
- func (m *QuerySenderResponse) GetSender() string
- func (m *QuerySenderResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySenderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySenderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySenderResponse) ProtoMessage()
- func (m *QuerySenderResponse) Reset()
- func (m *QuerySenderResponse) Size() (n int)
- func (m *QuerySenderResponse) String() string
- func (m *QuerySenderResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySenderResponse) XXX_DiscardUnknown()
- func (m *QuerySenderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySenderResponse) XXX_Merge(src proto.Message)
- func (m *QuerySenderResponse) XXX_Size() int
- func (m *QuerySenderResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryStateRootRequest
- func (*QueryStateRootRequest) Descriptor() ([]byte, []int)
- func (m *QueryStateRootRequest) GetSlot() uint64
- func (m *QueryStateRootRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryStateRootRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStateRootRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStateRootRequest) ProtoMessage()
- func (m *QueryStateRootRequest) Reset()
- func (m *QueryStateRootRequest) Size() (n int)
- func (m *QueryStateRootRequest) String() string
- func (m *QueryStateRootRequest) Unmarshal(dAtA []byte) error
- func (m *QueryStateRootRequest) XXX_DiscardUnknown()
- func (m *QueryStateRootRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStateRootRequest) XXX_Merge(src proto.Message)
- func (m *QueryStateRootRequest) XXX_Size() int
- func (m *QueryStateRootRequest) XXX_Unmarshal(b []byte) error
- type QueryStateRootResponse
- func (*QueryStateRootResponse) Descriptor() ([]byte, []int)
- func (m *QueryStateRootResponse) GetRoot() string
- func (m *QueryStateRootResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryStateRootResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStateRootResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStateRootResponse) ProtoMessage()
- func (m *QueryStateRootResponse) Reset()
- func (m *QueryStateRootResponse) Size() (n int)
- func (m *QueryStateRootResponse) String() string
- func (m *QueryStateRootResponse) Unmarshal(dAtA []byte) error
- func (m *QueryStateRootResponse) XXX_DiscardUnknown()
- func (m *QueryStateRootResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStateRootResponse) XXX_Merge(src proto.Message)
- func (m *QueryStateRootResponse) XXX_Size() int
- func (m *QueryStateRootResponse) XXX_Unmarshal(b []byte) error
- type TransactionData
- func (*TransactionData) Descriptor() ([]byte, []int)
- func (m *TransactionData) GetIsVote() bool
- func (m *TransactionData) GetLegacyMessage() *LegacyMessage
- func (m *TransactionData) GetMessageHash() string
- func (m *TransactionData) GetMessageType() uint64
- func (m *TransactionData) GetSignature() string
- func (m *TransactionData) GetSignatures() []string
- func (m *TransactionData) GetSlot() uint64
- func (m *TransactionData) GetV0LoadedMessage() *LoadedMessage
- func (m *TransactionData) GetWriteVersion() uint64
- func (m *TransactionData) Marshal() (dAtA []byte, err error)
- func (m *TransactionData) MarshalTo(dAtA []byte) (int, error)
- func (m *TransactionData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TransactionData) ProtoMessage()
- func (m *TransactionData) Reset()
- func (m *TransactionData) Size() (n int)
- func (m *TransactionData) String() string
- func (m *TransactionData) Unmarshal(dAtA []byte) error
- func (m *TransactionData) XXX_DiscardUnknown()
- func (m *TransactionData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionData) XXX_Merge(src proto.Message)
- func (m *TransactionData) XXX_Size() int
- func (m *TransactionData) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) RecordedTransactionData(ctx context.Context, req *QueryRecordedTransactionDataRequest) (*QueryRecordedTransactionDataResponse, error)
- func (*UnimplementedQueryServer) Sender(ctx context.Context, req *QuerySenderRequest) (*QuerySenderResponse, error)
- func (*UnimplementedQueryServer) StateRoot(ctx context.Context, req *QueryStateRootRequest) (*QueryStateRootResponse, error)
Constants ¶
const ( ModuleName = "nitro" StoreKey = ModuleName RouterKey = ModuleName QuerierRoute = ModuleName MemStoreKey = "mem_nitro" )
const (
TypeMsgRecordTransactionData = "record_transaction_data"
)
constants
Variables ¶
var ( ErrInvalidLengthAccount = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAccount = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAccount = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthData = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowData = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupData = fmt.Errorf("proto: unexpected end of group") )
var ( ErrValidateMerkleProof = sdkerrors.Register(ModuleName, 2, "Error validating merkle proof: hash and direction sizes are not the same") ErrInvalidMerkleProof = sdkerrors.Register(ModuleName, 3, "Error invalid merkle proof") ErrInvalidAccountState = sdkerrors.Register(ModuleName, 4, "Error invalid provided account state") ErrInvalidFraudStatePubkey = sdkerrors.Register(ModuleName, 6, "Error invalid provided fraud state public key") )
x/nitro 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 ( TransactionDataKey = "transactiondata" StateRootKey = "stateroot" SenderKey = "sender" )
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 ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var (
KeyWhitelistedTxSenders = []byte("WhitelistedTxSenders")
)
Parameter store keys.
var ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry())
Functions ¶
func GetSenderKey ¶
func GetSenderKey() []byte
func GetStateRootKey ¶
func GetStateRootKey() []byte
func GetTransactionDataKey ¶
func GetTransactionDataKey() []byte
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)
Types ¶
type Account ¶
type Account struct { Pubkey string `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner"` Lamports uint64 `protobuf:"varint,3,opt,name=lamports,proto3" json:"lamports"` Slot uint64 `protobuf:"varint,4,opt,name=slot,proto3" json:"slot"` Executable bool `protobuf:"varint,5,opt,name=executable,proto3" json:"executable"` RentEpoch uint64 `protobuf:"varint,6,opt,name=rent_epoch,json=rentEpoch,proto3" json:"rent_epoch"` Data string `protobuf:"bytes,7,opt,name=data,proto3" json:"data"` }
func (*Account) Descriptor ¶
func (*Account) GetExecutable ¶
func (*Account) GetLamports ¶
func (*Account) GetRentEpoch ¶
func (*Account) MarshalToSizedBuffer ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) XXX_DiscardUnknown ¶
func (m *Account) XXX_DiscardUnknown()
func (*Account) XXX_Marshal ¶
func (*Account) XXX_Unmarshal ¶
type CompiledInstruction ¶
type CompiledInstruction struct { ProgramIdIndex uint32 `protobuf:"varint,1,opt,name=program_id_index,json=programIdIndex,proto3" json:"program_id_index"` Accounts []uint32 `protobuf:"varint,2,rep,packed,name=accounts,proto3" json:"accounts"` Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data"` }
func (*CompiledInstruction) Descriptor ¶
func (*CompiledInstruction) Descriptor() ([]byte, []int)
func (*CompiledInstruction) GetAccounts ¶
func (m *CompiledInstruction) GetAccounts() []uint32
func (*CompiledInstruction) GetData ¶
func (m *CompiledInstruction) GetData() string
func (*CompiledInstruction) GetProgramIdIndex ¶
func (m *CompiledInstruction) GetProgramIdIndex() uint32
func (*CompiledInstruction) Marshal ¶
func (m *CompiledInstruction) Marshal() (dAtA []byte, err error)
func (*CompiledInstruction) MarshalTo ¶
func (m *CompiledInstruction) MarshalTo(dAtA []byte) (int, error)
func (*CompiledInstruction) MarshalToSizedBuffer ¶
func (m *CompiledInstruction) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CompiledInstruction) ProtoMessage ¶
func (*CompiledInstruction) ProtoMessage()
func (*CompiledInstruction) Reset ¶
func (m *CompiledInstruction) Reset()
func (*CompiledInstruction) Size ¶
func (m *CompiledInstruction) Size() (n int)
func (*CompiledInstruction) String ¶
func (m *CompiledInstruction) String() string
func (*CompiledInstruction) Unmarshal ¶
func (m *CompiledInstruction) Unmarshal(dAtA []byte) error
func (*CompiledInstruction) XXX_DiscardUnknown ¶
func (m *CompiledInstruction) XXX_DiscardUnknown()
func (*CompiledInstruction) XXX_Marshal ¶
func (m *CompiledInstruction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CompiledInstruction) XXX_Merge ¶
func (m *CompiledInstruction) XXX_Merge(src proto.Message)
func (*CompiledInstruction) XXX_Size ¶
func (m *CompiledInstruction) XXX_Size() int
func (*CompiledInstruction) XXX_Unmarshal ¶
func (m *CompiledInstruction) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` Slot uint64 `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty"` Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"` StateRoot string `protobuf:"bytes,4,opt,name=stateRoot,proto3" json:"stateRoot,omitempty"` Txs []string `protobuf:"bytes,5,rep,name=txs,proto3" json:"txs,omitempty"` }
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetSender ¶
func (m *GenesisState) GetSender() string
func (*GenesisState) GetSlot ¶
func (m *GenesisState) GetSlot() uint64
func (*GenesisState) GetStateRoot ¶
func (m *GenesisState) GetStateRoot() string
func (*GenesisState) GetTxs ¶
func (m *GenesisState) GetTxs() []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
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 LegacyMessage ¶
type LegacyMessage struct { Header *MessageHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header"` AccountKeys []string `protobuf:"bytes,2,rep,name=account_keys,json=accountKeys,proto3" json:"account_keys"` RecentBlockhash string `protobuf:"bytes,3,opt,name=recent_blockhash,json=recentBlockhash,proto3" json:"recent_blockhash"` Instructions []*CompiledInstruction `protobuf:"bytes,4,rep,name=instructions,proto3" json:"instructions"` }
func (*LegacyMessage) Descriptor ¶
func (*LegacyMessage) Descriptor() ([]byte, []int)
func (*LegacyMessage) GetAccountKeys ¶
func (m *LegacyMessage) GetAccountKeys() []string
func (*LegacyMessage) GetHeader ¶
func (m *LegacyMessage) GetHeader() *MessageHeader
func (*LegacyMessage) GetInstructions ¶
func (m *LegacyMessage) GetInstructions() []*CompiledInstruction
func (*LegacyMessage) GetRecentBlockhash ¶
func (m *LegacyMessage) GetRecentBlockhash() string
func (*LegacyMessage) Marshal ¶
func (m *LegacyMessage) Marshal() (dAtA []byte, err error)
func (*LegacyMessage) MarshalToSizedBuffer ¶
func (m *LegacyMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LegacyMessage) ProtoMessage ¶
func (*LegacyMessage) ProtoMessage()
func (*LegacyMessage) Reset ¶
func (m *LegacyMessage) Reset()
func (*LegacyMessage) Size ¶
func (m *LegacyMessage) Size() (n int)
func (*LegacyMessage) String ¶
func (m *LegacyMessage) String() string
func (*LegacyMessage) Unmarshal ¶
func (m *LegacyMessage) Unmarshal(dAtA []byte) error
func (*LegacyMessage) XXX_DiscardUnknown ¶
func (m *LegacyMessage) XXX_DiscardUnknown()
func (*LegacyMessage) XXX_Marshal ¶
func (m *LegacyMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LegacyMessage) XXX_Merge ¶
func (m *LegacyMessage) XXX_Merge(src proto.Message)
func (*LegacyMessage) XXX_Size ¶
func (m *LegacyMessage) XXX_Size() int
func (*LegacyMessage) XXX_Unmarshal ¶
func (m *LegacyMessage) XXX_Unmarshal(b []byte) error
type LoadedAddresses ¶
type LoadedAddresses struct { Writable []string `protobuf:"bytes,1,rep,name=writable,proto3" json:"writable"` Readonly []string `protobuf:"bytes,2,rep,name=readonly,proto3" json:"readonly"` }
func (*LoadedAddresses) Descriptor ¶
func (*LoadedAddresses) Descriptor() ([]byte, []int)
func (*LoadedAddresses) GetReadonly ¶
func (m *LoadedAddresses) GetReadonly() []string
func (*LoadedAddresses) GetWritable ¶
func (m *LoadedAddresses) GetWritable() []string
func (*LoadedAddresses) Marshal ¶
func (m *LoadedAddresses) Marshal() (dAtA []byte, err error)
func (*LoadedAddresses) MarshalToSizedBuffer ¶
func (m *LoadedAddresses) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LoadedAddresses) ProtoMessage ¶
func (*LoadedAddresses) ProtoMessage()
func (*LoadedAddresses) Reset ¶
func (m *LoadedAddresses) Reset()
func (*LoadedAddresses) Size ¶
func (m *LoadedAddresses) Size() (n int)
func (*LoadedAddresses) String ¶
func (m *LoadedAddresses) String() string
func (*LoadedAddresses) Unmarshal ¶
func (m *LoadedAddresses) Unmarshal(dAtA []byte) error
func (*LoadedAddresses) XXX_DiscardUnknown ¶
func (m *LoadedAddresses) XXX_DiscardUnknown()
func (*LoadedAddresses) XXX_Marshal ¶
func (m *LoadedAddresses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoadedAddresses) XXX_Merge ¶
func (m *LoadedAddresses) XXX_Merge(src proto.Message)
func (*LoadedAddresses) XXX_Size ¶
func (m *LoadedAddresses) XXX_Size() int
func (*LoadedAddresses) XXX_Unmarshal ¶
func (m *LoadedAddresses) XXX_Unmarshal(b []byte) error
type LoadedMessage ¶
type LoadedMessage struct { Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message"` LoadedAddresses *LoadedAddresses `protobuf:"bytes,2,opt,name=loaded_addresses,json=loadedAddresses,proto3" json:"loaded_addresses"` }
func (*LoadedMessage) Descriptor ¶
func (*LoadedMessage) Descriptor() ([]byte, []int)
func (*LoadedMessage) GetLoadedAddresses ¶
func (m *LoadedMessage) GetLoadedAddresses() *LoadedAddresses
func (*LoadedMessage) GetMessage ¶
func (m *LoadedMessage) GetMessage() *Message
func (*LoadedMessage) Marshal ¶
func (m *LoadedMessage) Marshal() (dAtA []byte, err error)
func (*LoadedMessage) MarshalToSizedBuffer ¶
func (m *LoadedMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LoadedMessage) ProtoMessage ¶
func (*LoadedMessage) ProtoMessage()
func (*LoadedMessage) Reset ¶
func (m *LoadedMessage) Reset()
func (*LoadedMessage) Size ¶
func (m *LoadedMessage) Size() (n int)
func (*LoadedMessage) String ¶
func (m *LoadedMessage) String() string
func (*LoadedMessage) Unmarshal ¶
func (m *LoadedMessage) Unmarshal(dAtA []byte) error
func (*LoadedMessage) XXX_DiscardUnknown ¶
func (m *LoadedMessage) XXX_DiscardUnknown()
func (*LoadedMessage) XXX_Marshal ¶
func (m *LoadedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoadedMessage) XXX_Merge ¶
func (m *LoadedMessage) XXX_Merge(src proto.Message)
func (*LoadedMessage) XXX_Size ¶
func (m *LoadedMessage) XXX_Size() int
func (*LoadedMessage) XXX_Unmarshal ¶
func (m *LoadedMessage) XXX_Unmarshal(b []byte) error
type MerkleProof ¶
type MerkleProof struct { Commitment string `protobuf:"bytes,1,opt,name=commitment,proto3" json:"commitment"` Hash []string `protobuf:"bytes,2,rep,name=hash,proto3" json:"hash"` Direction []int64 `protobuf:"varint,3,rep,packed,name=direction,proto3" json:"direction"` }
func (*MerkleProof) Descriptor ¶
func (*MerkleProof) Descriptor() ([]byte, []int)
func (*MerkleProof) GetCommitment ¶
func (m *MerkleProof) GetCommitment() string
func (*MerkleProof) GetDirection ¶
func (m *MerkleProof) GetDirection() []int64
func (*MerkleProof) GetHash ¶
func (m *MerkleProof) GetHash() []string
func (*MerkleProof) Marshal ¶
func (m *MerkleProof) Marshal() (dAtA []byte, err error)
func (*MerkleProof) MarshalToSizedBuffer ¶
func (m *MerkleProof) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MerkleProof) ProtoMessage ¶
func (*MerkleProof) ProtoMessage()
func (*MerkleProof) Reset ¶
func (m *MerkleProof) Reset()
func (*MerkleProof) Size ¶
func (m *MerkleProof) Size() (n int)
func (*MerkleProof) String ¶
func (m *MerkleProof) String() string
func (*MerkleProof) Unmarshal ¶
func (m *MerkleProof) Unmarshal(dAtA []byte) error
func (*MerkleProof) XXX_DiscardUnknown ¶
func (m *MerkleProof) XXX_DiscardUnknown()
func (*MerkleProof) XXX_Marshal ¶
func (m *MerkleProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MerkleProof) XXX_Merge ¶
func (m *MerkleProof) XXX_Merge(src proto.Message)
func (*MerkleProof) XXX_Size ¶
func (m *MerkleProof) XXX_Size() int
func (*MerkleProof) XXX_Unmarshal ¶
func (m *MerkleProof) XXX_Unmarshal(b []byte) error
type Message ¶
type Message struct { Header *MessageHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header"` AccountKeys []string `protobuf:"bytes,2,rep,name=account_keys,json=accountKeys,proto3" json:"account_keys"` RecentBlockhash string `protobuf:"bytes,3,opt,name=recent_blockhash,json=recentBlockhash,proto3" json:"recent_blockhash"` Instructions []*CompiledInstruction `protobuf:"bytes,4,rep,name=instructions,proto3" json:"instructions"` AddressTableLookups []*MessageAddressTableLookup `protobuf:"bytes,5,rep,name=address_table_lookups,json=addressTableLookups,proto3" json:"address_table_lookups"` }
func (*Message) Descriptor ¶
func (*Message) GetAccountKeys ¶
func (*Message) GetAddressTableLookups ¶
func (m *Message) GetAddressTableLookups() []*MessageAddressTableLookup
func (*Message) GetHeader ¶
func (m *Message) GetHeader() *MessageHeader
func (*Message) GetInstructions ¶
func (m *Message) GetInstructions() []*CompiledInstruction
func (*Message) GetRecentBlockhash ¶
func (*Message) MarshalToSizedBuffer ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) XXX_DiscardUnknown ¶
func (m *Message) XXX_DiscardUnknown()
func (*Message) XXX_Marshal ¶
func (*Message) XXX_Unmarshal ¶
type MessageAddressTableLookup ¶
type MessageAddressTableLookup struct { AccountKey string `protobuf:"bytes,1,opt,name=account_key,json=accountKey,proto3" json:"account_key"` WritableIndexes []uint32 `protobuf:"varint,2,rep,packed,name=writable_indexes,json=writableIndexes,proto3" json:"writable_indexes"` ReadonlyIndexes []uint32 `protobuf:"varint,3,rep,packed,name=readonly_indexes,json=readonlyIndexes,proto3" json:"readonly_indexes"` }
func (*MessageAddressTableLookup) Descriptor ¶
func (*MessageAddressTableLookup) Descriptor() ([]byte, []int)
func (*MessageAddressTableLookup) GetAccountKey ¶
func (m *MessageAddressTableLookup) GetAccountKey() string
func (*MessageAddressTableLookup) GetReadonlyIndexes ¶
func (m *MessageAddressTableLookup) GetReadonlyIndexes() []uint32
func (*MessageAddressTableLookup) GetWritableIndexes ¶
func (m *MessageAddressTableLookup) GetWritableIndexes() []uint32
func (*MessageAddressTableLookup) Marshal ¶
func (m *MessageAddressTableLookup) Marshal() (dAtA []byte, err error)
func (*MessageAddressTableLookup) MarshalTo ¶
func (m *MessageAddressTableLookup) MarshalTo(dAtA []byte) (int, error)
func (*MessageAddressTableLookup) MarshalToSizedBuffer ¶
func (m *MessageAddressTableLookup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MessageAddressTableLookup) ProtoMessage ¶
func (*MessageAddressTableLookup) ProtoMessage()
func (*MessageAddressTableLookup) Reset ¶
func (m *MessageAddressTableLookup) Reset()
func (*MessageAddressTableLookup) Size ¶
func (m *MessageAddressTableLookup) Size() (n int)
func (*MessageAddressTableLookup) String ¶
func (m *MessageAddressTableLookup) String() string
func (*MessageAddressTableLookup) Unmarshal ¶
func (m *MessageAddressTableLookup) Unmarshal(dAtA []byte) error
func (*MessageAddressTableLookup) XXX_DiscardUnknown ¶
func (m *MessageAddressTableLookup) XXX_DiscardUnknown()
func (*MessageAddressTableLookup) XXX_Marshal ¶
func (m *MessageAddressTableLookup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageAddressTableLookup) XXX_Merge ¶
func (m *MessageAddressTableLookup) XXX_Merge(src proto.Message)
func (*MessageAddressTableLookup) XXX_Size ¶
func (m *MessageAddressTableLookup) XXX_Size() int
func (*MessageAddressTableLookup) XXX_Unmarshal ¶
func (m *MessageAddressTableLookup) XXX_Unmarshal(b []byte) error
type MessageHeader ¶
type MessageHeader struct { NumRequiredSignatures uint32 `protobuf:"varint,1,opt,name=num_required_signatures,json=numRequiredSignatures,proto3" json:"num_required_signatures"` NumReadonlySignedAccounts uint32 `` /* 131-byte string literal not displayed */ NumReadonlyUnsignedAccounts uint32 `` /* 137-byte string literal not displayed */ }
func (*MessageHeader) Descriptor ¶
func (*MessageHeader) Descriptor() ([]byte, []int)
func (*MessageHeader) GetNumReadonlySignedAccounts ¶
func (m *MessageHeader) GetNumReadonlySignedAccounts() uint32
func (*MessageHeader) GetNumReadonlyUnsignedAccounts ¶
func (m *MessageHeader) GetNumReadonlyUnsignedAccounts() uint32
func (*MessageHeader) GetNumRequiredSignatures ¶
func (m *MessageHeader) GetNumRequiredSignatures() uint32
func (*MessageHeader) Marshal ¶
func (m *MessageHeader) Marshal() (dAtA []byte, err error)
func (*MessageHeader) MarshalToSizedBuffer ¶
func (m *MessageHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MessageHeader) ProtoMessage ¶
func (*MessageHeader) ProtoMessage()
func (*MessageHeader) Reset ¶
func (m *MessageHeader) Reset()
func (*MessageHeader) Size ¶
func (m *MessageHeader) Size() (n int)
func (*MessageHeader) String ¶
func (m *MessageHeader) String() string
func (*MessageHeader) Unmarshal ¶
func (m *MessageHeader) Unmarshal(dAtA []byte) error
func (*MessageHeader) XXX_DiscardUnknown ¶
func (m *MessageHeader) XXX_DiscardUnknown()
func (*MessageHeader) XXX_Marshal ¶
func (m *MessageHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MessageHeader) XXX_Merge ¶
func (m *MessageHeader) XXX_Merge(src proto.Message)
func (*MessageHeader) XXX_Size ¶
func (m *MessageHeader) XXX_Size() int
func (*MessageHeader) XXX_Unmarshal ¶
func (m *MessageHeader) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { RecordTransactionData(ctx context.Context, in *MsgRecordTransactionData, opts ...grpc.CallOption) (*MsgRecordTransactionDataResponse, error) SubmitFraudChallenge(ctx context.Context, in *MsgSubmitFraudChallenge, opts ...grpc.CallOption) (*MsgSubmitFraudChallengeResponse, 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 MsgRecordTransactionData ¶
type MsgRecordTransactionData struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender"` Slot uint64 `protobuf:"varint,2,opt,name=slot,proto3" json:"slot"` StateRoot string `protobuf:"bytes,3,opt,name=stateRoot,proto3" json:"state_root"` Txs []string `protobuf:"bytes,4,rep,name=txs,proto3" json:"txs"` }
func NewMsgRecordTransactionData ¶
func NewMsgRecordTransactionData(sender string, slot uint64, root string, txs []string) *MsgRecordTransactionData
func (*MsgRecordTransactionData) Descriptor ¶
func (*MsgRecordTransactionData) Descriptor() ([]byte, []int)
func (*MsgRecordTransactionData) GetSender ¶
func (m *MsgRecordTransactionData) GetSender() string
func (MsgRecordTransactionData) GetSignBytes ¶
func (m MsgRecordTransactionData) GetSignBytes() []byte
func (MsgRecordTransactionData) GetSigners ¶
func (m MsgRecordTransactionData) GetSigners() []sdk.AccAddress
func (*MsgRecordTransactionData) GetSlot ¶
func (m *MsgRecordTransactionData) GetSlot() uint64
func (*MsgRecordTransactionData) GetStateRoot ¶
func (m *MsgRecordTransactionData) GetStateRoot() string
func (*MsgRecordTransactionData) GetTxs ¶
func (m *MsgRecordTransactionData) GetTxs() []string
func (*MsgRecordTransactionData) Marshal ¶
func (m *MsgRecordTransactionData) Marshal() (dAtA []byte, err error)
func (*MsgRecordTransactionData) MarshalTo ¶
func (m *MsgRecordTransactionData) MarshalTo(dAtA []byte) (int, error)
func (*MsgRecordTransactionData) MarshalToSizedBuffer ¶
func (m *MsgRecordTransactionData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRecordTransactionData) ProtoMessage ¶
func (*MsgRecordTransactionData) ProtoMessage()
func (*MsgRecordTransactionData) Reset ¶
func (m *MsgRecordTransactionData) Reset()
func (MsgRecordTransactionData) Route ¶
func (m MsgRecordTransactionData) Route() string
func (*MsgRecordTransactionData) Size ¶
func (m *MsgRecordTransactionData) Size() (n int)
func (*MsgRecordTransactionData) String ¶
func (m *MsgRecordTransactionData) String() string
func (MsgRecordTransactionData) Type ¶
func (m MsgRecordTransactionData) Type() string
func (*MsgRecordTransactionData) Unmarshal ¶
func (m *MsgRecordTransactionData) Unmarshal(dAtA []byte) error
func (MsgRecordTransactionData) ValidateBasic ¶
func (m MsgRecordTransactionData) ValidateBasic() error
func (*MsgRecordTransactionData) XXX_DiscardUnknown ¶
func (m *MsgRecordTransactionData) XXX_DiscardUnknown()
func (*MsgRecordTransactionData) XXX_Marshal ¶
func (m *MsgRecordTransactionData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRecordTransactionData) XXX_Merge ¶
func (m *MsgRecordTransactionData) XXX_Merge(src proto.Message)
func (*MsgRecordTransactionData) XXX_Size ¶
func (m *MsgRecordTransactionData) XXX_Size() int
func (*MsgRecordTransactionData) XXX_Unmarshal ¶
func (m *MsgRecordTransactionData) XXX_Unmarshal(b []byte) error
type MsgRecordTransactionDataResponse ¶
type MsgRecordTransactionDataResponse struct { }
func (*MsgRecordTransactionDataResponse) Descriptor ¶
func (*MsgRecordTransactionDataResponse) Descriptor() ([]byte, []int)
func (*MsgRecordTransactionDataResponse) Marshal ¶
func (m *MsgRecordTransactionDataResponse) Marshal() (dAtA []byte, err error)
func (*MsgRecordTransactionDataResponse) MarshalTo ¶
func (m *MsgRecordTransactionDataResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRecordTransactionDataResponse) MarshalToSizedBuffer ¶
func (m *MsgRecordTransactionDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRecordTransactionDataResponse) ProtoMessage ¶
func (*MsgRecordTransactionDataResponse) ProtoMessage()
func (*MsgRecordTransactionDataResponse) Reset ¶
func (m *MsgRecordTransactionDataResponse) Reset()
func (*MsgRecordTransactionDataResponse) Size ¶
func (m *MsgRecordTransactionDataResponse) Size() (n int)
func (*MsgRecordTransactionDataResponse) String ¶
func (m *MsgRecordTransactionDataResponse) String() string
func (*MsgRecordTransactionDataResponse) Unmarshal ¶
func (m *MsgRecordTransactionDataResponse) Unmarshal(dAtA []byte) error
func (*MsgRecordTransactionDataResponse) XXX_DiscardUnknown ¶
func (m *MsgRecordTransactionDataResponse) XXX_DiscardUnknown()
func (*MsgRecordTransactionDataResponse) XXX_Marshal ¶
func (m *MsgRecordTransactionDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRecordTransactionDataResponse) XXX_Merge ¶
func (m *MsgRecordTransactionDataResponse) XXX_Merge(src proto.Message)
func (*MsgRecordTransactionDataResponse) XXX_Size ¶
func (m *MsgRecordTransactionDataResponse) XXX_Size() int
func (*MsgRecordTransactionDataResponse) XXX_Unmarshal ¶
func (m *MsgRecordTransactionDataResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { RecordTransactionData(context.Context, *MsgRecordTransactionData) (*MsgRecordTransactionDataResponse, error) SubmitFraudChallenge(context.Context, *MsgSubmitFraudChallenge) (*MsgSubmitFraudChallengeResponse, error) }
MsgServer is the server API for Msg service.
type MsgSubmitFraudChallenge ¶
type MsgSubmitFraudChallenge struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender"` StartSlot uint64 `protobuf:"varint,2,opt,name=startSlot,proto3" json:"start_slot"` EndSlot uint64 `protobuf:"varint,3,opt,name=endSlot,proto3" json:"end_slot"` FraudStatePubKey string `protobuf:"bytes,4,opt,name=fraudStatePubKey,proto3" json:"fraud_state_pub_key"` MerkleProof *MerkleProof `protobuf:"bytes,5,opt,name=merkleProof,proto3" json:"merkle_proof"` AccountStates []*Account `protobuf:"bytes,6,rep,name=accountStates,proto3" json:"account_states"` Programs []*Account `protobuf:"bytes,7,rep,name=programs,proto3" json:"programs"` SysvarAccounts []*Account `protobuf:"bytes,8,rep,name=sysvarAccounts,proto3" json:"sysvar_accounts"` }
func NewMsgSubmitFraudChallenge ¶
func NewMsgSubmitFraudChallenge( sender string, startSlot uint64, endSlot uint64, fraudStatePubkey string, merkleProof *MerkleProof, accountStates []*Account, programs []*Account, sysvarAccounts []*Account, ) *MsgSubmitFraudChallenge
func (*MsgSubmitFraudChallenge) Descriptor ¶
func (*MsgSubmitFraudChallenge) Descriptor() ([]byte, []int)
func (*MsgSubmitFraudChallenge) GetAccountStates ¶
func (m *MsgSubmitFraudChallenge) GetAccountStates() []*Account
func (*MsgSubmitFraudChallenge) GetEndSlot ¶
func (m *MsgSubmitFraudChallenge) GetEndSlot() uint64
func (*MsgSubmitFraudChallenge) GetFraudStatePubKey ¶
func (m *MsgSubmitFraudChallenge) GetFraudStatePubKey() string
func (*MsgSubmitFraudChallenge) GetMerkleProof ¶
func (m *MsgSubmitFraudChallenge) GetMerkleProof() *MerkleProof
func (*MsgSubmitFraudChallenge) GetPrograms ¶
func (m *MsgSubmitFraudChallenge) GetPrograms() []*Account
func (*MsgSubmitFraudChallenge) GetSender ¶
func (m *MsgSubmitFraudChallenge) GetSender() string
func (MsgSubmitFraudChallenge) GetSignBytes ¶
func (m MsgSubmitFraudChallenge) GetSignBytes() []byte
func (MsgSubmitFraudChallenge) GetSigners ¶
func (m MsgSubmitFraudChallenge) GetSigners() []sdk.AccAddress
func (*MsgSubmitFraudChallenge) GetStartSlot ¶
func (m *MsgSubmitFraudChallenge) GetStartSlot() uint64
func (*MsgSubmitFraudChallenge) GetSysvarAccounts ¶
func (m *MsgSubmitFraudChallenge) GetSysvarAccounts() []*Account
func (*MsgSubmitFraudChallenge) Marshal ¶
func (m *MsgSubmitFraudChallenge) Marshal() (dAtA []byte, err error)
func (*MsgSubmitFraudChallenge) MarshalTo ¶
func (m *MsgSubmitFraudChallenge) MarshalTo(dAtA []byte) (int, error)
func (*MsgSubmitFraudChallenge) MarshalToSizedBuffer ¶
func (m *MsgSubmitFraudChallenge) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSubmitFraudChallenge) ProtoMessage ¶
func (*MsgSubmitFraudChallenge) ProtoMessage()
func (*MsgSubmitFraudChallenge) Reset ¶
func (m *MsgSubmitFraudChallenge) Reset()
func (MsgSubmitFraudChallenge) Route ¶
func (m MsgSubmitFraudChallenge) Route() string
func (*MsgSubmitFraudChallenge) Size ¶
func (m *MsgSubmitFraudChallenge) Size() (n int)
func (*MsgSubmitFraudChallenge) String ¶
func (m *MsgSubmitFraudChallenge) String() string
func (MsgSubmitFraudChallenge) Type ¶
func (m MsgSubmitFraudChallenge) Type() string
func (*MsgSubmitFraudChallenge) Unmarshal ¶
func (m *MsgSubmitFraudChallenge) Unmarshal(dAtA []byte) error
func (MsgSubmitFraudChallenge) ValidateBasic ¶
func (m MsgSubmitFraudChallenge) ValidateBasic() error
func (*MsgSubmitFraudChallenge) XXX_DiscardUnknown ¶
func (m *MsgSubmitFraudChallenge) XXX_DiscardUnknown()
func (*MsgSubmitFraudChallenge) XXX_Marshal ¶
func (m *MsgSubmitFraudChallenge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSubmitFraudChallenge) XXX_Merge ¶
func (m *MsgSubmitFraudChallenge) XXX_Merge(src proto.Message)
func (*MsgSubmitFraudChallenge) XXX_Size ¶
func (m *MsgSubmitFraudChallenge) XXX_Size() int
func (*MsgSubmitFraudChallenge) XXX_Unmarshal ¶
func (m *MsgSubmitFraudChallenge) XXX_Unmarshal(b []byte) error
type MsgSubmitFraudChallengeResponse ¶
type MsgSubmitFraudChallengeResponse struct { }
func (*MsgSubmitFraudChallengeResponse) Descriptor ¶
func (*MsgSubmitFraudChallengeResponse) Descriptor() ([]byte, []int)
func (*MsgSubmitFraudChallengeResponse) Marshal ¶
func (m *MsgSubmitFraudChallengeResponse) Marshal() (dAtA []byte, err error)
func (*MsgSubmitFraudChallengeResponse) MarshalTo ¶
func (m *MsgSubmitFraudChallengeResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSubmitFraudChallengeResponse) MarshalToSizedBuffer ¶
func (m *MsgSubmitFraudChallengeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSubmitFraudChallengeResponse) ProtoMessage ¶
func (*MsgSubmitFraudChallengeResponse) ProtoMessage()
func (*MsgSubmitFraudChallengeResponse) Reset ¶
func (m *MsgSubmitFraudChallengeResponse) Reset()
func (*MsgSubmitFraudChallengeResponse) Size ¶
func (m *MsgSubmitFraudChallengeResponse) Size() (n int)
func (*MsgSubmitFraudChallengeResponse) String ¶
func (m *MsgSubmitFraudChallengeResponse) String() string
func (*MsgSubmitFraudChallengeResponse) Unmarshal ¶
func (m *MsgSubmitFraudChallengeResponse) Unmarshal(dAtA []byte) error
func (*MsgSubmitFraudChallengeResponse) XXX_DiscardUnknown ¶
func (m *MsgSubmitFraudChallengeResponse) XXX_DiscardUnknown()
func (*MsgSubmitFraudChallengeResponse) XXX_Marshal ¶
func (m *MsgSubmitFraudChallengeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSubmitFraudChallengeResponse) XXX_Merge ¶
func (m *MsgSubmitFraudChallengeResponse) XXX_Merge(src proto.Message)
func (*MsgSubmitFraudChallengeResponse) XXX_Size ¶
func (m *MsgSubmitFraudChallengeResponse) XXX_Size() int
func (*MsgSubmitFraudChallengeResponse) XXX_Unmarshal ¶
func (m *MsgSubmitFraudChallengeResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct {
WhitelistedTxSenders []string `protobuf:"bytes,1,rep,name=whitelisted_tx_senders,json=whitelistedTxSenders,proto3" json:"whitelisted_tx_senders"`
}
func (*Params) Descriptor ¶
func (*Params) GetWhitelistedTxSenders ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
Implements params.ParamSet.
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryClient ¶
type QueryClient interface { Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) RecordedTransactionData(ctx context.Context, in *QueryRecordedTransactionDataRequest, opts ...grpc.CallOption) (*QueryRecordedTransactionDataResponse, error) StateRoot(ctx context.Context, in *QueryStateRootRequest, opts ...grpc.CallOption) (*QueryStateRootResponse, error) Sender(ctx context.Context, in *QuerySenderRequest, opts ...grpc.CallOption) (*QuerySenderResponse, 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 QueryParamsRequest ¶
type QueryParamsRequest struct { }
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 Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
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 QueryRecordedTransactionDataRequest ¶
type QueryRecordedTransactionDataRequest struct {
Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot"`
}
func (*QueryRecordedTransactionDataRequest) Descriptor ¶
func (*QueryRecordedTransactionDataRequest) Descriptor() ([]byte, []int)
func (*QueryRecordedTransactionDataRequest) GetSlot ¶
func (m *QueryRecordedTransactionDataRequest) GetSlot() uint64
func (*QueryRecordedTransactionDataRequest) Marshal ¶
func (m *QueryRecordedTransactionDataRequest) Marshal() (dAtA []byte, err error)
func (*QueryRecordedTransactionDataRequest) MarshalTo ¶
func (m *QueryRecordedTransactionDataRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryRecordedTransactionDataRequest) MarshalToSizedBuffer ¶
func (m *QueryRecordedTransactionDataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRecordedTransactionDataRequest) ProtoMessage ¶
func (*QueryRecordedTransactionDataRequest) ProtoMessage()
func (*QueryRecordedTransactionDataRequest) Reset ¶
func (m *QueryRecordedTransactionDataRequest) Reset()
func (*QueryRecordedTransactionDataRequest) Size ¶
func (m *QueryRecordedTransactionDataRequest) Size() (n int)
func (*QueryRecordedTransactionDataRequest) String ¶
func (m *QueryRecordedTransactionDataRequest) String() string
func (*QueryRecordedTransactionDataRequest) Unmarshal ¶
func (m *QueryRecordedTransactionDataRequest) Unmarshal(dAtA []byte) error
func (*QueryRecordedTransactionDataRequest) XXX_DiscardUnknown ¶
func (m *QueryRecordedTransactionDataRequest) XXX_DiscardUnknown()
func (*QueryRecordedTransactionDataRequest) XXX_Marshal ¶
func (m *QueryRecordedTransactionDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRecordedTransactionDataRequest) XXX_Merge ¶
func (m *QueryRecordedTransactionDataRequest) XXX_Merge(src proto.Message)
func (*QueryRecordedTransactionDataRequest) XXX_Size ¶
func (m *QueryRecordedTransactionDataRequest) XXX_Size() int
func (*QueryRecordedTransactionDataRequest) XXX_Unmarshal ¶
func (m *QueryRecordedTransactionDataRequest) XXX_Unmarshal(b []byte) error
type QueryRecordedTransactionDataResponse ¶
type QueryRecordedTransactionDataResponse struct {
Txs []string `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs"`
}
func (*QueryRecordedTransactionDataResponse) Descriptor ¶
func (*QueryRecordedTransactionDataResponse) Descriptor() ([]byte, []int)
func (*QueryRecordedTransactionDataResponse) GetTxs ¶
func (m *QueryRecordedTransactionDataResponse) GetTxs() []string
func (*QueryRecordedTransactionDataResponse) Marshal ¶
func (m *QueryRecordedTransactionDataResponse) Marshal() (dAtA []byte, err error)
func (*QueryRecordedTransactionDataResponse) MarshalTo ¶
func (m *QueryRecordedTransactionDataResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryRecordedTransactionDataResponse) MarshalToSizedBuffer ¶
func (m *QueryRecordedTransactionDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRecordedTransactionDataResponse) ProtoMessage ¶
func (*QueryRecordedTransactionDataResponse) ProtoMessage()
func (*QueryRecordedTransactionDataResponse) Reset ¶
func (m *QueryRecordedTransactionDataResponse) Reset()
func (*QueryRecordedTransactionDataResponse) Size ¶
func (m *QueryRecordedTransactionDataResponse) Size() (n int)
func (*QueryRecordedTransactionDataResponse) String ¶
func (m *QueryRecordedTransactionDataResponse) String() string
func (*QueryRecordedTransactionDataResponse) Unmarshal ¶
func (m *QueryRecordedTransactionDataResponse) Unmarshal(dAtA []byte) error
func (*QueryRecordedTransactionDataResponse) XXX_DiscardUnknown ¶
func (m *QueryRecordedTransactionDataResponse) XXX_DiscardUnknown()
func (*QueryRecordedTransactionDataResponse) XXX_Marshal ¶
func (m *QueryRecordedTransactionDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRecordedTransactionDataResponse) XXX_Merge ¶
func (m *QueryRecordedTransactionDataResponse) XXX_Merge(src proto.Message)
func (*QueryRecordedTransactionDataResponse) XXX_Size ¶
func (m *QueryRecordedTransactionDataResponse) XXX_Size() int
func (*QueryRecordedTransactionDataResponse) XXX_Unmarshal ¶
func (m *QueryRecordedTransactionDataResponse) XXX_Unmarshal(b []byte) error
type QuerySenderRequest ¶
type QuerySenderRequest struct {
Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot"`
}
func (*QuerySenderRequest) Descriptor ¶
func (*QuerySenderRequest) Descriptor() ([]byte, []int)
func (*QuerySenderRequest) GetSlot ¶
func (m *QuerySenderRequest) GetSlot() uint64
func (*QuerySenderRequest) Marshal ¶
func (m *QuerySenderRequest) Marshal() (dAtA []byte, err error)
func (*QuerySenderRequest) MarshalTo ¶
func (m *QuerySenderRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySenderRequest) MarshalToSizedBuffer ¶
func (m *QuerySenderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySenderRequest) ProtoMessage ¶
func (*QuerySenderRequest) ProtoMessage()
func (*QuerySenderRequest) Reset ¶
func (m *QuerySenderRequest) Reset()
func (*QuerySenderRequest) Size ¶
func (m *QuerySenderRequest) Size() (n int)
func (*QuerySenderRequest) String ¶
func (m *QuerySenderRequest) String() string
func (*QuerySenderRequest) Unmarshal ¶
func (m *QuerySenderRequest) Unmarshal(dAtA []byte) error
func (*QuerySenderRequest) XXX_DiscardUnknown ¶
func (m *QuerySenderRequest) XXX_DiscardUnknown()
func (*QuerySenderRequest) XXX_Marshal ¶
func (m *QuerySenderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySenderRequest) XXX_Merge ¶
func (m *QuerySenderRequest) XXX_Merge(src proto.Message)
func (*QuerySenderRequest) XXX_Size ¶
func (m *QuerySenderRequest) XXX_Size() int
func (*QuerySenderRequest) XXX_Unmarshal ¶
func (m *QuerySenderRequest) XXX_Unmarshal(b []byte) error
type QuerySenderResponse ¶
type QuerySenderResponse struct {
Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender"`
}
func (*QuerySenderResponse) Descriptor ¶
func (*QuerySenderResponse) Descriptor() ([]byte, []int)
func (*QuerySenderResponse) GetSender ¶
func (m *QuerySenderResponse) GetSender() string
func (*QuerySenderResponse) Marshal ¶
func (m *QuerySenderResponse) Marshal() (dAtA []byte, err error)
func (*QuerySenderResponse) MarshalTo ¶
func (m *QuerySenderResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySenderResponse) MarshalToSizedBuffer ¶
func (m *QuerySenderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySenderResponse) ProtoMessage ¶
func (*QuerySenderResponse) ProtoMessage()
func (*QuerySenderResponse) Reset ¶
func (m *QuerySenderResponse) Reset()
func (*QuerySenderResponse) Size ¶
func (m *QuerySenderResponse) Size() (n int)
func (*QuerySenderResponse) String ¶
func (m *QuerySenderResponse) String() string
func (*QuerySenderResponse) Unmarshal ¶
func (m *QuerySenderResponse) Unmarshal(dAtA []byte) error
func (*QuerySenderResponse) XXX_DiscardUnknown ¶
func (m *QuerySenderResponse) XXX_DiscardUnknown()
func (*QuerySenderResponse) XXX_Marshal ¶
func (m *QuerySenderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySenderResponse) XXX_Merge ¶
func (m *QuerySenderResponse) XXX_Merge(src proto.Message)
func (*QuerySenderResponse) XXX_Size ¶
func (m *QuerySenderResponse) XXX_Size() int
func (*QuerySenderResponse) XXX_Unmarshal ¶
func (m *QuerySenderResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) RecordedTransactionData(context.Context, *QueryRecordedTransactionDataRequest) (*QueryRecordedTransactionDataResponse, error) StateRoot(context.Context, *QueryStateRootRequest) (*QueryStateRootResponse, error) Sender(context.Context, *QuerySenderRequest) (*QuerySenderResponse, error) }
QueryServer is the server API for Query service.
type QueryStateRootRequest ¶
type QueryStateRootRequest struct {
Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot"`
}
func (*QueryStateRootRequest) Descriptor ¶
func (*QueryStateRootRequest) Descriptor() ([]byte, []int)
func (*QueryStateRootRequest) GetSlot ¶
func (m *QueryStateRootRequest) GetSlot() uint64
func (*QueryStateRootRequest) Marshal ¶
func (m *QueryStateRootRequest) Marshal() (dAtA []byte, err error)
func (*QueryStateRootRequest) MarshalTo ¶
func (m *QueryStateRootRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryStateRootRequest) MarshalToSizedBuffer ¶
func (m *QueryStateRootRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStateRootRequest) ProtoMessage ¶
func (*QueryStateRootRequest) ProtoMessage()
func (*QueryStateRootRequest) Reset ¶
func (m *QueryStateRootRequest) Reset()
func (*QueryStateRootRequest) Size ¶
func (m *QueryStateRootRequest) Size() (n int)
func (*QueryStateRootRequest) String ¶
func (m *QueryStateRootRequest) String() string
func (*QueryStateRootRequest) Unmarshal ¶
func (m *QueryStateRootRequest) Unmarshal(dAtA []byte) error
func (*QueryStateRootRequest) XXX_DiscardUnknown ¶
func (m *QueryStateRootRequest) XXX_DiscardUnknown()
func (*QueryStateRootRequest) XXX_Marshal ¶
func (m *QueryStateRootRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStateRootRequest) XXX_Merge ¶
func (m *QueryStateRootRequest) XXX_Merge(src proto.Message)
func (*QueryStateRootRequest) XXX_Size ¶
func (m *QueryStateRootRequest) XXX_Size() int
func (*QueryStateRootRequest) XXX_Unmarshal ¶
func (m *QueryStateRootRequest) XXX_Unmarshal(b []byte) error
type QueryStateRootResponse ¶
type QueryStateRootResponse struct {
Root string `protobuf:"bytes,1,opt,name=root,proto3" json:"root"`
}
func (*QueryStateRootResponse) Descriptor ¶
func (*QueryStateRootResponse) Descriptor() ([]byte, []int)
func (*QueryStateRootResponse) GetRoot ¶
func (m *QueryStateRootResponse) GetRoot() string
func (*QueryStateRootResponse) Marshal ¶
func (m *QueryStateRootResponse) Marshal() (dAtA []byte, err error)
func (*QueryStateRootResponse) MarshalTo ¶
func (m *QueryStateRootResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryStateRootResponse) MarshalToSizedBuffer ¶
func (m *QueryStateRootResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStateRootResponse) ProtoMessage ¶
func (*QueryStateRootResponse) ProtoMessage()
func (*QueryStateRootResponse) Reset ¶
func (m *QueryStateRootResponse) Reset()
func (*QueryStateRootResponse) Size ¶
func (m *QueryStateRootResponse) Size() (n int)
func (*QueryStateRootResponse) String ¶
func (m *QueryStateRootResponse) String() string
func (*QueryStateRootResponse) Unmarshal ¶
func (m *QueryStateRootResponse) Unmarshal(dAtA []byte) error
func (*QueryStateRootResponse) XXX_DiscardUnknown ¶
func (m *QueryStateRootResponse) XXX_DiscardUnknown()
func (*QueryStateRootResponse) XXX_Marshal ¶
func (m *QueryStateRootResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStateRootResponse) XXX_Merge ¶
func (m *QueryStateRootResponse) XXX_Merge(src proto.Message)
func (*QueryStateRootResponse) XXX_Size ¶
func (m *QueryStateRootResponse) XXX_Size() int
func (*QueryStateRootResponse) XXX_Unmarshal ¶
func (m *QueryStateRootResponse) XXX_Unmarshal(b []byte) error
type TransactionData ¶
type TransactionData struct { Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot"` Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature"` IsVote bool `protobuf:"varint,3,opt,name=is_vote,json=isVote,proto3" json:"is_vote"` MessageType uint64 `protobuf:"varint,4,opt,name=message_type,json=messageType,proto3" json:"message_type"` LegacyMessage *LegacyMessage `protobuf:"bytes,5,opt,name=legacy_message,json=legacyMessage,proto3" json:"legacy_message"` V0LoadedMessage *LoadedMessage `protobuf:"bytes,6,opt,name=v0_loaded_message,json=v0LoadedMessage,proto3" json:"v0_loaded_message"` Signatures []string `protobuf:"bytes,7,rep,name=signatures,proto3" json:"signatures"` MessageHash string `protobuf:"bytes,8,opt,name=message_hash,json=messageHash,proto3" json:"message_hash"` WriteVersion uint64 `protobuf:"varint,9,opt,name=write_version,json=writeVersion,proto3" json:"write_version"` }
func (*TransactionData) Descriptor ¶
func (*TransactionData) Descriptor() ([]byte, []int)
func (*TransactionData) GetIsVote ¶
func (m *TransactionData) GetIsVote() bool
func (*TransactionData) GetLegacyMessage ¶
func (m *TransactionData) GetLegacyMessage() *LegacyMessage
func (*TransactionData) GetMessageHash ¶
func (m *TransactionData) GetMessageHash() string
func (*TransactionData) GetMessageType ¶
func (m *TransactionData) GetMessageType() uint64
func (*TransactionData) GetSignature ¶
func (m *TransactionData) GetSignature() string
func (*TransactionData) GetSignatures ¶
func (m *TransactionData) GetSignatures() []string
func (*TransactionData) GetSlot ¶
func (m *TransactionData) GetSlot() uint64
func (*TransactionData) GetV0LoadedMessage ¶
func (m *TransactionData) GetV0LoadedMessage() *LoadedMessage
func (*TransactionData) GetWriteVersion ¶
func (m *TransactionData) GetWriteVersion() uint64
func (*TransactionData) Marshal ¶
func (m *TransactionData) Marshal() (dAtA []byte, err error)
func (*TransactionData) MarshalToSizedBuffer ¶
func (m *TransactionData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TransactionData) ProtoMessage ¶
func (*TransactionData) ProtoMessage()
func (*TransactionData) Reset ¶
func (m *TransactionData) Reset()
func (*TransactionData) Size ¶
func (m *TransactionData) Size() (n int)
func (*TransactionData) String ¶
func (m *TransactionData) String() string
func (*TransactionData) Unmarshal ¶
func (m *TransactionData) Unmarshal(dAtA []byte) error
func (*TransactionData) XXX_DiscardUnknown ¶
func (m *TransactionData) XXX_DiscardUnknown()
func (*TransactionData) XXX_Marshal ¶
func (m *TransactionData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionData) XXX_Merge ¶
func (m *TransactionData) XXX_Merge(src proto.Message)
func (*TransactionData) XXX_Size ¶
func (m *TransactionData) XXX_Size() int
func (*TransactionData) XXX_Unmarshal ¶
func (m *TransactionData) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) RecordTransactionData ¶
func (*UnimplementedMsgServer) RecordTransactionData(ctx context.Context, req *MsgRecordTransactionData) (*MsgRecordTransactionDataResponse, error)
func (*UnimplementedMsgServer) SubmitFraudChallenge ¶
func (*UnimplementedMsgServer) SubmitFraudChallenge(ctx context.Context, req *MsgSubmitFraudChallenge) (*MsgSubmitFraudChallengeResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) RecordedTransactionData ¶
func (*UnimplementedQueryServer) RecordedTransactionData(ctx context.Context, req *QueryRecordedTransactionDataRequest) (*QueryRecordedTransactionDataResponse, error)
func (*UnimplementedQueryServer) Sender ¶
func (*UnimplementedQueryServer) Sender(ctx context.Context, req *QuerySenderRequest) (*QuerySenderResponse, error)
func (*UnimplementedQueryServer) StateRoot ¶
func (*UnimplementedQueryServer) StateRoot(ctx context.Context, req *QueryStateRootRequest) (*QueryStateRootResponse, error)