Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterDBServer(s grpc.ServiceRegistrar, srv DBServer)
- type ChangeProof
- func (*ChangeProof) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeProof) GetEndProof() []*ProofNode
- 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) GetEndKey() *MaybeBytes
- func (x *CommitRangeProofRequest) GetRangeProof() *RangeProof
- func (x *CommitRangeProofRequest) GetStartKey() *MaybeBytes
- func (*CommitRangeProofRequest) ProtoMessage()
- func (x *CommitRangeProofRequest) ProtoReflect() protoreflect.Message
- func (x *CommitRangeProofRequest) Reset()
- func (x *CommitRangeProofRequest) String() string
- type DBClient
- type DBServer
- type GetChangeProofRequest
- func (*GetChangeProofRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChangeProofRequest) GetEndKey() *MaybeBytes
- func (x *GetChangeProofRequest) GetEndRootHash() []byte
- func (x *GetChangeProofRequest) GetKeyLimit() uint32
- func (x *GetChangeProofRequest) GetStartKey() *MaybeBytes
- func (x *GetChangeProofRequest) GetStartRootHash() []byte
- func (*GetChangeProofRequest) ProtoMessage()
- func (x *GetChangeProofRequest) ProtoReflect() protoreflect.Message
- func (x *GetChangeProofRequest) Reset()
- func (x *GetChangeProofRequest) String() string
- type GetChangeProofResponse
- func (*GetChangeProofResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetChangeProofResponse) GetChangeProof() *ChangeProof
- func (m *GetChangeProofResponse) GetResponse() isGetChangeProofResponse_Response
- func (x *GetChangeProofResponse) GetRootNotPresent() bool
- func (*GetChangeProofResponse) ProtoMessage()
- func (x *GetChangeProofResponse) ProtoReflect() protoreflect.Message
- func (x *GetChangeProofResponse) Reset()
- func (x *GetChangeProofResponse) String() string
- type GetChangeProofResponse_ChangeProof
- type GetChangeProofResponse_RootNotPresent
- 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() *MaybeBytes
- func (x *GetRangeProofRequest) GetKeyLimit() uint32
- func (x *GetRangeProofRequest) GetRootHash() []byte
- func (x *GetRangeProofRequest) GetStartKey() *MaybeBytes
- 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 Path
- 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() *Path
- 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) GetEndProof() []*ProofNode
- func (x *RangeProof) GetKeyValues() []*KeyValue
- func (x *RangeProof) GetStartProof() []*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 SyncGetChangeProofRequest
- func (*SyncGetChangeProofRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SyncGetChangeProofRequest) GetBytesLimit() uint32
- func (x *SyncGetChangeProofRequest) GetEndKey() *MaybeBytes
- func (x *SyncGetChangeProofRequest) GetEndRootHash() []byte
- func (x *SyncGetChangeProofRequest) GetKeyLimit() uint32
- func (x *SyncGetChangeProofRequest) GetStartKey() *MaybeBytes
- 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() *MaybeBytes
- func (x *SyncGetRangeProofRequest) GetKeyLimit() uint32
- func (x *SyncGetRangeProofRequest) GetRootHash() []byte
- func (x *SyncGetRangeProofRequest) GetStartKey() *MaybeBytes
- func (*SyncGetRangeProofRequest) ProtoMessage()
- func (x *SyncGetRangeProofRequest) ProtoReflect() protoreflect.Message
- func (x *SyncGetRangeProofRequest) Reset()
- func (x *SyncGetRangeProofRequest) String() string
- type UnimplementedDBServer
- func (UnimplementedDBServer) CommitChangeProof(context.Context, *CommitChangeProofRequest) (*emptypb.Empty, error)
- func (UnimplementedDBServer) CommitRangeProof(context.Context, *CommitRangeProofRequest) (*emptypb.Empty, error)
- func (UnimplementedDBServer) GetChangeProof(context.Context, *GetChangeProofRequest) (*GetChangeProofResponse, error)
- func (UnimplementedDBServer) GetMerkleRoot(context.Context, *emptypb.Empty) (*GetMerkleRootResponse, error)
- func (UnimplementedDBServer) GetProof(context.Context, *GetProofRequest) (*GetProofResponse, error)
- func (UnimplementedDBServer) GetRangeProof(context.Context, *GetRangeProofRequest) (*GetRangeProofResponse, error)
- func (UnimplementedDBServer) VerifyChangeProof(context.Context, *VerifyChangeProofRequest) (*VerifyChangeProofResponse, error)
- type UnsafeDBServer
- type VerifyChangeProofRequest
- func (*VerifyChangeProofRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyChangeProofRequest) GetEndKey() *MaybeBytes
- func (x *VerifyChangeProofRequest) GetExpectedRootHash() []byte
- func (x *VerifyChangeProofRequest) GetProof() *ChangeProof
- func (x *VerifyChangeProofRequest) GetStartKey() *MaybeBytes
- 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 ( DB_GetMerkleRoot_FullMethodName = "/sync.DB/GetMerkleRoot" DB_GetProof_FullMethodName = "/sync.DB/GetProof" DB_GetChangeProof_FullMethodName = "/sync.DB/GetChangeProof" DB_VerifyChangeProof_FullMethodName = "/sync.DB/VerifyChangeProof" DB_CommitChangeProof_FullMethodName = "/sync.DB/CommitChangeProof" DB_GetRangeProof_FullMethodName = "/sync.DB/GetRangeProof" DB_CommitRangeProof_FullMethodName = "/sync.DB/CommitRangeProof" )
Variables ¶
var DB_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sync.DB", HandlerType: (*DBServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetMerkleRoot", Handler: _DB_GetMerkleRoot_Handler, }, { MethodName: "GetProof", Handler: _DB_GetProof_Handler, }, { MethodName: "GetChangeProof", Handler: _DB_GetChangeProof_Handler, }, { MethodName: "VerifyChangeProof", Handler: _DB_VerifyChangeProof_Handler, }, { MethodName: "CommitChangeProof", Handler: _DB_CommitChangeProof_Handler, }, { MethodName: "GetRangeProof", Handler: _DB_GetRangeProof_Handler, }, { MethodName: "CommitRangeProof", Handler: _DB_CommitRangeProof_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "sync/sync.proto", }
DB_ServiceDesc is the grpc.ServiceDesc for DB service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_sync_sync_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDBServer ¶ added in v1.10.4
func RegisterDBServer(s grpc.ServiceRegistrar, srv DBServer)
Types ¶
type ChangeProof ¶ added in v1.10.3
type ChangeProof struct { StartProof []*ProofNode `protobuf:"bytes,1,rep,name=start_proof,json=startProof,proto3" json:"start_proof,omitempty"` EndProof []*ProofNode `protobuf:"bytes,2,rep,name=end_proof,json=endProof,proto3" json:"end_proof,omitempty"` KeyChanges []*KeyChange `protobuf:"bytes,3,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) 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 *MaybeBytes `protobuf:"bytes,1,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` EndKey *MaybeBytes `protobuf:"bytes,2,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"` RangeProof *RangeProof `protobuf:"bytes,3,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) GetEndKey ¶ added in v1.10.10
func (x *CommitRangeProofRequest) GetEndKey() *MaybeBytes
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() *MaybeBytes
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 DBClient ¶ added in v1.10.4
type DBClient 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) (*GetChangeProofResponse, 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) }
DBClient is the client API for DB 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 NewDBClient ¶ added in v1.10.4
func NewDBClient(cc grpc.ClientConnInterface) DBClient
type DBServer ¶ added in v1.10.4
type DBServer interface { GetMerkleRoot(context.Context, *emptypb.Empty) (*GetMerkleRootResponse, error) GetProof(context.Context, *GetProofRequest) (*GetProofResponse, error) GetChangeProof(context.Context, *GetChangeProofRequest) (*GetChangeProofResponse, 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 }
DBServer is the server API for DB service. All implementations must embed UnimplementedDBServer for forward compatibility
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 *MaybeBytes `protobuf:"bytes,3,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` EndKey *MaybeBytes `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() *MaybeBytes
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() *MaybeBytes
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 GetChangeProofResponse ¶ added in v1.10.9
type GetChangeProofResponse struct { // Types that are assignable to Response: // // *GetChangeProofResponse_ChangeProof // *GetChangeProofResponse_RootNotPresent Response isGetChangeProofResponse_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
func (*GetChangeProofResponse) Descriptor
deprecated
added in
v1.10.9
func (*GetChangeProofResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetChangeProofResponse.ProtoReflect.Descriptor instead.
func (*GetChangeProofResponse) GetChangeProof ¶ added in v1.10.9
func (x *GetChangeProofResponse) GetChangeProof() *ChangeProof
func (*GetChangeProofResponse) GetResponse ¶ added in v1.10.9
func (m *GetChangeProofResponse) GetResponse() isGetChangeProofResponse_Response
func (*GetChangeProofResponse) GetRootNotPresent ¶ added in v1.10.9
func (x *GetChangeProofResponse) GetRootNotPresent() bool
func (*GetChangeProofResponse) ProtoMessage ¶ added in v1.10.9
func (*GetChangeProofResponse) ProtoMessage()
func (*GetChangeProofResponse) ProtoReflect ¶ added in v1.10.9
func (x *GetChangeProofResponse) ProtoReflect() protoreflect.Message
func (*GetChangeProofResponse) Reset ¶ added in v1.10.9
func (x *GetChangeProofResponse) Reset()
func (*GetChangeProofResponse) String ¶ added in v1.10.9
func (x *GetChangeProofResponse) String() string
type GetChangeProofResponse_ChangeProof ¶ added in v1.10.9
type GetChangeProofResponse_ChangeProof struct {
ChangeProof *ChangeProof `protobuf:"bytes,1,opt,name=change_proof,json=changeProof,proto3,oneof"`
}
type GetChangeProofResponse_RootNotPresent ¶ added in v1.10.9
type GetChangeProofResponse_RootNotPresent struct { // True iff server errored with merkledb.ErrInsufficientHistory. RootNotPresent bool `protobuf:"varint,2,opt,name=root_not_present,json=rootNotPresent,proto3,oneof"` }
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 *MaybeBytes `protobuf:"bytes,2,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` EndKey *MaybeBytes `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() *MaybeBytes
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() *MaybeBytes
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 Path ¶ added in v1.10.12
type Path struct { Length uint64 `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Path) Descriptor
deprecated
added in
v1.10.12
func (*Path) ProtoMessage ¶ added in v1.10.12
func (*Path) ProtoMessage()
func (*Path) ProtoReflect ¶ added in v1.10.12
func (x *Path) ProtoReflect() protoreflect.Message
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 *Path `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) 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 { StartProof []*ProofNode `protobuf:"bytes,1,rep,name=start_proof,json=startProof,proto3" json:"start_proof,omitempty"` EndProof []*ProofNode `protobuf:"bytes,2,rep,name=end_proof,json=endProof,proto3" json:"end_proof,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) GetEndProof ¶ added in v1.10.10
func (x *RangeProof) GetEndProof() []*ProofNode
func (*RangeProof) GetKeyValues ¶ added in v1.10.3
func (x *RangeProof) GetKeyValues() []*KeyValue
func (*RangeProof) GetStartProof ¶ added in v1.10.10
func (x *RangeProof) GetStartProof() []*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 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 *MaybeBytes `protobuf:"bytes,3,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` EndKey *MaybeBytes `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 DB 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() *MaybeBytes
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() *MaybeBytes
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 *MaybeBytes `protobuf:"bytes,2,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` EndKey *MaybeBytes `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 DB 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() *MaybeBytes
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() *MaybeBytes
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 UnimplementedDBServer ¶ added in v1.10.4
type UnimplementedDBServer struct { }
UnimplementedDBServer must be embedded to have forward compatible implementations.
func (UnimplementedDBServer) CommitChangeProof ¶ added in v1.10.4
func (UnimplementedDBServer) CommitChangeProof(context.Context, *CommitChangeProofRequest) (*emptypb.Empty, error)
func (UnimplementedDBServer) CommitRangeProof ¶ added in v1.10.4
func (UnimplementedDBServer) CommitRangeProof(context.Context, *CommitRangeProofRequest) (*emptypb.Empty, error)
func (UnimplementedDBServer) GetChangeProof ¶ added in v1.10.4
func (UnimplementedDBServer) GetChangeProof(context.Context, *GetChangeProofRequest) (*GetChangeProofResponse, error)
func (UnimplementedDBServer) GetMerkleRoot ¶ added in v1.10.4
func (UnimplementedDBServer) GetMerkleRoot(context.Context, *emptypb.Empty) (*GetMerkleRootResponse, error)
func (UnimplementedDBServer) GetProof ¶ added in v1.10.4
func (UnimplementedDBServer) GetProof(context.Context, *GetProofRequest) (*GetProofResponse, error)
func (UnimplementedDBServer) GetRangeProof ¶ added in v1.10.4
func (UnimplementedDBServer) GetRangeProof(context.Context, *GetRangeProofRequest) (*GetRangeProofResponse, error)
func (UnimplementedDBServer) VerifyChangeProof ¶ added in v1.10.4
func (UnimplementedDBServer) VerifyChangeProof(context.Context, *VerifyChangeProofRequest) (*VerifyChangeProofResponse, error)
type UnsafeDBServer ¶ added in v1.10.4
type UnsafeDBServer interface {
// contains filtered or unexported methods
}
UnsafeDBServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DBServer 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 *MaybeBytes `protobuf:"bytes,2,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"` EndKey *MaybeBytes `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() *MaybeBytes
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() *MaybeBytes
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