Documentation ¶
Index ¶
- Variables
- func NewQueryServer(state QueryState, blockchain bcm.BlockchainInfo, nodeView *tendermint.NodeView, ...) *queryServer
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type GetAccountParam
- func (*GetAccountParam) Descriptor() ([]byte, []int)
- func (m *GetAccountParam) Marshal() (dAtA []byte, err error)
- func (m *GetAccountParam) MarshalTo(dAtA []byte) (int, error)
- func (m *GetAccountParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetAccountParam) ProtoMessage()
- func (m *GetAccountParam) Reset()
- func (m *GetAccountParam) Size() (n int)
- func (m *GetAccountParam) String() string
- func (m *GetAccountParam) Unmarshal(dAtA []byte) error
- func (m *GetAccountParam) XXX_DiscardUnknown()
- func (m *GetAccountParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAccountParam) XXX_Merge(src proto.Message)
- func (*GetAccountParam) XXX_MessageName() string
- func (m *GetAccountParam) XXX_Size() int
- func (m *GetAccountParam) XXX_Unmarshal(b []byte) error
- type GetBlockParam
- func (*GetBlockParam) Descriptor() ([]byte, []int)
- func (m *GetBlockParam) GetHeight() uint64
- func (m *GetBlockParam) Marshal() (dAtA []byte, err error)
- func (m *GetBlockParam) MarshalTo(dAtA []byte) (int, error)
- func (m *GetBlockParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetBlockParam) ProtoMessage()
- func (m *GetBlockParam) Reset()
- func (m *GetBlockParam) Size() (n int)
- func (m *GetBlockParam) String() string
- func (m *GetBlockParam) Unmarshal(dAtA []byte) error
- func (m *GetBlockParam) XXX_DiscardUnknown()
- func (m *GetBlockParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockParam) XXX_Merge(src proto.Message)
- func (*GetBlockParam) XXX_MessageName() string
- func (m *GetBlockParam) XXX_Size() int
- func (m *GetBlockParam) XXX_Unmarshal(b []byte) error
- type GetMetadataParam
- func (*GetMetadataParam) Descriptor() ([]byte, []int)
- func (m *GetMetadataParam) Marshal() (dAtA []byte, err error)
- func (m *GetMetadataParam) MarshalTo(dAtA []byte) (int, error)
- func (m *GetMetadataParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetMetadataParam) ProtoMessage()
- func (m *GetMetadataParam) Reset()
- func (m *GetMetadataParam) Size() (n int)
- func (m *GetMetadataParam) String() string
- func (m *GetMetadataParam) Unmarshal(dAtA []byte) error
- func (m *GetMetadataParam) XXX_DiscardUnknown()
- func (m *GetMetadataParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMetadataParam) XXX_Merge(src proto.Message)
- func (*GetMetadataParam) XXX_MessageName() string
- func (m *GetMetadataParam) XXX_Size() int
- func (m *GetMetadataParam) XXX_Unmarshal(b []byte) error
- type GetNameParam
- func (*GetNameParam) Descriptor() ([]byte, []int)
- func (m *GetNameParam) GetName() string
- func (m *GetNameParam) Marshal() (dAtA []byte, err error)
- func (m *GetNameParam) MarshalTo(dAtA []byte) (int, error)
- func (m *GetNameParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetNameParam) ProtoMessage()
- func (m *GetNameParam) Reset()
- func (m *GetNameParam) Size() (n int)
- func (m *GetNameParam) String() string
- func (m *GetNameParam) Unmarshal(dAtA []byte) error
- func (m *GetNameParam) XXX_DiscardUnknown()
- func (m *GetNameParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetNameParam) XXX_Merge(src proto.Message)
- func (*GetNameParam) XXX_MessageName() string
- func (m *GetNameParam) XXX_Size() int
- func (m *GetNameParam) XXX_Unmarshal(b []byte) error
- type GetNetworkRegistryParam
- func (*GetNetworkRegistryParam) Descriptor() ([]byte, []int)
- func (m *GetNetworkRegistryParam) Marshal() (dAtA []byte, err error)
- func (m *GetNetworkRegistryParam) MarshalTo(dAtA []byte) (int, error)
- func (m *GetNetworkRegistryParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetNetworkRegistryParam) ProtoMessage()
- func (m *GetNetworkRegistryParam) Reset()
- func (m *GetNetworkRegistryParam) Size() (n int)
- func (m *GetNetworkRegistryParam) String() string
- func (m *GetNetworkRegistryParam) Unmarshal(dAtA []byte) error
- func (m *GetNetworkRegistryParam) XXX_DiscardUnknown()
- func (m *GetNetworkRegistryParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetNetworkRegistryParam) XXX_Merge(src proto.Message)
- func (*GetNetworkRegistryParam) XXX_MessageName() string
- func (m *GetNetworkRegistryParam) XXX_Size() int
- func (m *GetNetworkRegistryParam) XXX_Unmarshal(b []byte) error
- type GetProposalParam
- func (*GetProposalParam) Descriptor() ([]byte, []int)
- func (m *GetProposalParam) GetHash() []byte
- func (m *GetProposalParam) Marshal() (dAtA []byte, err error)
- func (m *GetProposalParam) MarshalTo(dAtA []byte) (int, error)
- func (m *GetProposalParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetProposalParam) ProtoMessage()
- func (m *GetProposalParam) Reset()
- func (m *GetProposalParam) Size() (n int)
- func (m *GetProposalParam) String() string
- func (m *GetProposalParam) Unmarshal(dAtA []byte) error
- func (m *GetProposalParam) XXX_DiscardUnknown()
- func (m *GetProposalParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetProposalParam) XXX_Merge(src proto.Message)
- func (*GetProposalParam) XXX_MessageName() string
- func (m *GetProposalParam) XXX_Size() int
- func (m *GetProposalParam) XXX_Unmarshal(b []byte) error
- type GetStatsParam
- func (*GetStatsParam) Descriptor() ([]byte, []int)
- func (m *GetStatsParam) Marshal() (dAtA []byte, err error)
- func (m *GetStatsParam) MarshalTo(dAtA []byte) (int, error)
- func (m *GetStatsParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetStatsParam) ProtoMessage()
- func (m *GetStatsParam) Reset()
- func (m *GetStatsParam) Size() (n int)
- func (m *GetStatsParam) String() string
- func (m *GetStatsParam) Unmarshal(dAtA []byte) error
- func (m *GetStatsParam) XXX_DiscardUnknown()
- func (m *GetStatsParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetStatsParam) XXX_Merge(src proto.Message)
- func (*GetStatsParam) XXX_MessageName() string
- func (m *GetStatsParam) XXX_Size() int
- func (m *GetStatsParam) XXX_Unmarshal(b []byte) error
- type GetStorageParam
- func (*GetStorageParam) Descriptor() ([]byte, []int)
- func (m *GetStorageParam) Marshal() (dAtA []byte, err error)
- func (m *GetStorageParam) MarshalTo(dAtA []byte) (int, error)
- func (m *GetStorageParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetStorageParam) ProtoMessage()
- func (m *GetStorageParam) Reset()
- func (m *GetStorageParam) Size() (n int)
- func (m *GetStorageParam) String() string
- func (m *GetStorageParam) Unmarshal(dAtA []byte) error
- func (m *GetStorageParam) XXX_DiscardUnknown()
- func (m *GetStorageParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetStorageParam) XXX_Merge(src proto.Message)
- func (*GetStorageParam) XXX_MessageName() string
- func (m *GetStorageParam) XXX_Size() int
- func (m *GetStorageParam) XXX_Unmarshal(b []byte) error
- type GetValidatorSetHistoryParam
- func (*GetValidatorSetHistoryParam) Descriptor() ([]byte, []int)
- func (m *GetValidatorSetHistoryParam) GetIncludePrevious() int64
- func (m *GetValidatorSetHistoryParam) Marshal() (dAtA []byte, err error)
- func (m *GetValidatorSetHistoryParam) MarshalTo(dAtA []byte) (int, error)
- func (m *GetValidatorSetHistoryParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetValidatorSetHistoryParam) ProtoMessage()
- func (m *GetValidatorSetHistoryParam) Reset()
- func (m *GetValidatorSetHistoryParam) Size() (n int)
- func (m *GetValidatorSetHistoryParam) String() string
- func (m *GetValidatorSetHistoryParam) Unmarshal(dAtA []byte) error
- func (m *GetValidatorSetHistoryParam) XXX_DiscardUnknown()
- func (m *GetValidatorSetHistoryParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetValidatorSetHistoryParam) XXX_Merge(src proto.Message)
- func (*GetValidatorSetHistoryParam) XXX_MessageName() string
- func (m *GetValidatorSetHistoryParam) XXX_Size() int
- func (m *GetValidatorSetHistoryParam) XXX_Unmarshal(b []byte) error
- type GetValidatorSetParam
- func (*GetValidatorSetParam) Descriptor() ([]byte, []int)
- func (m *GetValidatorSetParam) Marshal() (dAtA []byte, err error)
- func (m *GetValidatorSetParam) MarshalTo(dAtA []byte) (int, error)
- func (m *GetValidatorSetParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetValidatorSetParam) ProtoMessage()
- func (m *GetValidatorSetParam) Reset()
- func (m *GetValidatorSetParam) Size() (n int)
- func (m *GetValidatorSetParam) String() string
- func (m *GetValidatorSetParam) Unmarshal(dAtA []byte) error
- func (m *GetValidatorSetParam) XXX_DiscardUnknown()
- func (m *GetValidatorSetParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetValidatorSetParam) XXX_Merge(src proto.Message)
- func (*GetValidatorSetParam) XXX_MessageName() string
- func (m *GetValidatorSetParam) XXX_Size() int
- func (m *GetValidatorSetParam) XXX_Unmarshal(b []byte) error
- type ListAccountsParam
- func (*ListAccountsParam) Descriptor() ([]byte, []int)
- func (m *ListAccountsParam) GetQuery() string
- func (m *ListAccountsParam) Marshal() (dAtA []byte, err error)
- func (m *ListAccountsParam) MarshalTo(dAtA []byte) (int, error)
- func (m *ListAccountsParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListAccountsParam) ProtoMessage()
- func (m *ListAccountsParam) Reset()
- func (m *ListAccountsParam) Size() (n int)
- func (m *ListAccountsParam) String() string
- func (m *ListAccountsParam) Unmarshal(dAtA []byte) error
- func (m *ListAccountsParam) XXX_DiscardUnknown()
- func (m *ListAccountsParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAccountsParam) XXX_Merge(src proto.Message)
- func (*ListAccountsParam) XXX_MessageName() string
- func (m *ListAccountsParam) XXX_Size() int
- func (m *ListAccountsParam) XXX_Unmarshal(b []byte) error
- type ListNamesParam
- func (*ListNamesParam) Descriptor() ([]byte, []int)
- func (m *ListNamesParam) GetQuery() string
- func (m *ListNamesParam) Marshal() (dAtA []byte, err error)
- func (m *ListNamesParam) MarshalTo(dAtA []byte) (int, error)
- func (m *ListNamesParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListNamesParam) ProtoMessage()
- func (m *ListNamesParam) Reset()
- func (m *ListNamesParam) Size() (n int)
- func (m *ListNamesParam) String() string
- func (m *ListNamesParam) Unmarshal(dAtA []byte) error
- func (m *ListNamesParam) XXX_DiscardUnknown()
- func (m *ListNamesParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListNamesParam) XXX_Merge(src proto.Message)
- func (*ListNamesParam) XXX_MessageName() string
- func (m *ListNamesParam) XXX_Size() int
- func (m *ListNamesParam) XXX_Unmarshal(b []byte) error
- type ListProposalsParam
- func (*ListProposalsParam) Descriptor() ([]byte, []int)
- func (m *ListProposalsParam) GetProposed() bool
- func (m *ListProposalsParam) Marshal() (dAtA []byte, err error)
- func (m *ListProposalsParam) MarshalTo(dAtA []byte) (int, error)
- func (m *ListProposalsParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListProposalsParam) ProtoMessage()
- func (m *ListProposalsParam) Reset()
- func (m *ListProposalsParam) Size() (n int)
- func (m *ListProposalsParam) String() string
- func (m *ListProposalsParam) Unmarshal(dAtA []byte) error
- func (m *ListProposalsParam) XXX_DiscardUnknown()
- func (m *ListProposalsParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListProposalsParam) XXX_Merge(src proto.Message)
- func (*ListProposalsParam) XXX_MessageName() string
- func (m *ListProposalsParam) XXX_Size() int
- func (m *ListProposalsParam) XXX_Unmarshal(b []byte) error
- type MetadataResult
- func (*MetadataResult) Descriptor() ([]byte, []int)
- func (m *MetadataResult) GetMetadata() string
- func (m *MetadataResult) Marshal() (dAtA []byte, err error)
- func (m *MetadataResult) MarshalTo(dAtA []byte) (int, error)
- func (m *MetadataResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MetadataResult) ProtoMessage()
- func (m *MetadataResult) Reset()
- func (m *MetadataResult) Size() (n int)
- func (m *MetadataResult) String() string
- func (m *MetadataResult) Unmarshal(dAtA []byte) error
- func (m *MetadataResult) XXX_DiscardUnknown()
- func (m *MetadataResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MetadataResult) XXX_Merge(src proto.Message)
- func (*MetadataResult) XXX_MessageName() string
- func (m *MetadataResult) XXX_Size() int
- func (m *MetadataResult) XXX_Unmarshal(b []byte) error
- type NetworkRegistry
- func (*NetworkRegistry) Descriptor() ([]byte, []int)
- func (m *NetworkRegistry) GetSet() []*RegisteredValidator
- func (m *NetworkRegistry) Marshal() (dAtA []byte, err error)
- func (m *NetworkRegistry) MarshalTo(dAtA []byte) (int, error)
- func (m *NetworkRegistry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NetworkRegistry) ProtoMessage()
- func (m *NetworkRegistry) Reset()
- func (m *NetworkRegistry) Size() (n int)
- func (m *NetworkRegistry) String() string
- func (m *NetworkRegistry) Unmarshal(dAtA []byte) error
- func (m *NetworkRegistry) XXX_DiscardUnknown()
- func (m *NetworkRegistry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkRegistry) XXX_Merge(src proto.Message)
- func (*NetworkRegistry) XXX_MessageName() string
- func (m *NetworkRegistry) XXX_Size() int
- func (m *NetworkRegistry) XXX_Unmarshal(b []byte) error
- type ProposalResult
- func (*ProposalResult) Descriptor() ([]byte, []int)
- func (m *ProposalResult) GetBallot() *payload.Ballot
- func (m *ProposalResult) GetHash() []byte
- func (m *ProposalResult) Marshal() (dAtA []byte, err error)
- func (m *ProposalResult) MarshalTo(dAtA []byte) (int, error)
- func (m *ProposalResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProposalResult) ProtoMessage()
- func (m *ProposalResult) Reset()
- func (m *ProposalResult) Size() (n int)
- func (m *ProposalResult) String() string
- func (m *ProposalResult) Unmarshal(dAtA []byte) error
- func (m *ProposalResult) XXX_DiscardUnknown()
- func (m *ProposalResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposalResult) XXX_Merge(src proto.Message)
- func (*ProposalResult) XXX_MessageName() string
- func (m *ProposalResult) XXX_Size() int
- func (m *ProposalResult) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryServer
- type QueryState
- type Query_ListAccountsClient
- type Query_ListAccountsServer
- type Query_ListNamesClient
- type Query_ListNamesServer
- type Query_ListProposalsClient
- type Query_ListProposalsServer
- type RegisteredValidator
- func (*RegisteredValidator) Descriptor() ([]byte, []int)
- func (m *RegisteredValidator) GetNode() *registry.NodeIdentity
- func (m *RegisteredValidator) Marshal() (dAtA []byte, err error)
- func (m *RegisteredValidator) MarshalTo(dAtA []byte) (int, error)
- func (m *RegisteredValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RegisteredValidator) ProtoMessage()
- func (m *RegisteredValidator) Reset()
- func (m *RegisteredValidator) Size() (n int)
- func (m *RegisteredValidator) String() string
- func (m *RegisteredValidator) Unmarshal(dAtA []byte) error
- func (m *RegisteredValidator) XXX_DiscardUnknown()
- func (m *RegisteredValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisteredValidator) XXX_Merge(src proto.Message)
- func (*RegisteredValidator) XXX_MessageName() string
- func (m *RegisteredValidator) XXX_Size() int
- func (m *RegisteredValidator) XXX_Unmarshal(b []byte) error
- type Stats
- func (*Stats) Descriptor() ([]byte, []int)
- func (m *Stats) GetAccountsWithCode() uint64
- func (m *Stats) GetAccountsWithoutCode() uint64
- func (m *Stats) Marshal() (dAtA []byte, err error)
- func (m *Stats) MarshalTo(dAtA []byte) (int, error)
- func (m *Stats) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Stats) ProtoMessage()
- func (m *Stats) Reset()
- func (m *Stats) Size() (n int)
- func (m *Stats) String() string
- func (m *Stats) Unmarshal(dAtA []byte) error
- func (m *Stats) XXX_DiscardUnknown()
- func (m *Stats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Stats) XXX_Merge(src proto.Message)
- func (*Stats) XXX_MessageName() string
- func (m *Stats) XXX_Size() int
- func (m *Stats) XXX_Unmarshal(b []byte) error
- type StatusParam
- func (*StatusParam) Descriptor() ([]byte, []int)
- func (m *StatusParam) GetBlockSeenTimeWithin() string
- func (m *StatusParam) GetBlockTimeWithin() string
- func (m *StatusParam) Marshal() (dAtA []byte, err error)
- func (m *StatusParam) MarshalTo(dAtA []byte) (int, error)
- func (m *StatusParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StatusParam) ProtoMessage()
- func (m *StatusParam) Reset()
- func (m *StatusParam) Size() (n int)
- func (m *StatusParam) String() string
- func (m *StatusParam) Unmarshal(dAtA []byte) error
- func (m *StatusParam) XXX_DiscardUnknown()
- func (m *StatusParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatusParam) XXX_Merge(src proto.Message)
- func (*StatusParam) XXX_MessageName() string
- func (m *StatusParam) XXX_Size() int
- func (m *StatusParam) XXX_Unmarshal(b []byte) error
- type StorageValue
- func (*StorageValue) Descriptor() ([]byte, []int)
- func (m *StorageValue) Marshal() (dAtA []byte, err error)
- func (m *StorageValue) MarshalTo(dAtA []byte) (int, error)
- func (m *StorageValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StorageValue) ProtoMessage()
- func (m *StorageValue) Reset()
- func (m *StorageValue) Size() (n int)
- func (m *StorageValue) String() string
- func (m *StorageValue) Unmarshal(dAtA []byte) error
- func (m *StorageValue) XXX_DiscardUnknown()
- func (m *StorageValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StorageValue) XXX_Merge(src proto.Message)
- func (*StorageValue) XXX_MessageName() string
- func (m *StorageValue) XXX_Size() int
- func (m *StorageValue) XXX_Unmarshal(b []byte) error
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) GetAccount(context.Context, *GetAccountParam) (*acm.Account, error)
- func (UnimplementedQueryServer) GetBlockHeader(context.Context, *GetBlockParam) (*types.Header, error)
- func (UnimplementedQueryServer) GetMetadata(context.Context, *GetMetadataParam) (*MetadataResult, error)
- func (UnimplementedQueryServer) GetName(context.Context, *GetNameParam) (*names.Entry, error)
- func (UnimplementedQueryServer) GetNetworkRegistry(context.Context, *GetNetworkRegistryParam) (*NetworkRegistry, error)
- func (UnimplementedQueryServer) GetProposal(context.Context, *GetProposalParam) (*payload.Ballot, error)
- func (UnimplementedQueryServer) GetStats(context.Context, *GetStatsParam) (*Stats, error)
- func (UnimplementedQueryServer) GetStorage(context.Context, *GetStorageParam) (*StorageValue, error)
- func (UnimplementedQueryServer) GetValidatorSet(context.Context, *GetValidatorSetParam) (*ValidatorSet, error)
- func (UnimplementedQueryServer) GetValidatorSetHistory(context.Context, *GetValidatorSetHistoryParam) (*ValidatorSetHistory, error)
- func (UnimplementedQueryServer) ListAccounts(*ListAccountsParam, Query_ListAccountsServer) error
- func (UnimplementedQueryServer) ListNames(*ListNamesParam, Query_ListNamesServer) error
- func (UnimplementedQueryServer) ListProposals(*ListProposalsParam, Query_ListProposalsServer) error
- func (UnimplementedQueryServer) Status(context.Context, *StatusParam) (*rpc.ResultStatus, error)
- type UnsafeQueryServer
- type ValidatorSet
- func (*ValidatorSet) Descriptor() ([]byte, []int)
- func (m *ValidatorSet) GetHeight() uint64
- func (m *ValidatorSet) GetSet() []*validator.Validator
- func (m *ValidatorSet) Marshal() (dAtA []byte, err error)
- func (m *ValidatorSet) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorSet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorSet) ProtoMessage()
- func (m *ValidatorSet) Reset()
- func (m *ValidatorSet) Size() (n int)
- func (m *ValidatorSet) String() string
- func (m *ValidatorSet) Unmarshal(dAtA []byte) error
- func (m *ValidatorSet) XXX_DiscardUnknown()
- func (m *ValidatorSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorSet) XXX_Merge(src proto.Message)
- func (*ValidatorSet) XXX_MessageName() string
- func (m *ValidatorSet) XXX_Size() int
- func (m *ValidatorSet) XXX_Unmarshal(b []byte) error
- type ValidatorSetHistory
- func (*ValidatorSetHistory) Descriptor() ([]byte, []int)
- func (m *ValidatorSetHistory) GetHistory() []*ValidatorSet
- func (m *ValidatorSetHistory) Marshal() (dAtA []byte, err error)
- func (m *ValidatorSetHistory) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorSetHistory) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorSetHistory) ProtoMessage()
- func (m *ValidatorSetHistory) Reset()
- func (m *ValidatorSetHistory) Size() (n int)
- func (m *ValidatorSetHistory) String() string
- func (m *ValidatorSetHistory) Unmarshal(dAtA []byte) error
- func (m *ValidatorSetHistory) XXX_DiscardUnknown()
- func (m *ValidatorSetHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorSetHistory) XXX_Merge(src proto.Message)
- func (*ValidatorSetHistory) XXX_MessageName() string
- func (m *ValidatorSetHistory) XXX_Size() int
- func (m *ValidatorSetHistory) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthRpcquery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRpcquery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupRpcquery = fmt.Errorf("proto: unexpected end of group") )
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "rpcquery.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Status", Handler: _Query_Status_Handler, }, { MethodName: "GetAccount", Handler: _Query_GetAccount_Handler, }, { MethodName: "GetMetadata", Handler: _Query_GetMetadata_Handler, }, { MethodName: "GetStorage", Handler: _Query_GetStorage_Handler, }, { MethodName: "GetName", Handler: _Query_GetName_Handler, }, { MethodName: "GetNetworkRegistry", Handler: _Query_GetNetworkRegistry_Handler, }, { MethodName: "GetValidatorSet", Handler: _Query_GetValidatorSet_Handler, }, { MethodName: "GetValidatorSetHistory", Handler: _Query_GetValidatorSetHistory_Handler, }, { MethodName: "GetProposal", Handler: _Query_GetProposal_Handler, }, { MethodName: "GetStats", Handler: _Query_GetStats_Handler, }, { MethodName: "GetBlockHeader", Handler: _Query_GetBlockHeader_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "ListAccounts", Handler: _Query_ListAccounts_Handler, ServerStreams: true, }, { StreamName: "ListNames", Handler: _Query_ListNames_Handler, ServerStreams: true, }, { StreamName: "ListProposals", Handler: _Query_ListProposals_Handler, ServerStreams: true, }, }, Metadata: "rpcquery.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func NewQueryServer ¶
func NewQueryServer(state QueryState, blockchain bcm.BlockchainInfo, nodeView *tendermint.NodeView, logger *logging.Logger) *queryServer
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type GetAccountParam ¶
type GetAccountParam struct { Address github_com_klyed_hivesmartchain_crypto.Address `protobuf:"bytes,1,opt,name=Address,proto3,customtype=github.com/klyed/hivesmartchain/crypto.Address" json:"Address"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAccountParam) Descriptor ¶
func (*GetAccountParam) Descriptor() ([]byte, []int)
func (*GetAccountParam) Marshal ¶
func (m *GetAccountParam) Marshal() (dAtA []byte, err error)
func (*GetAccountParam) MarshalToSizedBuffer ¶
func (m *GetAccountParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetAccountParam) ProtoMessage ¶
func (*GetAccountParam) ProtoMessage()
func (*GetAccountParam) Reset ¶
func (m *GetAccountParam) Reset()
func (*GetAccountParam) Size ¶
func (m *GetAccountParam) Size() (n int)
func (*GetAccountParam) String ¶
func (m *GetAccountParam) String() string
func (*GetAccountParam) Unmarshal ¶
func (m *GetAccountParam) Unmarshal(dAtA []byte) error
func (*GetAccountParam) XXX_DiscardUnknown ¶
func (m *GetAccountParam) XXX_DiscardUnknown()
func (*GetAccountParam) XXX_Marshal ¶
func (m *GetAccountParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAccountParam) XXX_Merge ¶
func (m *GetAccountParam) XXX_Merge(src proto.Message)
func (*GetAccountParam) XXX_MessageName ¶
func (*GetAccountParam) XXX_MessageName() string
func (*GetAccountParam) XXX_Size ¶
func (m *GetAccountParam) XXX_Size() int
func (*GetAccountParam) XXX_Unmarshal ¶
func (m *GetAccountParam) XXX_Unmarshal(b []byte) error
type GetBlockParam ¶
type GetBlockParam struct { Height uint64 `protobuf:"varint,1,opt,name=Height,proto3" json:"Height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBlockParam) Descriptor ¶
func (*GetBlockParam) Descriptor() ([]byte, []int)
func (*GetBlockParam) GetHeight ¶
func (m *GetBlockParam) GetHeight() uint64
func (*GetBlockParam) Marshal ¶
func (m *GetBlockParam) Marshal() (dAtA []byte, err error)
func (*GetBlockParam) MarshalToSizedBuffer ¶
func (m *GetBlockParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetBlockParam) ProtoMessage ¶
func (*GetBlockParam) ProtoMessage()
func (*GetBlockParam) Reset ¶
func (m *GetBlockParam) Reset()
func (*GetBlockParam) Size ¶
func (m *GetBlockParam) Size() (n int)
func (*GetBlockParam) String ¶
func (m *GetBlockParam) String() string
func (*GetBlockParam) Unmarshal ¶
func (m *GetBlockParam) Unmarshal(dAtA []byte) error
func (*GetBlockParam) XXX_DiscardUnknown ¶
func (m *GetBlockParam) XXX_DiscardUnknown()
func (*GetBlockParam) XXX_Marshal ¶
func (m *GetBlockParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockParam) XXX_Merge ¶
func (m *GetBlockParam) XXX_Merge(src proto.Message)
func (*GetBlockParam) XXX_MessageName ¶
func (*GetBlockParam) XXX_MessageName() string
func (*GetBlockParam) XXX_Size ¶
func (m *GetBlockParam) XXX_Size() int
func (*GetBlockParam) XXX_Unmarshal ¶
func (m *GetBlockParam) XXX_Unmarshal(b []byte) error
type GetMetadataParam ¶
type GetMetadataParam struct { Address *github_com_klyed_hivesmartchain_crypto.Address `protobuf:"bytes,1,opt,name=Address,proto3,customtype=github.com/klyed/hivesmartchain/crypto.Address" json:"Address,omitempty"` MetadataHash *github_com_klyed_hivesmartchain_binary.HexBytes `` /* 136-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMetadataParam) Descriptor ¶
func (*GetMetadataParam) Descriptor() ([]byte, []int)
func (*GetMetadataParam) Marshal ¶
func (m *GetMetadataParam) Marshal() (dAtA []byte, err error)
func (*GetMetadataParam) MarshalToSizedBuffer ¶
func (m *GetMetadataParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetMetadataParam) ProtoMessage ¶
func (*GetMetadataParam) ProtoMessage()
func (*GetMetadataParam) Reset ¶
func (m *GetMetadataParam) Reset()
func (*GetMetadataParam) Size ¶
func (m *GetMetadataParam) Size() (n int)
func (*GetMetadataParam) String ¶
func (m *GetMetadataParam) String() string
func (*GetMetadataParam) Unmarshal ¶
func (m *GetMetadataParam) Unmarshal(dAtA []byte) error
func (*GetMetadataParam) XXX_DiscardUnknown ¶
func (m *GetMetadataParam) XXX_DiscardUnknown()
func (*GetMetadataParam) XXX_Marshal ¶
func (m *GetMetadataParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMetadataParam) XXX_Merge ¶
func (m *GetMetadataParam) XXX_Merge(src proto.Message)
func (*GetMetadataParam) XXX_MessageName ¶
func (*GetMetadataParam) XXX_MessageName() string
func (*GetMetadataParam) XXX_Size ¶
func (m *GetMetadataParam) XXX_Size() int
func (*GetMetadataParam) XXX_Unmarshal ¶
func (m *GetMetadataParam) XXX_Unmarshal(b []byte) error
type GetNameParam ¶
type GetNameParam struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetNameParam) Descriptor ¶
func (*GetNameParam) Descriptor() ([]byte, []int)
func (*GetNameParam) GetName ¶
func (m *GetNameParam) GetName() string
func (*GetNameParam) Marshal ¶
func (m *GetNameParam) Marshal() (dAtA []byte, err error)
func (*GetNameParam) MarshalToSizedBuffer ¶
func (m *GetNameParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetNameParam) ProtoMessage ¶
func (*GetNameParam) ProtoMessage()
func (*GetNameParam) Reset ¶
func (m *GetNameParam) Reset()
func (*GetNameParam) Size ¶
func (m *GetNameParam) Size() (n int)
func (*GetNameParam) String ¶
func (m *GetNameParam) String() string
func (*GetNameParam) Unmarshal ¶
func (m *GetNameParam) Unmarshal(dAtA []byte) error
func (*GetNameParam) XXX_DiscardUnknown ¶
func (m *GetNameParam) XXX_DiscardUnknown()
func (*GetNameParam) XXX_Marshal ¶
func (m *GetNameParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetNameParam) XXX_Merge ¶
func (m *GetNameParam) XXX_Merge(src proto.Message)
func (*GetNameParam) XXX_MessageName ¶
func (*GetNameParam) XXX_MessageName() string
func (*GetNameParam) XXX_Size ¶
func (m *GetNameParam) XXX_Size() int
func (*GetNameParam) XXX_Unmarshal ¶
func (m *GetNameParam) XXX_Unmarshal(b []byte) error
type GetNetworkRegistryParam ¶
type GetNetworkRegistryParam struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetNetworkRegistryParam) Descriptor ¶
func (*GetNetworkRegistryParam) Descriptor() ([]byte, []int)
func (*GetNetworkRegistryParam) Marshal ¶
func (m *GetNetworkRegistryParam) Marshal() (dAtA []byte, err error)
func (*GetNetworkRegistryParam) MarshalTo ¶
func (m *GetNetworkRegistryParam) MarshalTo(dAtA []byte) (int, error)
func (*GetNetworkRegistryParam) MarshalToSizedBuffer ¶
func (m *GetNetworkRegistryParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetNetworkRegistryParam) ProtoMessage ¶
func (*GetNetworkRegistryParam) ProtoMessage()
func (*GetNetworkRegistryParam) Reset ¶
func (m *GetNetworkRegistryParam) Reset()
func (*GetNetworkRegistryParam) Size ¶
func (m *GetNetworkRegistryParam) Size() (n int)
func (*GetNetworkRegistryParam) String ¶
func (m *GetNetworkRegistryParam) String() string
func (*GetNetworkRegistryParam) Unmarshal ¶
func (m *GetNetworkRegistryParam) Unmarshal(dAtA []byte) error
func (*GetNetworkRegistryParam) XXX_DiscardUnknown ¶
func (m *GetNetworkRegistryParam) XXX_DiscardUnknown()
func (*GetNetworkRegistryParam) XXX_Marshal ¶
func (m *GetNetworkRegistryParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetNetworkRegistryParam) XXX_Merge ¶
func (m *GetNetworkRegistryParam) XXX_Merge(src proto.Message)
func (*GetNetworkRegistryParam) XXX_MessageName ¶
func (*GetNetworkRegistryParam) XXX_MessageName() string
func (*GetNetworkRegistryParam) XXX_Size ¶
func (m *GetNetworkRegistryParam) XXX_Size() int
func (*GetNetworkRegistryParam) XXX_Unmarshal ¶
func (m *GetNetworkRegistryParam) XXX_Unmarshal(b []byte) error
type GetProposalParam ¶
type GetProposalParam struct { Hash []byte `protobuf:"bytes,1,opt,name=Hash,proto3" json:"Hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetProposalParam) Descriptor ¶
func (*GetProposalParam) Descriptor() ([]byte, []int)
func (*GetProposalParam) GetHash ¶
func (m *GetProposalParam) GetHash() []byte
func (*GetProposalParam) Marshal ¶
func (m *GetProposalParam) Marshal() (dAtA []byte, err error)
func (*GetProposalParam) MarshalToSizedBuffer ¶
func (m *GetProposalParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetProposalParam) ProtoMessage ¶
func (*GetProposalParam) ProtoMessage()
func (*GetProposalParam) Reset ¶
func (m *GetProposalParam) Reset()
func (*GetProposalParam) Size ¶
func (m *GetProposalParam) Size() (n int)
func (*GetProposalParam) String ¶
func (m *GetProposalParam) String() string
func (*GetProposalParam) Unmarshal ¶
func (m *GetProposalParam) Unmarshal(dAtA []byte) error
func (*GetProposalParam) XXX_DiscardUnknown ¶
func (m *GetProposalParam) XXX_DiscardUnknown()
func (*GetProposalParam) XXX_Marshal ¶
func (m *GetProposalParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProposalParam) XXX_Merge ¶
func (m *GetProposalParam) XXX_Merge(src proto.Message)
func (*GetProposalParam) XXX_MessageName ¶
func (*GetProposalParam) XXX_MessageName() string
func (*GetProposalParam) XXX_Size ¶
func (m *GetProposalParam) XXX_Size() int
func (*GetProposalParam) XXX_Unmarshal ¶
func (m *GetProposalParam) XXX_Unmarshal(b []byte) error
type GetStatsParam ¶
type GetStatsParam struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetStatsParam) Descriptor ¶
func (*GetStatsParam) Descriptor() ([]byte, []int)
func (*GetStatsParam) Marshal ¶
func (m *GetStatsParam) Marshal() (dAtA []byte, err error)
func (*GetStatsParam) MarshalToSizedBuffer ¶
func (m *GetStatsParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetStatsParam) ProtoMessage ¶
func (*GetStatsParam) ProtoMessage()
func (*GetStatsParam) Reset ¶
func (m *GetStatsParam) Reset()
func (*GetStatsParam) Size ¶
func (m *GetStatsParam) Size() (n int)
func (*GetStatsParam) String ¶
func (m *GetStatsParam) String() string
func (*GetStatsParam) Unmarshal ¶
func (m *GetStatsParam) Unmarshal(dAtA []byte) error
func (*GetStatsParam) XXX_DiscardUnknown ¶
func (m *GetStatsParam) XXX_DiscardUnknown()
func (*GetStatsParam) XXX_Marshal ¶
func (m *GetStatsParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetStatsParam) XXX_Merge ¶
func (m *GetStatsParam) XXX_Merge(src proto.Message)
func (*GetStatsParam) XXX_MessageName ¶
func (*GetStatsParam) XXX_MessageName() string
func (*GetStatsParam) XXX_Size ¶
func (m *GetStatsParam) XXX_Size() int
func (*GetStatsParam) XXX_Unmarshal ¶
func (m *GetStatsParam) XXX_Unmarshal(b []byte) error
type GetStorageParam ¶
type GetStorageParam struct { Address github_com_klyed_hivesmartchain_crypto.Address `protobuf:"bytes,1,opt,name=Address,proto3,customtype=github.com/klyed/hivesmartchain/crypto.Address" json:"Address"` Key github_com_klyed_hivesmartchain_binary.Word256 `protobuf:"bytes,2,opt,name=Key,proto3,customtype=github.com/klyed/hivesmartchain/binary.Word256" json:"Key"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetStorageParam) Descriptor ¶
func (*GetStorageParam) Descriptor() ([]byte, []int)
func (*GetStorageParam) Marshal ¶
func (m *GetStorageParam) Marshal() (dAtA []byte, err error)
func (*GetStorageParam) MarshalToSizedBuffer ¶
func (m *GetStorageParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetStorageParam) ProtoMessage ¶
func (*GetStorageParam) ProtoMessage()
func (*GetStorageParam) Reset ¶
func (m *GetStorageParam) Reset()
func (*GetStorageParam) Size ¶
func (m *GetStorageParam) Size() (n int)
func (*GetStorageParam) String ¶
func (m *GetStorageParam) String() string
func (*GetStorageParam) Unmarshal ¶
func (m *GetStorageParam) Unmarshal(dAtA []byte) error
func (*GetStorageParam) XXX_DiscardUnknown ¶
func (m *GetStorageParam) XXX_DiscardUnknown()
func (*GetStorageParam) XXX_Marshal ¶
func (m *GetStorageParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetStorageParam) XXX_Merge ¶
func (m *GetStorageParam) XXX_Merge(src proto.Message)
func (*GetStorageParam) XXX_MessageName ¶
func (*GetStorageParam) XXX_MessageName() string
func (*GetStorageParam) XXX_Size ¶
func (m *GetStorageParam) XXX_Size() int
func (*GetStorageParam) XXX_Unmarshal ¶
func (m *GetStorageParam) XXX_Unmarshal(b []byte) error
type GetValidatorSetHistoryParam ¶
type GetValidatorSetHistoryParam struct { // Use -1 for all available history IncludePrevious int64 `protobuf:"varint,1,opt,name=IncludePrevious,proto3" json:"IncludePrevious,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetValidatorSetHistoryParam) Descriptor ¶
func (*GetValidatorSetHistoryParam) Descriptor() ([]byte, []int)
func (*GetValidatorSetHistoryParam) GetIncludePrevious ¶
func (m *GetValidatorSetHistoryParam) GetIncludePrevious() int64
func (*GetValidatorSetHistoryParam) Marshal ¶
func (m *GetValidatorSetHistoryParam) Marshal() (dAtA []byte, err error)
func (*GetValidatorSetHistoryParam) MarshalTo ¶
func (m *GetValidatorSetHistoryParam) MarshalTo(dAtA []byte) (int, error)
func (*GetValidatorSetHistoryParam) MarshalToSizedBuffer ¶
func (m *GetValidatorSetHistoryParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetValidatorSetHistoryParam) ProtoMessage ¶
func (*GetValidatorSetHistoryParam) ProtoMessage()
func (*GetValidatorSetHistoryParam) Reset ¶
func (m *GetValidatorSetHistoryParam) Reset()
func (*GetValidatorSetHistoryParam) Size ¶
func (m *GetValidatorSetHistoryParam) Size() (n int)
func (*GetValidatorSetHistoryParam) String ¶
func (m *GetValidatorSetHistoryParam) String() string
func (*GetValidatorSetHistoryParam) Unmarshal ¶
func (m *GetValidatorSetHistoryParam) Unmarshal(dAtA []byte) error
func (*GetValidatorSetHistoryParam) XXX_DiscardUnknown ¶
func (m *GetValidatorSetHistoryParam) XXX_DiscardUnknown()
func (*GetValidatorSetHistoryParam) XXX_Marshal ¶
func (m *GetValidatorSetHistoryParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetValidatorSetHistoryParam) XXX_Merge ¶
func (m *GetValidatorSetHistoryParam) XXX_Merge(src proto.Message)
func (*GetValidatorSetHistoryParam) XXX_MessageName ¶
func (*GetValidatorSetHistoryParam) XXX_MessageName() string
func (*GetValidatorSetHistoryParam) XXX_Size ¶
func (m *GetValidatorSetHistoryParam) XXX_Size() int
func (*GetValidatorSetHistoryParam) XXX_Unmarshal ¶
func (m *GetValidatorSetHistoryParam) XXX_Unmarshal(b []byte) error
type GetValidatorSetParam ¶
type GetValidatorSetParam struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetValidatorSetParam) Descriptor ¶
func (*GetValidatorSetParam) Descriptor() ([]byte, []int)
func (*GetValidatorSetParam) Marshal ¶
func (m *GetValidatorSetParam) Marshal() (dAtA []byte, err error)
func (*GetValidatorSetParam) MarshalTo ¶
func (m *GetValidatorSetParam) MarshalTo(dAtA []byte) (int, error)
func (*GetValidatorSetParam) MarshalToSizedBuffer ¶
func (m *GetValidatorSetParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetValidatorSetParam) ProtoMessage ¶
func (*GetValidatorSetParam) ProtoMessage()
func (*GetValidatorSetParam) Reset ¶
func (m *GetValidatorSetParam) Reset()
func (*GetValidatorSetParam) Size ¶
func (m *GetValidatorSetParam) Size() (n int)
func (*GetValidatorSetParam) String ¶
func (m *GetValidatorSetParam) String() string
func (*GetValidatorSetParam) Unmarshal ¶
func (m *GetValidatorSetParam) Unmarshal(dAtA []byte) error
func (*GetValidatorSetParam) XXX_DiscardUnknown ¶
func (m *GetValidatorSetParam) XXX_DiscardUnknown()
func (*GetValidatorSetParam) XXX_Marshal ¶
func (m *GetValidatorSetParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetValidatorSetParam) XXX_Merge ¶
func (m *GetValidatorSetParam) XXX_Merge(src proto.Message)
func (*GetValidatorSetParam) XXX_MessageName ¶
func (*GetValidatorSetParam) XXX_MessageName() string
func (*GetValidatorSetParam) XXX_Size ¶
func (m *GetValidatorSetParam) XXX_Size() int
func (*GetValidatorSetParam) XXX_Unmarshal ¶
func (m *GetValidatorSetParam) XXX_Unmarshal(b []byte) error
type ListAccountsParam ¶
type ListAccountsParam struct { Query string `protobuf:"bytes,1,opt,name=Query,proto3" json:"Query,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListAccountsParam) Descriptor ¶
func (*ListAccountsParam) Descriptor() ([]byte, []int)
func (*ListAccountsParam) GetQuery ¶
func (m *ListAccountsParam) GetQuery() string
func (*ListAccountsParam) Marshal ¶
func (m *ListAccountsParam) Marshal() (dAtA []byte, err error)
func (*ListAccountsParam) MarshalTo ¶
func (m *ListAccountsParam) MarshalTo(dAtA []byte) (int, error)
func (*ListAccountsParam) MarshalToSizedBuffer ¶
func (m *ListAccountsParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListAccountsParam) ProtoMessage ¶
func (*ListAccountsParam) ProtoMessage()
func (*ListAccountsParam) Reset ¶
func (m *ListAccountsParam) Reset()
func (*ListAccountsParam) Size ¶
func (m *ListAccountsParam) Size() (n int)
func (*ListAccountsParam) String ¶
func (m *ListAccountsParam) String() string
func (*ListAccountsParam) Unmarshal ¶
func (m *ListAccountsParam) Unmarshal(dAtA []byte) error
func (*ListAccountsParam) XXX_DiscardUnknown ¶
func (m *ListAccountsParam) XXX_DiscardUnknown()
func (*ListAccountsParam) XXX_Marshal ¶
func (m *ListAccountsParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAccountsParam) XXX_Merge ¶
func (m *ListAccountsParam) XXX_Merge(src proto.Message)
func (*ListAccountsParam) XXX_MessageName ¶
func (*ListAccountsParam) XXX_MessageName() string
func (*ListAccountsParam) XXX_Size ¶
func (m *ListAccountsParam) XXX_Size() int
func (*ListAccountsParam) XXX_Unmarshal ¶
func (m *ListAccountsParam) XXX_Unmarshal(b []byte) error
type ListNamesParam ¶
type ListNamesParam struct { Query string `protobuf:"bytes,1,opt,name=Query,proto3" json:"Query,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListNamesParam) Descriptor ¶
func (*ListNamesParam) Descriptor() ([]byte, []int)
func (*ListNamesParam) GetQuery ¶
func (m *ListNamesParam) GetQuery() string
func (*ListNamesParam) Marshal ¶
func (m *ListNamesParam) Marshal() (dAtA []byte, err error)
func (*ListNamesParam) MarshalToSizedBuffer ¶
func (m *ListNamesParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListNamesParam) ProtoMessage ¶
func (*ListNamesParam) ProtoMessage()
func (*ListNamesParam) Reset ¶
func (m *ListNamesParam) Reset()
func (*ListNamesParam) Size ¶
func (m *ListNamesParam) Size() (n int)
func (*ListNamesParam) String ¶
func (m *ListNamesParam) String() string
func (*ListNamesParam) Unmarshal ¶
func (m *ListNamesParam) Unmarshal(dAtA []byte) error
func (*ListNamesParam) XXX_DiscardUnknown ¶
func (m *ListNamesParam) XXX_DiscardUnknown()
func (*ListNamesParam) XXX_Marshal ¶
func (m *ListNamesParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListNamesParam) XXX_Merge ¶
func (m *ListNamesParam) XXX_Merge(src proto.Message)
func (*ListNamesParam) XXX_MessageName ¶
func (*ListNamesParam) XXX_MessageName() string
func (*ListNamesParam) XXX_Size ¶
func (m *ListNamesParam) XXX_Size() int
func (*ListNamesParam) XXX_Unmarshal ¶
func (m *ListNamesParam) XXX_Unmarshal(b []byte) error
type ListProposalsParam ¶
type ListProposalsParam struct { Proposed bool `protobuf:"varint,1,opt,name=Proposed,proto3" json:"Proposed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListProposalsParam) Descriptor ¶
func (*ListProposalsParam) Descriptor() ([]byte, []int)
func (*ListProposalsParam) GetProposed ¶
func (m *ListProposalsParam) GetProposed() bool
func (*ListProposalsParam) Marshal ¶
func (m *ListProposalsParam) Marshal() (dAtA []byte, err error)
func (*ListProposalsParam) MarshalTo ¶
func (m *ListProposalsParam) MarshalTo(dAtA []byte) (int, error)
func (*ListProposalsParam) MarshalToSizedBuffer ¶
func (m *ListProposalsParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListProposalsParam) ProtoMessage ¶
func (*ListProposalsParam) ProtoMessage()
func (*ListProposalsParam) Reset ¶
func (m *ListProposalsParam) Reset()
func (*ListProposalsParam) Size ¶
func (m *ListProposalsParam) Size() (n int)
func (*ListProposalsParam) String ¶
func (m *ListProposalsParam) String() string
func (*ListProposalsParam) Unmarshal ¶
func (m *ListProposalsParam) Unmarshal(dAtA []byte) error
func (*ListProposalsParam) XXX_DiscardUnknown ¶
func (m *ListProposalsParam) XXX_DiscardUnknown()
func (*ListProposalsParam) XXX_Marshal ¶
func (m *ListProposalsParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListProposalsParam) XXX_Merge ¶
func (m *ListProposalsParam) XXX_Merge(src proto.Message)
func (*ListProposalsParam) XXX_MessageName ¶
func (*ListProposalsParam) XXX_MessageName() string
func (*ListProposalsParam) XXX_Size ¶
func (m *ListProposalsParam) XXX_Size() int
func (*ListProposalsParam) XXX_Unmarshal ¶
func (m *ListProposalsParam) XXX_Unmarshal(b []byte) error
type MetadataResult ¶
type MetadataResult struct { Metadata string `protobuf:"bytes,1,opt,name=Metadata,proto3" json:"Metadata,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MetadataResult) Descriptor ¶
func (*MetadataResult) Descriptor() ([]byte, []int)
func (*MetadataResult) GetMetadata ¶
func (m *MetadataResult) GetMetadata() string
func (*MetadataResult) Marshal ¶
func (m *MetadataResult) Marshal() (dAtA []byte, err error)
func (*MetadataResult) MarshalToSizedBuffer ¶
func (m *MetadataResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MetadataResult) ProtoMessage ¶
func (*MetadataResult) ProtoMessage()
func (*MetadataResult) Reset ¶
func (m *MetadataResult) Reset()
func (*MetadataResult) Size ¶
func (m *MetadataResult) Size() (n int)
func (*MetadataResult) String ¶
func (m *MetadataResult) String() string
func (*MetadataResult) Unmarshal ¶
func (m *MetadataResult) Unmarshal(dAtA []byte) error
func (*MetadataResult) XXX_DiscardUnknown ¶
func (m *MetadataResult) XXX_DiscardUnknown()
func (*MetadataResult) XXX_Marshal ¶
func (m *MetadataResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MetadataResult) XXX_Merge ¶
func (m *MetadataResult) XXX_Merge(src proto.Message)
func (*MetadataResult) XXX_MessageName ¶
func (*MetadataResult) XXX_MessageName() string
func (*MetadataResult) XXX_Size ¶
func (m *MetadataResult) XXX_Size() int
func (*MetadataResult) XXX_Unmarshal ¶
func (m *MetadataResult) XXX_Unmarshal(b []byte) error
type NetworkRegistry ¶
type NetworkRegistry struct { Set []*RegisteredValidator `protobuf:"bytes,1,rep,name=Set,proto3" json:"Set,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NetworkRegistry) Descriptor ¶
func (*NetworkRegistry) Descriptor() ([]byte, []int)
func (*NetworkRegistry) GetSet ¶
func (m *NetworkRegistry) GetSet() []*RegisteredValidator
func (*NetworkRegistry) Marshal ¶
func (m *NetworkRegistry) Marshal() (dAtA []byte, err error)
func (*NetworkRegistry) MarshalToSizedBuffer ¶
func (m *NetworkRegistry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NetworkRegistry) ProtoMessage ¶
func (*NetworkRegistry) ProtoMessage()
func (*NetworkRegistry) Reset ¶
func (m *NetworkRegistry) Reset()
func (*NetworkRegistry) Size ¶
func (m *NetworkRegistry) Size() (n int)
func (*NetworkRegistry) String ¶
func (m *NetworkRegistry) String() string
func (*NetworkRegistry) Unmarshal ¶
func (m *NetworkRegistry) Unmarshal(dAtA []byte) error
func (*NetworkRegistry) XXX_DiscardUnknown ¶
func (m *NetworkRegistry) XXX_DiscardUnknown()
func (*NetworkRegistry) XXX_Marshal ¶
func (m *NetworkRegistry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkRegistry) XXX_Merge ¶
func (m *NetworkRegistry) XXX_Merge(src proto.Message)
func (*NetworkRegistry) XXX_MessageName ¶
func (*NetworkRegistry) XXX_MessageName() string
func (*NetworkRegistry) XXX_Size ¶
func (m *NetworkRegistry) XXX_Size() int
func (*NetworkRegistry) XXX_Unmarshal ¶
func (m *NetworkRegistry) XXX_Unmarshal(b []byte) error
type ProposalResult ¶
type ProposalResult struct { Hash []byte `protobuf:"bytes,1,opt,name=Hash,proto3" json:"Hash,omitempty"` Ballot *payload.Ballot `protobuf:"bytes,2,opt,name=Ballot,proto3" json:"Ballot,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProposalResult) Descriptor ¶
func (*ProposalResult) Descriptor() ([]byte, []int)
func (*ProposalResult) GetBallot ¶
func (m *ProposalResult) GetBallot() *payload.Ballot
func (*ProposalResult) GetHash ¶
func (m *ProposalResult) GetHash() []byte
func (*ProposalResult) Marshal ¶
func (m *ProposalResult) Marshal() (dAtA []byte, err error)
func (*ProposalResult) MarshalToSizedBuffer ¶
func (m *ProposalResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProposalResult) ProtoMessage ¶
func (*ProposalResult) ProtoMessage()
func (*ProposalResult) Reset ¶
func (m *ProposalResult) Reset()
func (*ProposalResult) Size ¶
func (m *ProposalResult) Size() (n int)
func (*ProposalResult) String ¶
func (m *ProposalResult) String() string
func (*ProposalResult) Unmarshal ¶
func (m *ProposalResult) Unmarshal(dAtA []byte) error
func (*ProposalResult) XXX_DiscardUnknown ¶
func (m *ProposalResult) XXX_DiscardUnknown()
func (*ProposalResult) XXX_Marshal ¶
func (m *ProposalResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposalResult) XXX_Merge ¶
func (m *ProposalResult) XXX_Merge(src proto.Message)
func (*ProposalResult) XXX_MessageName ¶
func (*ProposalResult) XXX_MessageName() string
func (*ProposalResult) XXX_Size ¶
func (m *ProposalResult) XXX_Size() int
func (*ProposalResult) XXX_Unmarshal ¶
func (m *ProposalResult) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { Status(ctx context.Context, in *StatusParam, opts ...grpc.CallOption) (*rpc.ResultStatus, error) GetAccount(ctx context.Context, in *GetAccountParam, opts ...grpc.CallOption) (*acm.Account, error) GetMetadata(ctx context.Context, in *GetMetadataParam, opts ...grpc.CallOption) (*MetadataResult, error) GetStorage(ctx context.Context, in *GetStorageParam, opts ...grpc.CallOption) (*StorageValue, error) ListAccounts(ctx context.Context, in *ListAccountsParam, opts ...grpc.CallOption) (Query_ListAccountsClient, error) GetName(ctx context.Context, in *GetNameParam, opts ...grpc.CallOption) (*names.Entry, error) ListNames(ctx context.Context, in *ListNamesParam, opts ...grpc.CallOption) (Query_ListNamesClient, error) // GetNetworkRegistry returns for each validator address, the list of their identified node at the current state GetNetworkRegistry(ctx context.Context, in *GetNetworkRegistryParam, opts ...grpc.CallOption) (*NetworkRegistry, error) GetValidatorSet(ctx context.Context, in *GetValidatorSetParam, opts ...grpc.CallOption) (*ValidatorSet, error) GetValidatorSetHistory(ctx context.Context, in *GetValidatorSetHistoryParam, opts ...grpc.CallOption) (*ValidatorSetHistory, error) GetProposal(ctx context.Context, in *GetProposalParam, opts ...grpc.CallOption) (*payload.Ballot, error) ListProposals(ctx context.Context, in *ListProposalsParam, opts ...grpc.CallOption) (Query_ListProposalsClient, error) GetStats(ctx context.Context, in *GetStatsParam, opts ...grpc.CallOption) (*Stats, error) GetBlockHeader(ctx context.Context, in *GetBlockParam, opts ...grpc.CallOption) (*types.Header, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryServer ¶
type QueryServer interface { Status(context.Context, *StatusParam) (*rpc.ResultStatus, error) GetAccount(context.Context, *GetAccountParam) (*acm.Account, error) GetMetadata(context.Context, *GetMetadataParam) (*MetadataResult, error) GetStorage(context.Context, *GetStorageParam) (*StorageValue, error) ListAccounts(*ListAccountsParam, Query_ListAccountsServer) error GetName(context.Context, *GetNameParam) (*names.Entry, error) ListNames(*ListNamesParam, Query_ListNamesServer) error // GetNetworkRegistry returns for each validator address, the list of their identified node at the current state GetNetworkRegistry(context.Context, *GetNetworkRegistryParam) (*NetworkRegistry, error) GetValidatorSet(context.Context, *GetValidatorSetParam) (*ValidatorSet, error) GetValidatorSetHistory(context.Context, *GetValidatorSetHistoryParam) (*ValidatorSetHistory, error) GetProposal(context.Context, *GetProposalParam) (*payload.Ballot, error) ListProposals(*ListProposalsParam, Query_ListProposalsServer) error GetStats(context.Context, *GetStatsParam) (*Stats, error) GetBlockHeader(context.Context, *GetBlockParam) (*types.Header, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type QueryState ¶
type QueryState interface { acmstate.IterableStatsReader acmstate.MetadataReader names.IterableReader registry.IterableReader proposal.IterableReader validator.History }
type Query_ListAccountsClient ¶
type Query_ListAccountsClient interface { Recv() (*acm.Account, error) grpc.ClientStream }
type Query_ListAccountsServer ¶
type Query_ListAccountsServer interface { Send(*acm.Account) error grpc.ServerStream }
type Query_ListNamesClient ¶
type Query_ListNamesClient interface { Recv() (*names.Entry, error) grpc.ClientStream }
type Query_ListNamesServer ¶
type Query_ListNamesServer interface { Send(*names.Entry) error grpc.ServerStream }
type Query_ListProposalsClient ¶
type Query_ListProposalsClient interface { Recv() (*ProposalResult, error) grpc.ClientStream }
type Query_ListProposalsServer ¶
type Query_ListProposalsServer interface { Send(*ProposalResult) error grpc.ServerStream }
type RegisteredValidator ¶
type RegisteredValidator struct { Address github_com_klyed_hivesmartchain_crypto.Address `protobuf:"bytes,1,opt,name=Address,proto3,customtype=github.com/klyed/hivesmartchain/crypto.Address" json:"Address"` Node *registry.NodeIdentity `protobuf:"bytes,2,opt,name=Node,proto3" json:"Node,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RegisteredValidator) Descriptor ¶
func (*RegisteredValidator) Descriptor() ([]byte, []int)
func (*RegisteredValidator) GetNode ¶
func (m *RegisteredValidator) GetNode() *registry.NodeIdentity
func (*RegisteredValidator) Marshal ¶
func (m *RegisteredValidator) Marshal() (dAtA []byte, err error)
func (*RegisteredValidator) MarshalTo ¶
func (m *RegisteredValidator) MarshalTo(dAtA []byte) (int, error)
func (*RegisteredValidator) MarshalToSizedBuffer ¶
func (m *RegisteredValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RegisteredValidator) ProtoMessage ¶
func (*RegisteredValidator) ProtoMessage()
func (*RegisteredValidator) Reset ¶
func (m *RegisteredValidator) Reset()
func (*RegisteredValidator) Size ¶
func (m *RegisteredValidator) Size() (n int)
func (*RegisteredValidator) String ¶
func (m *RegisteredValidator) String() string
func (*RegisteredValidator) Unmarshal ¶
func (m *RegisteredValidator) Unmarshal(dAtA []byte) error
func (*RegisteredValidator) XXX_DiscardUnknown ¶
func (m *RegisteredValidator) XXX_DiscardUnknown()
func (*RegisteredValidator) XXX_Marshal ¶
func (m *RegisteredValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisteredValidator) XXX_Merge ¶
func (m *RegisteredValidator) XXX_Merge(src proto.Message)
func (*RegisteredValidator) XXX_MessageName ¶
func (*RegisteredValidator) XXX_MessageName() string
func (*RegisteredValidator) XXX_Size ¶
func (m *RegisteredValidator) XXX_Size() int
func (*RegisteredValidator) XXX_Unmarshal ¶
func (m *RegisteredValidator) XXX_Unmarshal(b []byte) error
type Stats ¶
type Stats struct { AccountsWithCode uint64 `protobuf:"varint,1,opt,name=AccountsWithCode,proto3" json:"AccountsWithCode,omitempty"` AccountsWithoutCode uint64 `protobuf:"varint,2,opt,name=AccountsWithoutCode,proto3" json:"AccountsWithoutCode,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Stats) Descriptor ¶
func (*Stats) GetAccountsWithCode ¶
func (*Stats) GetAccountsWithoutCode ¶
func (*Stats) ProtoMessage ¶
func (*Stats) ProtoMessage()
func (*Stats) XXX_DiscardUnknown ¶
func (m *Stats) XXX_DiscardUnknown()
func (*Stats) XXX_Marshal ¶
func (*Stats) XXX_MessageName ¶
func (*Stats) XXX_Unmarshal ¶
type StatusParam ¶
type StatusParam struct { BlockTimeWithin string `protobuf:"bytes,1,opt,name=BlockTimeWithin,proto3" json:"BlockTimeWithin,omitempty"` BlockSeenTimeWithin string `protobuf:"bytes,2,opt,name=BlockSeenTimeWithin,proto3" json:"BlockSeenTimeWithin,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StatusParam) Descriptor ¶
func (*StatusParam) Descriptor() ([]byte, []int)
func (*StatusParam) GetBlockSeenTimeWithin ¶
func (m *StatusParam) GetBlockSeenTimeWithin() string
func (*StatusParam) GetBlockTimeWithin ¶
func (m *StatusParam) GetBlockTimeWithin() string
func (*StatusParam) Marshal ¶
func (m *StatusParam) Marshal() (dAtA []byte, err error)
func (*StatusParam) MarshalToSizedBuffer ¶
func (m *StatusParam) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StatusParam) ProtoMessage ¶
func (*StatusParam) ProtoMessage()
func (*StatusParam) Reset ¶
func (m *StatusParam) Reset()
func (*StatusParam) Size ¶
func (m *StatusParam) Size() (n int)
func (*StatusParam) String ¶
func (m *StatusParam) String() string
func (*StatusParam) Unmarshal ¶
func (m *StatusParam) Unmarshal(dAtA []byte) error
func (*StatusParam) XXX_DiscardUnknown ¶
func (m *StatusParam) XXX_DiscardUnknown()
func (*StatusParam) XXX_Marshal ¶
func (m *StatusParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusParam) XXX_Merge ¶
func (m *StatusParam) XXX_Merge(src proto.Message)
func (*StatusParam) XXX_MessageName ¶
func (*StatusParam) XXX_MessageName() string
func (*StatusParam) XXX_Size ¶
func (m *StatusParam) XXX_Size() int
func (*StatusParam) XXX_Unmarshal ¶
func (m *StatusParam) XXX_Unmarshal(b []byte) error
type StorageValue ¶
type StorageValue struct { Value github_com_klyed_hivesmartchain_binary.HexBytes `protobuf:"bytes,1,opt,name=Value,proto3,customtype=github.com/klyed/hivesmartchain/binary.HexBytes" json:"Value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StorageValue) Descriptor ¶
func (*StorageValue) Descriptor() ([]byte, []int)
func (*StorageValue) Marshal ¶
func (m *StorageValue) Marshal() (dAtA []byte, err error)
func (*StorageValue) MarshalToSizedBuffer ¶
func (m *StorageValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StorageValue) ProtoMessage ¶
func (*StorageValue) ProtoMessage()
func (*StorageValue) Reset ¶
func (m *StorageValue) Reset()
func (*StorageValue) Size ¶
func (m *StorageValue) Size() (n int)
func (*StorageValue) String ¶
func (m *StorageValue) String() string
func (*StorageValue) Unmarshal ¶
func (m *StorageValue) Unmarshal(dAtA []byte) error
func (*StorageValue) XXX_DiscardUnknown ¶
func (m *StorageValue) XXX_DiscardUnknown()
func (*StorageValue) XXX_Marshal ¶
func (m *StorageValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorageValue) XXX_Merge ¶
func (m *StorageValue) XXX_Merge(src proto.Message)
func (*StorageValue) XXX_MessageName ¶
func (*StorageValue) XXX_MessageName() string
func (*StorageValue) XXX_Size ¶
func (m *StorageValue) XXX_Size() int
func (*StorageValue) XXX_Unmarshal ¶
func (m *StorageValue) XXX_Unmarshal(b []byte) error
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) GetAccount ¶
func (UnimplementedQueryServer) GetAccount(context.Context, *GetAccountParam) (*acm.Account, error)
func (UnimplementedQueryServer) GetBlockHeader ¶
func (UnimplementedQueryServer) GetBlockHeader(context.Context, *GetBlockParam) (*types.Header, error)
func (UnimplementedQueryServer) GetMetadata ¶
func (UnimplementedQueryServer) GetMetadata(context.Context, *GetMetadataParam) (*MetadataResult, error)
func (UnimplementedQueryServer) GetName ¶
func (UnimplementedQueryServer) GetName(context.Context, *GetNameParam) (*names.Entry, error)
func (UnimplementedQueryServer) GetNetworkRegistry ¶
func (UnimplementedQueryServer) GetNetworkRegistry(context.Context, *GetNetworkRegistryParam) (*NetworkRegistry, error)
func (UnimplementedQueryServer) GetProposal ¶
func (UnimplementedQueryServer) GetProposal(context.Context, *GetProposalParam) (*payload.Ballot, error)
func (UnimplementedQueryServer) GetStats ¶
func (UnimplementedQueryServer) GetStats(context.Context, *GetStatsParam) (*Stats, error)
func (UnimplementedQueryServer) GetStorage ¶
func (UnimplementedQueryServer) GetStorage(context.Context, *GetStorageParam) (*StorageValue, error)
func (UnimplementedQueryServer) GetValidatorSet ¶
func (UnimplementedQueryServer) GetValidatorSet(context.Context, *GetValidatorSetParam) (*ValidatorSet, error)
func (UnimplementedQueryServer) GetValidatorSetHistory ¶
func (UnimplementedQueryServer) GetValidatorSetHistory(context.Context, *GetValidatorSetHistoryParam) (*ValidatorSetHistory, error)
func (UnimplementedQueryServer) ListAccounts ¶
func (UnimplementedQueryServer) ListAccounts(*ListAccountsParam, Query_ListAccountsServer) error
func (UnimplementedQueryServer) ListNames ¶
func (UnimplementedQueryServer) ListNames(*ListNamesParam, Query_ListNamesServer) error
func (UnimplementedQueryServer) ListProposals ¶
func (UnimplementedQueryServer) ListProposals(*ListProposalsParam, Query_ListProposalsServer) error
func (UnimplementedQueryServer) Status ¶
func (UnimplementedQueryServer) Status(context.Context, *StatusParam) (*rpc.ResultStatus, error)
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.
type ValidatorSet ¶
type ValidatorSet struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Set []*validator.Validator `protobuf:"bytes,2,rep,name=Set,proto3" json:"Set,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ValidatorSet) Descriptor ¶
func (*ValidatorSet) Descriptor() ([]byte, []int)
func (*ValidatorSet) GetHeight ¶
func (m *ValidatorSet) GetHeight() uint64
func (*ValidatorSet) GetSet ¶
func (m *ValidatorSet) GetSet() []*validator.Validator
func (*ValidatorSet) Marshal ¶
func (m *ValidatorSet) Marshal() (dAtA []byte, err error)
func (*ValidatorSet) MarshalToSizedBuffer ¶
func (m *ValidatorSet) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorSet) ProtoMessage ¶
func (*ValidatorSet) ProtoMessage()
func (*ValidatorSet) Reset ¶
func (m *ValidatorSet) Reset()
func (*ValidatorSet) Size ¶
func (m *ValidatorSet) Size() (n int)
func (*ValidatorSet) String ¶
func (m *ValidatorSet) String() string
func (*ValidatorSet) Unmarshal ¶
func (m *ValidatorSet) Unmarshal(dAtA []byte) error
func (*ValidatorSet) XXX_DiscardUnknown ¶
func (m *ValidatorSet) XXX_DiscardUnknown()
func (*ValidatorSet) XXX_Marshal ¶
func (m *ValidatorSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorSet) XXX_Merge ¶
func (m *ValidatorSet) XXX_Merge(src proto.Message)
func (*ValidatorSet) XXX_MessageName ¶
func (*ValidatorSet) XXX_MessageName() string
func (*ValidatorSet) XXX_Size ¶
func (m *ValidatorSet) XXX_Size() int
func (*ValidatorSet) XXX_Unmarshal ¶
func (m *ValidatorSet) XXX_Unmarshal(b []byte) error
type ValidatorSetHistory ¶
type ValidatorSetHistory struct { History []*ValidatorSet `protobuf:"bytes,1,rep,name=History,proto3" json:"History,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ValidatorSetHistory) Descriptor ¶
func (*ValidatorSetHistory) Descriptor() ([]byte, []int)
func (*ValidatorSetHistory) GetHistory ¶
func (m *ValidatorSetHistory) GetHistory() []*ValidatorSet
func (*ValidatorSetHistory) Marshal ¶
func (m *ValidatorSetHistory) Marshal() (dAtA []byte, err error)
func (*ValidatorSetHistory) MarshalTo ¶
func (m *ValidatorSetHistory) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorSetHistory) MarshalToSizedBuffer ¶
func (m *ValidatorSetHistory) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorSetHistory) ProtoMessage ¶
func (*ValidatorSetHistory) ProtoMessage()
func (*ValidatorSetHistory) Reset ¶
func (m *ValidatorSetHistory) Reset()
func (*ValidatorSetHistory) Size ¶
func (m *ValidatorSetHistory) Size() (n int)
func (*ValidatorSetHistory) String ¶
func (m *ValidatorSetHistory) String() string
func (*ValidatorSetHistory) Unmarshal ¶
func (m *ValidatorSetHistory) Unmarshal(dAtA []byte) error
func (*ValidatorSetHistory) XXX_DiscardUnknown ¶
func (m *ValidatorSetHistory) XXX_DiscardUnknown()
func (*ValidatorSetHistory) XXX_Marshal ¶
func (m *ValidatorSetHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorSetHistory) XXX_Merge ¶
func (m *ValidatorSetHistory) XXX_Merge(src proto.Message)
func (*ValidatorSetHistory) XXX_MessageName ¶
func (*ValidatorSetHistory) XXX_MessageName() string
func (*ValidatorSetHistory) XXX_Size ¶
func (m *ValidatorSetHistory) XXX_Size() int
func (*ValidatorSetHistory) XXX_Unmarshal ¶
func (m *ValidatorSetHistory) XXX_Unmarshal(b []byte) error