Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterSyncableDBServer(s grpc.ServiceRegistrar, srv SyncableDBServer)
- type ChangeProof
- func (*ChangeProof) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeProof) GetEndProof() []*ProofNode
- func (x *ChangeProof) GetHadRootsInHistory() bool
- func (x *ChangeProof) GetKeyChanges() []*KeyChange
- func (x *ChangeProof) GetStartProof() []*ProofNode
- func (*ChangeProof) ProtoMessage()
- func (x *ChangeProof) ProtoReflect() protoreflect.Message
- func (x *ChangeProof) Reset()
- func (x *ChangeProof) String() string
- type CommitChangeProofRequest
- func (*CommitChangeProofRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommitChangeProofRequest) GetProof() *ChangeProof
- func (*CommitChangeProofRequest) ProtoMessage()
- func (x *CommitChangeProofRequest) ProtoReflect() protoreflect.Message
- func (x *CommitChangeProofRequest) Reset()
- func (x *CommitChangeProofRequest) String() string
- type CommitRangeProofRequest
- func (*CommitRangeProofRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommitRangeProofRequest) GetRangeProof() *RangeProof
- func (x *CommitRangeProofRequest) GetStartKey() []byte
- func (*CommitRangeProofRequest) ProtoMessage()
- func (x *CommitRangeProofRequest) ProtoReflect() protoreflect.Message
- func (x *CommitRangeProofRequest) Reset()
- func (x *CommitRangeProofRequest) String() string
- type GetChangeProofRequest
- func (*GetChangeProofRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChangeProofRequest) GetEndKey() []byte
- func (x *GetChangeProofRequest) GetEndRootHash() []byte
- func (x *GetChangeProofRequest) GetKeyLimit() uint32
- func (x *GetChangeProofRequest) GetStartKey() []byte
- func (x *GetChangeProofRequest) GetStartRootHash() []byte
- func (*GetChangeProofRequest) ProtoMessage()
- func (x *GetChangeProofRequest) ProtoReflect() protoreflect.Message
- func (x *GetChangeProofRequest) Reset()
- func (x *GetChangeProofRequest) String() string
- type GetMerkleRootResponse
- func (*GetMerkleRootResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMerkleRootResponse) GetRootHash() []byte
- func (*GetMerkleRootResponse) ProtoMessage()
- func (x *GetMerkleRootResponse) ProtoReflect() protoreflect.Message
- func (x *GetMerkleRootResponse) Reset()
- func (x *GetMerkleRootResponse) String() string
- type GetProofRequest
- type GetProofResponse
- type GetRangeProofRequest
- func (*GetRangeProofRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRangeProofRequest) GetEndKey() []byte
- func (x *GetRangeProofRequest) GetKeyLimit() uint32
- func (x *GetRangeProofRequest) GetRootHash() []byte
- func (x *GetRangeProofRequest) GetStartKey() []byte
- func (*GetRangeProofRequest) ProtoMessage()
- func (x *GetRangeProofRequest) ProtoReflect() protoreflect.Message
- func (x *GetRangeProofRequest) Reset()
- func (x *GetRangeProofRequest) String() string
- type GetRangeProofResponse
- func (*GetRangeProofResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRangeProofResponse) GetProof() *RangeProof
- func (*GetRangeProofResponse) ProtoMessage()
- func (x *GetRangeProofResponse) ProtoReflect() protoreflect.Message
- func (x *GetRangeProofResponse) Reset()
- func (x *GetRangeProofResponse) String() string
- type KeyChange
- type KeyValue
- type MaybeBytes
- type Proof
- func (*Proof) Descriptor() ([]byte, []int)deprecated
- func (x *Proof) GetKey() []byte
- func (x *Proof) GetProof() []*ProofNode
- func (x *Proof) GetValue() *MaybeBytes
- func (*Proof) ProtoMessage()
- func (x *Proof) ProtoReflect() protoreflect.Message
- func (x *Proof) Reset()
- func (x *Proof) String() string
- type ProofNode
- func (*ProofNode) Descriptor() ([]byte, []int)deprecated
- func (x *ProofNode) GetChildren() map[uint32][]byte
- func (x *ProofNode) GetKey() *SerializedPath
- func (x *ProofNode) GetValueOrHash() *MaybeBytes
- func (*ProofNode) ProtoMessage()
- func (x *ProofNode) ProtoReflect() protoreflect.Message
- func (x *ProofNode) Reset()
- func (x *ProofNode) String() string
- type RangeProof
- func (*RangeProof) Descriptor() ([]byte, []int)deprecated
- func (x *RangeProof) GetEnd() []*ProofNode
- func (x *RangeProof) GetKeyValues() []*KeyValue
- func (x *RangeProof) GetStart() []*ProofNode
- func (*RangeProof) ProtoMessage()
- func (x *RangeProof) ProtoReflect() protoreflect.Message
- func (x *RangeProof) Reset()
- func (x *RangeProof) String() string
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetChangeProofRequest() *SyncGetChangeProofRequest
- func (m *Request) GetMessage() isRequest_Message
- func (x *Request) GetRangeProofRequest() *SyncGetRangeProofRequest
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type Request_ChangeProofRequest
- type Request_RangeProofRequest
- type SerializedPath
- func (*SerializedPath) Descriptor() ([]byte, []int)deprecated
- func (x *SerializedPath) GetNibbleLength() uint64
- func (x *SerializedPath) GetValue() []byte
- func (*SerializedPath) ProtoMessage()
- func (x *SerializedPath) ProtoReflect() protoreflect.Message
- func (x *SerializedPath) Reset()
- func (x *SerializedPath) String() string
- type SyncGetChangeProofRequest
- func (*SyncGetChangeProofRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SyncGetChangeProofRequest) GetBytesLimit() uint32
- func (x *SyncGetChangeProofRequest) GetEndKey() []byte
- func (x *SyncGetChangeProofRequest) GetEndRootHash() []byte
- func (x *SyncGetChangeProofRequest) GetKeyLimit() uint32
- func (x *SyncGetChangeProofRequest) GetStartKey() []byte
- func (x *SyncGetChangeProofRequest) GetStartRootHash() []byte
- func (*SyncGetChangeProofRequest) ProtoMessage()
- func (x *SyncGetChangeProofRequest) ProtoReflect() protoreflect.Message
- func (x *SyncGetChangeProofRequest) Reset()
- func (x *SyncGetChangeProofRequest) String() string
- type SyncGetChangeProofResponse
- func (*SyncGetChangeProofResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SyncGetChangeProofResponse) GetChangeProof() *ChangeProof
- func (x *SyncGetChangeProofResponse) GetRangeProof() *RangeProof
- func (m *SyncGetChangeProofResponse) GetResponse() isSyncGetChangeProofResponse_Response
- func (*SyncGetChangeProofResponse) ProtoMessage()
- func (x *SyncGetChangeProofResponse) ProtoReflect() protoreflect.Message
- func (x *SyncGetChangeProofResponse) Reset()
- func (x *SyncGetChangeProofResponse) String() string
- type SyncGetChangeProofResponse_ChangeProof
- type SyncGetChangeProofResponse_RangeProof
- type SyncGetRangeProofRequest
- func (*SyncGetRangeProofRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SyncGetRangeProofRequest) GetBytesLimit() uint32
- func (x *SyncGetRangeProofRequest) GetEndKey() []byte
- func (x *SyncGetRangeProofRequest) GetKeyLimit() uint32
- func (x *SyncGetRangeProofRequest) GetRootHash() []byte
- func (x *SyncGetRangeProofRequest) GetStartKey() []byte
- func (*SyncGetRangeProofRequest) ProtoMessage()
- func (x *SyncGetRangeProofRequest) ProtoReflect() protoreflect.Message
- func (x *SyncGetRangeProofRequest) Reset()
- func (x *SyncGetRangeProofRequest) String() string
- type SyncableDBClient
- type SyncableDBServer
- type UnimplementedSyncableDBServer
- func (UnimplementedSyncableDBServer) CommitChangeProof(context.Context, *CommitChangeProofRequest) (*emptypb.Empty, error)
- func (UnimplementedSyncableDBServer) CommitRangeProof(context.Context, *CommitRangeProofRequest) (*emptypb.Empty, error)
- func (UnimplementedSyncableDBServer) GetChangeProof(context.Context, *GetChangeProofRequest) (*ChangeProof, error)
- func (UnimplementedSyncableDBServer) GetMerkleRoot(context.Context, *emptypb.Empty) (*GetMerkleRootResponse, error)
- func (UnimplementedSyncableDBServer) GetProof(context.Context, *GetProofRequest) (*GetProofResponse, error)
- func (UnimplementedSyncableDBServer) GetRangeProof(context.Context, *GetRangeProofRequest) (*GetRangeProofResponse, error)
- func (UnimplementedSyncableDBServer) VerifyChangeProof(context.Context, *VerifyChangeProofRequest) (*VerifyChangeProofResponse, error)
- type UnsafeSyncableDBServer
- type VerifyChangeProofRequest
- func (*VerifyChangeProofRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyChangeProofRequest) GetEndKey() []byte
- func (x *VerifyChangeProofRequest) GetExpectedRootHash() []byte
- func (x *VerifyChangeProofRequest) GetProof() *ChangeProof
- func (x *VerifyChangeProofRequest) GetStartKey() []byte
- func (*VerifyChangeProofRequest) ProtoMessage()
- func (x *VerifyChangeProofRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyChangeProofRequest) Reset()
- func (x *VerifyChangeProofRequest) String() string
- type VerifyChangeProofResponse
- func (*VerifyChangeProofResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyChangeProofResponse) GetError() string
- func (*VerifyChangeProofResponse) ProtoMessage()
- func (x *VerifyChangeProofResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyChangeProofResponse) Reset()
- func (x *VerifyChangeProofResponse) String() string
Constants ¶
const ( SyncableDB_GetMerkleRoot_FullMethodName = "/sync.SyncableDB/GetMerkleRoot" SyncableDB_GetProof_FullMethodName = "/sync.SyncableDB/GetProof" SyncableDB_GetChangeProof_FullMethodName = "/sync.SyncableDB/GetChangeProof" SyncableDB_VerifyChangeProof_FullMethodName = "/sync.SyncableDB/VerifyChangeProof" SyncableDB_CommitChangeProof_FullMethodName = "/sync.SyncableDB/CommitChangeProof" SyncableDB_GetRangeProof_FullMethodName = "/sync.SyncableDB/GetRangeProof" SyncableDB_CommitRangeProof_FullMethodName = "/sync.SyncableDB/CommitRangeProof" )
Variables ¶
var File_sync_sync_proto protoreflect.FileDescriptor
var SyncableDB_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sync.SyncableDB", HandlerType: (*SyncableDBServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetMerkleRoot", Handler: _SyncableDB_GetMerkleRoot_Handler, }, { MethodName: "GetProof", Handler: _SyncableDB_GetProof_Handler, }, { MethodName: "GetChangeProof", Handler: _SyncableDB_GetChangeProof_Handler, }, { MethodName: "VerifyChangeProof", Handler: _SyncableDB_VerifyChangeProof_Handler, }, { MethodName: "CommitChangeProof", Handler: _SyncableDB_CommitChangeProof_Handler, }, { MethodName: "GetRangeProof", Handler: _SyncableDB_GetRangeProof_Handler, }, { MethodName: "CommitRangeProof", Handler: _SyncableDB_CommitRangeProof_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "sync/sync.proto", }
SyncableDB_ServiceDesc is the grpc.ServiceDesc for SyncableDB service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSyncableDBServer ¶ added in v1.10.3
func RegisterSyncableDBServer(s grpc.ServiceRegistrar, srv SyncableDBServer)
Types ¶
type ChangeProof ¶ added in v1.10.3
type ChangeProof struct { HadRootsInHistory bool `protobuf:"varint,1,opt,name=had_roots_in_history,json=hadRootsInHistory,proto3" json:"had_roots_in_history,omitempty"` // TODO remove StartProof []*ProofNode `protobuf:"bytes,2,rep,name=start_proof,json=startProof,proto3" json:"start_proof,omitempty"` EndProof []*ProofNode `protobuf:"bytes,3,rep,name=end_proof,json=endProof,proto3" json:"end_proof,omitempty"` KeyChanges []*KeyChange `protobuf:"bytes,4,rep,name=key_changes,json=keyChanges,proto3" json:"key_changes,omitempty"` // contains filtered or unexported fields }
func (*ChangeProof) Descriptor
deprecated
added in
v1.10.3
func (*ChangeProof) Descriptor() ([]byte, []int)
Deprecated: Use ChangeProof.ProtoReflect.Descriptor instead.
func (*ChangeProof) GetEndProof ¶ added in v1.10.3
func (x *ChangeProof) GetEndProof() []*ProofNode
func (*ChangeProof) GetHadRootsInHistory ¶ added in v1.10.3
func (x *ChangeProof) GetHadRootsInHistory() bool
func (*ChangeProof) GetKeyChanges ¶ added in v1.10.3
func (x *ChangeProof) GetKeyChanges() []*KeyChange
func (*ChangeProof) GetStartProof ¶ added in v1.10.3
func (x *ChangeProof) GetStartProof() []*ProofNode
func (*ChangeProof) ProtoMessage ¶ added in v1.10.3
func (*ChangeProof) ProtoMessage()
func (*ChangeProof) ProtoReflect ¶ added in v1.10.3
func (x *ChangeProof) ProtoReflect() protoreflect.Message
func (*ChangeProof) Reset ¶ added in v1.10.3
func (x *ChangeProof) Reset()
func (*ChangeProof) String ¶ added in v1.10.3
func (x *ChangeProof) String() string
type CommitChangeProofRequest ¶ added in v1.10.3
type CommitChangeProofRequest struct { Proof *ChangeProof `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
func (*CommitChangeProofRequest) Descriptor
deprecated
added in
v1.10.3
func (*CommitChangeProofRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommitChangeProofRequest.ProtoReflect.Descriptor instead.
func (*CommitChangeProofRequest) GetProof ¶ added in v1.10.3
func (x *CommitChangeProofRequest) GetProof() *ChangeProof
func (*CommitChangeProofRequest) ProtoMessage ¶ added in v1.10.3
func (*CommitChangeProofRequest) ProtoMessage()
func (*CommitChangeProofRequest) ProtoReflect ¶ added in v1.10.3
func (x *CommitChangeProofRequest) ProtoReflect() protoreflect.Message
func (*CommitChangeProofRequest) Reset ¶ added in v1.10.3
func (x *CommitChangeProofRequest) Reset()
func (*CommitChangeProofRequest) String ¶ added in v1.10.3
func (x *CommitChangeProofRequest) String() string
type CommitRangeProofRequest ¶ added in v1.10.3
type CommitRangeProofRequest struct { StartKey []byte `protobuf:"bytes,1,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` RangeProof *RangeProof `protobuf:"bytes,2,opt,name=range_proof,json=rangeProof,proto3" json:"range_proof,omitempty"` // contains filtered or unexported fields }
func (*CommitRangeProofRequest) Descriptor
deprecated
added in
v1.10.3
func (*CommitRangeProofRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommitRangeProofRequest.ProtoReflect.Descriptor instead.
func (*CommitRangeProofRequest) GetRangeProof ¶ added in v1.10.3
func (x *CommitRangeProofRequest) GetRangeProof() *RangeProof
func (*CommitRangeProofRequest) GetStartKey ¶ added in v1.10.3
func (x *CommitRangeProofRequest) GetStartKey() []byte
func (*CommitRangeProofRequest) ProtoMessage ¶ added in v1.10.3
func (*CommitRangeProofRequest) ProtoMessage()
func (*CommitRangeProofRequest) ProtoReflect ¶ added in v1.10.3
func (x *CommitRangeProofRequest) ProtoReflect() protoreflect.Message
func (*CommitRangeProofRequest) Reset ¶ added in v1.10.3
func (x *CommitRangeProofRequest) Reset()
func (*CommitRangeProofRequest) String ¶ added in v1.10.3
func (x *CommitRangeProofRequest) String() string
type GetChangeProofRequest ¶ added in v1.10.3
type GetChangeProofRequest struct { StartRootHash []byte `protobuf:"bytes,1,opt,name=start_root_hash,json=startRootHash,proto3" json:"start_root_hash,omitempty"` EndRootHash []byte `protobuf:"bytes,2,opt,name=end_root_hash,json=endRootHash,proto3" json:"end_root_hash,omitempty"` StartKey []byte `protobuf:"bytes,3,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` EndKey []byte `protobuf:"bytes,4,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"` KeyLimit uint32 `protobuf:"varint,5,opt,name=key_limit,json=keyLimit,proto3" json:"key_limit,omitempty"` // contains filtered or unexported fields }
func (*GetChangeProofRequest) Descriptor
deprecated
added in
v1.10.3
func (*GetChangeProofRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChangeProofRequest.ProtoReflect.Descriptor instead.
func (*GetChangeProofRequest) GetEndKey ¶ added in v1.10.3
func (x *GetChangeProofRequest) GetEndKey() []byte
func (*GetChangeProofRequest) GetEndRootHash ¶ added in v1.10.3
func (x *GetChangeProofRequest) GetEndRootHash() []byte
func (*GetChangeProofRequest) GetKeyLimit ¶ added in v1.10.3
func (x *GetChangeProofRequest) GetKeyLimit() uint32
func (*GetChangeProofRequest) GetStartKey ¶ added in v1.10.3
func (x *GetChangeProofRequest) GetStartKey() []byte
func (*GetChangeProofRequest) GetStartRootHash ¶ added in v1.10.3
func (x *GetChangeProofRequest) GetStartRootHash() []byte
func (*GetChangeProofRequest) ProtoMessage ¶ added in v1.10.3
func (*GetChangeProofRequest) ProtoMessage()
func (*GetChangeProofRequest) ProtoReflect ¶ added in v1.10.3
func (x *GetChangeProofRequest) ProtoReflect() protoreflect.Message
func (*GetChangeProofRequest) Reset ¶ added in v1.10.3
func (x *GetChangeProofRequest) Reset()
func (*GetChangeProofRequest) String ¶ added in v1.10.3
func (x *GetChangeProofRequest) String() string
type GetMerkleRootResponse ¶ added in v1.10.3
type GetMerkleRootResponse struct { RootHash []byte `protobuf:"bytes,1,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"` // contains filtered or unexported fields }
func (*GetMerkleRootResponse) Descriptor
deprecated
added in
v1.10.3
func (*GetMerkleRootResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMerkleRootResponse.ProtoReflect.Descriptor instead.
func (*GetMerkleRootResponse) GetRootHash ¶ added in v1.10.3
func (x *GetMerkleRootResponse) GetRootHash() []byte
func (*GetMerkleRootResponse) ProtoMessage ¶ added in v1.10.3
func (*GetMerkleRootResponse) ProtoMessage()
func (*GetMerkleRootResponse) ProtoReflect ¶ added in v1.10.3
func (x *GetMerkleRootResponse) ProtoReflect() protoreflect.Message
func (*GetMerkleRootResponse) Reset ¶ added in v1.10.3
func (x *GetMerkleRootResponse) Reset()
func (*GetMerkleRootResponse) String ¶ added in v1.10.3
func (x *GetMerkleRootResponse) String() string
type GetProofRequest ¶ added in v1.10.3
type GetProofRequest struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*GetProofRequest) Descriptor
deprecated
added in
v1.10.3
func (*GetProofRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProofRequest.ProtoReflect.Descriptor instead.
func (*GetProofRequest) GetKey ¶ added in v1.10.3
func (x *GetProofRequest) GetKey() []byte
func (*GetProofRequest) ProtoMessage ¶ added in v1.10.3
func (*GetProofRequest) ProtoMessage()
func (*GetProofRequest) ProtoReflect ¶ added in v1.10.3
func (x *GetProofRequest) ProtoReflect() protoreflect.Message
func (*GetProofRequest) Reset ¶ added in v1.10.3
func (x *GetProofRequest) Reset()
func (*GetProofRequest) String ¶ added in v1.10.3
func (x *GetProofRequest) String() string
type GetProofResponse ¶ added in v1.10.3
type GetProofResponse struct { Proof *Proof `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
func (*GetProofResponse) Descriptor
deprecated
added in
v1.10.3
func (*GetProofResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProofResponse.ProtoReflect.Descriptor instead.
func (*GetProofResponse) GetProof ¶ added in v1.10.3
func (x *GetProofResponse) GetProof() *Proof
func (*GetProofResponse) ProtoMessage ¶ added in v1.10.3
func (*GetProofResponse) ProtoMessage()
func (*GetProofResponse) ProtoReflect ¶ added in v1.10.3
func (x *GetProofResponse) ProtoReflect() protoreflect.Message
func (*GetProofResponse) Reset ¶ added in v1.10.3
func (x *GetProofResponse) Reset()
func (*GetProofResponse) String ¶ added in v1.10.3
func (x *GetProofResponse) String() string
type GetRangeProofRequest ¶ added in v1.10.3
type GetRangeProofRequest struct { RootHash []byte `protobuf:"bytes,1,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"` StartKey []byte `protobuf:"bytes,2,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` EndKey []byte `protobuf:"bytes,3,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"` KeyLimit uint32 `protobuf:"varint,4,opt,name=key_limit,json=keyLimit,proto3" json:"key_limit,omitempty"` // contains filtered or unexported fields }
func (*GetRangeProofRequest) Descriptor
deprecated
added in
v1.10.3
func (*GetRangeProofRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRangeProofRequest.ProtoReflect.Descriptor instead.
func (*GetRangeProofRequest) GetEndKey ¶ added in v1.10.3
func (x *GetRangeProofRequest) GetEndKey() []byte
func (*GetRangeProofRequest) GetKeyLimit ¶ added in v1.10.3
func (x *GetRangeProofRequest) GetKeyLimit() uint32
func (*GetRangeProofRequest) GetRootHash ¶ added in v1.10.3
func (x *GetRangeProofRequest) GetRootHash() []byte
func (*GetRangeProofRequest) GetStartKey ¶ added in v1.10.3
func (x *GetRangeProofRequest) GetStartKey() []byte
func (*GetRangeProofRequest) ProtoMessage ¶ added in v1.10.3
func (*GetRangeProofRequest) ProtoMessage()
func (*GetRangeProofRequest) ProtoReflect ¶ added in v1.10.3
func (x *GetRangeProofRequest) ProtoReflect() protoreflect.Message
func (*GetRangeProofRequest) Reset ¶ added in v1.10.3
func (x *GetRangeProofRequest) Reset()
func (*GetRangeProofRequest) String ¶ added in v1.10.3
func (x *GetRangeProofRequest) String() string
type GetRangeProofResponse ¶ added in v1.10.3
type GetRangeProofResponse struct { Proof *RangeProof `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
func (*GetRangeProofResponse) Descriptor
deprecated
added in
v1.10.3
func (*GetRangeProofResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRangeProofResponse.ProtoReflect.Descriptor instead.
func (*GetRangeProofResponse) GetProof ¶ added in v1.10.3
func (x *GetRangeProofResponse) GetProof() *RangeProof
func (*GetRangeProofResponse) ProtoMessage ¶ added in v1.10.3
func (*GetRangeProofResponse) ProtoMessage()
func (*GetRangeProofResponse) ProtoReflect ¶ added in v1.10.3
func (x *GetRangeProofResponse) ProtoReflect() protoreflect.Message
func (*GetRangeProofResponse) Reset ¶ added in v1.10.3
func (x *GetRangeProofResponse) Reset()
func (*GetRangeProofResponse) String ¶ added in v1.10.3
func (x *GetRangeProofResponse) String() string
type KeyChange ¶ added in v1.10.3
type KeyChange struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value *MaybeBytes `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*KeyChange) Descriptor
deprecated
added in
v1.10.3
func (*KeyChange) GetValue ¶ added in v1.10.3
func (x *KeyChange) GetValue() *MaybeBytes
func (*KeyChange) ProtoMessage ¶ added in v1.10.3
func (*KeyChange) ProtoMessage()
func (*KeyChange) ProtoReflect ¶ added in v1.10.3
func (x *KeyChange) ProtoReflect() protoreflect.Message
type KeyValue ¶ added in v1.10.3
type KeyValue struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*KeyValue) Descriptor
deprecated
added in
v1.10.3
func (*KeyValue) ProtoMessage ¶ added in v1.10.3
func (*KeyValue) ProtoMessage()
func (*KeyValue) ProtoReflect ¶ added in v1.10.3
func (x *KeyValue) ProtoReflect() protoreflect.Message
type MaybeBytes ¶ added in v1.10.3
type MaybeBytes struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // If false, this is None. // Otherwise this is Some. IsNothing bool `protobuf:"varint,2,opt,name=is_nothing,json=isNothing,proto3" json:"is_nothing,omitempty"` // contains filtered or unexported fields }
func (*MaybeBytes) Descriptor
deprecated
added in
v1.10.3
func (*MaybeBytes) Descriptor() ([]byte, []int)
Deprecated: Use MaybeBytes.ProtoReflect.Descriptor instead.
func (*MaybeBytes) GetIsNothing ¶ added in v1.10.3
func (x *MaybeBytes) GetIsNothing() bool
func (*MaybeBytes) GetValue ¶ added in v1.10.3
func (x *MaybeBytes) GetValue() []byte
func (*MaybeBytes) ProtoMessage ¶ added in v1.10.3
func (*MaybeBytes) ProtoMessage()
func (*MaybeBytes) ProtoReflect ¶ added in v1.10.3
func (x *MaybeBytes) ProtoReflect() protoreflect.Message
func (*MaybeBytes) Reset ¶ added in v1.10.3
func (x *MaybeBytes) Reset()
func (*MaybeBytes) String ¶ added in v1.10.3
func (x *MaybeBytes) String() string
type Proof ¶ added in v1.10.3
type Proof struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value *MaybeBytes `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Proof []*ProofNode `protobuf:"bytes,3,rep,name=proof,proto3" json:"proof,omitempty"` // contains filtered or unexported fields }
func (*Proof) Descriptor
deprecated
added in
v1.10.3
func (*Proof) GetValue ¶ added in v1.10.3
func (x *Proof) GetValue() *MaybeBytes
func (*Proof) ProtoMessage ¶ added in v1.10.3
func (*Proof) ProtoMessage()
func (*Proof) ProtoReflect ¶ added in v1.10.3
func (x *Proof) ProtoReflect() protoreflect.Message
type ProofNode ¶ added in v1.10.3
type ProofNode struct { Key *SerializedPath `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` ValueOrHash *MaybeBytes `protobuf:"bytes,2,opt,name=value_or_hash,json=valueOrHash,proto3" json:"value_or_hash,omitempty"` Children map[uint32][]byte `` /* 158-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ProofNode) Descriptor
deprecated
added in
v1.10.3
func (*ProofNode) GetChildren ¶ added in v1.10.3
func (*ProofNode) GetKey ¶ added in v1.10.3
func (x *ProofNode) GetKey() *SerializedPath
func (*ProofNode) GetValueOrHash ¶ added in v1.10.3
func (x *ProofNode) GetValueOrHash() *MaybeBytes
func (*ProofNode) ProtoMessage ¶ added in v1.10.3
func (*ProofNode) ProtoMessage()
func (*ProofNode) ProtoReflect ¶ added in v1.10.3
func (x *ProofNode) ProtoReflect() protoreflect.Message
type RangeProof ¶ added in v1.10.3
type RangeProof struct { Start []*ProofNode `protobuf:"bytes,1,rep,name=start,proto3" json:"start,omitempty"` End []*ProofNode `protobuf:"bytes,2,rep,name=end,proto3" json:"end,omitempty"` KeyValues []*KeyValue `protobuf:"bytes,3,rep,name=key_values,json=keyValues,proto3" json:"key_values,omitempty"` // contains filtered or unexported fields }
func (*RangeProof) Descriptor
deprecated
added in
v1.10.3
func (*RangeProof) Descriptor() ([]byte, []int)
Deprecated: Use RangeProof.ProtoReflect.Descriptor instead.
func (*RangeProof) GetEnd ¶ added in v1.10.3
func (x *RangeProof) GetEnd() []*ProofNode
func (*RangeProof) GetKeyValues ¶ added in v1.10.3
func (x *RangeProof) GetKeyValues() []*KeyValue
func (*RangeProof) GetStart ¶ added in v1.10.3
func (x *RangeProof) GetStart() []*ProofNode
func (*RangeProof) ProtoMessage ¶ added in v1.10.3
func (*RangeProof) ProtoMessage()
func (*RangeProof) ProtoReflect ¶ added in v1.10.3
func (x *RangeProof) ProtoReflect() protoreflect.Message
func (*RangeProof) Reset ¶ added in v1.10.3
func (x *RangeProof) Reset()
func (*RangeProof) String ¶ added in v1.10.3
func (x *RangeProof) String() string
type Request ¶
type Request struct { // Types that are assignable to Message: // // *Request_RangeProofRequest // *Request_ChangeProofRequest Message isRequest_Message `protobuf_oneof:"message"` // contains filtered or unexported fields }
Request represents a request for information during syncing.
func (*Request) Descriptor
deprecated
func (*Request) GetChangeProofRequest ¶
func (x *Request) GetChangeProofRequest() *SyncGetChangeProofRequest
func (*Request) GetMessage ¶
func (m *Request) GetMessage() isRequest_Message
func (*Request) GetRangeProofRequest ¶
func (x *Request) GetRangeProofRequest() *SyncGetRangeProofRequest
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Request_ChangeProofRequest ¶
type Request_ChangeProofRequest struct {
ChangeProofRequest *SyncGetChangeProofRequest `protobuf:"bytes,2,opt,name=change_proof_request,json=changeProofRequest,proto3,oneof"`
}
type Request_RangeProofRequest ¶
type Request_RangeProofRequest struct {
RangeProofRequest *SyncGetRangeProofRequest `protobuf:"bytes,1,opt,name=range_proof_request,json=rangeProofRequest,proto3,oneof"`
}
type SerializedPath ¶ added in v1.10.3
type SerializedPath struct { NibbleLength uint64 `protobuf:"varint,1,opt,name=nibble_length,json=nibbleLength,proto3" json:"nibble_length,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*SerializedPath) Descriptor
deprecated
added in
v1.10.3
func (*SerializedPath) Descriptor() ([]byte, []int)
Deprecated: Use SerializedPath.ProtoReflect.Descriptor instead.
func (*SerializedPath) GetNibbleLength ¶ added in v1.10.3
func (x *SerializedPath) GetNibbleLength() uint64
func (*SerializedPath) GetValue ¶ added in v1.10.3
func (x *SerializedPath) GetValue() []byte
func (*SerializedPath) ProtoMessage ¶ added in v1.10.3
func (*SerializedPath) ProtoMessage()
func (*SerializedPath) ProtoReflect ¶ added in v1.10.3
func (x *SerializedPath) ProtoReflect() protoreflect.Message
func (*SerializedPath) Reset ¶ added in v1.10.3
func (x *SerializedPath) Reset()
func (*SerializedPath) String ¶ added in v1.10.3
func (x *SerializedPath) String() string
type SyncGetChangeProofRequest ¶ added in v1.10.3
type SyncGetChangeProofRequest struct { StartRootHash []byte `protobuf:"bytes,1,opt,name=start_root_hash,json=startRootHash,proto3" json:"start_root_hash,omitempty"` EndRootHash []byte `protobuf:"bytes,2,opt,name=end_root_hash,json=endRootHash,proto3" json:"end_root_hash,omitempty"` StartKey []byte `protobuf:"bytes,3,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` EndKey []byte `protobuf:"bytes,4,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"` KeyLimit uint32 `protobuf:"varint,5,opt,name=key_limit,json=keyLimit,proto3" json:"key_limit,omitempty"` BytesLimit uint32 `protobuf:"varint,6,opt,name=bytes_limit,json=bytesLimit,proto3" json:"bytes_limit,omitempty"` // contains filtered or unexported fields }
For use in sync client, which has a restriction on the size of the response. GetChangeProof in the SyncableDB service doesn't.
func (*SyncGetChangeProofRequest) Descriptor
deprecated
added in
v1.10.3
func (*SyncGetChangeProofRequest) Descriptor() ([]byte, []int)
Deprecated: Use SyncGetChangeProofRequest.ProtoReflect.Descriptor instead.
func (*SyncGetChangeProofRequest) GetBytesLimit ¶ added in v1.10.3
func (x *SyncGetChangeProofRequest) GetBytesLimit() uint32
func (*SyncGetChangeProofRequest) GetEndKey ¶ added in v1.10.3
func (x *SyncGetChangeProofRequest) GetEndKey() []byte
func (*SyncGetChangeProofRequest) GetEndRootHash ¶ added in v1.10.3
func (x *SyncGetChangeProofRequest) GetEndRootHash() []byte
func (*SyncGetChangeProofRequest) GetKeyLimit ¶ added in v1.10.3
func (x *SyncGetChangeProofRequest) GetKeyLimit() uint32
func (*SyncGetChangeProofRequest) GetStartKey ¶ added in v1.10.3
func (x *SyncGetChangeProofRequest) GetStartKey() []byte
func (*SyncGetChangeProofRequest) GetStartRootHash ¶ added in v1.10.3
func (x *SyncGetChangeProofRequest) GetStartRootHash() []byte
func (*SyncGetChangeProofRequest) ProtoMessage ¶ added in v1.10.3
func (*SyncGetChangeProofRequest) ProtoMessage()
func (*SyncGetChangeProofRequest) ProtoReflect ¶ added in v1.10.3
func (x *SyncGetChangeProofRequest) ProtoReflect() protoreflect.Message
func (*SyncGetChangeProofRequest) Reset ¶ added in v1.10.3
func (x *SyncGetChangeProofRequest) Reset()
func (*SyncGetChangeProofRequest) String ¶ added in v1.10.3
func (x *SyncGetChangeProofRequest) String() string
type SyncGetChangeProofResponse ¶ added in v1.10.3
type SyncGetChangeProofResponse struct { // Types that are assignable to Response: // // *SyncGetChangeProofResponse_ChangeProof // *SyncGetChangeProofResponse_RangeProof Response isSyncGetChangeProofResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*SyncGetChangeProofResponse) Descriptor
deprecated
added in
v1.10.3
func (*SyncGetChangeProofResponse) Descriptor() ([]byte, []int)
Deprecated: Use SyncGetChangeProofResponse.ProtoReflect.Descriptor instead.
func (*SyncGetChangeProofResponse) GetChangeProof ¶ added in v1.10.3
func (x *SyncGetChangeProofResponse) GetChangeProof() *ChangeProof
func (*SyncGetChangeProofResponse) GetRangeProof ¶ added in v1.10.3
func (x *SyncGetChangeProofResponse) GetRangeProof() *RangeProof
func (*SyncGetChangeProofResponse) GetResponse ¶ added in v1.10.3
func (m *SyncGetChangeProofResponse) GetResponse() isSyncGetChangeProofResponse_Response
func (*SyncGetChangeProofResponse) ProtoMessage ¶ added in v1.10.3
func (*SyncGetChangeProofResponse) ProtoMessage()
func (*SyncGetChangeProofResponse) ProtoReflect ¶ added in v1.10.3
func (x *SyncGetChangeProofResponse) ProtoReflect() protoreflect.Message
func (*SyncGetChangeProofResponse) Reset ¶ added in v1.10.3
func (x *SyncGetChangeProofResponse) Reset()
func (*SyncGetChangeProofResponse) String ¶ added in v1.10.3
func (x *SyncGetChangeProofResponse) String() string
type SyncGetChangeProofResponse_ChangeProof ¶ added in v1.10.3
type SyncGetChangeProofResponse_ChangeProof struct {
ChangeProof *ChangeProof `protobuf:"bytes,1,opt,name=change_proof,json=changeProof,proto3,oneof"`
}
type SyncGetChangeProofResponse_RangeProof ¶ added in v1.10.3
type SyncGetChangeProofResponse_RangeProof struct {
RangeProof *RangeProof `protobuf:"bytes,2,opt,name=range_proof,json=rangeProof,proto3,oneof"`
}
type SyncGetRangeProofRequest ¶ added in v1.10.3
type SyncGetRangeProofRequest struct { RootHash []byte `protobuf:"bytes,1,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"` StartKey []byte `protobuf:"bytes,2,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` EndKey []byte `protobuf:"bytes,3,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"` KeyLimit uint32 `protobuf:"varint,4,opt,name=key_limit,json=keyLimit,proto3" json:"key_limit,omitempty"` BytesLimit uint32 `protobuf:"varint,5,opt,name=bytes_limit,json=bytesLimit,proto3" json:"bytes_limit,omitempty"` // contains filtered or unexported fields }
For use in sync client, which has a restriction on the size of the response. GetRangeProof in the SyncableDB service doesn't.
func (*SyncGetRangeProofRequest) Descriptor
deprecated
added in
v1.10.3
func (*SyncGetRangeProofRequest) Descriptor() ([]byte, []int)
Deprecated: Use SyncGetRangeProofRequest.ProtoReflect.Descriptor instead.
func (*SyncGetRangeProofRequest) GetBytesLimit ¶ added in v1.10.3
func (x *SyncGetRangeProofRequest) GetBytesLimit() uint32
func (*SyncGetRangeProofRequest) GetEndKey ¶ added in v1.10.3
func (x *SyncGetRangeProofRequest) GetEndKey() []byte
func (*SyncGetRangeProofRequest) GetKeyLimit ¶ added in v1.10.3
func (x *SyncGetRangeProofRequest) GetKeyLimit() uint32
func (*SyncGetRangeProofRequest) GetRootHash ¶ added in v1.10.3
func (x *SyncGetRangeProofRequest) GetRootHash() []byte
func (*SyncGetRangeProofRequest) GetStartKey ¶ added in v1.10.3
func (x *SyncGetRangeProofRequest) GetStartKey() []byte
func (*SyncGetRangeProofRequest) ProtoMessage ¶ added in v1.10.3
func (*SyncGetRangeProofRequest) ProtoMessage()
func (*SyncGetRangeProofRequest) ProtoReflect ¶ added in v1.10.3
func (x *SyncGetRangeProofRequest) ProtoReflect() protoreflect.Message
func (*SyncGetRangeProofRequest) Reset ¶ added in v1.10.3
func (x *SyncGetRangeProofRequest) Reset()
func (*SyncGetRangeProofRequest) String ¶ added in v1.10.3
func (x *SyncGetRangeProofRequest) String() string
type SyncableDBClient ¶ added in v1.10.3
type SyncableDBClient interface { GetMerkleRoot(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetMerkleRootResponse, error) GetProof(ctx context.Context, in *GetProofRequest, opts ...grpc.CallOption) (*GetProofResponse, error) GetChangeProof(ctx context.Context, in *GetChangeProofRequest, opts ...grpc.CallOption) (*ChangeProof, error) VerifyChangeProof(ctx context.Context, in *VerifyChangeProofRequest, opts ...grpc.CallOption) (*VerifyChangeProofResponse, error) CommitChangeProof(ctx context.Context, in *CommitChangeProofRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) GetRangeProof(ctx context.Context, in *GetRangeProofRequest, opts ...grpc.CallOption) (*GetRangeProofResponse, error) CommitRangeProof(ctx context.Context, in *CommitRangeProofRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
SyncableDBClient is the client API for SyncableDB 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 NewSyncableDBClient ¶ added in v1.10.3
func NewSyncableDBClient(cc grpc.ClientConnInterface) SyncableDBClient
type SyncableDBServer ¶ added in v1.10.3
type SyncableDBServer interface { GetMerkleRoot(context.Context, *emptypb.Empty) (*GetMerkleRootResponse, error) GetProof(context.Context, *GetProofRequest) (*GetProofResponse, error) GetChangeProof(context.Context, *GetChangeProofRequest) (*ChangeProof, error) VerifyChangeProof(context.Context, *VerifyChangeProofRequest) (*VerifyChangeProofResponse, error) CommitChangeProof(context.Context, *CommitChangeProofRequest) (*emptypb.Empty, error) GetRangeProof(context.Context, *GetRangeProofRequest) (*GetRangeProofResponse, error) CommitRangeProof(context.Context, *CommitRangeProofRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
SyncableDBServer is the server API for SyncableDB service. All implementations must embed UnimplementedSyncableDBServer for forward compatibility
type UnimplementedSyncableDBServer ¶ added in v1.10.3
type UnimplementedSyncableDBServer struct { }
UnimplementedSyncableDBServer must be embedded to have forward compatible implementations.
func (UnimplementedSyncableDBServer) CommitChangeProof ¶ added in v1.10.3
func (UnimplementedSyncableDBServer) CommitChangeProof(context.Context, *CommitChangeProofRequest) (*emptypb.Empty, error)
func (UnimplementedSyncableDBServer) CommitRangeProof ¶ added in v1.10.3
func (UnimplementedSyncableDBServer) CommitRangeProof(context.Context, *CommitRangeProofRequest) (*emptypb.Empty, error)
func (UnimplementedSyncableDBServer) GetChangeProof ¶ added in v1.10.3
func (UnimplementedSyncableDBServer) GetChangeProof(context.Context, *GetChangeProofRequest) (*ChangeProof, error)
func (UnimplementedSyncableDBServer) GetMerkleRoot ¶ added in v1.10.3
func (UnimplementedSyncableDBServer) GetMerkleRoot(context.Context, *emptypb.Empty) (*GetMerkleRootResponse, error)
func (UnimplementedSyncableDBServer) GetProof ¶ added in v1.10.3
func (UnimplementedSyncableDBServer) GetProof(context.Context, *GetProofRequest) (*GetProofResponse, error)
func (UnimplementedSyncableDBServer) GetRangeProof ¶ added in v1.10.3
func (UnimplementedSyncableDBServer) GetRangeProof(context.Context, *GetRangeProofRequest) (*GetRangeProofResponse, error)
func (UnimplementedSyncableDBServer) VerifyChangeProof ¶ added in v1.10.3
func (UnimplementedSyncableDBServer) VerifyChangeProof(context.Context, *VerifyChangeProofRequest) (*VerifyChangeProofResponse, error)
type UnsafeSyncableDBServer ¶ added in v1.10.3
type UnsafeSyncableDBServer interface {
// contains filtered or unexported methods
}
UnsafeSyncableDBServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SyncableDBServer will result in compilation errors.
type VerifyChangeProofRequest ¶ added in v1.10.3
type VerifyChangeProofRequest struct { Proof *ChangeProof `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"` StartKey []byte `protobuf:"bytes,2,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` EndKey []byte `protobuf:"bytes,3,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"` ExpectedRootHash []byte `protobuf:"bytes,4,opt,name=expected_root_hash,json=expectedRootHash,proto3" json:"expected_root_hash,omitempty"` // contains filtered or unexported fields }
func (*VerifyChangeProofRequest) Descriptor
deprecated
added in
v1.10.3
func (*VerifyChangeProofRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyChangeProofRequest.ProtoReflect.Descriptor instead.
func (*VerifyChangeProofRequest) GetEndKey ¶ added in v1.10.3
func (x *VerifyChangeProofRequest) GetEndKey() []byte
func (*VerifyChangeProofRequest) GetExpectedRootHash ¶ added in v1.10.3
func (x *VerifyChangeProofRequest) GetExpectedRootHash() []byte
func (*VerifyChangeProofRequest) GetProof ¶ added in v1.10.3
func (x *VerifyChangeProofRequest) GetProof() *ChangeProof
func (*VerifyChangeProofRequest) GetStartKey ¶ added in v1.10.3
func (x *VerifyChangeProofRequest) GetStartKey() []byte
func (*VerifyChangeProofRequest) ProtoMessage ¶ added in v1.10.3
func (*VerifyChangeProofRequest) ProtoMessage()
func (*VerifyChangeProofRequest) ProtoReflect ¶ added in v1.10.3
func (x *VerifyChangeProofRequest) ProtoReflect() protoreflect.Message
func (*VerifyChangeProofRequest) Reset ¶ added in v1.10.3
func (x *VerifyChangeProofRequest) Reset()
func (*VerifyChangeProofRequest) String ¶ added in v1.10.3
func (x *VerifyChangeProofRequest) String() string
type VerifyChangeProofResponse ¶ added in v1.10.3
type VerifyChangeProofResponse struct { // If empty, there was no error. Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*VerifyChangeProofResponse) Descriptor
deprecated
added in
v1.10.3
func (*VerifyChangeProofResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyChangeProofResponse.ProtoReflect.Descriptor instead.
func (*VerifyChangeProofResponse) GetError ¶ added in v1.10.3
func (x *VerifyChangeProofResponse) GetError() string
func (*VerifyChangeProofResponse) ProtoMessage ¶ added in v1.10.3
func (*VerifyChangeProofResponse) ProtoMessage()
func (*VerifyChangeProofResponse) ProtoReflect ¶ added in v1.10.3
func (x *VerifyChangeProofResponse) ProtoReflect() protoreflect.Message
func (*VerifyChangeProofResponse) Reset ¶ added in v1.10.3
func (x *VerifyChangeProofResponse) Reset()
func (*VerifyChangeProofResponse) String ¶ added in v1.10.3
func (x *VerifyChangeProofResponse) String() string