Documentation
¶
Index ¶
- Variables
- func RegisterAPIServer(s grpc.ServiceRegistrar, srv APIServer)
- type APIClient
- type APIServer
- type Config
- type GetCollectionRequest
- func (*GetCollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCollectionRequest) GetCollectionID() []byte
- func (m *GetCollectionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetCollectionRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetCollectionRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetCollectionRequest) ProtoMessage()
- func (x *GetCollectionRequest) ProtoReflect() protoreflect.Message
- func (x *GetCollectionRequest) Reset()
- func (m *GetCollectionRequest) SizeVT() (n int)
- func (x *GetCollectionRequest) String() string
- func (m *GetCollectionRequest) UnmarshalVT(dAtA []byte) error
- type GetCollectionResponse
- func (*GetCollectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCollectionResponse) GetCollectionID() []byte
- func (x *GetCollectionResponse) GetData() []byte
- func (m *GetCollectionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetCollectionResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetCollectionResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetCollectionResponse) ProtoMessage()
- func (x *GetCollectionResponse) ProtoReflect() protoreflect.Message
- func (x *GetCollectionResponse) Reset()
- func (m *GetCollectionResponse) SizeVT() (n int)
- func (x *GetCollectionResponse) String() string
- func (m *GetCollectionResponse) UnmarshalVT(dAtA []byte) error
- type GetCommitRequest
- func (*GetCommitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommitRequest) GetHeight() uint64
- func (m *GetCommitRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetCommitRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetCommitRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetCommitRequest) ProtoMessage()
- func (x *GetCommitRequest) ProtoReflect() protoreflect.Message
- func (x *GetCommitRequest) Reset()
- func (m *GetCommitRequest) SizeVT() (n int)
- func (x *GetCommitRequest) String() string
- func (m *GetCommitRequest) UnmarshalVT(dAtA []byte) error
- type GetCommitResponse
- func (*GetCommitResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommitResponse) GetCommit() []byte
- func (x *GetCommitResponse) GetHeight() uint64
- func (m *GetCommitResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetCommitResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetCommitResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetCommitResponse) ProtoMessage()
- func (x *GetCommitResponse) ProtoReflect() protoreflect.Message
- func (x *GetCommitResponse) Reset()
- func (m *GetCommitResponse) SizeVT() (n int)
- func (x *GetCommitResponse) String() string
- func (m *GetCommitResponse) UnmarshalVT(dAtA []byte) error
- type GetEventsRequest
- func (*GetEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEventsRequest) GetHeight() uint64
- func (x *GetEventsRequest) GetTypes() []string
- func (m *GetEventsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetEventsRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetEventsRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetEventsRequest) ProtoMessage()
- func (x *GetEventsRequest) ProtoReflect() protoreflect.Message
- func (x *GetEventsRequest) Reset()
- func (m *GetEventsRequest) SizeVT() (n int)
- func (x *GetEventsRequest) String() string
- func (m *GetEventsRequest) UnmarshalVT(dAtA []byte) error
- type GetEventsResponse
- func (*GetEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEventsResponse) GetData() []byte
- func (x *GetEventsResponse) GetHeight() uint64
- func (x *GetEventsResponse) GetTypes() []string
- func (m *GetEventsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetEventsResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetEventsResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetEventsResponse) ProtoMessage()
- func (x *GetEventsResponse) ProtoReflect() protoreflect.Message
- func (x *GetEventsResponse) Reset()
- func (m *GetEventsResponse) SizeVT() (n int)
- func (x *GetEventsResponse) String() string
- func (m *GetEventsResponse) UnmarshalVT(dAtA []byte) error
- type GetFirstRequest
- func (*GetFirstRequest) Descriptor() ([]byte, []int)deprecated
- func (m *GetFirstRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetFirstRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetFirstRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetFirstRequest) ProtoMessage()
- func (x *GetFirstRequest) ProtoReflect() protoreflect.Message
- func (x *GetFirstRequest) Reset()
- func (m *GetFirstRequest) SizeVT() (n int)
- func (x *GetFirstRequest) String() string
- func (m *GetFirstRequest) UnmarshalVT(dAtA []byte) error
- type GetFirstResponse
- func (*GetFirstResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFirstResponse) GetHeight() uint64
- func (m *GetFirstResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetFirstResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetFirstResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetFirstResponse) ProtoMessage()
- func (x *GetFirstResponse) ProtoReflect() protoreflect.Message
- func (x *GetFirstResponse) Reset()
- func (m *GetFirstResponse) SizeVT() (n int)
- func (x *GetFirstResponse) String() string
- func (m *GetFirstResponse) UnmarshalVT(dAtA []byte) error
- type GetGuaranteeRequest
- func (*GetGuaranteeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGuaranteeRequest) GetCollectionID() []byte
- func (m *GetGuaranteeRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetGuaranteeRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetGuaranteeRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetGuaranteeRequest) ProtoMessage()
- func (x *GetGuaranteeRequest) ProtoReflect() protoreflect.Message
- func (x *GetGuaranteeRequest) Reset()
- func (m *GetGuaranteeRequest) SizeVT() (n int)
- func (x *GetGuaranteeRequest) String() string
- func (m *GetGuaranteeRequest) UnmarshalVT(dAtA []byte) error
- type GetGuaranteeResponse
- func (*GetGuaranteeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGuaranteeResponse) GetCollectionID() []byte
- func (x *GetGuaranteeResponse) GetData() []byte
- func (m *GetGuaranteeResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetGuaranteeResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetGuaranteeResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetGuaranteeResponse) ProtoMessage()
- func (x *GetGuaranteeResponse) ProtoReflect() protoreflect.Message
- func (x *GetGuaranteeResponse) Reset()
- func (m *GetGuaranteeResponse) SizeVT() (n int)
- func (x *GetGuaranteeResponse) String() string
- func (m *GetGuaranteeResponse) UnmarshalVT(dAtA []byte) error
- type GetHeaderRequest
- func (*GetHeaderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetHeaderRequest) GetHeight() uint64
- func (m *GetHeaderRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetHeaderRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetHeaderRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetHeaderRequest) ProtoMessage()
- func (x *GetHeaderRequest) ProtoReflect() protoreflect.Message
- func (x *GetHeaderRequest) Reset()
- func (m *GetHeaderRequest) SizeVT() (n int)
- func (x *GetHeaderRequest) String() string
- func (m *GetHeaderRequest) UnmarshalVT(dAtA []byte) error
- type GetHeaderResponse
- func (*GetHeaderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetHeaderResponse) GetData() []byte
- func (x *GetHeaderResponse) GetHeight() uint64
- func (m *GetHeaderResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetHeaderResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetHeaderResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetHeaderResponse) ProtoMessage()
- func (x *GetHeaderResponse) ProtoReflect() protoreflect.Message
- func (x *GetHeaderResponse) Reset()
- func (m *GetHeaderResponse) SizeVT() (n int)
- func (x *GetHeaderResponse) String() string
- func (m *GetHeaderResponse) UnmarshalVT(dAtA []byte) error
- type GetHeightForBlockRequest
- func (*GetHeightForBlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetHeightForBlockRequest) GetBlockID() []byte
- func (m *GetHeightForBlockRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetHeightForBlockRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetHeightForBlockRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetHeightForBlockRequest) ProtoMessage()
- func (x *GetHeightForBlockRequest) ProtoReflect() protoreflect.Message
- func (x *GetHeightForBlockRequest) Reset()
- func (m *GetHeightForBlockRequest) SizeVT() (n int)
- func (x *GetHeightForBlockRequest) String() string
- func (m *GetHeightForBlockRequest) UnmarshalVT(dAtA []byte) error
- type GetHeightForBlockResponse
- func (*GetHeightForBlockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetHeightForBlockResponse) GetBlockID() []byte
- func (x *GetHeightForBlockResponse) GetHeight() uint64
- func (m *GetHeightForBlockResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetHeightForBlockResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetHeightForBlockResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetHeightForBlockResponse) ProtoMessage()
- func (x *GetHeightForBlockResponse) ProtoReflect() protoreflect.Message
- func (x *GetHeightForBlockResponse) Reset()
- func (m *GetHeightForBlockResponse) SizeVT() (n int)
- func (x *GetHeightForBlockResponse) String() string
- func (m *GetHeightForBlockResponse) UnmarshalVT(dAtA []byte) error
- type GetHeightForTransactionRequest
- func (*GetHeightForTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetHeightForTransactionRequest) GetTransactionID() []byte
- func (m *GetHeightForTransactionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetHeightForTransactionRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetHeightForTransactionRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetHeightForTransactionRequest) ProtoMessage()
- func (x *GetHeightForTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *GetHeightForTransactionRequest) Reset()
- func (m *GetHeightForTransactionRequest) SizeVT() (n int)
- func (x *GetHeightForTransactionRequest) String() string
- func (m *GetHeightForTransactionRequest) UnmarshalVT(dAtA []byte) error
- type GetHeightForTransactionResponse
- func (*GetHeightForTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetHeightForTransactionResponse) GetHeight() uint64
- func (x *GetHeightForTransactionResponse) GetTransactionID() []byte
- func (m *GetHeightForTransactionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetHeightForTransactionResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetHeightForTransactionResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetHeightForTransactionResponse) ProtoMessage()
- func (x *GetHeightForTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *GetHeightForTransactionResponse) Reset()
- func (m *GetHeightForTransactionResponse) SizeVT() (n int)
- func (x *GetHeightForTransactionResponse) String() string
- func (m *GetHeightForTransactionResponse) UnmarshalVT(dAtA []byte) error
- type GetLastRequest
- func (*GetLastRequest) Descriptor() ([]byte, []int)deprecated
- func (m *GetLastRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetLastRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetLastRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetLastRequest) ProtoMessage()
- func (x *GetLastRequest) ProtoReflect() protoreflect.Message
- func (x *GetLastRequest) Reset()
- func (m *GetLastRequest) SizeVT() (n int)
- func (x *GetLastRequest) String() string
- func (m *GetLastRequest) UnmarshalVT(dAtA []byte) error
- type GetLastResponse
- func (*GetLastResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLastResponse) GetHeight() uint64
- func (m *GetLastResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetLastResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetLastResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetLastResponse) ProtoMessage()
- func (x *GetLastResponse) ProtoReflect() protoreflect.Message
- func (x *GetLastResponse) Reset()
- func (m *GetLastResponse) SizeVT() (n int)
- func (x *GetLastResponse) String() string
- func (m *GetLastResponse) UnmarshalVT(dAtA []byte) error
- type GetRegisterValuesRequest
- func (*GetRegisterValuesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRegisterValuesRequest) GetHeight() uint64
- func (x *GetRegisterValuesRequest) GetPaths() [][]byte
- func (m *GetRegisterValuesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetRegisterValuesRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetRegisterValuesRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetRegisterValuesRequest) ProtoMessage()
- func (x *GetRegisterValuesRequest) ProtoReflect() protoreflect.Message
- func (x *GetRegisterValuesRequest) Reset()
- func (m *GetRegisterValuesRequest) SizeVT() (n int)
- func (x *GetRegisterValuesRequest) String() string
- func (m *GetRegisterValuesRequest) UnmarshalVT(dAtA []byte) error
- type GetRegisterValuesResponse
- func (*GetRegisterValuesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRegisterValuesResponse) GetHeight() uint64
- func (x *GetRegisterValuesResponse) GetPaths() [][]byte
- func (x *GetRegisterValuesResponse) GetValues() [][]byte
- func (m *GetRegisterValuesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetRegisterValuesResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetRegisterValuesResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetRegisterValuesResponse) ProtoMessage()
- func (x *GetRegisterValuesResponse) ProtoReflect() protoreflect.Message
- func (x *GetRegisterValuesResponse) Reset()
- func (m *GetRegisterValuesResponse) SizeVT() (n int)
- func (x *GetRegisterValuesResponse) String() string
- func (m *GetRegisterValuesResponse) UnmarshalVT(dAtA []byte) error
- type GetResultRequest
- func (*GetResultRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetResultRequest) GetTransactionID() []byte
- func (m *GetResultRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetResultRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetResultRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetResultRequest) ProtoMessage()
- func (x *GetResultRequest) ProtoReflect() protoreflect.Message
- func (x *GetResultRequest) Reset()
- func (m *GetResultRequest) SizeVT() (n int)
- func (x *GetResultRequest) String() string
- func (m *GetResultRequest) UnmarshalVT(dAtA []byte) error
- type GetResultResponse
- func (*GetResultResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResultResponse) GetData() []byte
- func (x *GetResultResponse) GetTransactionID() []byte
- func (m *GetResultResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetResultResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetResultResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetResultResponse) ProtoMessage()
- func (x *GetResultResponse) ProtoReflect() protoreflect.Message
- func (x *GetResultResponse) Reset()
- func (m *GetResultResponse) SizeVT() (n int)
- func (x *GetResultResponse) String() string
- func (m *GetResultResponse) UnmarshalVT(dAtA []byte) error
- type GetSealRequest
- func (*GetSealRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSealRequest) GetSealID() []byte
- func (m *GetSealRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetSealRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetSealRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetSealRequest) ProtoMessage()
- func (x *GetSealRequest) ProtoReflect() protoreflect.Message
- func (x *GetSealRequest) Reset()
- func (m *GetSealRequest) SizeVT() (n int)
- func (x *GetSealRequest) String() string
- func (m *GetSealRequest) UnmarshalVT(dAtA []byte) error
- type GetSealResponse
- func (*GetSealResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSealResponse) GetData() []byte
- func (x *GetSealResponse) GetSealID() []byte
- func (m *GetSealResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetSealResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetSealResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetSealResponse) ProtoMessage()
- func (x *GetSealResponse) ProtoReflect() protoreflect.Message
- func (x *GetSealResponse) Reset()
- func (m *GetSealResponse) SizeVT() (n int)
- func (x *GetSealResponse) String() string
- func (m *GetSealResponse) UnmarshalVT(dAtA []byte) error
- type GetTransactionRequest
- func (*GetTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionRequest) GetTransactionID() []byte
- func (m *GetTransactionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetTransactionRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetTransactionRequest) MarshalVT() (dAtA []byte, err error)
- func (*GetTransactionRequest) ProtoMessage()
- func (x *GetTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *GetTransactionRequest) Reset()
- func (m *GetTransactionRequest) SizeVT() (n int)
- func (x *GetTransactionRequest) String() string
- func (m *GetTransactionRequest) UnmarshalVT(dAtA []byte) error
- type GetTransactionResponse
- func (*GetTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionResponse) GetData() []byte
- func (x *GetTransactionResponse) GetTransactionID() []byte
- func (m *GetTransactionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *GetTransactionResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *GetTransactionResponse) MarshalVT() (dAtA []byte, err error)
- func (*GetTransactionResponse) ProtoMessage()
- func (x *GetTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *GetTransactionResponse) Reset()
- func (m *GetTransactionResponse) SizeVT() (n int)
- func (x *GetTransactionResponse) String() string
- func (m *GetTransactionResponse) UnmarshalVT(dAtA []byte) error
- type Index
- func (i *Index) Collection(collID flow.Identifier) (*flow.LightCollection, error)
- func (i *Index) CollectionsByHeight(height uint64) ([]flow.Identifier, error)
- func (i *Index) Commit(height uint64) (flow.StateCommitment, error)
- func (i *Index) Events(height uint64, types ...flow.EventType) ([]flow.Event, error)
- func (i *Index) First() (uint64, error)
- func (i *Index) Guarantee(collID flow.Identifier) (*flow.CollectionGuarantee, error)
- func (i *Index) Header(height uint64) (*flow.Header, error)
- func (i *Index) HeightForBlock(blockID flow.Identifier) (uint64, error)
- func (i *Index) HeightForTransaction(txID flow.Identifier) (uint64, error)
- func (i *Index) Last() (uint64, error)
- func (i *Index) Result(txID flow.Identifier) (*flow.TransactionResult, error)
- func (i *Index) Seal(sealID flow.Identifier) (*flow.Seal, error)
- func (i *Index) SealsByHeight(height uint64) ([]flow.Identifier, error)
- func (i *Index) Transaction(txID flow.Identifier) (*flow.TransactionBody, error)
- func (i *Index) TransactionsByHeight(height uint64) ([]flow.Identifier, error)
- func (i *Index) Values(height uint64, paths []ledger.Path) ([]ledger.Value, error)
- type ListCollectionsForHeightRequest
- func (*ListCollectionsForHeightRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCollectionsForHeightRequest) GetHeight() uint64
- func (m *ListCollectionsForHeightRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ListCollectionsForHeightRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ListCollectionsForHeightRequest) MarshalVT() (dAtA []byte, err error)
- func (*ListCollectionsForHeightRequest) ProtoMessage()
- func (x *ListCollectionsForHeightRequest) ProtoReflect() protoreflect.Message
- func (x *ListCollectionsForHeightRequest) Reset()
- func (m *ListCollectionsForHeightRequest) SizeVT() (n int)
- func (x *ListCollectionsForHeightRequest) String() string
- func (m *ListCollectionsForHeightRequest) UnmarshalVT(dAtA []byte) error
- type ListCollectionsForHeightResponse
- func (*ListCollectionsForHeightResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCollectionsForHeightResponse) GetCollectionIDs() [][]byte
- func (x *ListCollectionsForHeightResponse) GetHeight() uint64
- func (m *ListCollectionsForHeightResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ListCollectionsForHeightResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ListCollectionsForHeightResponse) MarshalVT() (dAtA []byte, err error)
- func (*ListCollectionsForHeightResponse) ProtoMessage()
- func (x *ListCollectionsForHeightResponse) ProtoReflect() protoreflect.Message
- func (x *ListCollectionsForHeightResponse) Reset()
- func (m *ListCollectionsForHeightResponse) SizeVT() (n int)
- func (x *ListCollectionsForHeightResponse) String() string
- func (m *ListCollectionsForHeightResponse) UnmarshalVT(dAtA []byte) error
- type ListSealsForHeightRequest
- func (*ListSealsForHeightRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSealsForHeightRequest) GetHeight() uint64
- func (m *ListSealsForHeightRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ListSealsForHeightRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ListSealsForHeightRequest) MarshalVT() (dAtA []byte, err error)
- func (*ListSealsForHeightRequest) ProtoMessage()
- func (x *ListSealsForHeightRequest) ProtoReflect() protoreflect.Message
- func (x *ListSealsForHeightRequest) Reset()
- func (m *ListSealsForHeightRequest) SizeVT() (n int)
- func (x *ListSealsForHeightRequest) String() string
- func (m *ListSealsForHeightRequest) UnmarshalVT(dAtA []byte) error
- type ListSealsForHeightResponse
- func (*ListSealsForHeightResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSealsForHeightResponse) GetHeight() uint64
- func (x *ListSealsForHeightResponse) GetSealIDs() [][]byte
- func (m *ListSealsForHeightResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ListSealsForHeightResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ListSealsForHeightResponse) MarshalVT() (dAtA []byte, err error)
- func (*ListSealsForHeightResponse) ProtoMessage()
- func (x *ListSealsForHeightResponse) ProtoReflect() protoreflect.Message
- func (x *ListSealsForHeightResponse) Reset()
- func (m *ListSealsForHeightResponse) SizeVT() (n int)
- func (x *ListSealsForHeightResponse) String() string
- func (m *ListSealsForHeightResponse) UnmarshalVT(dAtA []byte) error
- type ListTransactionsForHeightRequest
- func (*ListTransactionsForHeightRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTransactionsForHeightRequest) GetHeight() uint64
- func (m *ListTransactionsForHeightRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ListTransactionsForHeightRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ListTransactionsForHeightRequest) MarshalVT() (dAtA []byte, err error)
- func (*ListTransactionsForHeightRequest) ProtoMessage()
- func (x *ListTransactionsForHeightRequest) ProtoReflect() protoreflect.Message
- func (x *ListTransactionsForHeightRequest) Reset()
- func (m *ListTransactionsForHeightRequest) SizeVT() (n int)
- func (x *ListTransactionsForHeightRequest) String() string
- func (m *ListTransactionsForHeightRequest) UnmarshalVT(dAtA []byte) error
- type ListTransactionsForHeightResponse
- func (*ListTransactionsForHeightResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTransactionsForHeightResponse) GetHeight() uint64
- func (x *ListTransactionsForHeightResponse) GetTransactionIDs() [][]byte
- func (m *ListTransactionsForHeightResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ListTransactionsForHeightResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ListTransactionsForHeightResponse) MarshalVT() (dAtA []byte, err error)
- func (*ListTransactionsForHeightResponse) ProtoMessage()
- func (x *ListTransactionsForHeightResponse) ProtoReflect() protoreflect.Message
- func (x *ListTransactionsForHeightResponse) Reset()
- func (m *ListTransactionsForHeightResponse) SizeVT() (n int)
- func (x *ListTransactionsForHeightResponse) String() string
- func (m *ListTransactionsForHeightResponse) UnmarshalVT(dAtA []byte) error
- type Option
- type Server
- func (s *Server) GetCollection(ctx context.Context, req *GetCollectionRequest) (*GetCollectionResponse, error)
- func (s *Server) GetCommit(ctx context.Context, req *GetCommitRequest) (*GetCommitResponse, error)
- func (s *Server) GetEvents(ctx context.Context, req *GetEventsRequest) (*GetEventsResponse, error)
- func (s *Server) GetFirst(ctx context.Context, _ *GetFirstRequest) (*GetFirstResponse, error)
- func (s *Server) GetGuarantee(ctx context.Context, req *GetGuaranteeRequest) (*GetGuaranteeResponse, error)
- func (s *Server) GetHeader(ctx context.Context, req *GetHeaderRequest) (*GetHeaderResponse, error)
- func (s *Server) GetHeightForBlock(ctx context.Context, req *GetHeightForBlockRequest) (*GetHeightForBlockResponse, error)
- func (s *Server) GetHeightForTransaction(ctx context.Context, req *GetHeightForTransactionRequest) (*GetHeightForTransactionResponse, error)
- func (s *Server) GetLast(ctx context.Context, _ *GetLastRequest) (*GetLastResponse, error)
- func (s *Server) GetRegisterValues(ctx context.Context, req *GetRegisterValuesRequest) (*GetRegisterValuesResponse, error)
- func (s *Server) GetResult(ctx context.Context, req *GetResultRequest) (*GetResultResponse, error)
- func (s *Server) GetSeal(ctx context.Context, req *GetSealRequest) (*GetSealResponse, error)
- func (s *Server) GetTransaction(ctx context.Context, req *GetTransactionRequest) (*GetTransactionResponse, error)
- func (s *Server) ListCollectionsForHeight(ctx context.Context, req *ListCollectionsForHeightRequest) (*ListCollectionsForHeightResponse, error)
- func (s *Server) ListSealsForHeight(ctx context.Context, req *ListSealsForHeightRequest) (*ListSealsForHeightResponse, error)
- func (s *Server) ListTransactionsForHeight(ctx context.Context, req *ListTransactionsForHeightRequest) (*ListTransactionsForHeightResponse, error)
- type UnimplementedAPIServer
- func (UnimplementedAPIServer) GetCollection(context.Context, *GetCollectionRequest) (*GetCollectionResponse, error)
- func (UnimplementedAPIServer) GetCommit(context.Context, *GetCommitRequest) (*GetCommitResponse, error)
- func (UnimplementedAPIServer) GetEvents(context.Context, *GetEventsRequest) (*GetEventsResponse, error)
- func (UnimplementedAPIServer) GetFirst(context.Context, *GetFirstRequest) (*GetFirstResponse, error)
- func (UnimplementedAPIServer) GetGuarantee(context.Context, *GetGuaranteeRequest) (*GetGuaranteeResponse, error)
- func (UnimplementedAPIServer) GetHeader(context.Context, *GetHeaderRequest) (*GetHeaderResponse, error)
- func (UnimplementedAPIServer) GetHeightForBlock(context.Context, *GetHeightForBlockRequest) (*GetHeightForBlockResponse, error)
- func (UnimplementedAPIServer) GetHeightForTransaction(context.Context, *GetHeightForTransactionRequest) (*GetHeightForTransactionResponse, error)
- func (UnimplementedAPIServer) GetLast(context.Context, *GetLastRequest) (*GetLastResponse, error)
- func (UnimplementedAPIServer) GetRegisterValues(context.Context, *GetRegisterValuesRequest) (*GetRegisterValuesResponse, error)
- func (UnimplementedAPIServer) GetResult(context.Context, *GetResultRequest) (*GetResultResponse, error)
- func (UnimplementedAPIServer) GetSeal(context.Context, *GetSealRequest) (*GetSealResponse, error)
- func (UnimplementedAPIServer) GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error)
- func (UnimplementedAPIServer) ListCollectionsForHeight(context.Context, *ListCollectionsForHeightRequest) (*ListCollectionsForHeightResponse, error)
- func (UnimplementedAPIServer) ListSealsForHeight(context.Context, *ListSealsForHeightRequest) (*ListSealsForHeightResponse, error)
- func (UnimplementedAPIServer) ListTransactionsForHeight(context.Context, *ListTransactionsForHeightRequest) (*ListTransactionsForHeightResponse, error)
- type UnsafeAPIServer
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
var API_ServiceDesc = grpc.ServiceDesc{ ServiceName: "API", HandlerType: (*APIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetFirst", Handler: _API_GetFirst_Handler, }, { MethodName: "GetLast", Handler: _API_GetLast_Handler, }, { MethodName: "GetHeightForBlock", Handler: _API_GetHeightForBlock_Handler, }, { MethodName: "GetCommit", Handler: _API_GetCommit_Handler, }, { MethodName: "GetHeader", Handler: _API_GetHeader_Handler, }, { MethodName: "GetEvents", Handler: _API_GetEvents_Handler, }, { MethodName: "GetRegisterValues", Handler: _API_GetRegisterValues_Handler, }, { MethodName: "GetCollection", Handler: _API_GetCollection_Handler, }, { MethodName: "ListCollectionsForHeight", Handler: _API_ListCollectionsForHeight_Handler, }, { MethodName: "GetGuarantee", Handler: _API_GetGuarantee_Handler, }, { MethodName: "GetTransaction", Handler: _API_GetTransaction_Handler, }, { MethodName: "GetHeightForTransaction", Handler: _API_GetHeightForTransaction_Handler, }, { MethodName: "ListTransactionsForHeight", Handler: _API_ListTransactionsForHeight_Handler, }, { MethodName: "GetResult", Handler: _API_GetResult_Handler, }, { MethodName: "GetSeal", Handler: _API_GetSeal_Handler, }, { MethodName: "ListSealsForHeight", Handler: _API_ListSealsForHeight_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api.proto", }
API_ServiceDesc is the grpc.ServiceDesc for API service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var DefaultConfig = Config{ // contains filtered or unexported fields }
var File_api_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAPIServer ¶
func RegisterAPIServer(s grpc.ServiceRegistrar, srv APIServer)
Types ¶
type APIClient ¶
type APIClient interface { GetFirst(ctx context.Context, in *GetFirstRequest, opts ...grpc.CallOption) (*GetFirstResponse, error) GetLast(ctx context.Context, in *GetLastRequest, opts ...grpc.CallOption) (*GetLastResponse, error) GetHeightForBlock(ctx context.Context, in *GetHeightForBlockRequest, opts ...grpc.CallOption) (*GetHeightForBlockResponse, error) GetCommit(ctx context.Context, in *GetCommitRequest, opts ...grpc.CallOption) (*GetCommitResponse, error) GetHeader(ctx context.Context, in *GetHeaderRequest, opts ...grpc.CallOption) (*GetHeaderResponse, error) GetEvents(ctx context.Context, in *GetEventsRequest, opts ...grpc.CallOption) (*GetEventsResponse, error) GetRegisterValues(ctx context.Context, in *GetRegisterValuesRequest, opts ...grpc.CallOption) (*GetRegisterValuesResponse, error) GetCollection(ctx context.Context, in *GetCollectionRequest, opts ...grpc.CallOption) (*GetCollectionResponse, error) ListCollectionsForHeight(ctx context.Context, in *ListCollectionsForHeightRequest, opts ...grpc.CallOption) (*ListCollectionsForHeightResponse, error) GetGuarantee(ctx context.Context, in *GetGuaranteeRequest, opts ...grpc.CallOption) (*GetGuaranteeResponse, error) GetTransaction(ctx context.Context, in *GetTransactionRequest, opts ...grpc.CallOption) (*GetTransactionResponse, error) GetHeightForTransaction(ctx context.Context, in *GetHeightForTransactionRequest, opts ...grpc.CallOption) (*GetHeightForTransactionResponse, error) ListTransactionsForHeight(ctx context.Context, in *ListTransactionsForHeightRequest, opts ...grpc.CallOption) (*ListTransactionsForHeightResponse, error) GetResult(ctx context.Context, in *GetResultRequest, opts ...grpc.CallOption) (*GetResultResponse, error) GetSeal(ctx context.Context, in *GetSealRequest, opts ...grpc.CallOption) (*GetSealResponse, error) ListSealsForHeight(ctx context.Context, in *ListSealsForHeightRequest, opts ...grpc.CallOption) (*ListSealsForHeightResponse, error) }
APIClient is the client API for API 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 NewAPIClient ¶
func NewAPIClient(cc grpc.ClientConnInterface) APIClient
type APIServer ¶
type APIServer interface { GetFirst(context.Context, *GetFirstRequest) (*GetFirstResponse, error) GetLast(context.Context, *GetLastRequest) (*GetLastResponse, error) GetHeightForBlock(context.Context, *GetHeightForBlockRequest) (*GetHeightForBlockResponse, error) GetCommit(context.Context, *GetCommitRequest) (*GetCommitResponse, error) GetHeader(context.Context, *GetHeaderRequest) (*GetHeaderResponse, error) GetEvents(context.Context, *GetEventsRequest) (*GetEventsResponse, error) GetRegisterValues(context.Context, *GetRegisterValuesRequest) (*GetRegisterValuesResponse, error) GetCollection(context.Context, *GetCollectionRequest) (*GetCollectionResponse, error) ListCollectionsForHeight(context.Context, *ListCollectionsForHeightRequest) (*ListCollectionsForHeightResponse, error) GetGuarantee(context.Context, *GetGuaranteeRequest) (*GetGuaranteeResponse, error) GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error) GetHeightForTransaction(context.Context, *GetHeightForTransactionRequest) (*GetHeightForTransactionResponse, error) ListTransactionsForHeight(context.Context, *ListTransactionsForHeightRequest) (*ListTransactionsForHeightResponse, error) GetResult(context.Context, *GetResultRequest) (*GetResultResponse, error) GetSeal(context.Context, *GetSealRequest) (*GetSealResponse, error) ListSealsForHeight(context.Context, *ListSealsForHeightRequest) (*ListSealsForHeightResponse, error) // contains filtered or unexported methods }
APIServer is the server API for API service. All implementations must embed UnimplementedAPIServer for forward compatibility
type GetCollectionRequest ¶
type GetCollectionRequest struct { CollectionID []byte `protobuf:"bytes,1,opt,name=collectionID,proto3" json:"collectionID,omitempty" validate:"required,len=32"` // contains filtered or unexported fields }
func (*GetCollectionRequest) Descriptor
deprecated
func (*GetCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCollectionRequest.ProtoReflect.Descriptor instead.
func (*GetCollectionRequest) GetCollectionID ¶
func (x *GetCollectionRequest) GetCollectionID() []byte
func (*GetCollectionRequest) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetCollectionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetCollectionRequest) MarshalToVT ¶ added in v0.29.4
func (m *GetCollectionRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetCollectionRequest) MarshalVT ¶ added in v0.29.4
func (m *GetCollectionRequest) MarshalVT() (dAtA []byte, err error)
func (*GetCollectionRequest) ProtoMessage ¶
func (*GetCollectionRequest) ProtoMessage()
func (*GetCollectionRequest) ProtoReflect ¶
func (x *GetCollectionRequest) ProtoReflect() protoreflect.Message
func (*GetCollectionRequest) Reset ¶
func (x *GetCollectionRequest) Reset()
func (*GetCollectionRequest) SizeVT ¶ added in v0.29.4
func (m *GetCollectionRequest) SizeVT() (n int)
func (*GetCollectionRequest) String ¶
func (x *GetCollectionRequest) String() string
func (*GetCollectionRequest) UnmarshalVT ¶ added in v0.29.4
func (m *GetCollectionRequest) UnmarshalVT(dAtA []byte) error
type GetCollectionResponse ¶
type GetCollectionResponse struct { CollectionID []byte `protobuf:"bytes,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetCollectionResponse) Descriptor
deprecated
func (*GetCollectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCollectionResponse.ProtoReflect.Descriptor instead.
func (*GetCollectionResponse) GetCollectionID ¶
func (x *GetCollectionResponse) GetCollectionID() []byte
func (*GetCollectionResponse) GetData ¶
func (x *GetCollectionResponse) GetData() []byte
func (*GetCollectionResponse) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetCollectionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetCollectionResponse) MarshalToVT ¶ added in v0.29.4
func (m *GetCollectionResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetCollectionResponse) MarshalVT ¶ added in v0.29.4
func (m *GetCollectionResponse) MarshalVT() (dAtA []byte, err error)
func (*GetCollectionResponse) ProtoMessage ¶
func (*GetCollectionResponse) ProtoMessage()
func (*GetCollectionResponse) ProtoReflect ¶
func (x *GetCollectionResponse) ProtoReflect() protoreflect.Message
func (*GetCollectionResponse) Reset ¶
func (x *GetCollectionResponse) Reset()
func (*GetCollectionResponse) SizeVT ¶ added in v0.29.4
func (m *GetCollectionResponse) SizeVT() (n int)
func (*GetCollectionResponse) String ¶
func (x *GetCollectionResponse) String() string
func (*GetCollectionResponse) UnmarshalVT ¶ added in v0.29.4
func (m *GetCollectionResponse) UnmarshalVT(dAtA []byte) error
type GetCommitRequest ¶
type GetCommitRequest struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty" validate:"required"` // contains filtered or unexported fields }
func (*GetCommitRequest) Descriptor
deprecated
func (*GetCommitRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCommitRequest.ProtoReflect.Descriptor instead.
func (*GetCommitRequest) GetHeight ¶
func (x *GetCommitRequest) GetHeight() uint64
func (*GetCommitRequest) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetCommitRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetCommitRequest) MarshalToVT ¶ added in v0.29.4
func (m *GetCommitRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetCommitRequest) MarshalVT ¶ added in v0.29.4
func (m *GetCommitRequest) MarshalVT() (dAtA []byte, err error)
func (*GetCommitRequest) ProtoMessage ¶
func (*GetCommitRequest) ProtoMessage()
func (*GetCommitRequest) ProtoReflect ¶
func (x *GetCommitRequest) ProtoReflect() protoreflect.Message
func (*GetCommitRequest) Reset ¶
func (x *GetCommitRequest) Reset()
func (*GetCommitRequest) SizeVT ¶ added in v0.29.4
func (m *GetCommitRequest) SizeVT() (n int)
func (*GetCommitRequest) String ¶
func (x *GetCommitRequest) String() string
func (*GetCommitRequest) UnmarshalVT ¶ added in v0.29.4
func (m *GetCommitRequest) UnmarshalVT(dAtA []byte) error
type GetCommitResponse ¶
type GetCommitResponse struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Commit []byte `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` // contains filtered or unexported fields }
func (*GetCommitResponse) Descriptor
deprecated
func (*GetCommitResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCommitResponse.ProtoReflect.Descriptor instead.
func (*GetCommitResponse) GetCommit ¶
func (x *GetCommitResponse) GetCommit() []byte
func (*GetCommitResponse) GetHeight ¶
func (x *GetCommitResponse) GetHeight() uint64
func (*GetCommitResponse) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetCommitResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetCommitResponse) MarshalToVT ¶ added in v0.29.4
func (m *GetCommitResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetCommitResponse) MarshalVT ¶ added in v0.29.4
func (m *GetCommitResponse) MarshalVT() (dAtA []byte, err error)
func (*GetCommitResponse) ProtoMessage ¶
func (*GetCommitResponse) ProtoMessage()
func (*GetCommitResponse) ProtoReflect ¶
func (x *GetCommitResponse) ProtoReflect() protoreflect.Message
func (*GetCommitResponse) Reset ¶
func (x *GetCommitResponse) Reset()
func (*GetCommitResponse) SizeVT ¶ added in v0.29.4
func (m *GetCommitResponse) SizeVT() (n int)
func (*GetCommitResponse) String ¶
func (x *GetCommitResponse) String() string
func (*GetCommitResponse) UnmarshalVT ¶ added in v0.29.4
func (m *GetCommitResponse) UnmarshalVT(dAtA []byte) error
type GetEventsRequest ¶
type GetEventsRequest struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty" validate:"required"` Types []string `protobuf:"bytes,2,rep,name=types,proto3" json:"types,omitempty"` // contains filtered or unexported fields }
func (*GetEventsRequest) Descriptor
deprecated
func (*GetEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEventsRequest.ProtoReflect.Descriptor instead.
func (*GetEventsRequest) GetHeight ¶
func (x *GetEventsRequest) GetHeight() uint64
func (*GetEventsRequest) GetTypes ¶
func (x *GetEventsRequest) GetTypes() []string
func (*GetEventsRequest) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetEventsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetEventsRequest) MarshalToVT ¶ added in v0.29.4
func (m *GetEventsRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetEventsRequest) MarshalVT ¶ added in v0.29.4
func (m *GetEventsRequest) MarshalVT() (dAtA []byte, err error)
func (*GetEventsRequest) ProtoMessage ¶
func (*GetEventsRequest) ProtoMessage()
func (*GetEventsRequest) ProtoReflect ¶
func (x *GetEventsRequest) ProtoReflect() protoreflect.Message
func (*GetEventsRequest) Reset ¶
func (x *GetEventsRequest) Reset()
func (*GetEventsRequest) SizeVT ¶ added in v0.29.4
func (m *GetEventsRequest) SizeVT() (n int)
func (*GetEventsRequest) String ¶
func (x *GetEventsRequest) String() string
func (*GetEventsRequest) UnmarshalVT ¶ added in v0.29.4
func (m *GetEventsRequest) UnmarshalVT(dAtA []byte) error
type GetEventsResponse ¶
type GetEventsResponse struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Types []string `protobuf:"bytes,2,rep,name=types,proto3" json:"types,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetEventsResponse) Descriptor
deprecated
func (*GetEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEventsResponse.ProtoReflect.Descriptor instead.
func (*GetEventsResponse) GetData ¶
func (x *GetEventsResponse) GetData() []byte
func (*GetEventsResponse) GetHeight ¶
func (x *GetEventsResponse) GetHeight() uint64
func (*GetEventsResponse) GetTypes ¶
func (x *GetEventsResponse) GetTypes() []string
func (*GetEventsResponse) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetEventsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetEventsResponse) MarshalToVT ¶ added in v0.29.4
func (m *GetEventsResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetEventsResponse) MarshalVT ¶ added in v0.29.4
func (m *GetEventsResponse) MarshalVT() (dAtA []byte, err error)
func (*GetEventsResponse) ProtoMessage ¶
func (*GetEventsResponse) ProtoMessage()
func (*GetEventsResponse) ProtoReflect ¶
func (x *GetEventsResponse) ProtoReflect() protoreflect.Message
func (*GetEventsResponse) Reset ¶
func (x *GetEventsResponse) Reset()
func (*GetEventsResponse) SizeVT ¶ added in v0.29.4
func (m *GetEventsResponse) SizeVT() (n int)
func (*GetEventsResponse) String ¶
func (x *GetEventsResponse) String() string
func (*GetEventsResponse) UnmarshalVT ¶ added in v0.29.4
func (m *GetEventsResponse) UnmarshalVT(dAtA []byte) error
type GetFirstRequest ¶
type GetFirstRequest struct {
// contains filtered or unexported fields
}
func (*GetFirstRequest) Descriptor
deprecated
func (*GetFirstRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFirstRequest.ProtoReflect.Descriptor instead.
func (*GetFirstRequest) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetFirstRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetFirstRequest) MarshalToVT ¶ added in v0.29.4
func (m *GetFirstRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetFirstRequest) MarshalVT ¶ added in v0.29.4
func (m *GetFirstRequest) MarshalVT() (dAtA []byte, err error)
func (*GetFirstRequest) ProtoMessage ¶
func (*GetFirstRequest) ProtoMessage()
func (*GetFirstRequest) ProtoReflect ¶
func (x *GetFirstRequest) ProtoReflect() protoreflect.Message
func (*GetFirstRequest) Reset ¶
func (x *GetFirstRequest) Reset()
func (*GetFirstRequest) SizeVT ¶ added in v0.29.4
func (m *GetFirstRequest) SizeVT() (n int)
func (*GetFirstRequest) String ¶
func (x *GetFirstRequest) String() string
func (*GetFirstRequest) UnmarshalVT ¶ added in v0.29.4
func (m *GetFirstRequest) UnmarshalVT(dAtA []byte) error
type GetFirstResponse ¶
type GetFirstResponse struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty" validate:"required"` // contains filtered or unexported fields }
func (*GetFirstResponse) Descriptor
deprecated
func (*GetFirstResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFirstResponse.ProtoReflect.Descriptor instead.
func (*GetFirstResponse) GetHeight ¶
func (x *GetFirstResponse) GetHeight() uint64
func (*GetFirstResponse) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetFirstResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetFirstResponse) MarshalToVT ¶ added in v0.29.4
func (m *GetFirstResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetFirstResponse) MarshalVT ¶ added in v0.29.4
func (m *GetFirstResponse) MarshalVT() (dAtA []byte, err error)
func (*GetFirstResponse) ProtoMessage ¶
func (*GetFirstResponse) ProtoMessage()
func (*GetFirstResponse) ProtoReflect ¶
func (x *GetFirstResponse) ProtoReflect() protoreflect.Message
func (*GetFirstResponse) Reset ¶
func (x *GetFirstResponse) Reset()
func (*GetFirstResponse) SizeVT ¶ added in v0.29.4
func (m *GetFirstResponse) SizeVT() (n int)
func (*GetFirstResponse) String ¶
func (x *GetFirstResponse) String() string
func (*GetFirstResponse) UnmarshalVT ¶ added in v0.29.4
func (m *GetFirstResponse) UnmarshalVT(dAtA []byte) error
type GetGuaranteeRequest ¶
type GetGuaranteeRequest struct { CollectionID []byte `protobuf:"bytes,1,opt,name=collectionID,proto3" json:"collectionID,omitempty" validate:"required,len=32"` // contains filtered or unexported fields }
func (*GetGuaranteeRequest) Descriptor
deprecated
func (*GetGuaranteeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGuaranteeRequest.ProtoReflect.Descriptor instead.
func (*GetGuaranteeRequest) GetCollectionID ¶
func (x *GetGuaranteeRequest) GetCollectionID() []byte
func (*GetGuaranteeRequest) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetGuaranteeRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetGuaranteeRequest) MarshalToVT ¶ added in v0.29.4
func (m *GetGuaranteeRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetGuaranteeRequest) MarshalVT ¶ added in v0.29.4
func (m *GetGuaranteeRequest) MarshalVT() (dAtA []byte, err error)
func (*GetGuaranteeRequest) ProtoMessage ¶
func (*GetGuaranteeRequest) ProtoMessage()
func (*GetGuaranteeRequest) ProtoReflect ¶
func (x *GetGuaranteeRequest) ProtoReflect() protoreflect.Message
func (*GetGuaranteeRequest) Reset ¶
func (x *GetGuaranteeRequest) Reset()
func (*GetGuaranteeRequest) SizeVT ¶ added in v0.29.4
func (m *GetGuaranteeRequest) SizeVT() (n int)
func (*GetGuaranteeRequest) String ¶
func (x *GetGuaranteeRequest) String() string
func (*GetGuaranteeRequest) UnmarshalVT ¶ added in v0.29.4
func (m *GetGuaranteeRequest) UnmarshalVT(dAtA []byte) error
type GetGuaranteeResponse ¶
type GetGuaranteeResponse struct { CollectionID []byte `protobuf:"bytes,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetGuaranteeResponse) Descriptor
deprecated
func (*GetGuaranteeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGuaranteeResponse.ProtoReflect.Descriptor instead.
func (*GetGuaranteeResponse) GetCollectionID ¶
func (x *GetGuaranteeResponse) GetCollectionID() []byte
func (*GetGuaranteeResponse) GetData ¶
func (x *GetGuaranteeResponse) GetData() []byte
func (*GetGuaranteeResponse) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetGuaranteeResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetGuaranteeResponse) MarshalToVT ¶ added in v0.29.4
func (m *GetGuaranteeResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetGuaranteeResponse) MarshalVT ¶ added in v0.29.4
func (m *GetGuaranteeResponse) MarshalVT() (dAtA []byte, err error)
func (*GetGuaranteeResponse) ProtoMessage ¶
func (*GetGuaranteeResponse) ProtoMessage()
func (*GetGuaranteeResponse) ProtoReflect ¶
func (x *GetGuaranteeResponse) ProtoReflect() protoreflect.Message
func (*GetGuaranteeResponse) Reset ¶
func (x *GetGuaranteeResponse) Reset()
func (*GetGuaranteeResponse) SizeVT ¶ added in v0.29.4
func (m *GetGuaranteeResponse) SizeVT() (n int)
func (*GetGuaranteeResponse) String ¶
func (x *GetGuaranteeResponse) String() string
func (*GetGuaranteeResponse) UnmarshalVT ¶ added in v0.29.4
func (m *GetGuaranteeResponse) UnmarshalVT(dAtA []byte) error
type GetHeaderRequest ¶
type GetHeaderRequest struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty" validate:"required"` // contains filtered or unexported fields }
func (*GetHeaderRequest) Descriptor
deprecated
func (*GetHeaderRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHeaderRequest.ProtoReflect.Descriptor instead.
func (*GetHeaderRequest) GetHeight ¶
func (x *GetHeaderRequest) GetHeight() uint64
func (*GetHeaderRequest) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetHeaderRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetHeaderRequest) MarshalToVT ¶ added in v0.29.4
func (m *GetHeaderRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetHeaderRequest) MarshalVT ¶ added in v0.29.4
func (m *GetHeaderRequest) MarshalVT() (dAtA []byte, err error)
func (*GetHeaderRequest) ProtoMessage ¶
func (*GetHeaderRequest) ProtoMessage()
func (*GetHeaderRequest) ProtoReflect ¶
func (x *GetHeaderRequest) ProtoReflect() protoreflect.Message
func (*GetHeaderRequest) Reset ¶
func (x *GetHeaderRequest) Reset()
func (*GetHeaderRequest) SizeVT ¶ added in v0.29.4
func (m *GetHeaderRequest) SizeVT() (n int)
func (*GetHeaderRequest) String ¶
func (x *GetHeaderRequest) String() string
func (*GetHeaderRequest) UnmarshalVT ¶ added in v0.29.4
func (m *GetHeaderRequest) UnmarshalVT(dAtA []byte) error
type GetHeaderResponse ¶
type GetHeaderResponse struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetHeaderResponse) Descriptor
deprecated
func (*GetHeaderResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetHeaderResponse.ProtoReflect.Descriptor instead.
func (*GetHeaderResponse) GetData ¶
func (x *GetHeaderResponse) GetData() []byte
func (*GetHeaderResponse) GetHeight ¶
func (x *GetHeaderResponse) GetHeight() uint64
func (*GetHeaderResponse) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetHeaderResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetHeaderResponse) MarshalToVT ¶ added in v0.29.4
func (m *GetHeaderResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetHeaderResponse) MarshalVT ¶ added in v0.29.4
func (m *GetHeaderResponse) MarshalVT() (dAtA []byte, err error)
func (*GetHeaderResponse) ProtoMessage ¶
func (*GetHeaderResponse) ProtoMessage()
func (*GetHeaderResponse) ProtoReflect ¶
func (x *GetHeaderResponse) ProtoReflect() protoreflect.Message
func (*GetHeaderResponse) Reset ¶
func (x *GetHeaderResponse) Reset()
func (*GetHeaderResponse) SizeVT ¶ added in v0.29.4
func (m *GetHeaderResponse) SizeVT() (n int)
func (*GetHeaderResponse) String ¶
func (x *GetHeaderResponse) String() string
func (*GetHeaderResponse) UnmarshalVT ¶ added in v0.29.4
func (m *GetHeaderResponse) UnmarshalVT(dAtA []byte) error
type GetHeightForBlockRequest ¶
type GetHeightForBlockRequest struct { BlockID []byte `protobuf:"bytes,1,opt,name=blockID,proto3" json:"blockID,omitempty" validate:"required,len=32"` // contains filtered or unexported fields }
func (*GetHeightForBlockRequest) Descriptor
deprecated
func (*GetHeightForBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHeightForBlockRequest.ProtoReflect.Descriptor instead.
func (*GetHeightForBlockRequest) GetBlockID ¶
func (x *GetHeightForBlockRequest) GetBlockID() []byte
func (*GetHeightForBlockRequest) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetHeightForBlockRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetHeightForBlockRequest) MarshalToVT ¶ added in v0.29.4
func (m *GetHeightForBlockRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetHeightForBlockRequest) MarshalVT ¶ added in v0.29.4
func (m *GetHeightForBlockRequest) MarshalVT() (dAtA []byte, err error)
func (*GetHeightForBlockRequest) ProtoMessage ¶
func (*GetHeightForBlockRequest) ProtoMessage()
func (*GetHeightForBlockRequest) ProtoReflect ¶
func (x *GetHeightForBlockRequest) ProtoReflect() protoreflect.Message
func (*GetHeightForBlockRequest) Reset ¶
func (x *GetHeightForBlockRequest) Reset()
func (*GetHeightForBlockRequest) SizeVT ¶ added in v0.29.4
func (m *GetHeightForBlockRequest) SizeVT() (n int)
func (*GetHeightForBlockRequest) String ¶
func (x *GetHeightForBlockRequest) String() string
func (*GetHeightForBlockRequest) UnmarshalVT ¶ added in v0.29.4
func (m *GetHeightForBlockRequest) UnmarshalVT(dAtA []byte) error
type GetHeightForBlockResponse ¶
type GetHeightForBlockResponse struct { BlockID []byte `protobuf:"bytes,1,opt,name=blockID,proto3" json:"blockID,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*GetHeightForBlockResponse) Descriptor
deprecated
func (*GetHeightForBlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetHeightForBlockResponse.ProtoReflect.Descriptor instead.
func (*GetHeightForBlockResponse) GetBlockID ¶
func (x *GetHeightForBlockResponse) GetBlockID() []byte
func (*GetHeightForBlockResponse) GetHeight ¶
func (x *GetHeightForBlockResponse) GetHeight() uint64
func (*GetHeightForBlockResponse) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetHeightForBlockResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetHeightForBlockResponse) MarshalToVT ¶ added in v0.29.4
func (m *GetHeightForBlockResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetHeightForBlockResponse) MarshalVT ¶ added in v0.29.4
func (m *GetHeightForBlockResponse) MarshalVT() (dAtA []byte, err error)
func (*GetHeightForBlockResponse) ProtoMessage ¶
func (*GetHeightForBlockResponse) ProtoMessage()
func (*GetHeightForBlockResponse) ProtoReflect ¶
func (x *GetHeightForBlockResponse) ProtoReflect() protoreflect.Message
func (*GetHeightForBlockResponse) Reset ¶
func (x *GetHeightForBlockResponse) Reset()
func (*GetHeightForBlockResponse) SizeVT ¶ added in v0.29.4
func (m *GetHeightForBlockResponse) SizeVT() (n int)
func (*GetHeightForBlockResponse) String ¶
func (x *GetHeightForBlockResponse) String() string
func (*GetHeightForBlockResponse) UnmarshalVT ¶ added in v0.29.4
func (m *GetHeightForBlockResponse) UnmarshalVT(dAtA []byte) error
type GetHeightForTransactionRequest ¶
type GetHeightForTransactionRequest struct { TransactionID []byte `protobuf:"bytes,1,opt,name=transactionID,proto3" json:"transactionID,omitempty" validate:"required,len=32"` // contains filtered or unexported fields }
func (*GetHeightForTransactionRequest) Descriptor
deprecated
func (*GetHeightForTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHeightForTransactionRequest.ProtoReflect.Descriptor instead.
func (*GetHeightForTransactionRequest) GetTransactionID ¶
func (x *GetHeightForTransactionRequest) GetTransactionID() []byte
func (*GetHeightForTransactionRequest) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetHeightForTransactionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetHeightForTransactionRequest) MarshalToVT ¶ added in v0.29.4
func (m *GetHeightForTransactionRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetHeightForTransactionRequest) MarshalVT ¶ added in v0.29.4
func (m *GetHeightForTransactionRequest) MarshalVT() (dAtA []byte, err error)
func (*GetHeightForTransactionRequest) ProtoMessage ¶
func (*GetHeightForTransactionRequest) ProtoMessage()
func (*GetHeightForTransactionRequest) ProtoReflect ¶
func (x *GetHeightForTransactionRequest) ProtoReflect() protoreflect.Message
func (*GetHeightForTransactionRequest) Reset ¶
func (x *GetHeightForTransactionRequest) Reset()
func (*GetHeightForTransactionRequest) SizeVT ¶ added in v0.29.4
func (m *GetHeightForTransactionRequest) SizeVT() (n int)
func (*GetHeightForTransactionRequest) String ¶
func (x *GetHeightForTransactionRequest) String() string
func (*GetHeightForTransactionRequest) UnmarshalVT ¶ added in v0.29.4
func (m *GetHeightForTransactionRequest) UnmarshalVT(dAtA []byte) error
type GetHeightForTransactionResponse ¶
type GetHeightForTransactionResponse struct { TransactionID []byte `protobuf:"bytes,1,opt,name=transactionID,proto3" json:"transactionID,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*GetHeightForTransactionResponse) Descriptor
deprecated
func (*GetHeightForTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetHeightForTransactionResponse.ProtoReflect.Descriptor instead.
func (*GetHeightForTransactionResponse) GetHeight ¶
func (x *GetHeightForTransactionResponse) GetHeight() uint64
func (*GetHeightForTransactionResponse) GetTransactionID ¶
func (x *GetHeightForTransactionResponse) GetTransactionID() []byte
func (*GetHeightForTransactionResponse) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetHeightForTransactionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetHeightForTransactionResponse) MarshalToVT ¶ added in v0.29.4
func (m *GetHeightForTransactionResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetHeightForTransactionResponse) MarshalVT ¶ added in v0.29.4
func (m *GetHeightForTransactionResponse) MarshalVT() (dAtA []byte, err error)
func (*GetHeightForTransactionResponse) ProtoMessage ¶
func (*GetHeightForTransactionResponse) ProtoMessage()
func (*GetHeightForTransactionResponse) ProtoReflect ¶
func (x *GetHeightForTransactionResponse) ProtoReflect() protoreflect.Message
func (*GetHeightForTransactionResponse) Reset ¶
func (x *GetHeightForTransactionResponse) Reset()
func (*GetHeightForTransactionResponse) SizeVT ¶ added in v0.29.4
func (m *GetHeightForTransactionResponse) SizeVT() (n int)
func (*GetHeightForTransactionResponse) String ¶
func (x *GetHeightForTransactionResponse) String() string
func (*GetHeightForTransactionResponse) UnmarshalVT ¶ added in v0.29.4
func (m *GetHeightForTransactionResponse) UnmarshalVT(dAtA []byte) error
type GetLastRequest ¶
type GetLastRequest struct {
// contains filtered or unexported fields
}
func (*GetLastRequest) Descriptor
deprecated
func (*GetLastRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLastRequest.ProtoReflect.Descriptor instead.
func (*GetLastRequest) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetLastRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetLastRequest) MarshalToVT ¶ added in v0.29.4
func (m *GetLastRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetLastRequest) MarshalVT ¶ added in v0.29.4
func (m *GetLastRequest) MarshalVT() (dAtA []byte, err error)
func (*GetLastRequest) ProtoMessage ¶
func (*GetLastRequest) ProtoMessage()
func (*GetLastRequest) ProtoReflect ¶
func (x *GetLastRequest) ProtoReflect() protoreflect.Message
func (*GetLastRequest) Reset ¶
func (x *GetLastRequest) Reset()
func (*GetLastRequest) SizeVT ¶ added in v0.29.4
func (m *GetLastRequest) SizeVT() (n int)
func (*GetLastRequest) String ¶
func (x *GetLastRequest) String() string
func (*GetLastRequest) UnmarshalVT ¶ added in v0.29.4
func (m *GetLastRequest) UnmarshalVT(dAtA []byte) error
type GetLastResponse ¶
type GetLastResponse struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*GetLastResponse) Descriptor
deprecated
func (*GetLastResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLastResponse.ProtoReflect.Descriptor instead.
func (*GetLastResponse) GetHeight ¶
func (x *GetLastResponse) GetHeight() uint64
func (*GetLastResponse) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetLastResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetLastResponse) MarshalToVT ¶ added in v0.29.4
func (m *GetLastResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetLastResponse) MarshalVT ¶ added in v0.29.4
func (m *GetLastResponse) MarshalVT() (dAtA []byte, err error)
func (*GetLastResponse) ProtoMessage ¶
func (*GetLastResponse) ProtoMessage()
func (*GetLastResponse) ProtoReflect ¶
func (x *GetLastResponse) ProtoReflect() protoreflect.Message
func (*GetLastResponse) Reset ¶
func (x *GetLastResponse) Reset()
func (*GetLastResponse) SizeVT ¶ added in v0.29.4
func (m *GetLastResponse) SizeVT() (n int)
func (*GetLastResponse) String ¶
func (x *GetLastResponse) String() string
func (*GetLastResponse) UnmarshalVT ¶ added in v0.29.4
func (m *GetLastResponse) UnmarshalVT(dAtA []byte) error
type GetRegisterValuesRequest ¶
type GetRegisterValuesRequest struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty" validate:"required"` Paths [][]byte `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty" validate:"required,dive,len=32"` // contains filtered or unexported fields }
func (*GetRegisterValuesRequest) Descriptor
deprecated
func (*GetRegisterValuesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRegisterValuesRequest.ProtoReflect.Descriptor instead.
func (*GetRegisterValuesRequest) GetHeight ¶
func (x *GetRegisterValuesRequest) GetHeight() uint64
func (*GetRegisterValuesRequest) GetPaths ¶
func (x *GetRegisterValuesRequest) GetPaths() [][]byte
func (*GetRegisterValuesRequest) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetRegisterValuesRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetRegisterValuesRequest) MarshalToVT ¶ added in v0.29.4
func (m *GetRegisterValuesRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetRegisterValuesRequest) MarshalVT ¶ added in v0.29.4
func (m *GetRegisterValuesRequest) MarshalVT() (dAtA []byte, err error)
func (*GetRegisterValuesRequest) ProtoMessage ¶
func (*GetRegisterValuesRequest) ProtoMessage()
func (*GetRegisterValuesRequest) ProtoReflect ¶
func (x *GetRegisterValuesRequest) ProtoReflect() protoreflect.Message
func (*GetRegisterValuesRequest) Reset ¶
func (x *GetRegisterValuesRequest) Reset()
func (*GetRegisterValuesRequest) SizeVT ¶ added in v0.29.4
func (m *GetRegisterValuesRequest) SizeVT() (n int)
func (*GetRegisterValuesRequest) String ¶
func (x *GetRegisterValuesRequest) String() string
func (*GetRegisterValuesRequest) UnmarshalVT ¶ added in v0.29.4
func (m *GetRegisterValuesRequest) UnmarshalVT(dAtA []byte) error
type GetRegisterValuesResponse ¶
type GetRegisterValuesResponse struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Paths [][]byte `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` Values [][]byte `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*GetRegisterValuesResponse) Descriptor
deprecated
func (*GetRegisterValuesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRegisterValuesResponse.ProtoReflect.Descriptor instead.
func (*GetRegisterValuesResponse) GetHeight ¶
func (x *GetRegisterValuesResponse) GetHeight() uint64
func (*GetRegisterValuesResponse) GetPaths ¶
func (x *GetRegisterValuesResponse) GetPaths() [][]byte
func (*GetRegisterValuesResponse) GetValues ¶
func (x *GetRegisterValuesResponse) GetValues() [][]byte
func (*GetRegisterValuesResponse) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetRegisterValuesResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetRegisterValuesResponse) MarshalToVT ¶ added in v0.29.4
func (m *GetRegisterValuesResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetRegisterValuesResponse) MarshalVT ¶ added in v0.29.4
func (m *GetRegisterValuesResponse) MarshalVT() (dAtA []byte, err error)
func (*GetRegisterValuesResponse) ProtoMessage ¶
func (*GetRegisterValuesResponse) ProtoMessage()
func (*GetRegisterValuesResponse) ProtoReflect ¶
func (x *GetRegisterValuesResponse) ProtoReflect() protoreflect.Message
func (*GetRegisterValuesResponse) Reset ¶
func (x *GetRegisterValuesResponse) Reset()
func (*GetRegisterValuesResponse) SizeVT ¶ added in v0.29.4
func (m *GetRegisterValuesResponse) SizeVT() (n int)
func (*GetRegisterValuesResponse) String ¶
func (x *GetRegisterValuesResponse) String() string
func (*GetRegisterValuesResponse) UnmarshalVT ¶ added in v0.29.4
func (m *GetRegisterValuesResponse) UnmarshalVT(dAtA []byte) error
type GetResultRequest ¶
type GetResultRequest struct { TransactionID []byte `protobuf:"bytes,1,opt,name=transactionID,proto3" json:"transactionID,omitempty" validate:"required,len=32"` // contains filtered or unexported fields }
func (*GetResultRequest) Descriptor
deprecated
func (*GetResultRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetResultRequest.ProtoReflect.Descriptor instead.
func (*GetResultRequest) GetTransactionID ¶
func (x *GetResultRequest) GetTransactionID() []byte
func (*GetResultRequest) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetResultRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetResultRequest) MarshalToVT ¶ added in v0.29.4
func (m *GetResultRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetResultRequest) MarshalVT ¶ added in v0.29.4
func (m *GetResultRequest) MarshalVT() (dAtA []byte, err error)
func (*GetResultRequest) ProtoMessage ¶
func (*GetResultRequest) ProtoMessage()
func (*GetResultRequest) ProtoReflect ¶
func (x *GetResultRequest) ProtoReflect() protoreflect.Message
func (*GetResultRequest) Reset ¶
func (x *GetResultRequest) Reset()
func (*GetResultRequest) SizeVT ¶ added in v0.29.4
func (m *GetResultRequest) SizeVT() (n int)
func (*GetResultRequest) String ¶
func (x *GetResultRequest) String() string
func (*GetResultRequest) UnmarshalVT ¶ added in v0.29.4
func (m *GetResultRequest) UnmarshalVT(dAtA []byte) error
type GetResultResponse ¶
type GetResultResponse struct { TransactionID []byte `protobuf:"bytes,1,opt,name=transactionID,proto3" json:"transactionID,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetResultResponse) Descriptor
deprecated
func (*GetResultResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResultResponse.ProtoReflect.Descriptor instead.
func (*GetResultResponse) GetData ¶
func (x *GetResultResponse) GetData() []byte
func (*GetResultResponse) GetTransactionID ¶
func (x *GetResultResponse) GetTransactionID() []byte
func (*GetResultResponse) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetResultResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetResultResponse) MarshalToVT ¶ added in v0.29.4
func (m *GetResultResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetResultResponse) MarshalVT ¶ added in v0.29.4
func (m *GetResultResponse) MarshalVT() (dAtA []byte, err error)
func (*GetResultResponse) ProtoMessage ¶
func (*GetResultResponse) ProtoMessage()
func (*GetResultResponse) ProtoReflect ¶
func (x *GetResultResponse) ProtoReflect() protoreflect.Message
func (*GetResultResponse) Reset ¶
func (x *GetResultResponse) Reset()
func (*GetResultResponse) SizeVT ¶ added in v0.29.4
func (m *GetResultResponse) SizeVT() (n int)
func (*GetResultResponse) String ¶
func (x *GetResultResponse) String() string
func (*GetResultResponse) UnmarshalVT ¶ added in v0.29.4
func (m *GetResultResponse) UnmarshalVT(dAtA []byte) error
type GetSealRequest ¶
type GetSealRequest struct { SealID []byte `protobuf:"bytes,1,opt,name=sealID,proto3" json:"sealID,omitempty" validate:"required,len=32"` // contains filtered or unexported fields }
func (*GetSealRequest) Descriptor
deprecated
func (*GetSealRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSealRequest.ProtoReflect.Descriptor instead.
func (*GetSealRequest) GetSealID ¶
func (x *GetSealRequest) GetSealID() []byte
func (*GetSealRequest) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetSealRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetSealRequest) MarshalToVT ¶ added in v0.29.4
func (m *GetSealRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetSealRequest) MarshalVT ¶ added in v0.29.4
func (m *GetSealRequest) MarshalVT() (dAtA []byte, err error)
func (*GetSealRequest) ProtoMessage ¶
func (*GetSealRequest) ProtoMessage()
func (*GetSealRequest) ProtoReflect ¶
func (x *GetSealRequest) ProtoReflect() protoreflect.Message
func (*GetSealRequest) Reset ¶
func (x *GetSealRequest) Reset()
func (*GetSealRequest) SizeVT ¶ added in v0.29.4
func (m *GetSealRequest) SizeVT() (n int)
func (*GetSealRequest) String ¶
func (x *GetSealRequest) String() string
func (*GetSealRequest) UnmarshalVT ¶ added in v0.29.4
func (m *GetSealRequest) UnmarshalVT(dAtA []byte) error
type GetSealResponse ¶
type GetSealResponse struct { SealID []byte `protobuf:"bytes,1,opt,name=sealID,proto3" json:"sealID,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetSealResponse) Descriptor
deprecated
func (*GetSealResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSealResponse.ProtoReflect.Descriptor instead.
func (*GetSealResponse) GetData ¶
func (x *GetSealResponse) GetData() []byte
func (*GetSealResponse) GetSealID ¶
func (x *GetSealResponse) GetSealID() []byte
func (*GetSealResponse) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetSealResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetSealResponse) MarshalToVT ¶ added in v0.29.4
func (m *GetSealResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetSealResponse) MarshalVT ¶ added in v0.29.4
func (m *GetSealResponse) MarshalVT() (dAtA []byte, err error)
func (*GetSealResponse) ProtoMessage ¶
func (*GetSealResponse) ProtoMessage()
func (*GetSealResponse) ProtoReflect ¶
func (x *GetSealResponse) ProtoReflect() protoreflect.Message
func (*GetSealResponse) Reset ¶
func (x *GetSealResponse) Reset()
func (*GetSealResponse) SizeVT ¶ added in v0.29.4
func (m *GetSealResponse) SizeVT() (n int)
func (*GetSealResponse) String ¶
func (x *GetSealResponse) String() string
func (*GetSealResponse) UnmarshalVT ¶ added in v0.29.4
func (m *GetSealResponse) UnmarshalVT(dAtA []byte) error
type GetTransactionRequest ¶
type GetTransactionRequest struct { TransactionID []byte `protobuf:"bytes,1,opt,name=transactionID,proto3" json:"transactionID,omitempty" validate:"required,len=32"` // contains filtered or unexported fields }
func (*GetTransactionRequest) Descriptor
deprecated
func (*GetTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionRequest.ProtoReflect.Descriptor instead.
func (*GetTransactionRequest) GetTransactionID ¶
func (x *GetTransactionRequest) GetTransactionID() []byte
func (*GetTransactionRequest) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetTransactionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetTransactionRequest) MarshalToVT ¶ added in v0.29.4
func (m *GetTransactionRequest) MarshalToVT(dAtA []byte) (int, error)
func (*GetTransactionRequest) MarshalVT ¶ added in v0.29.4
func (m *GetTransactionRequest) MarshalVT() (dAtA []byte, err error)
func (*GetTransactionRequest) ProtoMessage ¶
func (*GetTransactionRequest) ProtoMessage()
func (*GetTransactionRequest) ProtoReflect ¶
func (x *GetTransactionRequest) ProtoReflect() protoreflect.Message
func (*GetTransactionRequest) Reset ¶
func (x *GetTransactionRequest) Reset()
func (*GetTransactionRequest) SizeVT ¶ added in v0.29.4
func (m *GetTransactionRequest) SizeVT() (n int)
func (*GetTransactionRequest) String ¶
func (x *GetTransactionRequest) String() string
func (*GetTransactionRequest) UnmarshalVT ¶ added in v0.29.4
func (m *GetTransactionRequest) UnmarshalVT(dAtA []byte) error
type GetTransactionResponse ¶
type GetTransactionResponse struct { TransactionID []byte `protobuf:"bytes,1,opt,name=transactionID,proto3" json:"transactionID,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetTransactionResponse) Descriptor
deprecated
func (*GetTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionResponse.ProtoReflect.Descriptor instead.
func (*GetTransactionResponse) GetData ¶
func (x *GetTransactionResponse) GetData() []byte
func (*GetTransactionResponse) GetTransactionID ¶
func (x *GetTransactionResponse) GetTransactionID() []byte
func (*GetTransactionResponse) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *GetTransactionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*GetTransactionResponse) MarshalToVT ¶ added in v0.29.4
func (m *GetTransactionResponse) MarshalToVT(dAtA []byte) (int, error)
func (*GetTransactionResponse) MarshalVT ¶ added in v0.29.4
func (m *GetTransactionResponse) MarshalVT() (dAtA []byte, err error)
func (*GetTransactionResponse) ProtoMessage ¶
func (*GetTransactionResponse) ProtoMessage()
func (*GetTransactionResponse) ProtoReflect ¶
func (x *GetTransactionResponse) ProtoReflect() protoreflect.Message
func (*GetTransactionResponse) Reset ¶
func (x *GetTransactionResponse) Reset()
func (*GetTransactionResponse) SizeVT ¶ added in v0.29.4
func (m *GetTransactionResponse) SizeVT() (n int)
func (*GetTransactionResponse) String ¶
func (x *GetTransactionResponse) String() string
func (*GetTransactionResponse) UnmarshalVT ¶ added in v0.29.4
func (m *GetTransactionResponse) UnmarshalVT(dAtA []byte) error
type Index ¶
type Index struct {
// contains filtered or unexported fields
}
Index implements the `index.Reader` interface on top of the DPS server's GRPC API. It can substitute for the on-disk index reader when executing scripts, such that script invoker and execution state are on two different machines across a network.
func IndexFromAPI ¶
IndexFromAPI creates a new instance of an index reader that uses the provided GRPC API client to retrieve state from the index.
func (*Index) Collection ¶
func (i *Index) Collection(collID flow.Identifier) (*flow.LightCollection, error)
Collection returns the collection with the given ID.
func (*Index) CollectionsByHeight ¶
func (i *Index) CollectionsByHeight(height uint64) ([]flow.Identifier, error)
CollectionsByHeight returns the transaction IDs within the given block.
func (*Index) Commit ¶
func (i *Index) Commit(height uint64) (flow.StateCommitment, error)
Commit returns the commitment of the execution state as it was after the execution of the finalized block at the given height.
func (*Index) Events ¶
Events returns the events of all transactions that were part of the finalized block at the given height. It can optionally filter them by event type; if no event types are given, all events are returned.
func (*Index) Guarantee ¶
func (i *Index) Guarantee(collID flow.Identifier) (*flow.CollectionGuarantee, error)
Guarantee returns the collection guarantee for the given collection ID.
func (*Index) HeightForBlock ¶
func (i *Index) HeightForBlock(blockID flow.Identifier) (uint64, error)
HeightForBlock returns the height of the given blockID.
func (*Index) HeightForTransaction ¶
func (i *Index) HeightForTransaction(txID flow.Identifier) (uint64, error)
HeightForTransaction returns the height of the given transaction ID.
func (*Index) Result ¶
func (i *Index) Result(txID flow.Identifier) (*flow.TransactionResult, error)
Result returns the result for a given transaction ID.
func (*Index) SealsByHeight ¶
func (i *Index) SealsByHeight(height uint64) ([]flow.Identifier, error)
SealsByHeight returns the seal IDs at the given height.
func (*Index) Transaction ¶
func (i *Index) Transaction(txID flow.Identifier) (*flow.TransactionBody, error)
Transaction returns the transaction with the given ID.
func (*Index) TransactionsByHeight ¶
func (i *Index) TransactionsByHeight(height uint64) ([]flow.Identifier, error)
TransactionsByHeight returns the transaction IDs within the given block.
func (*Index) Values ¶
Values returns the Ledger values of the execution state at the given paths as they were after the execution of the finalized block at the given height. For compatibility with existing Flow execution node code, a path that is not found within the indexed execution state returns a nil value without error.
type ListCollectionsForHeightRequest ¶
type ListCollectionsForHeightRequest struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty" validate:"required"` // contains filtered or unexported fields }
func (*ListCollectionsForHeightRequest) Descriptor
deprecated
func (*ListCollectionsForHeightRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCollectionsForHeightRequest.ProtoReflect.Descriptor instead.
func (*ListCollectionsForHeightRequest) GetHeight ¶
func (x *ListCollectionsForHeightRequest) GetHeight() uint64
func (*ListCollectionsForHeightRequest) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *ListCollectionsForHeightRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ListCollectionsForHeightRequest) MarshalToVT ¶ added in v0.29.4
func (m *ListCollectionsForHeightRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ListCollectionsForHeightRequest) MarshalVT ¶ added in v0.29.4
func (m *ListCollectionsForHeightRequest) MarshalVT() (dAtA []byte, err error)
func (*ListCollectionsForHeightRequest) ProtoMessage ¶
func (*ListCollectionsForHeightRequest) ProtoMessage()
func (*ListCollectionsForHeightRequest) ProtoReflect ¶
func (x *ListCollectionsForHeightRequest) ProtoReflect() protoreflect.Message
func (*ListCollectionsForHeightRequest) Reset ¶
func (x *ListCollectionsForHeightRequest) Reset()
func (*ListCollectionsForHeightRequest) SizeVT ¶ added in v0.29.4
func (m *ListCollectionsForHeightRequest) SizeVT() (n int)
func (*ListCollectionsForHeightRequest) String ¶
func (x *ListCollectionsForHeightRequest) String() string
func (*ListCollectionsForHeightRequest) UnmarshalVT ¶ added in v0.29.4
func (m *ListCollectionsForHeightRequest) UnmarshalVT(dAtA []byte) error
type ListCollectionsForHeightResponse ¶
type ListCollectionsForHeightResponse struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` CollectionIDs [][]byte `protobuf:"bytes,2,rep,name=collectionIDs,proto3" json:"collectionIDs,omitempty"` // contains filtered or unexported fields }
func (*ListCollectionsForHeightResponse) Descriptor
deprecated
func (*ListCollectionsForHeightResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCollectionsForHeightResponse.ProtoReflect.Descriptor instead.
func (*ListCollectionsForHeightResponse) GetCollectionIDs ¶
func (x *ListCollectionsForHeightResponse) GetCollectionIDs() [][]byte
func (*ListCollectionsForHeightResponse) GetHeight ¶
func (x *ListCollectionsForHeightResponse) GetHeight() uint64
func (*ListCollectionsForHeightResponse) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *ListCollectionsForHeightResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ListCollectionsForHeightResponse) MarshalToVT ¶ added in v0.29.4
func (m *ListCollectionsForHeightResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ListCollectionsForHeightResponse) MarshalVT ¶ added in v0.29.4
func (m *ListCollectionsForHeightResponse) MarshalVT() (dAtA []byte, err error)
func (*ListCollectionsForHeightResponse) ProtoMessage ¶
func (*ListCollectionsForHeightResponse) ProtoMessage()
func (*ListCollectionsForHeightResponse) ProtoReflect ¶
func (x *ListCollectionsForHeightResponse) ProtoReflect() protoreflect.Message
func (*ListCollectionsForHeightResponse) Reset ¶
func (x *ListCollectionsForHeightResponse) Reset()
func (*ListCollectionsForHeightResponse) SizeVT ¶ added in v0.29.4
func (m *ListCollectionsForHeightResponse) SizeVT() (n int)
func (*ListCollectionsForHeightResponse) String ¶
func (x *ListCollectionsForHeightResponse) String() string
func (*ListCollectionsForHeightResponse) UnmarshalVT ¶ added in v0.29.4
func (m *ListCollectionsForHeightResponse) UnmarshalVT(dAtA []byte) error
type ListSealsForHeightRequest ¶
type ListSealsForHeightRequest struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty" validate:"required"` // contains filtered or unexported fields }
func (*ListSealsForHeightRequest) Descriptor
deprecated
func (*ListSealsForHeightRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSealsForHeightRequest.ProtoReflect.Descriptor instead.
func (*ListSealsForHeightRequest) GetHeight ¶
func (x *ListSealsForHeightRequest) GetHeight() uint64
func (*ListSealsForHeightRequest) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *ListSealsForHeightRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ListSealsForHeightRequest) MarshalToVT ¶ added in v0.29.4
func (m *ListSealsForHeightRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ListSealsForHeightRequest) MarshalVT ¶ added in v0.29.4
func (m *ListSealsForHeightRequest) MarshalVT() (dAtA []byte, err error)
func (*ListSealsForHeightRequest) ProtoMessage ¶
func (*ListSealsForHeightRequest) ProtoMessage()
func (*ListSealsForHeightRequest) ProtoReflect ¶
func (x *ListSealsForHeightRequest) ProtoReflect() protoreflect.Message
func (*ListSealsForHeightRequest) Reset ¶
func (x *ListSealsForHeightRequest) Reset()
func (*ListSealsForHeightRequest) SizeVT ¶ added in v0.29.4
func (m *ListSealsForHeightRequest) SizeVT() (n int)
func (*ListSealsForHeightRequest) String ¶
func (x *ListSealsForHeightRequest) String() string
func (*ListSealsForHeightRequest) UnmarshalVT ¶ added in v0.29.4
func (m *ListSealsForHeightRequest) UnmarshalVT(dAtA []byte) error
type ListSealsForHeightResponse ¶
type ListSealsForHeightResponse struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` SealIDs [][]byte `protobuf:"bytes,2,rep,name=sealIDs,proto3" json:"sealIDs,omitempty"` // contains filtered or unexported fields }
func (*ListSealsForHeightResponse) Descriptor
deprecated
func (*ListSealsForHeightResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSealsForHeightResponse.ProtoReflect.Descriptor instead.
func (*ListSealsForHeightResponse) GetHeight ¶
func (x *ListSealsForHeightResponse) GetHeight() uint64
func (*ListSealsForHeightResponse) GetSealIDs ¶
func (x *ListSealsForHeightResponse) GetSealIDs() [][]byte
func (*ListSealsForHeightResponse) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *ListSealsForHeightResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ListSealsForHeightResponse) MarshalToVT ¶ added in v0.29.4
func (m *ListSealsForHeightResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ListSealsForHeightResponse) MarshalVT ¶ added in v0.29.4
func (m *ListSealsForHeightResponse) MarshalVT() (dAtA []byte, err error)
func (*ListSealsForHeightResponse) ProtoMessage ¶
func (*ListSealsForHeightResponse) ProtoMessage()
func (*ListSealsForHeightResponse) ProtoReflect ¶
func (x *ListSealsForHeightResponse) ProtoReflect() protoreflect.Message
func (*ListSealsForHeightResponse) Reset ¶
func (x *ListSealsForHeightResponse) Reset()
func (*ListSealsForHeightResponse) SizeVT ¶ added in v0.29.4
func (m *ListSealsForHeightResponse) SizeVT() (n int)
func (*ListSealsForHeightResponse) String ¶
func (x *ListSealsForHeightResponse) String() string
func (*ListSealsForHeightResponse) UnmarshalVT ¶ added in v0.29.4
func (m *ListSealsForHeightResponse) UnmarshalVT(dAtA []byte) error
type ListTransactionsForHeightRequest ¶
type ListTransactionsForHeightRequest struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty" validate:"required"` // contains filtered or unexported fields }
func (*ListTransactionsForHeightRequest) Descriptor
deprecated
func (*ListTransactionsForHeightRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTransactionsForHeightRequest.ProtoReflect.Descriptor instead.
func (*ListTransactionsForHeightRequest) GetHeight ¶
func (x *ListTransactionsForHeightRequest) GetHeight() uint64
func (*ListTransactionsForHeightRequest) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *ListTransactionsForHeightRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ListTransactionsForHeightRequest) MarshalToVT ¶ added in v0.29.4
func (m *ListTransactionsForHeightRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ListTransactionsForHeightRequest) MarshalVT ¶ added in v0.29.4
func (m *ListTransactionsForHeightRequest) MarshalVT() (dAtA []byte, err error)
func (*ListTransactionsForHeightRequest) ProtoMessage ¶
func (*ListTransactionsForHeightRequest) ProtoMessage()
func (*ListTransactionsForHeightRequest) ProtoReflect ¶
func (x *ListTransactionsForHeightRequest) ProtoReflect() protoreflect.Message
func (*ListTransactionsForHeightRequest) Reset ¶
func (x *ListTransactionsForHeightRequest) Reset()
func (*ListTransactionsForHeightRequest) SizeVT ¶ added in v0.29.4
func (m *ListTransactionsForHeightRequest) SizeVT() (n int)
func (*ListTransactionsForHeightRequest) String ¶
func (x *ListTransactionsForHeightRequest) String() string
func (*ListTransactionsForHeightRequest) UnmarshalVT ¶ added in v0.29.4
func (m *ListTransactionsForHeightRequest) UnmarshalVT(dAtA []byte) error
type ListTransactionsForHeightResponse ¶
type ListTransactionsForHeightResponse struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` TransactionIDs [][]byte `protobuf:"bytes,2,rep,name=transactionIDs,proto3" json:"transactionIDs,omitempty"` // contains filtered or unexported fields }
func (*ListTransactionsForHeightResponse) Descriptor
deprecated
func (*ListTransactionsForHeightResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTransactionsForHeightResponse.ProtoReflect.Descriptor instead.
func (*ListTransactionsForHeightResponse) GetHeight ¶
func (x *ListTransactionsForHeightResponse) GetHeight() uint64
func (*ListTransactionsForHeightResponse) GetTransactionIDs ¶
func (x *ListTransactionsForHeightResponse) GetTransactionIDs() [][]byte
func (*ListTransactionsForHeightResponse) MarshalToSizedBufferVT ¶ added in v0.29.4
func (m *ListTransactionsForHeightResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ListTransactionsForHeightResponse) MarshalToVT ¶ added in v0.29.4
func (m *ListTransactionsForHeightResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ListTransactionsForHeightResponse) MarshalVT ¶ added in v0.29.4
func (m *ListTransactionsForHeightResponse) MarshalVT() (dAtA []byte, err error)
func (*ListTransactionsForHeightResponse) ProtoMessage ¶
func (*ListTransactionsForHeightResponse) ProtoMessage()
func (*ListTransactionsForHeightResponse) ProtoReflect ¶
func (x *ListTransactionsForHeightResponse) ProtoReflect() protoreflect.Message
func (*ListTransactionsForHeightResponse) Reset ¶
func (x *ListTransactionsForHeightResponse) Reset()
func (*ListTransactionsForHeightResponse) SizeVT ¶ added in v0.29.4
func (m *ListTransactionsForHeightResponse) SizeVT() (n int)
func (*ListTransactionsForHeightResponse) String ¶
func (x *ListTransactionsForHeightResponse) String() string
func (*ListTransactionsForHeightResponse) UnmarshalVT ¶ added in v0.29.4
func (m *ListTransactionsForHeightResponse) UnmarshalVT(dAtA []byte) error
type Server ¶
type Server struct { UnimplementedAPIServer // contains filtered or unexported fields }
Server is a simple implementation of the generated APIServer interface. It uses an index reader interface as the backend to retrieve the desired data. This is generally an on-disk interface, but could be a GRPC-based index as well, in which case there is a double redirection.
func NewServer ¶
NewServer creates a new server, using the provided index reader as a backend for data retrieval.
func (*Server) GetCollection ¶
func (s *Server) GetCollection(ctx context.Context, req *GetCollectionRequest) (*GetCollectionResponse, error)
GetCollection implements the `GetCollection` method of the generated GRPC server.
func (*Server) GetCommit ¶
func (s *Server) GetCommit(ctx context.Context, req *GetCommitRequest) (*GetCommitResponse, error)
GetCommit implements the `GetCommit` method of the generated GRPC server.
func (*Server) GetEvents ¶
func (s *Server) GetEvents(ctx context.Context, req *GetEventsRequest) (*GetEventsResponse, error)
GetEvents implements the `GetEvents` method of the generated GRPC server.
func (*Server) GetFirst ¶
func (s *Server) GetFirst(ctx context.Context, _ *GetFirstRequest) (*GetFirstResponse, error)
GetFirst implements the `GetFirst` method of the generated GRPC server.
func (*Server) GetGuarantee ¶
func (s *Server) GetGuarantee(ctx context.Context, req *GetGuaranteeRequest) (*GetGuaranteeResponse, error)
GetGuarantee implements the `GetGuarantee` method of the generated GRPC server.
func (*Server) GetHeader ¶
func (s *Server) GetHeader(ctx context.Context, req *GetHeaderRequest) (*GetHeaderResponse, error)
GetHeader implements the `GetHeader` method of the generated GRPC server.
func (*Server) GetHeightForBlock ¶
func (s *Server) GetHeightForBlock(ctx context.Context, req *GetHeightForBlockRequest) (*GetHeightForBlockResponse, error)
GetHeightForBlock implements the `GetHeightForBlock` method of the generated GRPC server.
func (*Server) GetHeightForTransaction ¶
func (s *Server) GetHeightForTransaction(ctx context.Context, req *GetHeightForTransactionRequest) (*GetHeightForTransactionResponse, error)
GetHeightForTransaction implements the `GetHeightForTransaction` method of the generated GRPC server.
func (*Server) GetLast ¶
func (s *Server) GetLast(ctx context.Context, _ *GetLastRequest) (*GetLastResponse, error)
GetLast implements the `GetLast` method of the generated GRPC server.
func (*Server) GetRegisterValues ¶
func (s *Server) GetRegisterValues(ctx context.Context, req *GetRegisterValuesRequest) (*GetRegisterValuesResponse, error)
GetRegisterValues implements the `GetRegisterValues` method of the generated GRPC server.
func (*Server) GetResult ¶
func (s *Server) GetResult(ctx context.Context, req *GetResultRequest) (*GetResultResponse, error)
GetResult implements the `GetResult` method of the generated GRPC server.
func (*Server) GetSeal ¶
func (s *Server) GetSeal(ctx context.Context, req *GetSealRequest) (*GetSealResponse, error)
GetSeal implements the `GetSeal` method of the generated GRPC server.
func (*Server) GetTransaction ¶
func (s *Server) GetTransaction(ctx context.Context, req *GetTransactionRequest) (*GetTransactionResponse, error)
GetTransaction implements the `GetTransaction` method of the generated GRPC server.
func (*Server) ListCollectionsForHeight ¶
func (s *Server) ListCollectionsForHeight(ctx context.Context, req *ListCollectionsForHeightRequest) (*ListCollectionsForHeightResponse, error)
ListCollectionsForHeight implements the `ListCollectionsForHeight` method of the generated GRPC server.
func (*Server) ListSealsForHeight ¶
func (s *Server) ListSealsForHeight(ctx context.Context, req *ListSealsForHeightRequest) (*ListSealsForHeightResponse, error)
ListSealsForHeight implements the `ListSealsForHeight` method of the generated GRPC server.
func (*Server) ListTransactionsForHeight ¶
func (s *Server) ListTransactionsForHeight(ctx context.Context, req *ListTransactionsForHeightRequest) (*ListTransactionsForHeightResponse, error)
ListTransactionsForHeight implements the `ListTransactionsForHeight` method of the generated GRPC server.
type UnimplementedAPIServer ¶
type UnimplementedAPIServer struct { }
UnimplementedAPIServer must be embedded to have forward compatible implementations.
func (UnimplementedAPIServer) GetCollection ¶
func (UnimplementedAPIServer) GetCollection(context.Context, *GetCollectionRequest) (*GetCollectionResponse, error)
func (UnimplementedAPIServer) GetCommit ¶
func (UnimplementedAPIServer) GetCommit(context.Context, *GetCommitRequest) (*GetCommitResponse, error)
func (UnimplementedAPIServer) GetEvents ¶
func (UnimplementedAPIServer) GetEvents(context.Context, *GetEventsRequest) (*GetEventsResponse, error)
func (UnimplementedAPIServer) GetFirst ¶
func (UnimplementedAPIServer) GetFirst(context.Context, *GetFirstRequest) (*GetFirstResponse, error)
func (UnimplementedAPIServer) GetGuarantee ¶
func (UnimplementedAPIServer) GetGuarantee(context.Context, *GetGuaranteeRequest) (*GetGuaranteeResponse, error)
func (UnimplementedAPIServer) GetHeader ¶
func (UnimplementedAPIServer) GetHeader(context.Context, *GetHeaderRequest) (*GetHeaderResponse, error)
func (UnimplementedAPIServer) GetHeightForBlock ¶
func (UnimplementedAPIServer) GetHeightForBlock(context.Context, *GetHeightForBlockRequest) (*GetHeightForBlockResponse, error)
func (UnimplementedAPIServer) GetHeightForTransaction ¶
func (UnimplementedAPIServer) GetHeightForTransaction(context.Context, *GetHeightForTransactionRequest) (*GetHeightForTransactionResponse, error)
func (UnimplementedAPIServer) GetLast ¶
func (UnimplementedAPIServer) GetLast(context.Context, *GetLastRequest) (*GetLastResponse, error)
func (UnimplementedAPIServer) GetRegisterValues ¶
func (UnimplementedAPIServer) GetRegisterValues(context.Context, *GetRegisterValuesRequest) (*GetRegisterValuesResponse, error)
func (UnimplementedAPIServer) GetResult ¶
func (UnimplementedAPIServer) GetResult(context.Context, *GetResultRequest) (*GetResultResponse, error)
func (UnimplementedAPIServer) GetSeal ¶
func (UnimplementedAPIServer) GetSeal(context.Context, *GetSealRequest) (*GetSealResponse, error)
func (UnimplementedAPIServer) GetTransaction ¶
func (UnimplementedAPIServer) GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error)
func (UnimplementedAPIServer) ListCollectionsForHeight ¶
func (UnimplementedAPIServer) ListCollectionsForHeight(context.Context, *ListCollectionsForHeightRequest) (*ListCollectionsForHeightResponse, error)
func (UnimplementedAPIServer) ListSealsForHeight ¶
func (UnimplementedAPIServer) ListSealsForHeight(context.Context, *ListSealsForHeightRequest) (*ListSealsForHeightResponse, error)
func (UnimplementedAPIServer) ListTransactionsForHeight ¶
func (UnimplementedAPIServer) ListTransactionsForHeight(context.Context, *ListTransactionsForHeightRequest) (*ListTransactionsForHeightResponse, error)
type UnsafeAPIServer ¶
type UnsafeAPIServer interface {
// contains filtered or unexported methods
}
UnsafeAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to APIServer will result in compilation errors.