hashdb

package
v0.6.5-RC7 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 9 Imported by: 1

Documentation

Index

Constants

View Source
const (
	HashDBService_GetLatestStateRoot_FullMethodName = "/hashdb.v1.HashDBService/GetLatestStateRoot"
	HashDBService_Set_FullMethodName                = "/hashdb.v1.HashDBService/Set"
	HashDBService_Get_FullMethodName                = "/hashdb.v1.HashDBService/Get"
	HashDBService_SetProgram_FullMethodName         = "/hashdb.v1.HashDBService/SetProgram"
	HashDBService_GetProgram_FullMethodName         = "/hashdb.v1.HashDBService/GetProgram"
	HashDBService_LoadDB_FullMethodName             = "/hashdb.v1.HashDBService/LoadDB"
	HashDBService_LoadProgramDB_FullMethodName      = "/hashdb.v1.HashDBService/LoadProgramDB"
	HashDBService_FinishTx_FullMethodName           = "/hashdb.v1.HashDBService/FinishTx"
	HashDBService_StartBlock_FullMethodName         = "/hashdb.v1.HashDBService/StartBlock"
	HashDBService_FinishBlock_FullMethodName        = "/hashdb.v1.HashDBService/FinishBlock"
	HashDBService_Flush_FullMethodName              = "/hashdb.v1.HashDBService/Flush"
	HashDBService_GetFlushStatus_FullMethodName     = "/hashdb.v1.HashDBService/GetFlushStatus"
	HashDBService_GetFlushData_FullMethodName       = "/hashdb.v1.HashDBService/GetFlushData"
	HashDBService_ConsolidateState_FullMethodName   = "/hashdb.v1.HashDBService/ConsolidateState"
	HashDBService_Purge_FullMethodName              = "/hashdb.v1.HashDBService/Purge"
	HashDBService_ReadTree_FullMethodName           = "/hashdb.v1.HashDBService/ReadTree"
	HashDBService_CancelBatch_FullMethodName        = "/hashdb.v1.HashDBService/CancelBatch"
	HashDBService_ResetDB_FullMethodName            = "/hashdb.v1.HashDBService/ResetDB"
)

Variables

View Source
var (
	Persistence_name = map[int32]string{
		0: "PERSISTENCE_CACHE_UNSPECIFIED",
		1: "PERSISTENCE_DATABASE",
		2: "PERSISTENCE_TEMPORARY",
	}
	Persistence_value = map[string]int32{
		"PERSISTENCE_CACHE_UNSPECIFIED": 0,
		"PERSISTENCE_DATABASE":          1,
		"PERSISTENCE_TEMPORARY":         2,
	}
)

Enum value maps for Persistence.

View Source
var (
	ResultCode_Code_name = map[int32]string{
		0:  "CODE_UNSPECIFIED",
		1:  "CODE_SUCCESS",
		2:  "CODE_DB_KEY_NOT_FOUND",
		3:  "CODE_DB_ERROR",
		4:  "CODE_INTERNAL_ERROR",
		14: "CODE_SMT_INVALID_DATA_SIZE",
	}
	ResultCode_Code_value = map[string]int32{
		"CODE_UNSPECIFIED":           0,
		"CODE_SUCCESS":               1,
		"CODE_DB_KEY_NOT_FOUND":      2,
		"CODE_DB_ERROR":              3,
		"CODE_INTERNAL_ERROR":        4,
		"CODE_SMT_INVALID_DATA_SIZE": 14,
	}
)

Enum value maps for ResultCode_Code.

View Source
var File_hashdb_proto protoreflect.FileDescriptor
View Source
var HashDBService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "hashdb.v1.HashDBService",
	HandlerType: (*HashDBServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetLatestStateRoot",
			Handler:    _HashDBService_GetLatestStateRoot_Handler,
		},
		{
			MethodName: "Set",
			Handler:    _HashDBService_Set_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _HashDBService_Get_Handler,
		},
		{
			MethodName: "SetProgram",
			Handler:    _HashDBService_SetProgram_Handler,
		},
		{
			MethodName: "GetProgram",
			Handler:    _HashDBService_GetProgram_Handler,
		},
		{
			MethodName: "LoadDB",
			Handler:    _HashDBService_LoadDB_Handler,
		},
		{
			MethodName: "LoadProgramDB",
			Handler:    _HashDBService_LoadProgramDB_Handler,
		},
		{
			MethodName: "FinishTx",
			Handler:    _HashDBService_FinishTx_Handler,
		},
		{
			MethodName: "StartBlock",
			Handler:    _HashDBService_StartBlock_Handler,
		},
		{
			MethodName: "FinishBlock",
			Handler:    _HashDBService_FinishBlock_Handler,
		},
		{
			MethodName: "Flush",
			Handler:    _HashDBService_Flush_Handler,
		},
		{
			MethodName: "GetFlushStatus",
			Handler:    _HashDBService_GetFlushStatus_Handler,
		},
		{
			MethodName: "GetFlushData",
			Handler:    _HashDBService_GetFlushData_Handler,
		},
		{
			MethodName: "ConsolidateState",
			Handler:    _HashDBService_ConsolidateState_Handler,
		},
		{
			MethodName: "Purge",
			Handler:    _HashDBService_Purge_Handler,
		},
		{
			MethodName: "ReadTree",
			Handler:    _HashDBService_ReadTree_Handler,
		},
		{
			MethodName: "CancelBatch",
			Handler:    _HashDBService_CancelBatch_Handler,
		},
		{
			MethodName: "ResetDB",
			Handler:    _HashDBService_ResetDB_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "hashdb.proto",
}

HashDBService_ServiceDesc is the grpc.ServiceDesc for HashDBService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterHashDBServiceServer

func RegisterHashDBServiceServer(s grpc.ServiceRegistrar, srv HashDBServiceServer)

Types

type CancelBatchRequest added in v0.5.0

type CancelBatchRequest struct {
	BatchUuid string `protobuf:"bytes,1,opt,name=batch_uuid,json=batchUuid,proto3" json:"batch_uuid,omitempty"`
	// contains filtered or unexported fields
}

* @dev CancelBatchRequest @param {batch_uuid} - indicates a unique identifier of the current batch or session which data will be deleted

func (*CancelBatchRequest) Descriptor deprecated added in v0.5.0

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

Deprecated: Use CancelBatchRequest.ProtoReflect.Descriptor instead.

func (*CancelBatchRequest) GetBatchUuid added in v0.5.0

func (x *CancelBatchRequest) GetBatchUuid() string

func (*CancelBatchRequest) ProtoMessage added in v0.5.0

func (*CancelBatchRequest) ProtoMessage()

func (*CancelBatchRequest) ProtoReflect added in v0.5.0

func (x *CancelBatchRequest) ProtoReflect() protoreflect.Message

func (*CancelBatchRequest) Reset added in v0.5.0

func (x *CancelBatchRequest) Reset()

func (*CancelBatchRequest) String added in v0.5.0

func (x *CancelBatchRequest) String() string

type CancelBatchResponse added in v0.5.0

type CancelBatchResponse struct {
	Result *ResultCode `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

* @dev CancelBatchResponse @param {result} - result code

func (*CancelBatchResponse) Descriptor deprecated added in v0.5.0

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

Deprecated: Use CancelBatchResponse.ProtoReflect.Descriptor instead.

func (*CancelBatchResponse) GetResult added in v0.5.0

func (x *CancelBatchResponse) GetResult() *ResultCode

func (*CancelBatchResponse) ProtoMessage added in v0.5.0

func (*CancelBatchResponse) ProtoMessage()

func (*CancelBatchResponse) ProtoReflect added in v0.5.0

func (x *CancelBatchResponse) ProtoReflect() protoreflect.Message

func (*CancelBatchResponse) Reset added in v0.5.0

func (x *CancelBatchResponse) Reset()

func (*CancelBatchResponse) String added in v0.5.0

func (x *CancelBatchResponse) String() string

type ConsolidateStateRequest added in v0.5.0

type ConsolidateStateRequest struct {
	VirtualStateRoot *Fea        `protobuf:"bytes,1,opt,name=virtual_state_root,json=virtualStateRoot,proto3" json:"virtual_state_root,omitempty"`
	Persistence      Persistence `protobuf:"varint,2,opt,name=persistence,proto3,enum=hashdb.v1.Persistence" json:"persistence,omitempty"`
	// contains filtered or unexported fields
}

* @dev ConsolidateStateRequest @param {virtual_state_root} - virtual state root to consolidate (and previous virtual state roots, too) @param {persistence} - indicates if it should be stored only in CACHE, in the SQL DATABASE, or it is just TEMPORARY and should be deleted at the flush of this batch UUID

func (*ConsolidateStateRequest) Descriptor deprecated added in v0.5.0

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

Deprecated: Use ConsolidateStateRequest.ProtoReflect.Descriptor instead.

func (*ConsolidateStateRequest) GetPersistence added in v0.5.0

func (x *ConsolidateStateRequest) GetPersistence() Persistence

func (*ConsolidateStateRequest) GetVirtualStateRoot added in v0.5.0

func (x *ConsolidateStateRequest) GetVirtualStateRoot() *Fea

func (*ConsolidateStateRequest) ProtoMessage added in v0.5.0

func (*ConsolidateStateRequest) ProtoMessage()

func (*ConsolidateStateRequest) ProtoReflect added in v0.5.0

func (x *ConsolidateStateRequest) ProtoReflect() protoreflect.Message

func (*ConsolidateStateRequest) Reset added in v0.5.0

func (x *ConsolidateStateRequest) Reset()

func (*ConsolidateStateRequest) String added in v0.5.0

func (x *ConsolidateStateRequest) String() string

type ConsolidateStateResponse added in v0.5.0

type ConsolidateStateResponse struct {
	ConsolidatedStateRoot *Fea        `` /* 126-byte string literal not displayed */
	FlushId               uint64      `protobuf:"varint,2,opt,name=flush_id,json=flushId,proto3" json:"flush_id,omitempty"`
	StoredFlushId         uint64      `protobuf:"varint,3,opt,name=stored_flush_id,json=storedFlushId,proto3" json:"stored_flush_id,omitempty"`
	Result                *ResultCode `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

* @dev ConsolidateStateResponse @param {consolidated_state_root} - consolidated state root at the point of the execution of virtual_state_root @param {flush_id} - id assigned to this flush data @param {stored_flush_id} - id of the last flush data sent to database @param {result} - result code

func (*ConsolidateStateResponse) Descriptor deprecated added in v0.5.0

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

Deprecated: Use ConsolidateStateResponse.ProtoReflect.Descriptor instead.

func (*ConsolidateStateResponse) GetConsolidatedStateRoot added in v0.5.0

func (x *ConsolidateStateResponse) GetConsolidatedStateRoot() *Fea

func (*ConsolidateStateResponse) GetFlushId added in v0.5.0

func (x *ConsolidateStateResponse) GetFlushId() uint64

func (*ConsolidateStateResponse) GetResult added in v0.5.0

func (x *ConsolidateStateResponse) GetResult() *ResultCode

func (*ConsolidateStateResponse) GetStoredFlushId added in v0.5.0

func (x *ConsolidateStateResponse) GetStoredFlushId() uint64

func (*ConsolidateStateResponse) ProtoMessage added in v0.5.0

func (*ConsolidateStateResponse) ProtoMessage()

func (*ConsolidateStateResponse) ProtoReflect added in v0.5.0

func (x *ConsolidateStateResponse) ProtoReflect() protoreflect.Message

func (*ConsolidateStateResponse) Reset added in v0.5.0

func (x *ConsolidateStateResponse) Reset()

func (*ConsolidateStateResponse) String added in v0.5.0

func (x *ConsolidateStateResponse) String() string

type FeList

type FeList struct {
	Fe []uint64 `protobuf:"varint,1,rep,packed,name=fe,proto3" json:"fe,omitempty"`
	// contains filtered or unexported fields
}

* @dev FE (Field Element) List @param {fe} - list of Fe

func (*FeList) Descriptor deprecated

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

Deprecated: Use FeList.ProtoReflect.Descriptor instead.

func (*FeList) GetFe

func (x *FeList) GetFe() []uint64

func (*FeList) ProtoMessage

func (*FeList) ProtoMessage()

func (*FeList) ProtoReflect

func (x *FeList) ProtoReflect() protoreflect.Message

func (*FeList) Reset

func (x *FeList) Reset()

func (*FeList) String

func (x *FeList) String() string

type Fea

type Fea struct {
	Fe0 uint64 `protobuf:"varint,1,opt,name=fe0,proto3" json:"fe0,omitempty"`
	Fe1 uint64 `protobuf:"varint,2,opt,name=fe1,proto3" json:"fe1,omitempty"`
	Fe2 uint64 `protobuf:"varint,3,opt,name=fe2,proto3" json:"fe2,omitempty"`
	Fe3 uint64 `protobuf:"varint,4,opt,name=fe3,proto3" json:"fe3,omitempty"`
	// contains filtered or unexported fields
}

* @dev Array of 4 FE @param {fe0} - Field Element value for pos 0 @param {fe1} - Field Element value for pos 1 @param {fe2} - Field Element value for pos 2 @param {fe3} - Field Element value for pos 3

func (*Fea) Descriptor deprecated

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

Deprecated: Use Fea.ProtoReflect.Descriptor instead.

func (*Fea) GetFe0

func (x *Fea) GetFe0() uint64

func (*Fea) GetFe1

func (x *Fea) GetFe1() uint64

func (*Fea) GetFe2

func (x *Fea) GetFe2() uint64

func (*Fea) GetFe3

func (x *Fea) GetFe3() uint64

func (*Fea) ProtoMessage

func (*Fea) ProtoMessage()

func (*Fea) ProtoReflect

func (x *Fea) ProtoReflect() protoreflect.Message

func (*Fea) Reset

func (x *Fea) Reset()

func (*Fea) String

func (x *Fea) String() string

type Fea12 added in v0.5.0

type Fea12 struct {
	Fe0  uint64 `protobuf:"varint,1,opt,name=fe0,proto3" json:"fe0,omitempty"`
	Fe1  uint64 `protobuf:"varint,2,opt,name=fe1,proto3" json:"fe1,omitempty"`
	Fe2  uint64 `protobuf:"varint,3,opt,name=fe2,proto3" json:"fe2,omitempty"`
	Fe3  uint64 `protobuf:"varint,4,opt,name=fe3,proto3" json:"fe3,omitempty"`
	Fe4  uint64 `protobuf:"varint,5,opt,name=fe4,proto3" json:"fe4,omitempty"`
	Fe5  uint64 `protobuf:"varint,6,opt,name=fe5,proto3" json:"fe5,omitempty"`
	Fe6  uint64 `protobuf:"varint,7,opt,name=fe6,proto3" json:"fe6,omitempty"`
	Fe7  uint64 `protobuf:"varint,8,opt,name=fe7,proto3" json:"fe7,omitempty"`
	Fe8  uint64 `protobuf:"varint,9,opt,name=fe8,proto3" json:"fe8,omitempty"`
	Fe9  uint64 `protobuf:"varint,10,opt,name=fe9,proto3" json:"fe9,omitempty"`
	Fe10 uint64 `protobuf:"varint,11,opt,name=fe10,proto3" json:"fe10,omitempty"`
	Fe11 uint64 `protobuf:"varint,12,opt,name=fe11,proto3" json:"fe11,omitempty"`
	// contains filtered or unexported fields
}

* @dev Array of 12 FE @param {fex} - Field Element value for pos x

func (*Fea12) Descriptor deprecated added in v0.5.0

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

Deprecated: Use Fea12.ProtoReflect.Descriptor instead.

func (*Fea12) GetFe0 added in v0.5.0

func (x *Fea12) GetFe0() uint64

func (*Fea12) GetFe1 added in v0.5.0

func (x *Fea12) GetFe1() uint64

func (*Fea12) GetFe10 added in v0.5.0

func (x *Fea12) GetFe10() uint64

func (*Fea12) GetFe11 added in v0.5.0

func (x *Fea12) GetFe11() uint64

func (*Fea12) GetFe2 added in v0.5.0

func (x *Fea12) GetFe2() uint64

func (*Fea12) GetFe3 added in v0.5.0

func (x *Fea12) GetFe3() uint64

func (*Fea12) GetFe4 added in v0.5.0

func (x *Fea12) GetFe4() uint64

func (*Fea12) GetFe5 added in v0.5.0

func (x *Fea12) GetFe5() uint64

func (*Fea12) GetFe6 added in v0.5.0

func (x *Fea12) GetFe6() uint64

func (*Fea12) GetFe7 added in v0.5.0

func (x *Fea12) GetFe7() uint64

func (*Fea12) GetFe8 added in v0.5.0

func (x *Fea12) GetFe8() uint64

func (*Fea12) GetFe9 added in v0.5.0

func (x *Fea12) GetFe9() uint64

func (*Fea12) ProtoMessage added in v0.5.0

func (*Fea12) ProtoMessage()

func (*Fea12) ProtoReflect added in v0.5.0

func (x *Fea12) ProtoReflect() protoreflect.Message

func (*Fea12) Reset added in v0.5.0

func (x *Fea12) Reset()

func (*Fea12) String added in v0.5.0

func (x *Fea12) String() string

type FinishBlockRequest added in v0.5.0

type FinishBlockRequest struct {
	BatchUuid    string      `protobuf:"bytes,1,opt,name=batch_uuid,json=batchUuid,proto3" json:"batch_uuid,omitempty"`
	NewStateRoot string      `protobuf:"bytes,2,opt,name=new_state_root,json=newStateRoot,proto3" json:"new_state_root,omitempty"`
	Persistence  Persistence `protobuf:"varint,3,opt,name=persistence,proto3,enum=hashdb.v1.Persistence" json:"persistence,omitempty"`
	// contains filtered or unexported fields
}

* @dev FinishBlockRequest @param {batch_uuid} - indicates a unique identifier of the current batch or session which block will be finished @param {new_state_root} - state root at this point of the execution @param {persistence} - indicates if it should be stored only in CACHE, in the SQL DATABASE, or it is just TEMPORARY and should be deleted at the flush of this batch UUID

func (*FinishBlockRequest) Descriptor deprecated added in v0.5.0

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

Deprecated: Use FinishBlockRequest.ProtoReflect.Descriptor instead.

func (*FinishBlockRequest) GetBatchUuid added in v0.5.0

func (x *FinishBlockRequest) GetBatchUuid() string

func (*FinishBlockRequest) GetNewStateRoot added in v0.5.0

func (x *FinishBlockRequest) GetNewStateRoot() string

func (*FinishBlockRequest) GetPersistence added in v0.5.0

func (x *FinishBlockRequest) GetPersistence() Persistence

func (*FinishBlockRequest) ProtoMessage added in v0.5.0

func (*FinishBlockRequest) ProtoMessage()

func (*FinishBlockRequest) ProtoReflect added in v0.5.0

func (x *FinishBlockRequest) ProtoReflect() protoreflect.Message

func (*FinishBlockRequest) Reset added in v0.5.0

func (x *FinishBlockRequest) Reset()

func (*FinishBlockRequest) String added in v0.5.0

func (x *FinishBlockRequest) String() string

type FinishTxRequest added in v0.5.0

type FinishTxRequest struct {
	BatchUuid    string      `protobuf:"bytes,1,opt,name=batch_uuid,json=batchUuid,proto3" json:"batch_uuid,omitempty"`
	NewStateRoot string      `protobuf:"bytes,2,opt,name=new_state_root,json=newStateRoot,proto3" json:"new_state_root,omitempty"`
	Persistence  Persistence `protobuf:"varint,3,opt,name=persistence,proto3,enum=hashdb.v1.Persistence" json:"persistence,omitempty"`
	// contains filtered or unexported fields
}

* @dev FinishTxRequest @param {batch_uuid} - indicates a unique identifier of the current batch or session which tx will be finished @param {new_state_root} - state root at this point of the execution @param {persistence} - indicates if it should be stored only in CACHE, in the SQL DATABASE, or it is just TEMPORARY and should be deleted at the flush of this batch UUID

func (*FinishTxRequest) Descriptor deprecated added in v0.5.0

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

Deprecated: Use FinishTxRequest.ProtoReflect.Descriptor instead.

func (*FinishTxRequest) GetBatchUuid added in v0.5.0

func (x *FinishTxRequest) GetBatchUuid() string

func (*FinishTxRequest) GetNewStateRoot added in v0.5.0

func (x *FinishTxRequest) GetNewStateRoot() string

func (*FinishTxRequest) GetPersistence added in v0.5.0

func (x *FinishTxRequest) GetPersistence() Persistence

func (*FinishTxRequest) ProtoMessage added in v0.5.0

func (*FinishTxRequest) ProtoMessage()

func (*FinishTxRequest) ProtoReflect added in v0.5.0

func (x *FinishTxRequest) ProtoReflect() protoreflect.Message

func (*FinishTxRequest) Reset added in v0.5.0

func (x *FinishTxRequest) Reset()

func (*FinishTxRequest) String added in v0.5.0

func (x *FinishTxRequest) String() string

type FlushRequest

type FlushRequest struct {
	BatchUuid    string      `protobuf:"bytes,1,opt,name=batch_uuid,json=batchUuid,proto3" json:"batch_uuid,omitempty"`
	NewStateRoot string      `protobuf:"bytes,2,opt,name=new_state_root,json=newStateRoot,proto3" json:"new_state_root,omitempty"`
	Persistence  Persistence `protobuf:"varint,3,opt,name=persistence,proto3,enum=hashdb.v1.Persistence" json:"persistence,omitempty"`
	// contains filtered or unexported fields
}

* @dev FlushRequest @param {batch_uuid} - indicates a unique identifier of the current batch or session which data will be flushed to cache (and database if required) @param {new_state_root} - state root at this point of the execution @param {persistence} - indicates if it should be stored only in CACHE, in the SQL DATABASE, or it is just TEMPORARY and should be deleted at the flush of this batch UUID

func (*FlushRequest) Descriptor deprecated

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

Deprecated: Use FlushRequest.ProtoReflect.Descriptor instead.

func (*FlushRequest) GetBatchUuid

func (x *FlushRequest) GetBatchUuid() string

func (*FlushRequest) GetNewStateRoot

func (x *FlushRequest) GetNewStateRoot() string

func (*FlushRequest) GetPersistence

func (x *FlushRequest) GetPersistence() Persistence

func (*FlushRequest) ProtoMessage

func (*FlushRequest) ProtoMessage()

func (*FlushRequest) ProtoReflect

func (x *FlushRequest) ProtoReflect() protoreflect.Message

func (*FlushRequest) Reset

func (x *FlushRequest) Reset()

func (*FlushRequest) String

func (x *FlushRequest) String() string

type FlushResponse

type FlushResponse struct {
	FlushId       uint64      `protobuf:"varint,1,opt,name=flush_id,json=flushId,proto3" json:"flush_id,omitempty"`
	StoredFlushId uint64      `protobuf:"varint,2,opt,name=stored_flush_id,json=storedFlushId,proto3" json:"stored_flush_id,omitempty"`
	Result        *ResultCode `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

* @dev FlushResponse @param {flush_id} - id assigned to this flush data @param {stored_flush_id} - id of the last flush data sent to database @param {result} - result code

func (*FlushResponse) Descriptor deprecated

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

Deprecated: Use FlushResponse.ProtoReflect.Descriptor instead.

func (*FlushResponse) GetFlushId

func (x *FlushResponse) GetFlushId() uint64

func (*FlushResponse) GetResult

func (x *FlushResponse) GetResult() *ResultCode

func (*FlushResponse) GetStoredFlushId

func (x *FlushResponse) GetStoredFlushId() uint64

func (*FlushResponse) ProtoMessage

func (*FlushResponse) ProtoMessage()

func (*FlushResponse) ProtoReflect

func (x *FlushResponse) ProtoReflect() protoreflect.Message

func (*FlushResponse) Reset

func (x *FlushResponse) Reset()

func (*FlushResponse) String

func (x *FlushResponse) String() string

type GetFlushDataRequest

type GetFlushDataRequest struct {
	FlushId uint64 `protobuf:"varint,1,opt,name=flush_id,json=flushId,proto3" json:"flush_id,omitempty"`
	// contains filtered or unexported fields
}

* @dev GetFlushDataRequest @param {flush_id} - last stored flush ID got using this method, or 0 if it never was called before

func (*GetFlushDataRequest) Descriptor deprecated

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

Deprecated: Use GetFlushDataRequest.ProtoReflect.Descriptor instead.

func (*GetFlushDataRequest) GetFlushId

func (x *GetFlushDataRequest) GetFlushId() uint64

func (*GetFlushDataRequest) ProtoMessage

func (*GetFlushDataRequest) ProtoMessage()

func (*GetFlushDataRequest) ProtoReflect

func (x *GetFlushDataRequest) ProtoReflect() protoreflect.Message

func (*GetFlushDataRequest) Reset

func (x *GetFlushDataRequest) Reset()

func (*GetFlushDataRequest) String

func (x *GetFlushDataRequest) String() string

type GetFlushDataResponse

type GetFlushDataResponse struct {
	StoredFlushId  uint64            `protobuf:"varint,1,opt,name=stored_flush_id,json=storedFlushId,proto3" json:"stored_flush_id,omitempty"`
	Nodes          map[string]string `` /* 151-byte string literal not displayed */
	Program        map[string]string `` /* 155-byte string literal not displayed */
	NodesStateRoot string            `protobuf:"bytes,4,opt,name=nodes_state_root,json=nodesStateRoot,proto3" json:"nodes_state_root,omitempty"`
	Result         *ResultCode       `protobuf:"bytes,5,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

* @dev GetFlushDataResponse @param {stored_flush_id} - id of the last flush data sent to database @param {nodes} - data to insert in the nodes table @param {program} - data to insert in the program table @param {nodes_state_root} - nodes state root to update in the nodes table @param {result} - result code

func (*GetFlushDataResponse) Descriptor deprecated

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

Deprecated: Use GetFlushDataResponse.ProtoReflect.Descriptor instead.

func (*GetFlushDataResponse) GetNodes

func (x *GetFlushDataResponse) GetNodes() map[string]string

func (*GetFlushDataResponse) GetNodesStateRoot

func (x *GetFlushDataResponse) GetNodesStateRoot() string

func (*GetFlushDataResponse) GetProgram

func (x *GetFlushDataResponse) GetProgram() map[string]string

func (*GetFlushDataResponse) GetResult

func (x *GetFlushDataResponse) GetResult() *ResultCode

func (*GetFlushDataResponse) GetStoredFlushId

func (x *GetFlushDataResponse) GetStoredFlushId() uint64

func (*GetFlushDataResponse) ProtoMessage

func (*GetFlushDataResponse) ProtoMessage()

func (*GetFlushDataResponse) ProtoReflect

func (x *GetFlushDataResponse) ProtoReflect() protoreflect.Message

func (*GetFlushDataResponse) Reset

func (x *GetFlushDataResponse) Reset()

func (*GetFlushDataResponse) String

func (x *GetFlushDataResponse) String() string

type GetFlushStatusResponse

type GetFlushStatusResponse struct {
	StoredFlushId         uint64 `protobuf:"varint,1,opt,name=stored_flush_id,json=storedFlushId,proto3" json:"stored_flush_id,omitempty"`
	StoringFlushId        uint64 `protobuf:"varint,2,opt,name=storing_flush_id,json=storingFlushId,proto3" json:"storing_flush_id,omitempty"`
	LastFlushId           uint64 `protobuf:"varint,3,opt,name=last_flush_id,json=lastFlushId,proto3" json:"last_flush_id,omitempty"`
	PendingToFlushNodes   uint64 `protobuf:"varint,4,opt,name=pending_to_flush_nodes,json=pendingToFlushNodes,proto3" json:"pending_to_flush_nodes,omitempty"`
	PendingToFlushProgram uint64 `` /* 129-byte string literal not displayed */
	StoringNodes          uint64 `protobuf:"varint,6,opt,name=storing_nodes,json=storingNodes,proto3" json:"storing_nodes,omitempty"`
	StoringProgram        uint64 `protobuf:"varint,7,opt,name=storing_program,json=storingProgram,proto3" json:"storing_program,omitempty"`
	ProverId              string `protobuf:"bytes,8,opt,name=prover_id,json=proverId,proto3" json:"prover_id,omitempty"`
	// contains filtered or unexported fields
}

* @dev GetFlushStatusResponse @param {stored_flush_id} - id of the last flush data sent to database @param {sending_flush_id} - id of the flush data being sent now to database @param {last_flush_id} - id assigned to the last call to flush @param {pending_to_flush_nodes} - number of SMT nodes pending to flush @param {pending_to_flush_program} - number of SC programs pending to flush @param {storing_nodes} - number of SMT nodes being stored in the hash database @param {storing_program} - number of SC programs being stored in the hash database @param {prover_id} - id assigned to this instance of the prover process

func (*GetFlushStatusResponse) Descriptor deprecated

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

Deprecated: Use GetFlushStatusResponse.ProtoReflect.Descriptor instead.

func (*GetFlushStatusResponse) GetLastFlushId

func (x *GetFlushStatusResponse) GetLastFlushId() uint64

func (*GetFlushStatusResponse) GetPendingToFlushNodes

func (x *GetFlushStatusResponse) GetPendingToFlushNodes() uint64

func (*GetFlushStatusResponse) GetPendingToFlushProgram

func (x *GetFlushStatusResponse) GetPendingToFlushProgram() uint64

func (*GetFlushStatusResponse) GetProverId

func (x *GetFlushStatusResponse) GetProverId() string

func (*GetFlushStatusResponse) GetStoredFlushId

func (x *GetFlushStatusResponse) GetStoredFlushId() uint64

func (*GetFlushStatusResponse) GetStoringFlushId

func (x *GetFlushStatusResponse) GetStoringFlushId() uint64

func (*GetFlushStatusResponse) GetStoringNodes

func (x *GetFlushStatusResponse) GetStoringNodes() uint64

func (*GetFlushStatusResponse) GetStoringProgram

func (x *GetFlushStatusResponse) GetStoringProgram() uint64

func (*GetFlushStatusResponse) ProtoMessage

func (*GetFlushStatusResponse) ProtoMessage()

func (*GetFlushStatusResponse) ProtoReflect

func (x *GetFlushStatusResponse) ProtoReflect() protoreflect.Message

func (*GetFlushStatusResponse) Reset

func (x *GetFlushStatusResponse) Reset()

func (*GetFlushStatusResponse) String

func (x *GetFlushStatusResponse) String() string

type GetLatestStateRootResponse added in v0.5.0

type GetLatestStateRootResponse struct {
	LatestRoot *Fea        `protobuf:"bytes,1,opt,name=latest_root,json=latestRoot,proto3" json:"latest_root,omitempty"`
	Result     *ResultCode `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

* @dev GetLatestStateRootResponse @param {latest_root} - latest state root @param {result} - result code

func (*GetLatestStateRootResponse) Descriptor deprecated added in v0.5.0

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

Deprecated: Use GetLatestStateRootResponse.ProtoReflect.Descriptor instead.

func (*GetLatestStateRootResponse) GetLatestRoot added in v0.5.0

func (x *GetLatestStateRootResponse) GetLatestRoot() *Fea

func (*GetLatestStateRootResponse) GetResult added in v0.5.0

func (x *GetLatestStateRootResponse) GetResult() *ResultCode

func (*GetLatestStateRootResponse) ProtoMessage added in v0.5.0

func (*GetLatestStateRootResponse) ProtoMessage()

func (*GetLatestStateRootResponse) ProtoReflect added in v0.5.0

func (*GetLatestStateRootResponse) Reset added in v0.5.0

func (x *GetLatestStateRootResponse) Reset()

func (*GetLatestStateRootResponse) String added in v0.5.0

func (x *GetLatestStateRootResponse) String() string

type GetProgramRequest

type GetProgramRequest struct {
	Key       *Fea   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	BatchUuid string `protobuf:"bytes,2,opt,name=batch_uuid,json=batchUuid,proto3" json:"batch_uuid,omitempty"`
	// contains filtered or unexported fields
}

* @dev GetProgramRequest @param {key} - key to get program data @param {batch_uuid} - indicates a unique identifier of the current batch or session; data for this batch can be stored in memory until flushed to database

func (*GetProgramRequest) Descriptor deprecated

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

Deprecated: Use GetProgramRequest.ProtoReflect.Descriptor instead.

func (*GetProgramRequest) GetBatchUuid added in v0.5.0

func (x *GetProgramRequest) GetBatchUuid() string

func (*GetProgramRequest) GetKey

func (x *GetProgramRequest) GetKey() *Fea

func (*GetProgramRequest) ProtoMessage

func (*GetProgramRequest) ProtoMessage()

func (*GetProgramRequest) ProtoReflect

func (x *GetProgramRequest) ProtoReflect() protoreflect.Message

func (*GetProgramRequest) Reset

func (x *GetProgramRequest) Reset()

func (*GetProgramRequest) String

func (x *GetProgramRequest) String() string

type GetProgramResponse

type GetProgramResponse struct {
	Data   []byte      `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Result *ResultCode `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

* @dev GetProgramResponse @param {data} - program data retrieved @param {result} - result code

func (*GetProgramResponse) Descriptor deprecated

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

Deprecated: Use GetProgramResponse.ProtoReflect.Descriptor instead.

func (*GetProgramResponse) GetData

func (x *GetProgramResponse) GetData() []byte

func (*GetProgramResponse) GetResult

func (x *GetProgramResponse) GetResult() *ResultCode

func (*GetProgramResponse) ProtoMessage

func (*GetProgramResponse) ProtoMessage()

func (*GetProgramResponse) ProtoReflect

func (x *GetProgramResponse) ProtoReflect() protoreflect.Message

func (*GetProgramResponse) Reset

func (x *GetProgramResponse) Reset()

func (*GetProgramResponse) String

func (x *GetProgramResponse) String() string

type GetRequest

type GetRequest struct {
	Root         *Fea   `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
	Key          *Fea   `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Details      bool   `protobuf:"varint,3,opt,name=details,proto3" json:"details,omitempty"`
	GetDbReadLog bool   `protobuf:"varint,4,opt,name=get_db_read_log,json=getDbReadLog,proto3" json:"get_db_read_log,omitempty"`
	BatchUuid    string `protobuf:"bytes,5,opt,name=batch_uuid,json=batchUuid,proto3" json:"batch_uuid,omitempty"`
	// contains filtered or unexported fields
}

* @dev GetRequest @param {root} - merkle-tree root @param {key} - key to look for @param {details} - indicates if it should return all response parameters (true) or just the new root (false) @param {get_db_read_log} - indicates if it should return the DB reads generated during the execution of the request @param {batch_uuid} - indicates a unique identifier of the current batch or session; data for this batch can be stored in memory until flushed to database

func (*GetRequest) Descriptor deprecated

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

Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.

func (*GetRequest) GetBatchUuid

func (x *GetRequest) GetBatchUuid() string

func (*GetRequest) GetDetails

func (x *GetRequest) GetDetails() bool

func (*GetRequest) GetGetDbReadLog

func (x *GetRequest) GetGetDbReadLog() bool

func (*GetRequest) GetKey

func (x *GetRequest) GetKey() *Fea

func (*GetRequest) GetRoot

func (x *GetRequest) GetRoot() *Fea

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) ProtoReflect

func (x *GetRequest) ProtoReflect() protoreflect.Message

func (*GetRequest) Reset

func (x *GetRequest) Reset()

func (*GetRequest) String

func (x *GetRequest) String() string

type GetResponse

type GetResponse struct {
	Root             *Fea                    `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
	Key              *Fea                    `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Siblings         map[uint64]*SiblingList `` /* 158-byte string literal not displayed */
	InsKey           *Fea                    `protobuf:"bytes,4,opt,name=ins_key,json=insKey,proto3" json:"ins_key,omitempty"`
	InsValue         string                  `protobuf:"bytes,5,opt,name=ins_value,json=insValue,proto3" json:"ins_value,omitempty"`
	IsOld0           bool                    `protobuf:"varint,6,opt,name=is_old0,json=isOld0,proto3" json:"is_old0,omitempty"`
	Value            string                  `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"`
	ProofHashCounter uint64                  `protobuf:"varint,8,opt,name=proof_hash_counter,json=proofHashCounter,proto3" json:"proof_hash_counter,omitempty"`
	DbReadLog        map[string]*FeList      `` /* 178-byte string literal not displayed */
	Result           *ResultCode             `protobuf:"bytes,10,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

* @dev GetResponse @param {root} - merkle-tree root @param {key} - key to look for @param {siblings} - array of siblings @param {ins_key} - key found @param {ins_value} - value found (HEX string format) @param {is_old0} - is new insert or delete @param {value} - value retrieved (HEX string format) @param {proof_hash_counter} @param {db_read_log} - list of db records read during the execution of the request @param {result} - result code

func (*GetResponse) Descriptor deprecated

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

Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.

func (*GetResponse) GetDbReadLog

func (x *GetResponse) GetDbReadLog() map[string]*FeList

func (*GetResponse) GetInsKey

func (x *GetResponse) GetInsKey() *Fea

func (*GetResponse) GetInsValue

func (x *GetResponse) GetInsValue() string

func (*GetResponse) GetIsOld0

func (x *GetResponse) GetIsOld0() bool

func (*GetResponse) GetKey

func (x *GetResponse) GetKey() *Fea

func (*GetResponse) GetProofHashCounter

func (x *GetResponse) GetProofHashCounter() uint64

func (*GetResponse) GetResult

func (x *GetResponse) GetResult() *ResultCode

func (*GetResponse) GetRoot

func (x *GetResponse) GetRoot() *Fea

func (*GetResponse) GetSiblings

func (x *GetResponse) GetSiblings() map[uint64]*SiblingList

func (*GetResponse) GetValue

func (x *GetResponse) GetValue() string

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) ProtoReflect

func (x *GetResponse) ProtoReflect() protoreflect.Message

func (*GetResponse) Reset

func (x *GetResponse) Reset()

func (*GetResponse) String

func (x *GetResponse) String() string

type HashDBServiceClient

type HashDBServiceClient interface {
	GetLatestStateRoot(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetLatestStateRootResponse, error)
	Set(ctx context.Context, in *SetRequest, opts ...grpc.CallOption) (*SetResponse, error)
	Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
	SetProgram(ctx context.Context, in *SetProgramRequest, opts ...grpc.CallOption) (*SetProgramResponse, error)
	GetProgram(ctx context.Context, in *GetProgramRequest, opts ...grpc.CallOption) (*GetProgramResponse, error)
	LoadDB(ctx context.Context, in *LoadDBRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	LoadProgramDB(ctx context.Context, in *LoadProgramDBRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	FinishTx(ctx context.Context, in *FinishTxRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	StartBlock(ctx context.Context, in *StartBlockRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	FinishBlock(ctx context.Context, in *FinishBlockRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Flush(ctx context.Context, in *FlushRequest, opts ...grpc.CallOption) (*FlushResponse, error)
	GetFlushStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetFlushStatusResponse, error)
	GetFlushData(ctx context.Context, in *GetFlushDataRequest, opts ...grpc.CallOption) (*GetFlushDataResponse, error)
	ConsolidateState(ctx context.Context, in *ConsolidateStateRequest, opts ...grpc.CallOption) (*ConsolidateStateResponse, error)
	Purge(ctx context.Context, in *PurgeRequest, opts ...grpc.CallOption) (*PurgeResponse, error)
	ReadTree(ctx context.Context, in *ReadTreeRequest, opts ...grpc.CallOption) (*ReadTreeResponse, error)
	CancelBatch(ctx context.Context, in *CancelBatchRequest, opts ...grpc.CallOption) (*CancelBatchResponse, error)
	ResetDB(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ResetDBResponse, error)
}

HashDBServiceClient is the client API for HashDBService 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.

type HashDBServiceServer

HashDBServiceServer is the server API for HashDBService service. All implementations must embed UnimplementedHashDBServiceServer for forward compatibility

type HashValueGL added in v0.5.0

type HashValueGL struct {
	Hash  *Fea   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Value *Fea12 `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

* @dev HashValueGL @param {hash} - Hash @param {value} - Value

func (*HashValueGL) Descriptor deprecated added in v0.5.0

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

Deprecated: Use HashValueGL.ProtoReflect.Descriptor instead.

func (*HashValueGL) GetHash added in v0.5.0

func (x *HashValueGL) GetHash() *Fea

func (*HashValueGL) GetValue added in v0.5.0

func (x *HashValueGL) GetValue() *Fea12

func (*HashValueGL) ProtoMessage added in v0.5.0

func (*HashValueGL) ProtoMessage()

func (*HashValueGL) ProtoReflect added in v0.5.0

func (x *HashValueGL) ProtoReflect() protoreflect.Message

func (*HashValueGL) Reset added in v0.5.0

func (x *HashValueGL) Reset()

func (*HashValueGL) String added in v0.5.0

func (x *HashValueGL) String() string

type KeyValue added in v0.5.0

type KeyValue struct {
	Key   *Fea   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

* @dev KeyValue @param {key} - key @param {value} - Value

func (*KeyValue) Descriptor deprecated added in v0.5.0

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

Deprecated: Use KeyValue.ProtoReflect.Descriptor instead.

func (*KeyValue) GetKey added in v0.5.0

func (x *KeyValue) GetKey() *Fea

func (*KeyValue) GetValue added in v0.5.0

func (x *KeyValue) GetValue() string

func (*KeyValue) ProtoMessage added in v0.5.0

func (*KeyValue) ProtoMessage()

func (*KeyValue) ProtoReflect added in v0.5.0

func (x *KeyValue) ProtoReflect() protoreflect.Message

func (*KeyValue) Reset added in v0.5.0

func (x *KeyValue) Reset()

func (*KeyValue) String added in v0.5.0

func (x *KeyValue) String() string

type LoadDBRequest

type LoadDBRequest struct {
	InputDb    map[string]*FeList `` /* 170-byte string literal not displayed */
	Persistent bool               `protobuf:"varint,2,opt,name=persistent,proto3" json:"persistent,omitempty"`
	StateRoot  *Fea               `protobuf:"bytes,3,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"`
	// contains filtered or unexported fields
}

* @dev LoadDBRequest @param {input_db} - list of db records (MT) to load in the database @param {persistent} - indicates if it should be stored in the SQL database (true) or only in the memory cache (false) @param {state_root} - current (old) state root made up of the provided db records

func (*LoadDBRequest) Descriptor deprecated

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

Deprecated: Use LoadDBRequest.ProtoReflect.Descriptor instead.

func (*LoadDBRequest) GetInputDb

func (x *LoadDBRequest) GetInputDb() map[string]*FeList

func (*LoadDBRequest) GetPersistent

func (x *LoadDBRequest) GetPersistent() bool

func (*LoadDBRequest) GetStateRoot added in v0.5.0

func (x *LoadDBRequest) GetStateRoot() *Fea

func (*LoadDBRequest) ProtoMessage

func (*LoadDBRequest) ProtoMessage()

func (*LoadDBRequest) ProtoReflect

func (x *LoadDBRequest) ProtoReflect() protoreflect.Message

func (*LoadDBRequest) Reset

func (x *LoadDBRequest) Reset()

func (*LoadDBRequest) String

func (x *LoadDBRequest) String() string

type LoadProgramDBRequest

type LoadProgramDBRequest struct {
	InputProgramDb map[string][]byte `` /* 193-byte string literal not displayed */
	Persistent     bool              `protobuf:"varint,2,opt,name=persistent,proto3" json:"persistent,omitempty"`
	// contains filtered or unexported fields
}

* @dev LoadProgramDBRequest @param {input_program_db} - list of db records (program) to load in the database @param {persistent} - indicates if it should be stored in the SQL database (true) or only in the memory cache (false)

func (*LoadProgramDBRequest) Descriptor deprecated

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

Deprecated: Use LoadProgramDBRequest.ProtoReflect.Descriptor instead.

func (*LoadProgramDBRequest) GetInputProgramDb

func (x *LoadProgramDBRequest) GetInputProgramDb() map[string][]byte

func (*LoadProgramDBRequest) GetPersistent

func (x *LoadProgramDBRequest) GetPersistent() bool

func (*LoadProgramDBRequest) ProtoMessage

func (*LoadProgramDBRequest) ProtoMessage()

func (*LoadProgramDBRequest) ProtoReflect

func (x *LoadProgramDBRequest) ProtoReflect() protoreflect.Message

func (*LoadProgramDBRequest) Reset

func (x *LoadProgramDBRequest) Reset()

func (*LoadProgramDBRequest) String

func (x *LoadProgramDBRequest) String() string

type Persistence

type Persistence int32
const (
	Persistence_PERSISTENCE_CACHE_UNSPECIFIED Persistence = 0
	Persistence_PERSISTENCE_DATABASE          Persistence = 1
	Persistence_PERSISTENCE_TEMPORARY         Persistence = 2
)

func (Persistence) Descriptor

func (Persistence) Enum

func (x Persistence) Enum() *Persistence

func (Persistence) EnumDescriptor deprecated

func (Persistence) EnumDescriptor() ([]byte, []int)

Deprecated: Use Persistence.Descriptor instead.

func (Persistence) Number

func (x Persistence) Number() protoreflect.EnumNumber

func (Persistence) String

func (x Persistence) String() string

func (Persistence) Type

type PurgeRequest added in v0.5.0

type PurgeRequest struct {
	BatchUuid    string      `protobuf:"bytes,1,opt,name=batch_uuid,json=batchUuid,proto3" json:"batch_uuid,omitempty"`
	NewStateRoot *Fea        `protobuf:"bytes,2,opt,name=new_state_root,json=newStateRoot,proto3" json:"new_state_root,omitempty"`
	Persistence  Persistence `protobuf:"varint,3,opt,name=persistence,proto3,enum=hashdb.v1.Persistence" json:"persistence,omitempty"`
	// contains filtered or unexported fields
}

* @dev PurgeRequest @param {batch_uuid} - indicates a unique identifier of the current batch or session which data will be purged @param {new_state_root} - state root at this point of the execution @param {persistence} - indicates if it should be stored only in CACHE, in the SQL DATABASE, or it is just TEMPORARY and should be deleted at the flush of this batch UUID

func (*PurgeRequest) Descriptor deprecated added in v0.5.0

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

Deprecated: Use PurgeRequest.ProtoReflect.Descriptor instead.

func (*PurgeRequest) GetBatchUuid added in v0.5.0

func (x *PurgeRequest) GetBatchUuid() string

func (*PurgeRequest) GetNewStateRoot added in v0.5.0

func (x *PurgeRequest) GetNewStateRoot() *Fea

func (*PurgeRequest) GetPersistence added in v0.5.0

func (x *PurgeRequest) GetPersistence() Persistence

func (*PurgeRequest) ProtoMessage added in v0.5.0

func (*PurgeRequest) ProtoMessage()

func (*PurgeRequest) ProtoReflect added in v0.5.0

func (x *PurgeRequest) ProtoReflect() protoreflect.Message

func (*PurgeRequest) Reset added in v0.5.0

func (x *PurgeRequest) Reset()

func (*PurgeRequest) String added in v0.5.0

func (x *PurgeRequest) String() string

type PurgeResponse added in v0.5.0

type PurgeResponse struct {
	Result *ResultCode `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

* @dev PurgeResponse @param {result} - result code

func (*PurgeResponse) Descriptor deprecated added in v0.5.0

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

Deprecated: Use PurgeResponse.ProtoReflect.Descriptor instead.

func (*PurgeResponse) GetResult added in v0.5.0

func (x *PurgeResponse) GetResult() *ResultCode

func (*PurgeResponse) ProtoMessage added in v0.5.0

func (*PurgeResponse) ProtoMessage()

func (*PurgeResponse) ProtoReflect added in v0.5.0

func (x *PurgeResponse) ProtoReflect() protoreflect.Message

func (*PurgeResponse) Reset added in v0.5.0

func (x *PurgeResponse) Reset()

func (*PurgeResponse) String added in v0.5.0

func (x *PurgeResponse) String() string

type ReadTreeRequest added in v0.5.0

type ReadTreeRequest struct {
	StateRoot *Fea   `protobuf:"bytes,1,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"`
	Keys      []*Fea `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

* @dev ReadTreeRequest @param {state_root} - state root at this point of the execution @param {keys} - list of keys to get their values for

func (*ReadTreeRequest) Descriptor deprecated added in v0.5.0

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

Deprecated: Use ReadTreeRequest.ProtoReflect.Descriptor instead.

func (*ReadTreeRequest) GetKeys added in v0.5.0

func (x *ReadTreeRequest) GetKeys() []*Fea

func (*ReadTreeRequest) GetStateRoot added in v0.5.0

func (x *ReadTreeRequest) GetStateRoot() *Fea

func (*ReadTreeRequest) ProtoMessage added in v0.5.0

func (*ReadTreeRequest) ProtoMessage()

func (*ReadTreeRequest) ProtoReflect added in v0.5.0

func (x *ReadTreeRequest) ProtoReflect() protoreflect.Message

func (*ReadTreeRequest) Reset added in v0.5.0

func (x *ReadTreeRequest) Reset()

func (*ReadTreeRequest) String added in v0.5.0

func (x *ReadTreeRequest) String() string

type ReadTreeResponse added in v0.5.0

type ReadTreeResponse struct {
	KeyValue  []*KeyValue    `protobuf:"bytes,1,rep,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"`
	HashValue []*HashValueGL `protobuf:"bytes,2,rep,name=hash_value,json=hashValue,proto3" json:"hash_value,omitempty"`
	Result    *ResultCode    `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

* @dev ReadTreeResponse @param {key_value} - list of key-value pairs requested to be read @param {hash_value} - list of hash-value pairs required to get the key-value pairs @param {result} - result code

func (*ReadTreeResponse) Descriptor deprecated added in v0.5.0

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

Deprecated: Use ReadTreeResponse.ProtoReflect.Descriptor instead.

func (*ReadTreeResponse) GetHashValue added in v0.5.0

func (x *ReadTreeResponse) GetHashValue() []*HashValueGL

func (*ReadTreeResponse) GetKeyValue added in v0.5.0

func (x *ReadTreeResponse) GetKeyValue() []*KeyValue

func (*ReadTreeResponse) GetResult added in v0.5.0

func (x *ReadTreeResponse) GetResult() *ResultCode

func (*ReadTreeResponse) ProtoMessage added in v0.5.0

func (*ReadTreeResponse) ProtoMessage()

func (*ReadTreeResponse) ProtoReflect added in v0.5.0

func (x *ReadTreeResponse) ProtoReflect() protoreflect.Message

func (*ReadTreeResponse) Reset added in v0.5.0

func (x *ReadTreeResponse) Reset()

func (*ReadTreeResponse) String added in v0.5.0

func (x *ReadTreeResponse) String() string

type ResetDBResponse added in v0.5.0

type ResetDBResponse struct {
	Result *ResultCode `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

* @dev ResetDBResponse @param {result} - result code

func (*ResetDBResponse) Descriptor deprecated added in v0.5.0

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

Deprecated: Use ResetDBResponse.ProtoReflect.Descriptor instead.

func (*ResetDBResponse) GetResult added in v0.5.0

func (x *ResetDBResponse) GetResult() *ResultCode

func (*ResetDBResponse) ProtoMessage added in v0.5.0

func (*ResetDBResponse) ProtoMessage()

func (*ResetDBResponse) ProtoReflect added in v0.5.0

func (x *ResetDBResponse) ProtoReflect() protoreflect.Message

func (*ResetDBResponse) Reset added in v0.5.0

func (x *ResetDBResponse) Reset()

func (*ResetDBResponse) String added in v0.5.0

func (x *ResetDBResponse) String() string

type ResultCode

type ResultCode struct {
	Code ResultCode_Code `protobuf:"varint,1,opt,name=code,proto3,enum=hashdb.v1.ResultCode_Code" json:"code,omitempty"`
	// contains filtered or unexported fields
}

* @dev Result code @param {code} - result code

func (*ResultCode) Descriptor deprecated

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

Deprecated: Use ResultCode.ProtoReflect.Descriptor instead.

func (*ResultCode) GetCode

func (x *ResultCode) GetCode() ResultCode_Code

func (*ResultCode) ProtoMessage

func (*ResultCode) ProtoMessage()

func (*ResultCode) ProtoReflect

func (x *ResultCode) ProtoReflect() protoreflect.Message

func (*ResultCode) Reset

func (x *ResultCode) Reset()

func (*ResultCode) String

func (x *ResultCode) String() string

type ResultCode_Code

type ResultCode_Code int32
const (
	ResultCode_CODE_UNSPECIFIED           ResultCode_Code = 0
	ResultCode_CODE_SUCCESS               ResultCode_Code = 1
	ResultCode_CODE_DB_KEY_NOT_FOUND      ResultCode_Code = 2 // Requested key was not found in database
	ResultCode_CODE_DB_ERROR              ResultCode_Code = 3 // Error connecting to database, or processing request
	ResultCode_CODE_INTERNAL_ERROR        ResultCode_Code = 4
	ResultCode_CODE_SMT_INVALID_DATA_SIZE ResultCode_Code = 14 // Invalid size for the data of MT node
)

func (ResultCode_Code) Descriptor

func (ResultCode_Code) Enum

func (x ResultCode_Code) Enum() *ResultCode_Code

func (ResultCode_Code) EnumDescriptor deprecated

func (ResultCode_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use ResultCode_Code.Descriptor instead.

func (ResultCode_Code) Number

func (ResultCode_Code) String

func (x ResultCode_Code) String() string

func (ResultCode_Code) Type

type SetProgramRequest

type SetProgramRequest struct {
	Key         *Fea        `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Data        []byte      `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Persistence Persistence `protobuf:"varint,3,opt,name=persistence,proto3,enum=hashdb.v1.Persistence" json:"persistence,omitempty"`
	BatchUuid   string      `protobuf:"bytes,4,opt,name=batch_uuid,json=batchUuid,proto3" json:"batch_uuid,omitempty"`
	TxIndex     uint64      `protobuf:"varint,5,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"`
	BlockIndex  uint64      `protobuf:"varint,6,opt,name=block_index,json=blockIndex,proto3" json:"block_index,omitempty"`
	// contains filtered or unexported fields
}

* @dev SetProgramRequest @param {key} - key to set @param {data} - Program data to store @param {persistence} - indicates if it should be stored only in CACHE, in the SQL DATABASE, or it is just TEMPORARY and should be deleted at the flush of this batch UUID @param {batch_uuid} - indicates a unique identifier of the current batch or session; data for this batch can be stored in memory until flushed to database @param {tx_index} - current transaction ordinal index: 0, 1, 2... @param {block_index} - current block ordinal index: 0, 1, 2...

func (*SetProgramRequest) Descriptor deprecated

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

Deprecated: Use SetProgramRequest.ProtoReflect.Descriptor instead.

func (*SetProgramRequest) GetBatchUuid added in v0.5.0

func (x *SetProgramRequest) GetBatchUuid() string

func (*SetProgramRequest) GetBlockIndex added in v0.5.0

func (x *SetProgramRequest) GetBlockIndex() uint64

func (*SetProgramRequest) GetData

func (x *SetProgramRequest) GetData() []byte

func (*SetProgramRequest) GetKey

func (x *SetProgramRequest) GetKey() *Fea

func (*SetProgramRequest) GetPersistence added in v0.5.0

func (x *SetProgramRequest) GetPersistence() Persistence

func (*SetProgramRequest) GetTxIndex added in v0.5.0

func (x *SetProgramRequest) GetTxIndex() uint64

func (*SetProgramRequest) ProtoMessage

func (*SetProgramRequest) ProtoMessage()

func (*SetProgramRequest) ProtoReflect

func (x *SetProgramRequest) ProtoReflect() protoreflect.Message

func (*SetProgramRequest) Reset

func (x *SetProgramRequest) Reset()

func (*SetProgramRequest) String

func (x *SetProgramRequest) String() string

type SetProgramResponse

type SetProgramResponse struct {
	Result *ResultCode `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

* @dev SetProgramResponse @param {result} - result code

func (*SetProgramResponse) Descriptor deprecated

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

Deprecated: Use SetProgramResponse.ProtoReflect.Descriptor instead.

func (*SetProgramResponse) GetResult

func (x *SetProgramResponse) GetResult() *ResultCode

func (*SetProgramResponse) ProtoMessage

func (*SetProgramResponse) ProtoMessage()

func (*SetProgramResponse) ProtoReflect

func (x *SetProgramResponse) ProtoReflect() protoreflect.Message

func (*SetProgramResponse) Reset

func (x *SetProgramResponse) Reset()

func (*SetProgramResponse) String

func (x *SetProgramResponse) String() string

type SetRequest

type SetRequest struct {
	OldRoot      *Fea        `protobuf:"bytes,1,opt,name=old_root,json=oldRoot,proto3" json:"old_root,omitempty"`
	Key          *Fea        `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Value        string      `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	Persistence  Persistence `protobuf:"varint,4,opt,name=persistence,proto3,enum=hashdb.v1.Persistence" json:"persistence,omitempty"`
	Details      bool        `protobuf:"varint,5,opt,name=details,proto3" json:"details,omitempty"`
	GetDbReadLog bool        `protobuf:"varint,6,opt,name=get_db_read_log,json=getDbReadLog,proto3" json:"get_db_read_log,omitempty"`
	BatchUuid    string      `protobuf:"bytes,7,opt,name=batch_uuid,json=batchUuid,proto3" json:"batch_uuid,omitempty"`
	TxIndex      uint64      `protobuf:"varint,8,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"`
	BlockIndex   uint64      `protobuf:"varint,9,opt,name=block_index,json=blockIndex,proto3" json:"block_index,omitempty"`
	// contains filtered or unexported fields
}

* @dev SetRequest @param {old_root} - merkle-tree root @param {key} - key to set @param {value} - scalar value to set (HEX string format) @param {persistence} - indicates if it should be stored only in CACHE, in the SQL DATABASE, or it is just TEMPORARY and should be deleted at the flush of this batch UUID @param {details} - indicates if it should return all response parameters (true) or just the new root (false) @param {get_db_read_log} - indicates if it should return the DB reads generated during the execution of the request @param {batch_uuid} - indicates a unique identifier of the current batch or session; data for this batch can be stored in memory until flushed to database @param {tx_index} - current transaction ordinal index: 0, 1, 2... @param {block_index} - current block ordinal index: 0, 1, 2...

func (*SetRequest) Descriptor deprecated

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

Deprecated: Use SetRequest.ProtoReflect.Descriptor instead.

func (*SetRequest) GetBatchUuid

func (x *SetRequest) GetBatchUuid() string

func (*SetRequest) GetBlockIndex added in v0.5.0

func (x *SetRequest) GetBlockIndex() uint64

func (*SetRequest) GetDetails

func (x *SetRequest) GetDetails() bool

func (*SetRequest) GetGetDbReadLog

func (x *SetRequest) GetGetDbReadLog() bool

func (*SetRequest) GetKey

func (x *SetRequest) GetKey() *Fea

func (*SetRequest) GetOldRoot

func (x *SetRequest) GetOldRoot() *Fea

func (*SetRequest) GetPersistence

func (x *SetRequest) GetPersistence() Persistence

func (*SetRequest) GetTxIndex added in v0.5.0

func (x *SetRequest) GetTxIndex() uint64

func (*SetRequest) GetValue

func (x *SetRequest) GetValue() string

func (*SetRequest) ProtoMessage

func (*SetRequest) ProtoMessage()

func (*SetRequest) ProtoReflect

func (x *SetRequest) ProtoReflect() protoreflect.Message

func (*SetRequest) Reset

func (x *SetRequest) Reset()

func (*SetRequest) String

func (x *SetRequest) String() string

type SetResponse

type SetResponse struct {
	OldRoot           *Fea                    `protobuf:"bytes,1,opt,name=old_root,json=oldRoot,proto3" json:"old_root,omitempty"`
	NewRoot           *Fea                    `protobuf:"bytes,2,opt,name=new_root,json=newRoot,proto3" json:"new_root,omitempty"`
	Key               *Fea                    `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	Siblings          map[uint64]*SiblingList `` /* 158-byte string literal not displayed */
	InsKey            *Fea                    `protobuf:"bytes,5,opt,name=ins_key,json=insKey,proto3" json:"ins_key,omitempty"`
	InsValue          string                  `protobuf:"bytes,6,opt,name=ins_value,json=insValue,proto3" json:"ins_value,omitempty"`
	IsOld0            bool                    `protobuf:"varint,7,opt,name=is_old0,json=isOld0,proto3" json:"is_old0,omitempty"`
	OldValue          string                  `protobuf:"bytes,8,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"`
	NewValue          string                  `protobuf:"bytes,9,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
	Mode              string                  `protobuf:"bytes,10,opt,name=mode,proto3" json:"mode,omitempty"`
	ProofHashCounter  uint64                  `protobuf:"varint,11,opt,name=proof_hash_counter,json=proofHashCounter,proto3" json:"proof_hash_counter,omitempty"`
	DbReadLog         map[string]*FeList      `` /* 179-byte string literal not displayed */
	Result            *ResultCode             `protobuf:"bytes,13,opt,name=result,proto3" json:"result,omitempty"`
	SiblingLeftChild  *Fea                    `protobuf:"bytes,14,opt,name=sibling_left_child,json=siblingLeftChild,proto3" json:"sibling_left_child,omitempty"`
	SiblingRightChild *Fea                    `protobuf:"bytes,15,opt,name=sibling_right_child,json=siblingRightChild,proto3" json:"sibling_right_child,omitempty"`
	// contains filtered or unexported fields
}

* @dev SetResponse @param {old_root} - merkle-tree root @param {new_root} - merkle-tree new root @param {key} - key to look for @param {siblings} - array of siblings @param {ins_key} - key found @param {ins_value} - value found (HEX string format) @param {is_old0} - is new insert or delete @param {old_value} - old value (HEX string format) @param {new_value} - new value (HEX string format) @param {mode} @param {proof_hash_counter} @param {db_read_log} - list of db records read during the execution of the request @param {result} - result code @param {sibling_left_child} - on delete not found, use children to hash intermediate node (to be sure that it's a intermediate) @param {sibling_right_child} - on delete not found, use children to hash intermediate node (to be sure that it's a intermediate)

func (*SetResponse) Descriptor deprecated

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

Deprecated: Use SetResponse.ProtoReflect.Descriptor instead.

func (*SetResponse) GetDbReadLog

func (x *SetResponse) GetDbReadLog() map[string]*FeList

func (*SetResponse) GetInsKey

func (x *SetResponse) GetInsKey() *Fea

func (*SetResponse) GetInsValue

func (x *SetResponse) GetInsValue() string

func (*SetResponse) GetIsOld0

func (x *SetResponse) GetIsOld0() bool

func (*SetResponse) GetKey

func (x *SetResponse) GetKey() *Fea

func (*SetResponse) GetMode

func (x *SetResponse) GetMode() string

func (*SetResponse) GetNewRoot

func (x *SetResponse) GetNewRoot() *Fea

func (*SetResponse) GetNewValue

func (x *SetResponse) GetNewValue() string

func (*SetResponse) GetOldRoot

func (x *SetResponse) GetOldRoot() *Fea

func (*SetResponse) GetOldValue

func (x *SetResponse) GetOldValue() string

func (*SetResponse) GetProofHashCounter

func (x *SetResponse) GetProofHashCounter() uint64

func (*SetResponse) GetResult

func (x *SetResponse) GetResult() *ResultCode

func (*SetResponse) GetSiblingLeftChild added in v0.5.0

func (x *SetResponse) GetSiblingLeftChild() *Fea

func (*SetResponse) GetSiblingRightChild added in v0.5.0

func (x *SetResponse) GetSiblingRightChild() *Fea

func (*SetResponse) GetSiblings

func (x *SetResponse) GetSiblings() map[uint64]*SiblingList

func (*SetResponse) ProtoMessage

func (*SetResponse) ProtoMessage()

func (*SetResponse) ProtoReflect

func (x *SetResponse) ProtoReflect() protoreflect.Message

func (*SetResponse) Reset

func (x *SetResponse) Reset()

func (*SetResponse) String

func (x *SetResponse) String() string

type SiblingList

type SiblingList struct {
	Sibling []uint64 `protobuf:"varint,1,rep,packed,name=sibling,proto3" json:"sibling,omitempty"`
	// contains filtered or unexported fields
}

* @dev Siblings List @param {sibling} - list of siblings

func (*SiblingList) Descriptor deprecated

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

Deprecated: Use SiblingList.ProtoReflect.Descriptor instead.

func (*SiblingList) GetSibling

func (x *SiblingList) GetSibling() []uint64

func (*SiblingList) ProtoMessage

func (*SiblingList) ProtoMessage()

func (*SiblingList) ProtoReflect

func (x *SiblingList) ProtoReflect() protoreflect.Message

func (*SiblingList) Reset

func (x *SiblingList) Reset()

func (*SiblingList) String

func (x *SiblingList) String() string

type StartBlockRequest added in v0.5.0

type StartBlockRequest struct {
	BatchUuid    string      `protobuf:"bytes,1,opt,name=batch_uuid,json=batchUuid,proto3" json:"batch_uuid,omitempty"`
	OldStateRoot string      `protobuf:"bytes,2,opt,name=old_state_root,json=oldStateRoot,proto3" json:"old_state_root,omitempty"`
	Persistence  Persistence `protobuf:"varint,3,opt,name=persistence,proto3,enum=hashdb.v1.Persistence" json:"persistence,omitempty"`
	// contains filtered or unexported fields
}

* @dev StartBlockRequest @param {batch_uuid} - indicates a unique identifier of the current batch or session which block started @param {new_state_root} - state root at this point of the execution @param {persistence} - indicates if it should be stored only in CACHE, in the SQL DATABASE, or it is just TEMPORARY and should be deleted at the flush of this batch UUID

func (*StartBlockRequest) Descriptor deprecated added in v0.5.0

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

Deprecated: Use StartBlockRequest.ProtoReflect.Descriptor instead.

func (*StartBlockRequest) GetBatchUuid added in v0.5.0

func (x *StartBlockRequest) GetBatchUuid() string

func (*StartBlockRequest) GetOldStateRoot added in v0.5.0

func (x *StartBlockRequest) GetOldStateRoot() string

func (*StartBlockRequest) GetPersistence added in v0.5.0

func (x *StartBlockRequest) GetPersistence() Persistence

func (*StartBlockRequest) ProtoMessage added in v0.5.0

func (*StartBlockRequest) ProtoMessage()

func (*StartBlockRequest) ProtoReflect added in v0.5.0

func (x *StartBlockRequest) ProtoReflect() protoreflect.Message

func (*StartBlockRequest) Reset added in v0.5.0

func (x *StartBlockRequest) Reset()

func (*StartBlockRequest) String added in v0.5.0

func (x *StartBlockRequest) String() string

type UnimplementedHashDBServiceServer

type UnimplementedHashDBServiceServer struct {
}

UnimplementedHashDBServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedHashDBServiceServer) CancelBatch added in v0.5.0

func (UnimplementedHashDBServiceServer) ConsolidateState added in v0.5.0

func (UnimplementedHashDBServiceServer) FinishBlock added in v0.5.0

func (UnimplementedHashDBServiceServer) FinishTx added in v0.5.0

func (UnimplementedHashDBServiceServer) Flush

func (UnimplementedHashDBServiceServer) Get

func (UnimplementedHashDBServiceServer) GetFlushData

func (UnimplementedHashDBServiceServer) GetFlushStatus

func (UnimplementedHashDBServiceServer) GetLatestStateRoot added in v0.5.0

func (UnimplementedHashDBServiceServer) GetProgram

func (UnimplementedHashDBServiceServer) LoadDB

func (UnimplementedHashDBServiceServer) LoadProgramDB

func (UnimplementedHashDBServiceServer) Purge added in v0.5.0

func (UnimplementedHashDBServiceServer) ReadTree added in v0.5.0

func (UnimplementedHashDBServiceServer) ResetDB added in v0.5.0

func (UnimplementedHashDBServiceServer) Set

func (UnimplementedHashDBServiceServer) SetProgram

func (UnimplementedHashDBServiceServer) StartBlock added in v0.5.0

type UnsafeHashDBServiceServer

type UnsafeHashDBServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeHashDBServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HashDBServiceServer will result in compilation errors.

type Version

type Version struct {
	V0_0_1 string `protobuf:"bytes,1,opt,name=v0_0_1,json=v001,proto3" json:"v0_0_1,omitempty"`
	// contains filtered or unexported fields
}

func (*Version) Descriptor deprecated

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

Deprecated: Use Version.ProtoReflect.Descriptor instead.

func (*Version) GetV0_0_1

func (x *Version) GetV0_0_1() string

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) ProtoReflect

func (x *Version) ProtoReflect() protoreflect.Message

func (*Version) Reset

func (x *Version) Reset()

func (*Version) String

func (x *Version) String() string

Jump to

Keyboard shortcuts

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