proto

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package proto is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthIavlApi        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowIavlApi          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupIavlApi = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthProof        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProof          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProof = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterIAVLServiceHandler

func RegisterIAVLServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterIAVLServiceHandler registers the http handlers for service IAVLService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterIAVLServiceHandlerClient

func RegisterIAVLServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IAVLServiceClient) error

RegisterIAVLServiceHandlerClient registers the http handlers for service IAVLService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "IAVLServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "IAVLServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "IAVLServiceClient" to call the correct interceptors.

func RegisterIAVLServiceHandlerFromEndpoint

func RegisterIAVLServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterIAVLServiceHandlerFromEndpoint is same as RegisterIAVLServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterIAVLServiceHandlerServer

func RegisterIAVLServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IAVLServiceServer) error

RegisterIAVLServiceHandlerServer registers the http handlers for service IAVLService to "mux". UnaryRPC :call IAVLServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterIAVLServiceHandlerFromEndpoint instead.

func RegisterIAVLServiceServer

func RegisterIAVLServiceServer(s *grpc.Server, srv IAVLServiceServer)

Types

type AbsenceOp

type AbsenceOp struct {
	Proof *RangeProof `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"`
}

AbsenceOp is a Protobuf representation of iavl.AbsenceOp.

func (*AbsenceOp) Descriptor

func (*AbsenceOp) Descriptor() ([]byte, []int)

func (*AbsenceOp) GetProof

func (m *AbsenceOp) GetProof() *RangeProof

func (*AbsenceOp) Marshal

func (m *AbsenceOp) Marshal() (dAtA []byte, err error)

func (*AbsenceOp) MarshalTo

func (m *AbsenceOp) MarshalTo(dAtA []byte) (int, error)

func (*AbsenceOp) MarshalToSizedBuffer

func (m *AbsenceOp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AbsenceOp) ProtoMessage

func (*AbsenceOp) ProtoMessage()

func (*AbsenceOp) Reset

func (m *AbsenceOp) Reset()

func (*AbsenceOp) Size

func (m *AbsenceOp) Size() (n int)

func (*AbsenceOp) String

func (m *AbsenceOp) String() string

func (*AbsenceOp) Unmarshal

func (m *AbsenceOp) Unmarshal(dAtA []byte) error

func (*AbsenceOp) XXX_DiscardUnknown

func (m *AbsenceOp) XXX_DiscardUnknown()

func (*AbsenceOp) XXX_Marshal

func (m *AbsenceOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AbsenceOp) XXX_Merge

func (m *AbsenceOp) XXX_Merge(src proto.Message)

func (*AbsenceOp) XXX_Size

func (m *AbsenceOp) XXX_Size() int

func (*AbsenceOp) XXX_Unmarshal

func (m *AbsenceOp) XXX_Unmarshal(b []byte) error

type DeleteVersionRequest

type DeleteVersionRequest struct {
	Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
}

func (*DeleteVersionRequest) Descriptor

func (*DeleteVersionRequest) Descriptor() ([]byte, []int)

func (*DeleteVersionRequest) GetVersion

func (m *DeleteVersionRequest) GetVersion() int64

func (*DeleteVersionRequest) Marshal

func (m *DeleteVersionRequest) Marshal() (dAtA []byte, err error)

func (*DeleteVersionRequest) MarshalTo

func (m *DeleteVersionRequest) MarshalTo(dAtA []byte) (int, error)

func (*DeleteVersionRequest) MarshalToSizedBuffer

func (m *DeleteVersionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeleteVersionRequest) ProtoMessage

func (*DeleteVersionRequest) ProtoMessage()

func (*DeleteVersionRequest) Reset

func (m *DeleteVersionRequest) Reset()

func (*DeleteVersionRequest) Size

func (m *DeleteVersionRequest) Size() (n int)

func (*DeleteVersionRequest) String

func (m *DeleteVersionRequest) String() string

func (*DeleteVersionRequest) Unmarshal

func (m *DeleteVersionRequest) Unmarshal(dAtA []byte) error

func (*DeleteVersionRequest) XXX_DiscardUnknown

func (m *DeleteVersionRequest) XXX_DiscardUnknown()

func (*DeleteVersionRequest) XXX_Marshal

func (m *DeleteVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteVersionRequest) XXX_Merge

func (m *DeleteVersionRequest) XXX_Merge(src proto.Message)

func (*DeleteVersionRequest) XXX_Size

func (m *DeleteVersionRequest) XXX_Size() int

func (*DeleteVersionRequest) XXX_Unmarshal

func (m *DeleteVersionRequest) XXX_Unmarshal(b []byte) error

type DeleteVersionResponse

type DeleteVersionResponse struct {
	RootHash []byte `protobuf:"bytes,1,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"`
	Version  int64  `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
}

func (*DeleteVersionResponse) Descriptor

func (*DeleteVersionResponse) Descriptor() ([]byte, []int)

func (*DeleteVersionResponse) GetRootHash

func (m *DeleteVersionResponse) GetRootHash() []byte

func (*DeleteVersionResponse) GetVersion

func (m *DeleteVersionResponse) GetVersion() int64

func (*DeleteVersionResponse) Marshal

func (m *DeleteVersionResponse) Marshal() (dAtA []byte, err error)

func (*DeleteVersionResponse) MarshalTo

func (m *DeleteVersionResponse) MarshalTo(dAtA []byte) (int, error)

func (*DeleteVersionResponse) MarshalToSizedBuffer

func (m *DeleteVersionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeleteVersionResponse) ProtoMessage

func (*DeleteVersionResponse) ProtoMessage()

func (*DeleteVersionResponse) Reset

func (m *DeleteVersionResponse) Reset()

func (*DeleteVersionResponse) Size

func (m *DeleteVersionResponse) Size() (n int)

func (*DeleteVersionResponse) String

func (m *DeleteVersionResponse) String() string

func (*DeleteVersionResponse) Unmarshal

func (m *DeleteVersionResponse) Unmarshal(dAtA []byte) error

func (*DeleteVersionResponse) XXX_DiscardUnknown

func (m *DeleteVersionResponse) XXX_DiscardUnknown()

func (*DeleteVersionResponse) XXX_Marshal

func (m *DeleteVersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteVersionResponse) XXX_Merge

func (m *DeleteVersionResponse) XXX_Merge(src proto.Message)

func (*DeleteVersionResponse) XXX_Size

func (m *DeleteVersionResponse) XXX_Size() int

func (*DeleteVersionResponse) XXX_Unmarshal

func (m *DeleteVersionResponse) XXX_Unmarshal(b []byte) error

type GetAvailableVersionsResponse

type GetAvailableVersionsResponse struct {
	Versions []int64 `protobuf:"varint,1,rep,packed,name=versions,proto3" json:"versions,omitempty"`
}

func (*GetAvailableVersionsResponse) Descriptor

func (*GetAvailableVersionsResponse) Descriptor() ([]byte, []int)

func (*GetAvailableVersionsResponse) GetVersions

func (m *GetAvailableVersionsResponse) GetVersions() []int64

func (*GetAvailableVersionsResponse) Marshal

func (m *GetAvailableVersionsResponse) Marshal() (dAtA []byte, err error)

func (*GetAvailableVersionsResponse) MarshalTo

func (m *GetAvailableVersionsResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetAvailableVersionsResponse) MarshalToSizedBuffer

func (m *GetAvailableVersionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetAvailableVersionsResponse) ProtoMessage

func (*GetAvailableVersionsResponse) ProtoMessage()

func (*GetAvailableVersionsResponse) Reset

func (m *GetAvailableVersionsResponse) Reset()

func (*GetAvailableVersionsResponse) Size

func (m *GetAvailableVersionsResponse) Size() (n int)

func (*GetAvailableVersionsResponse) String

func (*GetAvailableVersionsResponse) Unmarshal

func (m *GetAvailableVersionsResponse) Unmarshal(dAtA []byte) error

func (*GetAvailableVersionsResponse) XXX_DiscardUnknown

func (m *GetAvailableVersionsResponse) XXX_DiscardUnknown()

func (*GetAvailableVersionsResponse) XXX_Marshal

func (m *GetAvailableVersionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAvailableVersionsResponse) XXX_Merge

func (m *GetAvailableVersionsResponse) XXX_Merge(src proto.Message)

func (*GetAvailableVersionsResponse) XXX_Size

func (m *GetAvailableVersionsResponse) XXX_Size() int

func (*GetAvailableVersionsResponse) XXX_Unmarshal

func (m *GetAvailableVersionsResponse) XXX_Unmarshal(b []byte) error

type GetByIndexRequest

type GetByIndexRequest struct {
	Index int64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
}

func (*GetByIndexRequest) Descriptor

func (*GetByIndexRequest) Descriptor() ([]byte, []int)

func (*GetByIndexRequest) GetIndex

func (m *GetByIndexRequest) GetIndex() int64

func (*GetByIndexRequest) Marshal

func (m *GetByIndexRequest) Marshal() (dAtA []byte, err error)

func (*GetByIndexRequest) MarshalTo

func (m *GetByIndexRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetByIndexRequest) MarshalToSizedBuffer

func (m *GetByIndexRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetByIndexRequest) ProtoMessage

func (*GetByIndexRequest) ProtoMessage()

func (*GetByIndexRequest) Reset

func (m *GetByIndexRequest) Reset()

func (*GetByIndexRequest) Size

func (m *GetByIndexRequest) Size() (n int)

func (*GetByIndexRequest) String

func (m *GetByIndexRequest) String() string

func (*GetByIndexRequest) Unmarshal

func (m *GetByIndexRequest) Unmarshal(dAtA []byte) error

func (*GetByIndexRequest) XXX_DiscardUnknown

func (m *GetByIndexRequest) XXX_DiscardUnknown()

func (*GetByIndexRequest) XXX_Marshal

func (m *GetByIndexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetByIndexRequest) XXX_Merge

func (m *GetByIndexRequest) XXX_Merge(src proto.Message)

func (*GetByIndexRequest) XXX_Size

func (m *GetByIndexRequest) XXX_Size() int

func (*GetByIndexRequest) XXX_Unmarshal

func (m *GetByIndexRequest) XXX_Unmarshal(b []byte) error

type GetByIndexResponse

type GetByIndexResponse 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"`
}

func (*GetByIndexResponse) Descriptor

func (*GetByIndexResponse) Descriptor() ([]byte, []int)

func (*GetByIndexResponse) GetKey

func (m *GetByIndexResponse) GetKey() []byte

func (*GetByIndexResponse) GetValue

func (m *GetByIndexResponse) GetValue() []byte

func (*GetByIndexResponse) Marshal

func (m *GetByIndexResponse) Marshal() (dAtA []byte, err error)

func (*GetByIndexResponse) MarshalTo

func (m *GetByIndexResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetByIndexResponse) MarshalToSizedBuffer

func (m *GetByIndexResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetByIndexResponse) ProtoMessage

func (*GetByIndexResponse) ProtoMessage()

func (*GetByIndexResponse) Reset

func (m *GetByIndexResponse) Reset()

func (*GetByIndexResponse) Size

func (m *GetByIndexResponse) Size() (n int)

func (*GetByIndexResponse) String

func (m *GetByIndexResponse) String() string

func (*GetByIndexResponse) Unmarshal

func (m *GetByIndexResponse) Unmarshal(dAtA []byte) error

func (*GetByIndexResponse) XXX_DiscardUnknown

func (m *GetByIndexResponse) XXX_DiscardUnknown()

func (*GetByIndexResponse) XXX_Marshal

func (m *GetByIndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetByIndexResponse) XXX_Merge

func (m *GetByIndexResponse) XXX_Merge(src proto.Message)

func (*GetByIndexResponse) XXX_Size

func (m *GetByIndexResponse) XXX_Size() int

func (*GetByIndexResponse) XXX_Unmarshal

func (m *GetByIndexResponse) XXX_Unmarshal(b []byte) error

type GetRequest

type GetRequest struct {
	Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
}

func (*GetRequest) Descriptor

func (*GetRequest) Descriptor() ([]byte, []int)

func (*GetRequest) GetKey

func (m *GetRequest) GetKey() []byte

func (*GetRequest) Marshal

func (m *GetRequest) Marshal() (dAtA []byte, err error)

func (*GetRequest) MarshalTo

func (m *GetRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetRequest) MarshalToSizedBuffer

func (m *GetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) Reset

func (m *GetRequest) Reset()

func (*GetRequest) Size

func (m *GetRequest) Size() (n int)

func (*GetRequest) String

func (m *GetRequest) String() string

func (*GetRequest) Unmarshal

func (m *GetRequest) Unmarshal(dAtA []byte) error

func (*GetRequest) XXX_DiscardUnknown

func (m *GetRequest) XXX_DiscardUnknown()

func (*GetRequest) XXX_Marshal

func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRequest) XXX_Merge

func (m *GetRequest) XXX_Merge(src proto.Message)

func (*GetRequest) XXX_Size

func (m *GetRequest) XXX_Size() int

func (*GetRequest) XXX_Unmarshal

func (m *GetRequest) XXX_Unmarshal(b []byte) error

type GetResponse

type GetResponse struct {
	Index    int64  `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Value    []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	NotFound bool   `protobuf:"varint,3,opt,name=not_found,json=notFound,proto3" json:"not_found,omitempty"`
}

func (*GetResponse) Descriptor

func (*GetResponse) Descriptor() ([]byte, []int)

func (*GetResponse) GetIndex

func (m *GetResponse) GetIndex() int64

func (*GetResponse) GetNotFound

func (m *GetResponse) GetNotFound() bool

func (*GetResponse) GetValue

func (m *GetResponse) GetValue() []byte

func (*GetResponse) Marshal

func (m *GetResponse) Marshal() (dAtA []byte, err error)

func (*GetResponse) MarshalTo

func (m *GetResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetResponse) MarshalToSizedBuffer

func (m *GetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) Reset

func (m *GetResponse) Reset()

func (*GetResponse) Size

func (m *GetResponse) Size() (n int)

func (*GetResponse) String

func (m *GetResponse) String() string

func (*GetResponse) Unmarshal

func (m *GetResponse) Unmarshal(dAtA []byte) error

func (*GetResponse) XXX_DiscardUnknown

func (m *GetResponse) XXX_DiscardUnknown()

func (*GetResponse) XXX_Marshal

func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetResponse) XXX_Merge

func (m *GetResponse) XXX_Merge(src proto.Message)

func (*GetResponse) XXX_Size

func (m *GetResponse) XXX_Size() int

func (*GetResponse) XXX_Unmarshal

func (m *GetResponse) XXX_Unmarshal(b []byte) error

type GetVersionedRequest

type GetVersionedRequest struct {
	Version int64  `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Key     []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
}

func (*GetVersionedRequest) Descriptor

func (*GetVersionedRequest) Descriptor() ([]byte, []int)

func (*GetVersionedRequest) GetKey

func (m *GetVersionedRequest) GetKey() []byte

func (*GetVersionedRequest) GetVersion

func (m *GetVersionedRequest) GetVersion() int64

func (*GetVersionedRequest) Marshal

func (m *GetVersionedRequest) Marshal() (dAtA []byte, err error)

func (*GetVersionedRequest) MarshalTo

func (m *GetVersionedRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetVersionedRequest) MarshalToSizedBuffer

func (m *GetVersionedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetVersionedRequest) ProtoMessage

func (*GetVersionedRequest) ProtoMessage()

func (*GetVersionedRequest) Reset

func (m *GetVersionedRequest) Reset()

func (*GetVersionedRequest) Size

func (m *GetVersionedRequest) Size() (n int)

func (*GetVersionedRequest) String

func (m *GetVersionedRequest) String() string

func (*GetVersionedRequest) Unmarshal

func (m *GetVersionedRequest) Unmarshal(dAtA []byte) error

func (*GetVersionedRequest) XXX_DiscardUnknown

func (m *GetVersionedRequest) XXX_DiscardUnknown()

func (*GetVersionedRequest) XXX_Marshal

func (m *GetVersionedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetVersionedRequest) XXX_Merge

func (m *GetVersionedRequest) XXX_Merge(src proto.Message)

func (*GetVersionedRequest) XXX_Size

func (m *GetVersionedRequest) XXX_Size() int

func (*GetVersionedRequest) XXX_Unmarshal

func (m *GetVersionedRequest) XXX_Unmarshal(b []byte) error

type GetWithProofResponse

type GetWithProofResponse struct {
	Value []byte      `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	Proof *RangeProof `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"`
}

func (*GetWithProofResponse) Descriptor

func (*GetWithProofResponse) Descriptor() ([]byte, []int)

func (*GetWithProofResponse) GetProof

func (m *GetWithProofResponse) GetProof() *RangeProof

func (*GetWithProofResponse) GetValue

func (m *GetWithProofResponse) GetValue() []byte

func (*GetWithProofResponse) Marshal

func (m *GetWithProofResponse) Marshal() (dAtA []byte, err error)

func (*GetWithProofResponse) MarshalTo

func (m *GetWithProofResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetWithProofResponse) MarshalToSizedBuffer

func (m *GetWithProofResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetWithProofResponse) ProtoMessage

func (*GetWithProofResponse) ProtoMessage()

func (*GetWithProofResponse) Reset

func (m *GetWithProofResponse) Reset()

func (*GetWithProofResponse) Size

func (m *GetWithProofResponse) Size() (n int)

func (*GetWithProofResponse) String

func (m *GetWithProofResponse) String() string

func (*GetWithProofResponse) Unmarshal

func (m *GetWithProofResponse) Unmarshal(dAtA []byte) error

func (*GetWithProofResponse) XXX_DiscardUnknown

func (m *GetWithProofResponse) XXX_DiscardUnknown()

func (*GetWithProofResponse) XXX_Marshal

func (m *GetWithProofResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetWithProofResponse) XXX_Merge

func (m *GetWithProofResponse) XXX_Merge(src proto.Message)

func (*GetWithProofResponse) XXX_Size

func (m *GetWithProofResponse) XXX_Size() int

func (*GetWithProofResponse) XXX_Unmarshal

func (m *GetWithProofResponse) XXX_Unmarshal(b []byte) error

type HasRequest

type HasRequest struct {
	Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
}

func (*HasRequest) Descriptor

func (*HasRequest) Descriptor() ([]byte, []int)

func (*HasRequest) GetKey

func (m *HasRequest) GetKey() []byte

func (*HasRequest) Marshal

func (m *HasRequest) Marshal() (dAtA []byte, err error)

func (*HasRequest) MarshalTo

func (m *HasRequest) MarshalTo(dAtA []byte) (int, error)

func (*HasRequest) MarshalToSizedBuffer

func (m *HasRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HasRequest) ProtoMessage

func (*HasRequest) ProtoMessage()

func (*HasRequest) Reset

func (m *HasRequest) Reset()

func (*HasRequest) Size

func (m *HasRequest) Size() (n int)

func (*HasRequest) String

func (m *HasRequest) String() string

func (*HasRequest) Unmarshal

func (m *HasRequest) Unmarshal(dAtA []byte) error

func (*HasRequest) XXX_DiscardUnknown

func (m *HasRequest) XXX_DiscardUnknown()

func (*HasRequest) XXX_Marshal

func (m *HasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HasRequest) XXX_Merge

func (m *HasRequest) XXX_Merge(src proto.Message)

func (*HasRequest) XXX_Size

func (m *HasRequest) XXX_Size() int

func (*HasRequest) XXX_Unmarshal

func (m *HasRequest) XXX_Unmarshal(b []byte) error

type HasResponse

type HasResponse struct {
	Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
}

func (*HasResponse) Descriptor

func (*HasResponse) Descriptor() ([]byte, []int)

func (*HasResponse) GetResult

func (m *HasResponse) GetResult() bool

func (*HasResponse) Marshal

func (m *HasResponse) Marshal() (dAtA []byte, err error)

func (*HasResponse) MarshalTo

func (m *HasResponse) MarshalTo(dAtA []byte) (int, error)

func (*HasResponse) MarshalToSizedBuffer

func (m *HasResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HasResponse) ProtoMessage

func (*HasResponse) ProtoMessage()

func (*HasResponse) Reset

func (m *HasResponse) Reset()

func (*HasResponse) Size

func (m *HasResponse) Size() (n int)

func (*HasResponse) String

func (m *HasResponse) String() string

func (*HasResponse) Unmarshal

func (m *HasResponse) Unmarshal(dAtA []byte) error

func (*HasResponse) XXX_DiscardUnknown

func (m *HasResponse) XXX_DiscardUnknown()

func (*HasResponse) XXX_Marshal

func (m *HasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HasResponse) XXX_Merge

func (m *HasResponse) XXX_Merge(src proto.Message)

func (*HasResponse) XXX_Size

func (m *HasResponse) XXX_Size() int

func (*HasResponse) XXX_Unmarshal

func (m *HasResponse) XXX_Unmarshal(b []byte) error

type HasVersionedRequest

type HasVersionedRequest struct {
	Version int64  `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Key     []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
}

func (*HasVersionedRequest) Descriptor

func (*HasVersionedRequest) Descriptor() ([]byte, []int)

func (*HasVersionedRequest) GetKey

func (m *HasVersionedRequest) GetKey() []byte

func (*HasVersionedRequest) GetVersion

func (m *HasVersionedRequest) GetVersion() int64

func (*HasVersionedRequest) Marshal

func (m *HasVersionedRequest) Marshal() (dAtA []byte, err error)

func (*HasVersionedRequest) MarshalTo

func (m *HasVersionedRequest) MarshalTo(dAtA []byte) (int, error)

func (*HasVersionedRequest) MarshalToSizedBuffer

func (m *HasVersionedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HasVersionedRequest) ProtoMessage

func (*HasVersionedRequest) ProtoMessage()

func (*HasVersionedRequest) Reset

func (m *HasVersionedRequest) Reset()

func (*HasVersionedRequest) Size

func (m *HasVersionedRequest) Size() (n int)

func (*HasVersionedRequest) String

func (m *HasVersionedRequest) String() string

func (*HasVersionedRequest) Unmarshal

func (m *HasVersionedRequest) Unmarshal(dAtA []byte) error

func (*HasVersionedRequest) XXX_DiscardUnknown

func (m *HasVersionedRequest) XXX_DiscardUnknown()

func (*HasVersionedRequest) XXX_Marshal

func (m *HasVersionedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HasVersionedRequest) XXX_Merge

func (m *HasVersionedRequest) XXX_Merge(src proto.Message)

func (*HasVersionedRequest) XXX_Size

func (m *HasVersionedRequest) XXX_Size() int

func (*HasVersionedRequest) XXX_Unmarshal

func (m *HasVersionedRequest) XXX_Unmarshal(b []byte) error

type HashResponse

type HashResponse struct {
	RootHash []byte `protobuf:"bytes,1,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"`
}

func (*HashResponse) Descriptor

func (*HashResponse) Descriptor() ([]byte, []int)

func (*HashResponse) GetRootHash

func (m *HashResponse) GetRootHash() []byte

func (*HashResponse) Marshal

func (m *HashResponse) Marshal() (dAtA []byte, err error)

func (*HashResponse) MarshalTo

func (m *HashResponse) MarshalTo(dAtA []byte) (int, error)

func (*HashResponse) MarshalToSizedBuffer

func (m *HashResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HashResponse) ProtoMessage

func (*HashResponse) ProtoMessage()

func (*HashResponse) Reset

func (m *HashResponse) Reset()

func (*HashResponse) Size

func (m *HashResponse) Size() (n int)

func (*HashResponse) String

func (m *HashResponse) String() string

func (*HashResponse) Unmarshal

func (m *HashResponse) Unmarshal(dAtA []byte) error

func (*HashResponse) XXX_DiscardUnknown

func (m *HashResponse) XXX_DiscardUnknown()

func (*HashResponse) XXX_Marshal

func (m *HashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HashResponse) XXX_Merge

func (m *HashResponse) XXX_Merge(src proto.Message)

func (*HashResponse) XXX_Size

func (m *HashResponse) XXX_Size() int

func (*HashResponse) XXX_Unmarshal

func (m *HashResponse) XXX_Unmarshal(b []byte) error

type IAVLServiceClient

type IAVLServiceClient interface {
	// Has returns a result containing a boolean on whether or not the IAVL tree
	// has a given key at a specific tree version.
	Has(ctx context.Context, in *HasRequest, opts ...grpc.CallOption) (*HasResponse, error)
	HasVersioned(ctx context.Context, in *HasVersionedRequest, opts ...grpc.CallOption) (*HasResponse, error)
	// Get returns a result containing the index and value for a given
	// key based on the current state (version) of the tree.
	// If the key does not exist, Get returns the index of the next value.
	Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
	// GetByIndex returns a result containing the key and value for a given
	// index based on the current state (version) of the tree.
	GetByIndex(ctx context.Context, in *GetByIndexRequest, opts ...grpc.CallOption) (*GetByIndexResponse, error)
	// GetWithProof returns a result containing the IAVL tree version and value for
	// a given key based on the current state (version) of the tree including a
	// verifiable Merkle proof.
	GetWithProof(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetWithProofResponse, error)
	// GetVersioned returns a result containing the IAVL tree version and value
	// for a given key at a specific tree version.
	GetVersioned(ctx context.Context, in *GetVersionedRequest, opts ...grpc.CallOption) (*GetResponse, error)
	// GetVersionedWithProof returns a result containing the IAVL tree version and
	// value for a given key at a specific tree version including a verifiable Merkle
	// proof.
	GetVersionedWithProof(ctx context.Context, in *GetVersionedRequest, opts ...grpc.CallOption) (*GetWithProofResponse, error)
	// Set returns a result after inserting a key/value pair into the IAVL tree
	// based on the current state (version) of the tree.
	Set(ctx context.Context, in *SetRequest, opts ...grpc.CallOption) (*SetResponse, error)
	// Remove returns a result after removing a key/value pair from the IAVL tree
	// based on the current state (version) of the tree.
	Remove(ctx context.Context, in *RemoveRequest, opts ...grpc.CallOption) (*RemoveResponse, error)
	// SaveVersion saves a new IAVL tree version to the DB based on the current
	// state (version) of the tree. It returns a result containing the hash and
	// new version number.
	SaveVersion(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*SaveVersionResponse, error)
	// DeleteVersion deletes an IAVL tree version from the DB. The version can then
	// no longer be accessed. It returns a result containing the version and root
	// hash of the versioned tree that was deleted.
	DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*DeleteVersionResponse, error)
	// Version returns the IAVL tree version based on the current state.
	Version(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*VersionResponse, error)
	// Hash returns the IAVL tree root hash based on the current state.
	Hash(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*HashResponse, error)
	// VersionExists returns a result containing a boolean on whether or not a given
	// version exists in the IAVL tree.
	VersionExists(ctx context.Context, in *VersionExistsRequest, opts ...grpc.CallOption) (*VersionExistsResponse, error)
	// Verify verifies an IAVL range proof returning an error if the proof is
	// invalid.
	Verify(ctx context.Context, in *VerifyRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// VerifyItem verifies if a given key/value pair in an IAVL range proof returning
	// an error if the proof or key is invalid.
	VerifyItem(ctx context.Context, in *VerifyItemRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// VerifyAbsence verifies the absence of a given key in an IAVL range proof
	// returning an error if the proof or key is invalid.
	VerifyAbsence(ctx context.Context, in *VerifyAbsenceRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Rollback resets the working tree to the latest saved version, discarding
	// any unsaved modifications.
	Rollback(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
	// Returns the committed versions
	GetAvailableVersions(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*GetAvailableVersionsResponse, error)
	// Load the most recent version
	Load(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
	// Load a specific version
	LoadVersion(ctx context.Context, in *LoadVersionRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Load a specific version and delete all the more recent versions
	LoadVersionForOverwriting(ctx context.Context, in *LoadVersionForOverwritingRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Get the number of leaves in the tree
	Size(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*SizeResponse, error)
	List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (IAVLService_ListClient, error)
}

IAVLServiceClient is the client API for IAVLService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewIAVLServiceClient

func NewIAVLServiceClient(cc *grpc.ClientConn) IAVLServiceClient

type IAVLServiceServer

type IAVLServiceServer interface {
	// Has returns a result containing a boolean on whether or not the IAVL tree
	// has a given key at a specific tree version.
	Has(context.Context, *HasRequest) (*HasResponse, error)
	HasVersioned(context.Context, *HasVersionedRequest) (*HasResponse, error)
	// Get returns a result containing the index and value for a given
	// key based on the current state (version) of the tree.
	// If the key does not exist, Get returns the index of the next value.
	Get(context.Context, *GetRequest) (*GetResponse, error)
	// GetByIndex returns a result containing the key and value for a given
	// index based on the current state (version) of the tree.
	GetByIndex(context.Context, *GetByIndexRequest) (*GetByIndexResponse, error)
	// GetWithProof returns a result containing the IAVL tree version and value for
	// a given key based on the current state (version) of the tree including a
	// verifiable Merkle proof.
	GetWithProof(context.Context, *GetRequest) (*GetWithProofResponse, error)
	// GetVersioned returns a result containing the IAVL tree version and value
	// for a given key at a specific tree version.
	GetVersioned(context.Context, *GetVersionedRequest) (*GetResponse, error)
	// GetVersionedWithProof returns a result containing the IAVL tree version and
	// value for a given key at a specific tree version including a verifiable Merkle
	// proof.
	GetVersionedWithProof(context.Context, *GetVersionedRequest) (*GetWithProofResponse, error)
	// Set returns a result after inserting a key/value pair into the IAVL tree
	// based on the current state (version) of the tree.
	Set(context.Context, *SetRequest) (*SetResponse, error)
	// Remove returns a result after removing a key/value pair from the IAVL tree
	// based on the current state (version) of the tree.
	Remove(context.Context, *RemoveRequest) (*RemoveResponse, error)
	// SaveVersion saves a new IAVL tree version to the DB based on the current
	// state (version) of the tree. It returns a result containing the hash and
	// new version number.
	SaveVersion(context.Context, *empty.Empty) (*SaveVersionResponse, error)
	// DeleteVersion deletes an IAVL tree version from the DB. The version can then
	// no longer be accessed. It returns a result containing the version and root
	// hash of the versioned tree that was deleted.
	DeleteVersion(context.Context, *DeleteVersionRequest) (*DeleteVersionResponse, error)
	// Version returns the IAVL tree version based on the current state.
	Version(context.Context, *empty.Empty) (*VersionResponse, error)
	// Hash returns the IAVL tree root hash based on the current state.
	Hash(context.Context, *empty.Empty) (*HashResponse, error)
	// VersionExists returns a result containing a boolean on whether or not a given
	// version exists in the IAVL tree.
	VersionExists(context.Context, *VersionExistsRequest) (*VersionExistsResponse, error)
	// Verify verifies an IAVL range proof returning an error if the proof is
	// invalid.
	Verify(context.Context, *VerifyRequest) (*empty.Empty, error)
	// VerifyItem verifies if a given key/value pair in an IAVL range proof returning
	// an error if the proof or key is invalid.
	VerifyItem(context.Context, *VerifyItemRequest) (*empty.Empty, error)
	// VerifyAbsence verifies the absence of a given key in an IAVL range proof
	// returning an error if the proof or key is invalid.
	VerifyAbsence(context.Context, *VerifyAbsenceRequest) (*empty.Empty, error)
	// Rollback resets the working tree to the latest saved version, discarding
	// any unsaved modifications.
	Rollback(context.Context, *empty.Empty) (*empty.Empty, error)
	// Returns the committed versions
	GetAvailableVersions(context.Context, *empty.Empty) (*GetAvailableVersionsResponse, error)
	// Load the most recent version
	Load(context.Context, *empty.Empty) (*empty.Empty, error)
	// Load a specific version
	LoadVersion(context.Context, *LoadVersionRequest) (*empty.Empty, error)
	// Load a specific version and delete all the more recent versions
	LoadVersionForOverwriting(context.Context, *LoadVersionForOverwritingRequest) (*empty.Empty, error)
	// Get the number of leaves in the tree
	Size(context.Context, *empty.Empty) (*SizeResponse, error)
	List(*ListRequest, IAVLService_ListServer) error
}

IAVLServiceServer is the server API for IAVLService service.

type IAVLService_ListClient

type IAVLService_ListClient interface {
	Recv() (*ListResponse, error)
	grpc.ClientStream
}

type IAVLService_ListServer

type IAVLService_ListServer interface {
	Send(*ListResponse) error
	grpc.ServerStream
}

type ListRequest

type ListRequest struct {
	FromKey    []byte `protobuf:"bytes,1,opt,name=from_key,json=fromKey,proto3" json:"from_key,omitempty"`
	ToKey      []byte `protobuf:"bytes,2,opt,name=to_key,json=toKey,proto3" json:"to_key,omitempty"`
	Descending bool   `protobuf:"varint,3,opt,name=descending,proto3" json:"descending,omitempty"`
}

func (*ListRequest) Descriptor

func (*ListRequest) Descriptor() ([]byte, []int)

func (*ListRequest) GetDescending

func (m *ListRequest) GetDescending() bool

func (*ListRequest) GetFromKey

func (m *ListRequest) GetFromKey() []byte

func (*ListRequest) GetToKey

func (m *ListRequest) GetToKey() []byte

func (*ListRequest) Marshal

func (m *ListRequest) Marshal() (dAtA []byte, err error)

func (*ListRequest) MarshalTo

func (m *ListRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListRequest) MarshalToSizedBuffer

func (m *ListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) Reset

func (m *ListRequest) Reset()

func (*ListRequest) Size

func (m *ListRequest) Size() (n int)

func (*ListRequest) String

func (m *ListRequest) String() string

func (*ListRequest) Unmarshal

func (m *ListRequest) Unmarshal(dAtA []byte) error

func (*ListRequest) XXX_DiscardUnknown

func (m *ListRequest) XXX_DiscardUnknown()

func (*ListRequest) XXX_Marshal

func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListRequest) XXX_Merge

func (m *ListRequest) XXX_Merge(src proto.Message)

func (*ListRequest) XXX_Size

func (m *ListRequest) XXX_Size() int

func (*ListRequest) XXX_Unmarshal

func (m *ListRequest) XXX_Unmarshal(b []byte) error

type ListResponse

type ListResponse 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"`
}

func (*ListResponse) Descriptor

func (*ListResponse) Descriptor() ([]byte, []int)

func (*ListResponse) GetKey

func (m *ListResponse) GetKey() []byte

func (*ListResponse) GetValue

func (m *ListResponse) GetValue() []byte

func (*ListResponse) Marshal

func (m *ListResponse) Marshal() (dAtA []byte, err error)

func (*ListResponse) MarshalTo

func (m *ListResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListResponse) MarshalToSizedBuffer

func (m *ListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListResponse) ProtoMessage

func (*ListResponse) ProtoMessage()

func (*ListResponse) Reset

func (m *ListResponse) Reset()

func (*ListResponse) Size

func (m *ListResponse) Size() (n int)

func (*ListResponse) String

func (m *ListResponse) String() string

func (*ListResponse) Unmarshal

func (m *ListResponse) Unmarshal(dAtA []byte) error

func (*ListResponse) XXX_DiscardUnknown

func (m *ListResponse) XXX_DiscardUnknown()

func (*ListResponse) XXX_Marshal

func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListResponse) XXX_Merge

func (m *ListResponse) XXX_Merge(src proto.Message)

func (*ListResponse) XXX_Size

func (m *ListResponse) XXX_Size() int

func (*ListResponse) XXX_Unmarshal

func (m *ListResponse) XXX_Unmarshal(b []byte) error

type LoadVersionForOverwritingRequest

type LoadVersionForOverwritingRequest struct {
	Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
}

func (*LoadVersionForOverwritingRequest) Descriptor

func (*LoadVersionForOverwritingRequest) Descriptor() ([]byte, []int)

func (*LoadVersionForOverwritingRequest) GetVersion

func (m *LoadVersionForOverwritingRequest) GetVersion() int64

func (*LoadVersionForOverwritingRequest) Marshal

func (m *LoadVersionForOverwritingRequest) Marshal() (dAtA []byte, err error)

func (*LoadVersionForOverwritingRequest) MarshalTo

func (m *LoadVersionForOverwritingRequest) MarshalTo(dAtA []byte) (int, error)

func (*LoadVersionForOverwritingRequest) MarshalToSizedBuffer

func (m *LoadVersionForOverwritingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LoadVersionForOverwritingRequest) ProtoMessage

func (*LoadVersionForOverwritingRequest) ProtoMessage()

func (*LoadVersionForOverwritingRequest) Reset

func (*LoadVersionForOverwritingRequest) Size

func (m *LoadVersionForOverwritingRequest) Size() (n int)

func (*LoadVersionForOverwritingRequest) String

func (*LoadVersionForOverwritingRequest) Unmarshal

func (m *LoadVersionForOverwritingRequest) Unmarshal(dAtA []byte) error

func (*LoadVersionForOverwritingRequest) XXX_DiscardUnknown

func (m *LoadVersionForOverwritingRequest) XXX_DiscardUnknown()

func (*LoadVersionForOverwritingRequest) XXX_Marshal

func (m *LoadVersionForOverwritingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoadVersionForOverwritingRequest) XXX_Merge

func (*LoadVersionForOverwritingRequest) XXX_Size

func (m *LoadVersionForOverwritingRequest) XXX_Size() int

func (*LoadVersionForOverwritingRequest) XXX_Unmarshal

func (m *LoadVersionForOverwritingRequest) XXX_Unmarshal(b []byte) error

type LoadVersionRequest

type LoadVersionRequest struct {
	Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
}

func (*LoadVersionRequest) Descriptor

func (*LoadVersionRequest) Descriptor() ([]byte, []int)

func (*LoadVersionRequest) GetVersion

func (m *LoadVersionRequest) GetVersion() int64

func (*LoadVersionRequest) Marshal

func (m *LoadVersionRequest) Marshal() (dAtA []byte, err error)

func (*LoadVersionRequest) MarshalTo

func (m *LoadVersionRequest) MarshalTo(dAtA []byte) (int, error)

func (*LoadVersionRequest) MarshalToSizedBuffer

func (m *LoadVersionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*LoadVersionRequest) ProtoMessage

func (*LoadVersionRequest) ProtoMessage()

func (*LoadVersionRequest) Reset

func (m *LoadVersionRequest) Reset()

func (*LoadVersionRequest) Size

func (m *LoadVersionRequest) Size() (n int)

func (*LoadVersionRequest) String

func (m *LoadVersionRequest) String() string

func (*LoadVersionRequest) Unmarshal

func (m *LoadVersionRequest) Unmarshal(dAtA []byte) error

func (*LoadVersionRequest) XXX_DiscardUnknown

func (m *LoadVersionRequest) XXX_DiscardUnknown()

func (*LoadVersionRequest) XXX_Marshal

func (m *LoadVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoadVersionRequest) XXX_Merge

func (m *LoadVersionRequest) XXX_Merge(src proto.Message)

func (*LoadVersionRequest) XXX_Size

func (m *LoadVersionRequest) XXX_Size() int

func (*LoadVersionRequest) XXX_Unmarshal

func (m *LoadVersionRequest) XXX_Unmarshal(b []byte) error

type PathToLeaf

type PathToLeaf struct {
	Inners []*ProofInnerNode `protobuf:"bytes,1,rep,name=inners,proto3" json:"inners,omitempty"`
}

PathToLeaf is a Protobuf representation of iavl.PathToLeaf.

func (*PathToLeaf) Descriptor

func (*PathToLeaf) Descriptor() ([]byte, []int)

func (*PathToLeaf) GetInners

func (m *PathToLeaf) GetInners() []*ProofInnerNode

func (*PathToLeaf) Marshal

func (m *PathToLeaf) Marshal() (dAtA []byte, err error)

func (*PathToLeaf) MarshalTo

func (m *PathToLeaf) MarshalTo(dAtA []byte) (int, error)

func (*PathToLeaf) MarshalToSizedBuffer

func (m *PathToLeaf) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PathToLeaf) ProtoMessage

func (*PathToLeaf) ProtoMessage()

func (*PathToLeaf) Reset

func (m *PathToLeaf) Reset()

func (*PathToLeaf) Size

func (m *PathToLeaf) Size() (n int)

func (*PathToLeaf) String

func (m *PathToLeaf) String() string

func (*PathToLeaf) Unmarshal

func (m *PathToLeaf) Unmarshal(dAtA []byte) error

func (*PathToLeaf) XXX_DiscardUnknown

func (m *PathToLeaf) XXX_DiscardUnknown()

func (*PathToLeaf) XXX_Marshal

func (m *PathToLeaf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PathToLeaf) XXX_Merge

func (m *PathToLeaf) XXX_Merge(src proto.Message)

func (*PathToLeaf) XXX_Size

func (m *PathToLeaf) XXX_Size() int

func (*PathToLeaf) XXX_Unmarshal

func (m *PathToLeaf) XXX_Unmarshal(b []byte) error

type ProofInnerNode

type ProofInnerNode struct {
	Height  int32  `protobuf:"zigzag32,1,opt,name=height,proto3" json:"height,omitempty"`
	Size_   int64  `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	Version int64  `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	Left    []byte `protobuf:"bytes,4,opt,name=left,proto3" json:"left,omitempty"`
	Right   []byte `protobuf:"bytes,5,opt,name=right,proto3" json:"right,omitempty"`
}

ProofInnerNode is a Protobuf representation of iavl.ProofInnerNode.

func (*ProofInnerNode) Descriptor

func (*ProofInnerNode) Descriptor() ([]byte, []int)

func (*ProofInnerNode) GetHeight

func (m *ProofInnerNode) GetHeight() int32

func (*ProofInnerNode) GetLeft

func (m *ProofInnerNode) GetLeft() []byte

func (*ProofInnerNode) GetRight

func (m *ProofInnerNode) GetRight() []byte

func (*ProofInnerNode) GetSize_

func (m *ProofInnerNode) GetSize_() int64

func (*ProofInnerNode) GetVersion

func (m *ProofInnerNode) GetVersion() int64

func (*ProofInnerNode) Marshal

func (m *ProofInnerNode) Marshal() (dAtA []byte, err error)

func (*ProofInnerNode) MarshalTo

func (m *ProofInnerNode) MarshalTo(dAtA []byte) (int, error)

func (*ProofInnerNode) MarshalToSizedBuffer

func (m *ProofInnerNode) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProofInnerNode) ProtoMessage

func (*ProofInnerNode) ProtoMessage()

func (*ProofInnerNode) Reset

func (m *ProofInnerNode) Reset()

func (*ProofInnerNode) Size

func (m *ProofInnerNode) Size() (n int)

func (*ProofInnerNode) String

func (m *ProofInnerNode) String() string

func (*ProofInnerNode) Unmarshal

func (m *ProofInnerNode) Unmarshal(dAtA []byte) error

func (*ProofInnerNode) XXX_DiscardUnknown

func (m *ProofInnerNode) XXX_DiscardUnknown()

func (*ProofInnerNode) XXX_Marshal

func (m *ProofInnerNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProofInnerNode) XXX_Merge

func (m *ProofInnerNode) XXX_Merge(src proto.Message)

func (*ProofInnerNode) XXX_Size

func (m *ProofInnerNode) XXX_Size() int

func (*ProofInnerNode) XXX_Unmarshal

func (m *ProofInnerNode) XXX_Unmarshal(b []byte) error

type ProofLeafNode

type ProofLeafNode struct {
	Key       []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	ValueHash []byte `protobuf:"bytes,2,opt,name=value_hash,json=valueHash,proto3" json:"value_hash,omitempty"`
	Version   int64  `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
}

ProofLeafNode is a Protobuf representation of iavl.ProofInnerNode.

func (*ProofLeafNode) Descriptor

func (*ProofLeafNode) Descriptor() ([]byte, []int)

func (*ProofLeafNode) GetKey

func (m *ProofLeafNode) GetKey() []byte

func (*ProofLeafNode) GetValueHash

func (m *ProofLeafNode) GetValueHash() []byte

func (*ProofLeafNode) GetVersion

func (m *ProofLeafNode) GetVersion() int64

func (*ProofLeafNode) Marshal

func (m *ProofLeafNode) Marshal() (dAtA []byte, err error)

func (*ProofLeafNode) MarshalTo

func (m *ProofLeafNode) MarshalTo(dAtA []byte) (int, error)

func (*ProofLeafNode) MarshalToSizedBuffer

func (m *ProofLeafNode) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProofLeafNode) ProtoMessage

func (*ProofLeafNode) ProtoMessage()

func (*ProofLeafNode) Reset

func (m *ProofLeafNode) Reset()

func (*ProofLeafNode) Size

func (m *ProofLeafNode) Size() (n int)

func (*ProofLeafNode) String

func (m *ProofLeafNode) String() string

func (*ProofLeafNode) Unmarshal

func (m *ProofLeafNode) Unmarshal(dAtA []byte) error

func (*ProofLeafNode) XXX_DiscardUnknown

func (m *ProofLeafNode) XXX_DiscardUnknown()

func (*ProofLeafNode) XXX_Marshal

func (m *ProofLeafNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProofLeafNode) XXX_Merge

func (m *ProofLeafNode) XXX_Merge(src proto.Message)

func (*ProofLeafNode) XXX_Size

func (m *ProofLeafNode) XXX_Size() int

func (*ProofLeafNode) XXX_Unmarshal

func (m *ProofLeafNode) XXX_Unmarshal(b []byte) error

type RangeProof

type RangeProof struct {
	LeftPath   []*ProofInnerNode `protobuf:"bytes,1,rep,name=left_path,json=leftPath,proto3" json:"left_path,omitempty"`
	InnerNodes []*PathToLeaf     `protobuf:"bytes,2,rep,name=inner_nodes,json=innerNodes,proto3" json:"inner_nodes,omitempty"`
	Leaves     []*ProofLeafNode  `protobuf:"bytes,3,rep,name=leaves,proto3" json:"leaves,omitempty"`
}

RangeProof is a Protobuf representation of iavl.RangeProof.

func (*RangeProof) Descriptor

func (*RangeProof) Descriptor() ([]byte, []int)

func (*RangeProof) GetInnerNodes

func (m *RangeProof) GetInnerNodes() []*PathToLeaf

func (*RangeProof) GetLeaves

func (m *RangeProof) GetLeaves() []*ProofLeafNode

func (*RangeProof) GetLeftPath

func (m *RangeProof) GetLeftPath() []*ProofInnerNode

func (*RangeProof) Marshal

func (m *RangeProof) Marshal() (dAtA []byte, err error)

func (*RangeProof) MarshalTo

func (m *RangeProof) MarshalTo(dAtA []byte) (int, error)

func (*RangeProof) MarshalToSizedBuffer

func (m *RangeProof) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RangeProof) ProtoMessage

func (*RangeProof) ProtoMessage()

func (*RangeProof) Reset

func (m *RangeProof) Reset()

func (*RangeProof) Size

func (m *RangeProof) Size() (n int)

func (*RangeProof) String

func (m *RangeProof) String() string

func (*RangeProof) Unmarshal

func (m *RangeProof) Unmarshal(dAtA []byte) error

func (*RangeProof) XXX_DiscardUnknown

func (m *RangeProof) XXX_DiscardUnknown()

func (*RangeProof) XXX_Marshal

func (m *RangeProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RangeProof) XXX_Merge

func (m *RangeProof) XXX_Merge(src proto.Message)

func (*RangeProof) XXX_Size

func (m *RangeProof) XXX_Size() int

func (*RangeProof) XXX_Unmarshal

func (m *RangeProof) XXX_Unmarshal(b []byte) error

type RemoveRequest

type RemoveRequest struct {
	Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
}

func (*RemoveRequest) Descriptor

func (*RemoveRequest) Descriptor() ([]byte, []int)

func (*RemoveRequest) GetKey

func (m *RemoveRequest) GetKey() []byte

func (*RemoveRequest) Marshal

func (m *RemoveRequest) Marshal() (dAtA []byte, err error)

func (*RemoveRequest) MarshalTo

func (m *RemoveRequest) MarshalTo(dAtA []byte) (int, error)

func (*RemoveRequest) MarshalToSizedBuffer

func (m *RemoveRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RemoveRequest) ProtoMessage

func (*RemoveRequest) ProtoMessage()

func (*RemoveRequest) Reset

func (m *RemoveRequest) Reset()

func (*RemoveRequest) Size

func (m *RemoveRequest) Size() (n int)

func (*RemoveRequest) String

func (m *RemoveRequest) String() string

func (*RemoveRequest) Unmarshal

func (m *RemoveRequest) Unmarshal(dAtA []byte) error

func (*RemoveRequest) XXX_DiscardUnknown

func (m *RemoveRequest) XXX_DiscardUnknown()

func (*RemoveRequest) XXX_Marshal

func (m *RemoveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemoveRequest) XXX_Merge

func (m *RemoveRequest) XXX_Merge(src proto.Message)

func (*RemoveRequest) XXX_Size

func (m *RemoveRequest) XXX_Size() int

func (*RemoveRequest) XXX_Unmarshal

func (m *RemoveRequest) XXX_Unmarshal(b []byte) error

type RemoveResponse

type RemoveResponse struct {
	Value   []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	Removed bool   `protobuf:"varint,2,opt,name=removed,proto3" json:"removed,omitempty"`
}

func (*RemoveResponse) Descriptor

func (*RemoveResponse) Descriptor() ([]byte, []int)

func (*RemoveResponse) GetRemoved

func (m *RemoveResponse) GetRemoved() bool

func (*RemoveResponse) GetValue

func (m *RemoveResponse) GetValue() []byte

func (*RemoveResponse) Marshal

func (m *RemoveResponse) Marshal() (dAtA []byte, err error)

func (*RemoveResponse) MarshalTo

func (m *RemoveResponse) MarshalTo(dAtA []byte) (int, error)

func (*RemoveResponse) MarshalToSizedBuffer

func (m *RemoveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RemoveResponse) ProtoMessage

func (*RemoveResponse) ProtoMessage()

func (*RemoveResponse) Reset

func (m *RemoveResponse) Reset()

func (*RemoveResponse) Size

func (m *RemoveResponse) Size() (n int)

func (*RemoveResponse) String

func (m *RemoveResponse) String() string

func (*RemoveResponse) Unmarshal

func (m *RemoveResponse) Unmarshal(dAtA []byte) error

func (*RemoveResponse) XXX_DiscardUnknown

func (m *RemoveResponse) XXX_DiscardUnknown()

func (*RemoveResponse) XXX_Marshal

func (m *RemoveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemoveResponse) XXX_Merge

func (m *RemoveResponse) XXX_Merge(src proto.Message)

func (*RemoveResponse) XXX_Size

func (m *RemoveResponse) XXX_Size() int

func (*RemoveResponse) XXX_Unmarshal

func (m *RemoveResponse) XXX_Unmarshal(b []byte) error

type SaveVersionResponse

type SaveVersionResponse struct {
	RootHash []byte `protobuf:"bytes,1,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"`
	Version  int64  `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
}

func (*SaveVersionResponse) Descriptor

func (*SaveVersionResponse) Descriptor() ([]byte, []int)

func (*SaveVersionResponse) GetRootHash

func (m *SaveVersionResponse) GetRootHash() []byte

func (*SaveVersionResponse) GetVersion

func (m *SaveVersionResponse) GetVersion() int64

func (*SaveVersionResponse) Marshal

func (m *SaveVersionResponse) Marshal() (dAtA []byte, err error)

func (*SaveVersionResponse) MarshalTo

func (m *SaveVersionResponse) MarshalTo(dAtA []byte) (int, error)

func (*SaveVersionResponse) MarshalToSizedBuffer

func (m *SaveVersionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SaveVersionResponse) ProtoMessage

func (*SaveVersionResponse) ProtoMessage()

func (*SaveVersionResponse) Reset

func (m *SaveVersionResponse) Reset()

func (*SaveVersionResponse) Size

func (m *SaveVersionResponse) Size() (n int)

func (*SaveVersionResponse) String

func (m *SaveVersionResponse) String() string

func (*SaveVersionResponse) Unmarshal

func (m *SaveVersionResponse) Unmarshal(dAtA []byte) error

func (*SaveVersionResponse) XXX_DiscardUnknown

func (m *SaveVersionResponse) XXX_DiscardUnknown()

func (*SaveVersionResponse) XXX_Marshal

func (m *SaveVersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SaveVersionResponse) XXX_Merge

func (m *SaveVersionResponse) XXX_Merge(src proto.Message)

func (*SaveVersionResponse) XXX_Size

func (m *SaveVersionResponse) XXX_Size() int

func (*SaveVersionResponse) XXX_Unmarshal

func (m *SaveVersionResponse) XXX_Unmarshal(b []byte) error

type SetRequest

type SetRequest 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"`
}

func (*SetRequest) Descriptor

func (*SetRequest) Descriptor() ([]byte, []int)

func (*SetRequest) GetKey

func (m *SetRequest) GetKey() []byte

func (*SetRequest) GetValue

func (m *SetRequest) GetValue() []byte

func (*SetRequest) Marshal

func (m *SetRequest) Marshal() (dAtA []byte, err error)

func (*SetRequest) MarshalTo

func (m *SetRequest) MarshalTo(dAtA []byte) (int, error)

func (*SetRequest) MarshalToSizedBuffer

func (m *SetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SetRequest) ProtoMessage

func (*SetRequest) ProtoMessage()

func (*SetRequest) Reset

func (m *SetRequest) Reset()

func (*SetRequest) Size

func (m *SetRequest) Size() (n int)

func (*SetRequest) String

func (m *SetRequest) String() string

func (*SetRequest) Unmarshal

func (m *SetRequest) Unmarshal(dAtA []byte) error

func (*SetRequest) XXX_DiscardUnknown

func (m *SetRequest) XXX_DiscardUnknown()

func (*SetRequest) XXX_Marshal

func (m *SetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetRequest) XXX_Merge

func (m *SetRequest) XXX_Merge(src proto.Message)

func (*SetRequest) XXX_Size

func (m *SetRequest) XXX_Size() int

func (*SetRequest) XXX_Unmarshal

func (m *SetRequest) XXX_Unmarshal(b []byte) error

type SetResponse

type SetResponse struct {
	Updated bool `protobuf:"varint,1,opt,name=updated,proto3" json:"updated,omitempty"`
}

func (*SetResponse) Descriptor

func (*SetResponse) Descriptor() ([]byte, []int)

func (*SetResponse) GetUpdated

func (m *SetResponse) GetUpdated() bool

func (*SetResponse) Marshal

func (m *SetResponse) Marshal() (dAtA []byte, err error)

func (*SetResponse) MarshalTo

func (m *SetResponse) MarshalTo(dAtA []byte) (int, error)

func (*SetResponse) MarshalToSizedBuffer

func (m *SetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SetResponse) ProtoMessage

func (*SetResponse) ProtoMessage()

func (*SetResponse) Reset

func (m *SetResponse) Reset()

func (*SetResponse) Size

func (m *SetResponse) Size() (n int)

func (*SetResponse) String

func (m *SetResponse) String() string

func (*SetResponse) Unmarshal

func (m *SetResponse) Unmarshal(dAtA []byte) error

func (*SetResponse) XXX_DiscardUnknown

func (m *SetResponse) XXX_DiscardUnknown()

func (*SetResponse) XXX_Marshal

func (m *SetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetResponse) XXX_Merge

func (m *SetResponse) XXX_Merge(src proto.Message)

func (*SetResponse) XXX_Size

func (m *SetResponse) XXX_Size() int

func (*SetResponse) XXX_Unmarshal

func (m *SetResponse) XXX_Unmarshal(b []byte) error

type SizeResponse

type SizeResponse struct {
	Size_ int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
}

func (*SizeResponse) Descriptor

func (*SizeResponse) Descriptor() ([]byte, []int)

func (*SizeResponse) GetSize_

func (m *SizeResponse) GetSize_() int64

func (*SizeResponse) Marshal

func (m *SizeResponse) Marshal() (dAtA []byte, err error)

func (*SizeResponse) MarshalTo

func (m *SizeResponse) MarshalTo(dAtA []byte) (int, error)

func (*SizeResponse) MarshalToSizedBuffer

func (m *SizeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SizeResponse) ProtoMessage

func (*SizeResponse) ProtoMessage()

func (*SizeResponse) Reset

func (m *SizeResponse) Reset()

func (*SizeResponse) Size

func (m *SizeResponse) Size() (n int)

func (*SizeResponse) String

func (m *SizeResponse) String() string

func (*SizeResponse) Unmarshal

func (m *SizeResponse) Unmarshal(dAtA []byte) error

func (*SizeResponse) XXX_DiscardUnknown

func (m *SizeResponse) XXX_DiscardUnknown()

func (*SizeResponse) XXX_Marshal

func (m *SizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SizeResponse) XXX_Merge

func (m *SizeResponse) XXX_Merge(src proto.Message)

func (*SizeResponse) XXX_Size

func (m *SizeResponse) XXX_Size() int

func (*SizeResponse) XXX_Unmarshal

func (m *SizeResponse) XXX_Unmarshal(b []byte) error

type UnimplementedIAVLServiceServer

type UnimplementedIAVLServiceServer struct {
}

UnimplementedIAVLServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedIAVLServiceServer) DeleteVersion

func (*UnimplementedIAVLServiceServer) Get

func (*UnimplementedIAVLServiceServer) GetAvailableVersions

func (*UnimplementedIAVLServiceServer) GetByIndex

func (*UnimplementedIAVLServiceServer) GetVersioned

func (*UnimplementedIAVLServiceServer) GetVersionedWithProof

func (*UnimplementedIAVLServiceServer) GetWithProof

func (*UnimplementedIAVLServiceServer) Has

func (*UnimplementedIAVLServiceServer) HasVersioned

func (*UnimplementedIAVLServiceServer) Hash

func (*UnimplementedIAVLServiceServer) List

func (*UnimplementedIAVLServiceServer) Load

func (*UnimplementedIAVLServiceServer) LoadVersion

func (*UnimplementedIAVLServiceServer) LoadVersionForOverwriting

func (*UnimplementedIAVLServiceServer) Remove

func (*UnimplementedIAVLServiceServer) Rollback

func (*UnimplementedIAVLServiceServer) SaveVersion

func (*UnimplementedIAVLServiceServer) Set

func (*UnimplementedIAVLServiceServer) Size

func (*UnimplementedIAVLServiceServer) Verify

func (*UnimplementedIAVLServiceServer) VerifyAbsence

func (*UnimplementedIAVLServiceServer) VerifyItem

func (*UnimplementedIAVLServiceServer) Version

func (*UnimplementedIAVLServiceServer) VersionExists

type ValueOp

type ValueOp struct {
	Proof *RangeProof `protobuf:"bytes,1,opt,name=proof,proto3" json:"proof,omitempty"`
}

ValueOp is a Protobuf representation of iavl.ValueOp.

func (*ValueOp) Descriptor

func (*ValueOp) Descriptor() ([]byte, []int)

func (*ValueOp) GetProof

func (m *ValueOp) GetProof() *RangeProof

func (*ValueOp) Marshal

func (m *ValueOp) Marshal() (dAtA []byte, err error)

func (*ValueOp) MarshalTo

func (m *ValueOp) MarshalTo(dAtA []byte) (int, error)

func (*ValueOp) MarshalToSizedBuffer

func (m *ValueOp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValueOp) ProtoMessage

func (*ValueOp) ProtoMessage()

func (*ValueOp) Reset

func (m *ValueOp) Reset()

func (*ValueOp) Size

func (m *ValueOp) Size() (n int)

func (*ValueOp) String

func (m *ValueOp) String() string

func (*ValueOp) Unmarshal

func (m *ValueOp) Unmarshal(dAtA []byte) error

func (*ValueOp) XXX_DiscardUnknown

func (m *ValueOp) XXX_DiscardUnknown()

func (*ValueOp) XXX_Marshal

func (m *ValueOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValueOp) XXX_Merge

func (m *ValueOp) XXX_Merge(src proto.Message)

func (*ValueOp) XXX_Size

func (m *ValueOp) XXX_Size() int

func (*ValueOp) XXX_Unmarshal

func (m *ValueOp) XXX_Unmarshal(b []byte) error

type VerifyAbsenceRequest

type VerifyAbsenceRequest struct {
	RootHash []byte      `protobuf:"bytes,1,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"`
	Proof    *RangeProof `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"`
	Key      []byte      `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
}

func (*VerifyAbsenceRequest) Descriptor

func (*VerifyAbsenceRequest) Descriptor() ([]byte, []int)

func (*VerifyAbsenceRequest) GetKey

func (m *VerifyAbsenceRequest) GetKey() []byte

func (*VerifyAbsenceRequest) GetProof

func (m *VerifyAbsenceRequest) GetProof() *RangeProof

func (*VerifyAbsenceRequest) GetRootHash

func (m *VerifyAbsenceRequest) GetRootHash() []byte

func (*VerifyAbsenceRequest) Marshal

func (m *VerifyAbsenceRequest) Marshal() (dAtA []byte, err error)

func (*VerifyAbsenceRequest) MarshalTo

func (m *VerifyAbsenceRequest) MarshalTo(dAtA []byte) (int, error)

func (*VerifyAbsenceRequest) MarshalToSizedBuffer

func (m *VerifyAbsenceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerifyAbsenceRequest) ProtoMessage

func (*VerifyAbsenceRequest) ProtoMessage()

func (*VerifyAbsenceRequest) Reset

func (m *VerifyAbsenceRequest) Reset()

func (*VerifyAbsenceRequest) Size

func (m *VerifyAbsenceRequest) Size() (n int)

func (*VerifyAbsenceRequest) String

func (m *VerifyAbsenceRequest) String() string

func (*VerifyAbsenceRequest) Unmarshal

func (m *VerifyAbsenceRequest) Unmarshal(dAtA []byte) error

func (*VerifyAbsenceRequest) XXX_DiscardUnknown

func (m *VerifyAbsenceRequest) XXX_DiscardUnknown()

func (*VerifyAbsenceRequest) XXX_Marshal

func (m *VerifyAbsenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyAbsenceRequest) XXX_Merge

func (m *VerifyAbsenceRequest) XXX_Merge(src proto.Message)

func (*VerifyAbsenceRequest) XXX_Size

func (m *VerifyAbsenceRequest) XXX_Size() int

func (*VerifyAbsenceRequest) XXX_Unmarshal

func (m *VerifyAbsenceRequest) XXX_Unmarshal(b []byte) error

type VerifyItemRequest

type VerifyItemRequest struct {
	RootHash []byte      `protobuf:"bytes,1,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"`
	Proof    *RangeProof `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"`
	Key      []byte      `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	Value    []byte      `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
}

func (*VerifyItemRequest) Descriptor

func (*VerifyItemRequest) Descriptor() ([]byte, []int)

func (*VerifyItemRequest) GetKey

func (m *VerifyItemRequest) GetKey() []byte

func (*VerifyItemRequest) GetProof

func (m *VerifyItemRequest) GetProof() *RangeProof

func (*VerifyItemRequest) GetRootHash

func (m *VerifyItemRequest) GetRootHash() []byte

func (*VerifyItemRequest) GetValue

func (m *VerifyItemRequest) GetValue() []byte

func (*VerifyItemRequest) Marshal

func (m *VerifyItemRequest) Marshal() (dAtA []byte, err error)

func (*VerifyItemRequest) MarshalTo

func (m *VerifyItemRequest) MarshalTo(dAtA []byte) (int, error)

func (*VerifyItemRequest) MarshalToSizedBuffer

func (m *VerifyItemRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerifyItemRequest) ProtoMessage

func (*VerifyItemRequest) ProtoMessage()

func (*VerifyItemRequest) Reset

func (m *VerifyItemRequest) Reset()

func (*VerifyItemRequest) Size

func (m *VerifyItemRequest) Size() (n int)

func (*VerifyItemRequest) String

func (m *VerifyItemRequest) String() string

func (*VerifyItemRequest) Unmarshal

func (m *VerifyItemRequest) Unmarshal(dAtA []byte) error

func (*VerifyItemRequest) XXX_DiscardUnknown

func (m *VerifyItemRequest) XXX_DiscardUnknown()

func (*VerifyItemRequest) XXX_Marshal

func (m *VerifyItemRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyItemRequest) XXX_Merge

func (m *VerifyItemRequest) XXX_Merge(src proto.Message)

func (*VerifyItemRequest) XXX_Size

func (m *VerifyItemRequest) XXX_Size() int

func (*VerifyItemRequest) XXX_Unmarshal

func (m *VerifyItemRequest) XXX_Unmarshal(b []byte) error

type VerifyRequest

type VerifyRequest struct {
	RootHash []byte      `protobuf:"bytes,1,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"`
	Proof    *RangeProof `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"`
}

func (*VerifyRequest) Descriptor

func (*VerifyRequest) Descriptor() ([]byte, []int)

func (*VerifyRequest) GetProof

func (m *VerifyRequest) GetProof() *RangeProof

func (*VerifyRequest) GetRootHash

func (m *VerifyRequest) GetRootHash() []byte

func (*VerifyRequest) Marshal

func (m *VerifyRequest) Marshal() (dAtA []byte, err error)

func (*VerifyRequest) MarshalTo

func (m *VerifyRequest) MarshalTo(dAtA []byte) (int, error)

func (*VerifyRequest) MarshalToSizedBuffer

func (m *VerifyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerifyRequest) ProtoMessage

func (*VerifyRequest) ProtoMessage()

func (*VerifyRequest) Reset

func (m *VerifyRequest) Reset()

func (*VerifyRequest) Size

func (m *VerifyRequest) Size() (n int)

func (*VerifyRequest) String

func (m *VerifyRequest) String() string

func (*VerifyRequest) Unmarshal

func (m *VerifyRequest) Unmarshal(dAtA []byte) error

func (*VerifyRequest) XXX_DiscardUnknown

func (m *VerifyRequest) XXX_DiscardUnknown()

func (*VerifyRequest) XXX_Marshal

func (m *VerifyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyRequest) XXX_Merge

func (m *VerifyRequest) XXX_Merge(src proto.Message)

func (*VerifyRequest) XXX_Size

func (m *VerifyRequest) XXX_Size() int

func (*VerifyRequest) XXX_Unmarshal

func (m *VerifyRequest) XXX_Unmarshal(b []byte) error

type VersionExistsRequest

type VersionExistsRequest struct {
	Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
}

func (*VersionExistsRequest) Descriptor

func (*VersionExistsRequest) Descriptor() ([]byte, []int)

func (*VersionExistsRequest) GetVersion

func (m *VersionExistsRequest) GetVersion() int64

func (*VersionExistsRequest) Marshal

func (m *VersionExistsRequest) Marshal() (dAtA []byte, err error)

func (*VersionExistsRequest) MarshalTo

func (m *VersionExistsRequest) MarshalTo(dAtA []byte) (int, error)

func (*VersionExistsRequest) MarshalToSizedBuffer

func (m *VersionExistsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VersionExistsRequest) ProtoMessage

func (*VersionExistsRequest) ProtoMessage()

func (*VersionExistsRequest) Reset

func (m *VersionExistsRequest) Reset()

func (*VersionExistsRequest) Size

func (m *VersionExistsRequest) Size() (n int)

func (*VersionExistsRequest) String

func (m *VersionExistsRequest) String() string

func (*VersionExistsRequest) Unmarshal

func (m *VersionExistsRequest) Unmarshal(dAtA []byte) error

func (*VersionExistsRequest) XXX_DiscardUnknown

func (m *VersionExistsRequest) XXX_DiscardUnknown()

func (*VersionExistsRequest) XXX_Marshal

func (m *VersionExistsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VersionExistsRequest) XXX_Merge

func (m *VersionExistsRequest) XXX_Merge(src proto.Message)

func (*VersionExistsRequest) XXX_Size

func (m *VersionExistsRequest) XXX_Size() int

func (*VersionExistsRequest) XXX_Unmarshal

func (m *VersionExistsRequest) XXX_Unmarshal(b []byte) error

type VersionExistsResponse

type VersionExistsResponse struct {
	Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
}

func (*VersionExistsResponse) Descriptor

func (*VersionExistsResponse) Descriptor() ([]byte, []int)

func (*VersionExistsResponse) GetResult

func (m *VersionExistsResponse) GetResult() bool

func (*VersionExistsResponse) Marshal

func (m *VersionExistsResponse) Marshal() (dAtA []byte, err error)

func (*VersionExistsResponse) MarshalTo

func (m *VersionExistsResponse) MarshalTo(dAtA []byte) (int, error)

func (*VersionExistsResponse) MarshalToSizedBuffer

func (m *VersionExistsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VersionExistsResponse) ProtoMessage

func (*VersionExistsResponse) ProtoMessage()

func (*VersionExistsResponse) Reset

func (m *VersionExistsResponse) Reset()

func (*VersionExistsResponse) Size

func (m *VersionExistsResponse) Size() (n int)

func (*VersionExistsResponse) String

func (m *VersionExistsResponse) String() string

func (*VersionExistsResponse) Unmarshal

func (m *VersionExistsResponse) Unmarshal(dAtA []byte) error

func (*VersionExistsResponse) XXX_DiscardUnknown

func (m *VersionExistsResponse) XXX_DiscardUnknown()

func (*VersionExistsResponse) XXX_Marshal

func (m *VersionExistsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VersionExistsResponse) XXX_Merge

func (m *VersionExistsResponse) XXX_Merge(src proto.Message)

func (*VersionExistsResponse) XXX_Size

func (m *VersionExistsResponse) XXX_Size() int

func (*VersionExistsResponse) XXX_Unmarshal

func (m *VersionExistsResponse) XXX_Unmarshal(b []byte) error

type VersionResponse

type VersionResponse struct {
	Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
}

func (*VersionResponse) Descriptor

func (*VersionResponse) Descriptor() ([]byte, []int)

func (*VersionResponse) GetVersion

func (m *VersionResponse) GetVersion() int64

func (*VersionResponse) Marshal

func (m *VersionResponse) Marshal() (dAtA []byte, err error)

func (*VersionResponse) MarshalTo

func (m *VersionResponse) MarshalTo(dAtA []byte) (int, error)

func (*VersionResponse) MarshalToSizedBuffer

func (m *VersionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VersionResponse) ProtoMessage

func (*VersionResponse) ProtoMessage()

func (*VersionResponse) Reset

func (m *VersionResponse) Reset()

func (*VersionResponse) Size

func (m *VersionResponse) Size() (n int)

func (*VersionResponse) String

func (m *VersionResponse) String() string

func (*VersionResponse) Unmarshal

func (m *VersionResponse) Unmarshal(dAtA []byte) error

func (*VersionResponse) XXX_DiscardUnknown

func (m *VersionResponse) XXX_DiscardUnknown()

func (*VersionResponse) XXX_Marshal

func (m *VersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VersionResponse) XXX_Merge

func (m *VersionResponse) XXX_Merge(src proto.Message)

func (*VersionResponse) XXX_Size

func (m *VersionResponse) XXX_Size() int

func (*VersionResponse) XXX_Unmarshal

func (m *VersionResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL