pb

package
v0.3.14 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

Index

Constants

View Source
const (
	Podr2Api_RequestGenTag_FullMethodName = "/podr2.Podr2Api/request_gen_tag"
	Podr2Api_Echo_FullMethodName          = "/podr2.Podr2Api/Echo"
)
View Source
const (
	PoisCertifierApi_RequestMinerGetNewKey_FullMethodName      = "/pois.PoisCertifierApi/request_miner_get_new_key"
	PoisCertifierApi_RequestMinerCommitGenChall_FullMethodName = "/pois.PoisCertifierApi/request_miner_commit_gen_chall"
	PoisCertifierApi_RequestVerifyCommitProof_FullMethodName   = "/pois.PoisCertifierApi/request_verify_commit_proof"
	PoisCertifierApi_RequestVerifyDeletionProof_FullMethodName = "/pois.PoisCertifierApi/request_verify_deletion_proof"
)
View Source
const (
	PoisVerifierApi_RequestSpaceProofVerifySingleBlock_FullMethodName = "/pois.PoisVerifierApi/request_space_proof_verify_single_block"
	PoisVerifierApi_RequestVerifySpaceTotal_FullMethodName            = "/pois.PoisVerifierApi/request_verify_space_total"
)
View Source
const (
	CesealPubkeysProvider_GetIdentityPubkey_FullMethodName = "/ceseal.pubkeys.CesealPubkeysProvider/get_identity_pubkey"
	CesealPubkeysProvider_GetMasterPubkey_FullMethodName   = "/ceseal.pubkeys.CesealPubkeysProvider/get_master_pubkey"
	CesealPubkeysProvider_GetPodr2Pubkey_FullMethodName    = "/ceseal.pubkeys.CesealPubkeysProvider/get_podr2_pubkey"
)
View Source
const (
	Podr2VerifierApi_RequestBatchVerify_FullMethodName = "/podr2.Podr2VerifierApi/request_batch_verify"
)

Variables

View Source
var (
	StatusCode_name = map[int32]string{
		0:     "Success",
		1:     "Processing",
		10001: "InvalidParameters",
		10002: "InvalidPath",
		10003: "InternalError",
		10004: "OutOfMemory",
		10005: "AlgorithmError",
		10006: "UnknownError",
	}
	StatusCode_value = map[string]int32{
		"Success":           0,
		"Processing":        1,
		"InvalidParameters": 10001,
		"InvalidPath":       10002,
		"InternalError":     10003,
		"OutOfMemory":       10004,
		"AlgorithmError":    10005,
		"UnknownError":      10006,
	}
)

Enum value maps for StatusCode.

View Source
var CesealPubkeysProvider_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ceseal.pubkeys.CesealPubkeysProvider",
	HandlerType: (*CesealPubkeysProviderServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "get_identity_pubkey",
			Handler:    _CesealPubkeysProvider_GetIdentityPubkey_Handler,
		},
		{
			MethodName: "get_master_pubkey",
			Handler:    _CesealPubkeysProvider_GetMasterPubkey_Handler,
		},
		{
			MethodName: "get_podr2_pubkey",
			Handler:    _CesealPubkeysProvider_GetPodr2Pubkey_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pubkey-api.proto",
}

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

View Source
var File_podr2_api_proto protoreflect.FileDescriptor
View Source
var File_pois_api_proto protoreflect.FileDescriptor
View Source
var File_pubkey_api_proto protoreflect.FileDescriptor
View Source
var Podr2Api_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "podr2.Podr2Api",
	HandlerType: (*Podr2ApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Echo",
			Handler:    _Podr2Api_Echo_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "request_gen_tag",
			Handler:       _Podr2Api_RequestGenTag_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "podr2-api.proto",
}

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

View Source
var Podr2VerifierApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "podr2.Podr2VerifierApi",
	HandlerType: (*Podr2VerifierApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "request_batch_verify",
			Handler:    _Podr2VerifierApi_RequestBatchVerify_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "podr2-api.proto",
}

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

View Source
var PoisCertifierApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pois.PoisCertifierApi",
	HandlerType: (*PoisCertifierApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "request_miner_get_new_key",
			Handler:    _PoisCertifierApi_RequestMinerGetNewKey_Handler,
		},
		{
			MethodName: "request_miner_commit_gen_chall",
			Handler:    _PoisCertifierApi_RequestMinerCommitGenChall_Handler,
		},
		{
			MethodName: "request_verify_commit_proof",
			Handler:    _PoisCertifierApi_RequestVerifyCommitProof_Handler,
		},
		{
			MethodName: "request_verify_deletion_proof",
			Handler:    _PoisCertifierApi_RequestVerifyDeletionProof_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pois-api.proto",
}

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

View Source
var PoisVerifierApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pois.PoisVerifierApi",
	HandlerType: (*PoisVerifierApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "request_space_proof_verify_single_block",
			Handler:    _PoisVerifierApi_RequestSpaceProofVerifySingleBlock_Handler,
		},
		{
			MethodName: "request_verify_space_total",
			Handler:    _PoisVerifierApi_RequestVerifySpaceTotal_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pois-api.proto",
}

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

Functions

func RegisterCesealPubkeysProviderServer added in v0.3.1

func RegisterCesealPubkeysProviderServer(s grpc.ServiceRegistrar, srv CesealPubkeysProviderServer)

func RegisterPodr2ApiServer added in v0.1.10

func RegisterPodr2ApiServer(s grpc.ServiceRegistrar, srv Podr2ApiServer)

func RegisterPodr2VerifierApiServer added in v0.2.7

func RegisterPodr2VerifierApiServer(s grpc.ServiceRegistrar, srv Podr2VerifierApiServer)

func RegisterPoisCertifierApiServer added in v0.2.7

func RegisterPoisCertifierApiServer(s grpc.ServiceRegistrar, srv PoisCertifierApiServer)

func RegisterPoisVerifierApiServer added in v0.2.7

func RegisterPoisVerifierApiServer(s grpc.ServiceRegistrar, srv PoisVerifierApiServer)

Types

type AccProof added in v0.1.8

type AccProof struct {
	Indexs    []int64         `protobuf:"varint,1,rep,packed,name=indexs,proto3" json:"indexs,omitempty"`
	Labels    [][]byte        `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"`
	WitChains *AccWitnessNode `protobuf:"bytes,3,opt,name=wit_chains,json=witChains,proto3" json:"wit_chains,omitempty"`
	AccPath   [][]byte        `protobuf:"bytes,4,rep,name=acc_path,json=accPath,proto3" json:"acc_path,omitempty"`
	// contains filtered or unexported fields
}

func (*AccProof) Descriptor deprecated added in v0.1.8

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

Deprecated: Use AccProof.ProtoReflect.Descriptor instead.

func (*AccProof) GetAccPath added in v0.1.8

func (x *AccProof) GetAccPath() [][]byte

func (*AccProof) GetIndexs added in v0.1.8

func (x *AccProof) GetIndexs() []int64

func (*AccProof) GetLabels added in v0.1.8

func (x *AccProof) GetLabels() [][]byte

func (*AccProof) GetWitChains added in v0.1.8

func (x *AccProof) GetWitChains() *AccWitnessNode

func (*AccProof) ProtoMessage added in v0.1.8

func (*AccProof) ProtoMessage()

func (*AccProof) ProtoReflect added in v0.1.8

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

func (*AccProof) Reset added in v0.1.8

func (x *AccProof) Reset()

func (*AccProof) String added in v0.1.8

func (x *AccProof) String() string

type AccWitnessNode added in v0.1.8

type AccWitnessNode struct {
	Elem []byte          `protobuf:"bytes,1,opt,name=elem,proto3" json:"elem,omitempty"`
	Wit  []byte          `protobuf:"bytes,2,opt,name=wit,proto3" json:"wit,omitempty"`
	Acc  *AccWitnessNode `protobuf:"bytes,3,opt,name=acc,proto3" json:"acc,omitempty"`
	// contains filtered or unexported fields
}

func (*AccWitnessNode) Descriptor deprecated added in v0.1.8

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

Deprecated: Use AccWitnessNode.ProtoReflect.Descriptor instead.

func (*AccWitnessNode) GetAcc added in v0.1.8

func (x *AccWitnessNode) GetAcc() *AccWitnessNode

func (*AccWitnessNode) GetElem added in v0.1.8

func (x *AccWitnessNode) GetElem() []byte

func (*AccWitnessNode) GetWit added in v0.1.8

func (x *AccWitnessNode) GetWit() []byte

func (*AccWitnessNode) ProtoMessage added in v0.1.8

func (*AccWitnessNode) ProtoMessage()

func (*AccWitnessNode) ProtoReflect added in v0.1.8

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

func (*AccWitnessNode) Reset added in v0.1.8

func (x *AccWitnessNode) Reset()

func (*AccWitnessNode) String added in v0.1.8

func (x *AccWitnessNode) String() string

type BlocksProof added in v0.1.8

type BlocksProof struct {
	ProofHashAndLeftRight *ProofHashAndLeftRight `` /* 130-byte string literal not displayed */
	Signature             []byte                 `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*BlocksProof) Descriptor deprecated added in v0.1.8

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

Deprecated: Use BlocksProof.ProtoReflect.Descriptor instead.

func (*BlocksProof) GetProofHashAndLeftRight added in v0.1.8

func (x *BlocksProof) GetProofHashAndLeftRight() *ProofHashAndLeftRight

func (*BlocksProof) GetSignature added in v0.1.8

func (x *BlocksProof) GetSignature() []byte

func (*BlocksProof) ProtoMessage added in v0.1.8

func (*BlocksProof) ProtoMessage()

func (*BlocksProof) ProtoReflect added in v0.1.8

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

func (*BlocksProof) Reset added in v0.1.8

func (x *BlocksProof) Reset()

func (*BlocksProof) String added in v0.1.8

func (x *BlocksProof) String() string

type CesealPubkeysProviderClient added in v0.3.1

type CesealPubkeysProviderClient interface {
	// Get the Ceseal identity public key
	GetIdentityPubkey(ctx context.Context, in *Request, opts ...grpc.CallOption) (*IdentityPubkeyResponse, error)
	// Get the master public key
	GetMasterPubkey(ctx context.Context, in *Request, opts ...grpc.CallOption) (*MasterPubkeyResponse, error)
	// Get the PORD2 public key
	GetPodr2Pubkey(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Podr2PubkeyResponse, error)
}

CesealPubkeysProviderClient is the client API for CesealPubkeysProvider service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewCesealPubkeysProviderClient added in v0.3.1

func NewCesealPubkeysProviderClient(cc grpc.ClientConnInterface) CesealPubkeysProviderClient

type CesealPubkeysProviderServer added in v0.3.1

type CesealPubkeysProviderServer interface {
	// Get the Ceseal identity public key
	GetIdentityPubkey(context.Context, *Request) (*IdentityPubkeyResponse, error)
	// Get the master public key
	GetMasterPubkey(context.Context, *Request) (*MasterPubkeyResponse, error)
	// Get the PORD2 public key
	GetPodr2Pubkey(context.Context, *Request) (*Podr2PubkeyResponse, error)
	// contains filtered or unexported methods
}

CesealPubkeysProviderServer is the server API for CesealPubkeysProvider service. All implementations must embed UnimplementedCesealPubkeysProviderServer for forward compatibility

type Challenge added in v0.1.8

type Challenge struct {
	Rows         []*Int64Slice `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
	ChallTeeSign []byte        `protobuf:"bytes,2,opt,name=chall_tee_sign,json=challTeeSign,proto3" json:"chall_tee_sign,omitempty"`
	// contains filtered or unexported fields
}

func (*Challenge) Descriptor deprecated added in v0.1.8

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

Deprecated: Use Challenge.ProtoReflect.Descriptor instead.

func (*Challenge) GetChallTeeSign added in v0.2.0

func (x *Challenge) GetChallTeeSign() []byte

func (*Challenge) GetRows added in v0.1.8

func (x *Challenge) GetRows() []*Int64Slice

func (*Challenge) ProtoMessage added in v0.1.8

func (*Challenge) ProtoMessage()

func (*Challenge) ProtoReflect added in v0.1.8

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

func (*Challenge) Reset added in v0.1.8

func (x *Challenge) Reset()

func (*Challenge) String added in v0.1.8

func (x *Challenge) String() string

type CommitProof added in v0.1.8

type CommitProof struct {
	Node    *MhtProof   `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	Parents []*MhtProof `protobuf:"bytes,2,rep,name=parents,proto3" json:"parents,omitempty"`
	Elders  []*MhtProof `protobuf:"bytes,3,rep,name=elders,proto3" json:"elders,omitempty"`
	// contains filtered or unexported fields
}

func (*CommitProof) Descriptor deprecated added in v0.1.8

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

Deprecated: Use CommitProof.ProtoReflect.Descriptor instead.

func (*CommitProof) GetElders added in v0.2.1

func (x *CommitProof) GetElders() []*MhtProof

func (*CommitProof) GetNode added in v0.1.8

func (x *CommitProof) GetNode() *MhtProof

func (*CommitProof) GetParents added in v0.1.8

func (x *CommitProof) GetParents() []*MhtProof

func (*CommitProof) ProtoMessage added in v0.1.8

func (*CommitProof) ProtoMessage()

func (*CommitProof) ProtoReflect added in v0.1.8

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

func (*CommitProof) Reset added in v0.1.8

func (x *CommitProof) Reset()

func (*CommitProof) String added in v0.1.8

func (x *CommitProof) String() string

type CommitProofGroup added in v0.1.8

type CommitProofGroup struct {
	CommitProofGroupInner []*CommitProofGroupInner `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CommitProofGroup) Descriptor deprecated added in v0.1.8

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

Deprecated: Use CommitProofGroup.ProtoReflect.Descriptor instead.

func (*CommitProofGroup) GetCommitProofGroupInner added in v0.1.8

func (x *CommitProofGroup) GetCommitProofGroupInner() []*CommitProofGroupInner

func (*CommitProofGroup) ProtoMessage added in v0.1.8

func (*CommitProofGroup) ProtoMessage()

func (*CommitProofGroup) ProtoReflect added in v0.1.8

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

func (*CommitProofGroup) Reset added in v0.1.8

func (x *CommitProofGroup) Reset()

func (*CommitProofGroup) String added in v0.1.8

func (x *CommitProofGroup) String() string

type CommitProofGroupInner added in v0.1.8

type CommitProofGroupInner struct {
	CommitProof []*CommitProof `protobuf:"bytes,1,rep,name=commit_proof,json=commitProof,proto3" json:"commit_proof,omitempty"`
	// contains filtered or unexported fields
}

func (*CommitProofGroupInner) Descriptor deprecated added in v0.1.8

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

Deprecated: Use CommitProofGroupInner.ProtoReflect.Descriptor instead.

func (*CommitProofGroupInner) GetCommitProof added in v0.1.8

func (x *CommitProofGroupInner) GetCommitProof() []*CommitProof

func (*CommitProofGroupInner) ProtoMessage added in v0.1.8

func (*CommitProofGroupInner) ProtoMessage()

func (*CommitProofGroupInner) ProtoReflect added in v0.1.8

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

func (*CommitProofGroupInner) Reset added in v0.1.8

func (x *CommitProofGroupInner) Reset()

func (*CommitProofGroupInner) String added in v0.1.8

func (x *CommitProofGroupInner) String() string

type Commits added in v0.1.8

type Commits struct {
	FileIndexs []int64  `protobuf:"varint,1,rep,packed,name=file_indexs,json=fileIndexs,proto3" json:"file_indexs,omitempty"`
	Roots      [][]byte `protobuf:"bytes,2,rep,name=roots,proto3" json:"roots,omitempty"`
	// contains filtered or unexported fields
}

func (*Commits) Descriptor deprecated added in v0.1.8

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

Deprecated: Use Commits.ProtoReflect.Descriptor instead.

func (*Commits) GetFileIndexs added in v0.1.8

func (x *Commits) GetFileIndexs() []int64

func (*Commits) GetRoots added in v0.1.8

func (x *Commits) GetRoots() [][]byte

func (*Commits) ProtoMessage added in v0.1.8

func (*Commits) ProtoMessage()

func (*Commits) ProtoReflect added in v0.1.8

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

func (*Commits) Reset added in v0.1.8

func (x *Commits) Reset()

func (*Commits) String added in v0.1.8

func (x *Commits) String() string

type DigestInfo added in v0.2.12

type DigestInfo struct {
	FragmentName []byte `protobuf:"bytes,1,opt,name=fragment_name,json=fragmentName,proto3" json:"fragment_name,omitempty"`
	TeeAccountId []byte `protobuf:"bytes,2,opt,name=tee_account_id,json=teeAccountId,proto3" json:"tee_account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DigestInfo) Descriptor deprecated added in v0.2.12

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

Deprecated: Use DigestInfo.ProtoReflect.Descriptor instead.

func (*DigestInfo) GetFragmentName added in v0.2.12

func (x *DigestInfo) GetFragmentName() []byte

func (*DigestInfo) GetTeeAccountId added in v0.2.12

func (x *DigestInfo) GetTeeAccountId() []byte

func (*DigestInfo) ProtoMessage added in v0.2.12

func (*DigestInfo) ProtoMessage()

func (*DigestInfo) ProtoReflect added in v0.2.12

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

func (*DigestInfo) Reset added in v0.2.12

func (x *DigestInfo) Reset()

func (*DigestInfo) String added in v0.2.12

func (x *DigestInfo) String() string

type EchoMessage added in v0.2.12

type EchoMessage struct {
	EchoMsg []byte `protobuf:"bytes,1,opt,name=echo_msg,json=echoMsg,proto3" json:"echo_msg,omitempty"`
	// contains filtered or unexported fields
}

func (*EchoMessage) Descriptor deprecated added in v0.2.12

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

Deprecated: Use EchoMessage.ProtoReflect.Descriptor instead.

func (*EchoMessage) GetEchoMsg added in v0.2.12

func (x *EchoMessage) GetEchoMsg() []byte

func (*EchoMessage) ProtoMessage added in v0.2.12

func (*EchoMessage) ProtoMessage()

func (*EchoMessage) ProtoReflect added in v0.2.12

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

func (*EchoMessage) Reset added in v0.2.12

func (x *EchoMessage) Reset()

func (*EchoMessage) String added in v0.2.12

func (x *EchoMessage) String() string

type GenTagMsg added in v0.3.2

type GenTagMsg struct {
	Tag       *Tag   `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	USig      []byte `protobuf:"bytes,2,opt,name=u_sig,json=uSig,proto3" json:"u_sig,omitempty"`
	Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*GenTagMsg) Descriptor deprecated added in v0.3.2

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

Deprecated: Use GenTagMsg.ProtoReflect.Descriptor instead.

func (*GenTagMsg) GetSignature added in v0.3.2

func (x *GenTagMsg) GetSignature() []byte

func (*GenTagMsg) GetTag added in v0.3.2

func (x *GenTagMsg) GetTag() *Tag

func (*GenTagMsg) GetUSig added in v0.3.2

func (x *GenTagMsg) GetUSig() []byte

func (*GenTagMsg) ProtoMessage added in v0.3.2

func (*GenTagMsg) ProtoMessage()

func (*GenTagMsg) ProtoReflect added in v0.3.2

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

func (*GenTagMsg) Reset added in v0.3.2

func (x *GenTagMsg) Reset()

func (*GenTagMsg) String added in v0.3.2

func (x *GenTagMsg) String() string

type IdentityPubkeyResponse added in v0.3.1

type IdentityPubkeyResponse struct {

	// the identity public key
	Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	// The timestamp for the processing of the request
	Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Use the sr25519 algorithm to sign the timestamp fields above (use it's Big-Endian bytes)
	Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*IdentityPubkeyResponse) Descriptor deprecated added in v0.3.1

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

Deprecated: Use IdentityPubkeyResponse.ProtoReflect.Descriptor instead.

func (*IdentityPubkeyResponse) GetPubkey added in v0.3.1

func (x *IdentityPubkeyResponse) GetPubkey() []byte

func (*IdentityPubkeyResponse) GetSignature added in v0.3.1

func (x *IdentityPubkeyResponse) GetSignature() []byte

func (*IdentityPubkeyResponse) GetTimestamp added in v0.3.1

func (x *IdentityPubkeyResponse) GetTimestamp() int64

func (*IdentityPubkeyResponse) ProtoMessage added in v0.3.1

func (*IdentityPubkeyResponse) ProtoMessage()

func (*IdentityPubkeyResponse) ProtoReflect added in v0.3.1

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

func (*IdentityPubkeyResponse) Reset added in v0.3.1

func (x *IdentityPubkeyResponse) Reset()

func (*IdentityPubkeyResponse) String added in v0.3.1

func (x *IdentityPubkeyResponse) String() string

type Int64Slice added in v0.1.8

type Int64Slice struct {
	Values []int64 `protobuf:"varint,1,rep,packed,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*Int64Slice) Descriptor deprecated added in v0.1.8

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

Deprecated: Use Int64Slice.ProtoReflect.Descriptor instead.

func (*Int64Slice) GetValues added in v0.1.8

func (x *Int64Slice) GetValues() []int64

func (*Int64Slice) ProtoMessage added in v0.1.8

func (*Int64Slice) ProtoMessage()

func (*Int64Slice) ProtoReflect added in v0.1.8

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

func (*Int64Slice) Reset added in v0.1.8

func (x *Int64Slice) Reset()

func (*Int64Slice) String added in v0.1.8

func (x *Int64Slice) String() string

type MasterPubkeyResponse added in v0.3.1

type MasterPubkeyResponse struct {

	// the master public key
	Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	// The timestamp for the processing of the request
	Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Use the sr25519 algorithm to sign the timestamp fields above (use it's Big-Endian bytes)
	Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*MasterPubkeyResponse) Descriptor deprecated added in v0.3.1

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

Deprecated: Use MasterPubkeyResponse.ProtoReflect.Descriptor instead.

func (*MasterPubkeyResponse) GetPubkey added in v0.3.1

func (x *MasterPubkeyResponse) GetPubkey() []byte

func (*MasterPubkeyResponse) GetSignature added in v0.3.1

func (x *MasterPubkeyResponse) GetSignature() []byte

func (*MasterPubkeyResponse) GetTimestamp added in v0.3.1

func (x *MasterPubkeyResponse) GetTimestamp() int64

func (*MasterPubkeyResponse) ProtoMessage added in v0.3.1

func (*MasterPubkeyResponse) ProtoMessage()

func (*MasterPubkeyResponse) ProtoReflect added in v0.3.1

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

func (*MasterPubkeyResponse) Reset added in v0.3.1

func (x *MasterPubkeyResponse) Reset()

func (*MasterPubkeyResponse) String added in v0.3.1

func (x *MasterPubkeyResponse) String() string

type MessageData

type MessageData struct {

	// shared between all requests
	ClientVersion string `protobuf:"bytes,1,opt,name=clientVersion,proto3" json:"clientVersion,omitempty"` // client version
	Id            string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`                       // allows requesters to use request data when processing a response
	NodeId        string `protobuf:"bytes,3,opt,name=nodeId,proto3" json:"nodeId,omitempty"`               // id of node that created the message (not the peer that may have sent it). =base58(multihash(nodePubKey))
	NodePubKey    []byte `protobuf:"bytes,4,opt,name=nodePubKey,proto3" json:"nodePubKey,omitempty"`       // Authoring node Secp256k1 public key (32bytes) - protobufs serielized
	Sign          []byte `protobuf:"bytes,5,opt,name=sign,proto3" json:"sign,omitempty"`                   // signature of message data + method specific data by message authoring node.
	Timestamp     int64  `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`        // unix time
	Gossip        bool   `protobuf:"varint,7,opt,name=gossip,proto3" json:"gossip,omitempty"`              // true to have receiver peer gossip the message to neighbors
	// contains filtered or unexported fields
}

designed to be shared between all app protocols

func (*MessageData) Descriptor deprecated

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

Deprecated: Use MessageData.ProtoReflect.Descriptor instead.

func (*MessageData) GetClientVersion

func (x *MessageData) GetClientVersion() string

func (*MessageData) GetGossip

func (x *MessageData) GetGossip() bool

func (*MessageData) GetId

func (x *MessageData) GetId() string

func (*MessageData) GetNodeId

func (x *MessageData) GetNodeId() string

func (*MessageData) GetNodePubKey

func (x *MessageData) GetNodePubKey() []byte

func (*MessageData) GetSign

func (x *MessageData) GetSign() []byte

func (*MessageData) GetTimestamp

func (x *MessageData) GetTimestamp() int64

func (*MessageData) ProtoMessage

func (*MessageData) ProtoMessage()

func (*MessageData) ProtoReflect added in v0.2.6

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

func (*MessageData) Reset

func (x *MessageData) Reset()

func (*MessageData) String

func (x *MessageData) String() string

type MhtProof added in v0.1.8

type MhtProof struct {
	Index int32    `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Label []byte   `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	Paths [][]byte `protobuf:"bytes,3,rep,name=paths,proto3" json:"paths,omitempty"`
	Locs  []byte   `protobuf:"bytes,4,opt,name=locs,proto3" json:"locs,omitempty"`
	// contains filtered or unexported fields
}

func (*MhtProof) Descriptor deprecated added in v0.1.8

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

Deprecated: Use MhtProof.ProtoReflect.Descriptor instead.

func (*MhtProof) GetIndex added in v0.1.8

func (x *MhtProof) GetIndex() int32

func (*MhtProof) GetLabel added in v0.1.8

func (x *MhtProof) GetLabel() []byte

func (*MhtProof) GetLocs added in v0.1.8

func (x *MhtProof) GetLocs() []byte

func (*MhtProof) GetPaths added in v0.1.8

func (x *MhtProof) GetPaths() [][]byte

func (*MhtProof) ProtoMessage added in v0.1.8

func (*MhtProof) ProtoMessage()

func (*MhtProof) ProtoReflect added in v0.1.8

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

func (*MhtProof) Reset added in v0.1.8

func (x *MhtProof) Reset()

func (*MhtProof) String added in v0.1.8

func (x *MhtProof) String() string

type MhtProofGroup added in v0.1.8

type MhtProofGroup struct {
	Proofs []*MhtProof `protobuf:"bytes,1,rep,name=proofs,proto3" json:"proofs,omitempty"`
	// contains filtered or unexported fields
}

func (*MhtProofGroup) Descriptor deprecated added in v0.1.8

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

Deprecated: Use MhtProofGroup.ProtoReflect.Descriptor instead.

func (*MhtProofGroup) GetProofs added in v0.1.8

func (x *MhtProofGroup) GetProofs() []*MhtProof

func (*MhtProofGroup) ProtoMessage added in v0.1.8

func (*MhtProofGroup) ProtoMessage()

func (*MhtProofGroup) ProtoReflect added in v0.1.8

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

func (*MhtProofGroup) Reset added in v0.1.8

func (x *MhtProofGroup) Reset()

func (*MhtProofGroup) String added in v0.1.8

func (x *MhtProofGroup) String() string

type MinerPoisInfo added in v0.2.0

type MinerPoisInfo struct {
	Acc           []byte `protobuf:"bytes,1,opt,name=acc,proto3" json:"acc,omitempty"`
	Front         int64  `protobuf:"varint,2,opt,name=front,proto3" json:"front,omitempty"`
	Rear          int64  `protobuf:"varint,3,opt,name=rear,proto3" json:"rear,omitempty"`
	KeyN          []byte `protobuf:"bytes,4,opt,name=key_n,json=keyN,proto3" json:"key_n,omitempty"`
	KeyG          []byte `protobuf:"bytes,5,opt,name=key_g,json=keyG,proto3" json:"key_g,omitempty"`
	StatusTeeSign []byte `protobuf:"bytes,6,opt,name=status_tee_sign,json=statusTeeSign,proto3" json:"status_tee_sign,omitempty"`
	// contains filtered or unexported fields
}

func (*MinerPoisInfo) Descriptor deprecated added in v0.2.0

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

Deprecated: Use MinerPoisInfo.ProtoReflect.Descriptor instead.

func (*MinerPoisInfo) GetAcc added in v0.2.0

func (x *MinerPoisInfo) GetAcc() []byte

func (*MinerPoisInfo) GetFront added in v0.2.0

func (x *MinerPoisInfo) GetFront() int64

func (*MinerPoisInfo) GetKeyG added in v0.2.0

func (x *MinerPoisInfo) GetKeyG() []byte

func (*MinerPoisInfo) GetKeyN added in v0.2.0

func (x *MinerPoisInfo) GetKeyN() []byte

func (*MinerPoisInfo) GetRear added in v0.2.0

func (x *MinerPoisInfo) GetRear() int64

func (*MinerPoisInfo) GetStatusTeeSign added in v0.2.0

func (x *MinerPoisInfo) GetStatusTeeSign() []byte

func (*MinerPoisInfo) ProtoMessage added in v0.2.0

func (*MinerPoisInfo) ProtoMessage()

func (*MinerPoisInfo) ProtoReflect added in v0.2.0

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

func (*MinerPoisInfo) Reset added in v0.2.0

func (x *MinerPoisInfo) Reset()

func (*MinerPoisInfo) String added in v0.2.0

func (x *MinerPoisInfo) String() string

type Podr2ApiClient added in v0.1.10

type Podr2ApiClient interface {
	RequestGenTag(ctx context.Context, opts ...grpc.CallOption) (Podr2Api_RequestGenTagClient, error)
	// A echo rpc to measure network RTT.
	Echo(ctx context.Context, in *EchoMessage, opts ...grpc.CallOption) (*EchoMessage, error)
}

Podr2ApiClient is the client API for Podr2Api service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewPodr2ApiClient added in v0.1.10

func NewPodr2ApiClient(cc grpc.ClientConnInterface) Podr2ApiClient

type Podr2ApiServer added in v0.1.10

type Podr2ApiServer interface {
	RequestGenTag(Podr2Api_RequestGenTagServer) error
	// A echo rpc to measure network RTT.
	Echo(context.Context, *EchoMessage) (*EchoMessage, error)
	// contains filtered or unexported methods
}

Podr2ApiServer is the server API for Podr2Api service. All implementations must embed UnimplementedPodr2ApiServer for forward compatibility

type Podr2Api_RequestGenTagClient added in v0.3.2

type Podr2Api_RequestGenTagClient interface {
	Send(*RequestGenTag) error
	Recv() (*ResponseGenTag, error)
	grpc.ClientStream
}

type Podr2Api_RequestGenTagServer added in v0.3.2

type Podr2Api_RequestGenTagServer interface {
	Send(*ResponseGenTag) error
	Recv() (*RequestGenTag, error)
	grpc.ServerStream
}

type Podr2PubkeyResponse added in v0.3.1

type Podr2PubkeyResponse struct {

	// the PODR2 public key
	Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	// The timestamp for the processing of the request
	Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Use the RSA algorithm to sign the timestamp fields above (use it's Big-Endian bytes)
	Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*Podr2PubkeyResponse) Descriptor deprecated added in v0.3.1

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

Deprecated: Use Podr2PubkeyResponse.ProtoReflect.Descriptor instead.

func (*Podr2PubkeyResponse) GetPubkey added in v0.3.1

func (x *Podr2PubkeyResponse) GetPubkey() []byte

func (*Podr2PubkeyResponse) GetSignature added in v0.3.1

func (x *Podr2PubkeyResponse) GetSignature() []byte

func (*Podr2PubkeyResponse) GetTimestamp added in v0.3.1

func (x *Podr2PubkeyResponse) GetTimestamp() int64

func (*Podr2PubkeyResponse) ProtoMessage added in v0.3.1

func (*Podr2PubkeyResponse) ProtoMessage()

func (*Podr2PubkeyResponse) ProtoReflect added in v0.3.1

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

func (*Podr2PubkeyResponse) Reset added in v0.3.1

func (x *Podr2PubkeyResponse) Reset()

func (*Podr2PubkeyResponse) String added in v0.3.1

func (x *Podr2PubkeyResponse) String() string

type Podr2VerifierApiClient added in v0.2.7

type Podr2VerifierApiClient interface {
	RequestBatchVerify(ctx context.Context, in *RequestBatchVerify, opts ...grpc.CallOption) (*ResponseBatchVerify, error)
}

Podr2VerifierApiClient is the client API for Podr2VerifierApi service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewPodr2VerifierApiClient added in v0.2.7

func NewPodr2VerifierApiClient(cc grpc.ClientConnInterface) Podr2VerifierApiClient

type Podr2VerifierApiServer added in v0.2.7

type Podr2VerifierApiServer interface {
	RequestBatchVerify(context.Context, *RequestBatchVerify) (*ResponseBatchVerify, error)
	// contains filtered or unexported methods
}

Podr2VerifierApiServer is the server API for Podr2VerifierApi service. All implementations must embed UnimplementedPodr2VerifierApiServer for forward compatibility

type PoisCertifierApiClient added in v0.2.7

type PoisCertifierApiClient interface {
	RequestMinerGetNewKey(ctx context.Context, in *RequestMinerInitParam, opts ...grpc.CallOption) (*ResponseMinerInitParam, error)
	RequestMinerCommitGenChall(ctx context.Context, in *RequestMinerCommitGenChall, opts ...grpc.CallOption) (*Challenge, error)
	RequestVerifyCommitProof(ctx context.Context, in *RequestVerifyCommitAndAccProof, opts ...grpc.CallOption) (*ResponseVerifyCommitOrDeletionProof, error)
	RequestVerifyDeletionProof(ctx context.Context, in *RequestVerifyDeletionProof, opts ...grpc.CallOption) (*ResponseVerifyCommitOrDeletionProof, error)
}

PoisCertifierApiClient is the client API for PoisCertifierApi service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewPoisCertifierApiClient added in v0.2.7

func NewPoisCertifierApiClient(cc grpc.ClientConnInterface) PoisCertifierApiClient

type PoisCertifierApiServer added in v0.2.7

type PoisCertifierApiServer interface {
	RequestMinerGetNewKey(context.Context, *RequestMinerInitParam) (*ResponseMinerInitParam, error)
	RequestMinerCommitGenChall(context.Context, *RequestMinerCommitGenChall) (*Challenge, error)
	RequestVerifyCommitProof(context.Context, *RequestVerifyCommitAndAccProof) (*ResponseVerifyCommitOrDeletionProof, error)
	RequestVerifyDeletionProof(context.Context, *RequestVerifyDeletionProof) (*ResponseVerifyCommitOrDeletionProof, error)
	// contains filtered or unexported methods
}

PoisCertifierApiServer is the server API for PoisCertifierApi service. All implementations must embed UnimplementedPoisCertifierApiServer for forward compatibility

type PoisStatus added in v0.1.10

type PoisStatus struct {
	Acc   []byte `protobuf:"bytes,1,opt,name=acc,proto3" json:"acc,omitempty"`
	Front int64  `protobuf:"varint,2,opt,name=front,proto3" json:"front,omitempty"`
	Rear  int64  `protobuf:"varint,3,opt,name=rear,proto3" json:"rear,omitempty"`
	// contains filtered or unexported fields
}

func (*PoisStatus) Descriptor deprecated added in v0.1.10

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

Deprecated: Use PoisStatus.ProtoReflect.Descriptor instead.

func (*PoisStatus) GetAcc added in v0.1.10

func (x *PoisStatus) GetAcc() []byte

func (*PoisStatus) GetFront added in v0.1.10

func (x *PoisStatus) GetFront() int64

func (*PoisStatus) GetRear added in v0.1.10

func (x *PoisStatus) GetRear() int64

func (*PoisStatus) ProtoMessage added in v0.1.10

func (*PoisStatus) ProtoMessage()

func (*PoisStatus) ProtoReflect added in v0.1.10

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

func (*PoisStatus) Reset added in v0.1.10

func (x *PoisStatus) Reset()

func (*PoisStatus) String added in v0.1.10

func (x *PoisStatus) String() string

type PoisVerifierApiClient added in v0.2.7

type PoisVerifierApiClient interface {
	RequestSpaceProofVerifySingleBlock(ctx context.Context, in *RequestSpaceProofVerify, opts ...grpc.CallOption) (*ResponseSpaceProofVerify, error)
	RequestVerifySpaceTotal(ctx context.Context, in *RequestSpaceProofVerifyTotal, opts ...grpc.CallOption) (*ResponseSpaceProofVerifyTotal, error)
}

PoisVerifierApiClient is the client API for PoisVerifierApi service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewPoisVerifierApiClient added in v0.2.7

func NewPoisVerifierApiClient(cc grpc.ClientConnInterface) PoisVerifierApiClient

type PoisVerifierApiServer added in v0.2.7

type PoisVerifierApiServer interface {
	RequestSpaceProofVerifySingleBlock(context.Context, *RequestSpaceProofVerify) (*ResponseSpaceProofVerify, error)
	RequestVerifySpaceTotal(context.Context, *RequestSpaceProofVerifyTotal) (*ResponseSpaceProofVerifyTotal, error)
	// contains filtered or unexported methods
}

PoisVerifierApiServer is the server API for PoisVerifierApi service. All implementations must embed UnimplementedPoisVerifierApiServer for forward compatibility

type ProofHashAndLeftRight added in v0.1.8

type ProofHashAndLeftRight struct {
	SpaceProofHash []byte `protobuf:"bytes,1,opt,name=space_proof_hash,json=spaceProofHash,proto3" json:"space_proof_hash,omitempty"`
	Left           int64  `protobuf:"varint,2,opt,name=left,proto3" json:"left,omitempty"`
	Right          int64  `protobuf:"varint,3,opt,name=right,proto3" json:"right,omitempty"`
	TeeId          []byte `protobuf:"bytes,4,opt,name=tee_id,json=teeId,proto3" json:"tee_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ProofHashAndLeftRight) Descriptor deprecated added in v0.1.8

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

Deprecated: Use ProofHashAndLeftRight.ProtoReflect.Descriptor instead.

func (*ProofHashAndLeftRight) GetLeft added in v0.1.8

func (x *ProofHashAndLeftRight) GetLeft() int64

func (*ProofHashAndLeftRight) GetRight added in v0.1.8

func (x *ProofHashAndLeftRight) GetRight() int64

func (*ProofHashAndLeftRight) GetSpaceProofHash added in v0.1.8

func (x *ProofHashAndLeftRight) GetSpaceProofHash() []byte

func (*ProofHashAndLeftRight) GetTeeId added in v0.2.0

func (x *ProofHashAndLeftRight) GetTeeId() []byte

func (*ProofHashAndLeftRight) ProtoMessage added in v0.1.8

func (*ProofHashAndLeftRight) ProtoMessage()

func (*ProofHashAndLeftRight) ProtoReflect added in v0.1.8

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

func (*ProofHashAndLeftRight) Reset added in v0.1.8

func (x *ProofHashAndLeftRight) Reset()

func (*ProofHashAndLeftRight) String added in v0.1.8

func (x *ProofHashAndLeftRight) String() string

type ReadDataStatRequest added in v0.2.6

type ReadDataStatRequest struct {

	// Roothash uniquely identifies a user data
	Roothash string `protobuf:"bytes,1,opt,name=Roothash,proto3" json:"Roothash,omitempty"`
	// Datahash is the currently written data hash value
	Datahash string `protobuf:"bytes,2,opt,name=Datahash,proto3" json:"Datahash,omitempty"`
	// MessageData is a generic message
	MessageData *MessageData `protobuf:"bytes,3,opt,name=messageData,proto3" json:"messageData,omitempty"`
	// contains filtered or unexported fields
}

a protocol define a set of reuqest and responses

func (*ReadDataStatRequest) Descriptor deprecated added in v0.2.6

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

Deprecated: Use ReadDataStatRequest.ProtoReflect.Descriptor instead.

func (*ReadDataStatRequest) GetDatahash added in v0.2.6

func (x *ReadDataStatRequest) GetDatahash() string

func (*ReadDataStatRequest) GetMessageData added in v0.2.6

func (x *ReadDataStatRequest) GetMessageData() *MessageData

func (*ReadDataStatRequest) GetRoothash added in v0.2.6

func (x *ReadDataStatRequest) GetRoothash() string

func (*ReadDataStatRequest) ProtoMessage added in v0.2.6

func (*ReadDataStatRequest) ProtoMessage()

func (*ReadDataStatRequest) ProtoReflect added in v0.2.6

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

func (*ReadDataStatRequest) Reset added in v0.2.6

func (x *ReadDataStatRequest) Reset()

func (*ReadDataStatRequest) String added in v0.2.6

func (x *ReadDataStatRequest) String() string

type ReadDataStatResponse added in v0.2.6

type ReadDataStatResponse struct {

	// Code indicates the result of this transfer
	Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	// Offset is the write offset the receiver wants
	DataSize int64 `protobuf:"varint,2,opt,name=dataSize,proto3" json:"dataSize,omitempty"`
	// Datahash is the currently written data hash value
	DataHash string `protobuf:"bytes,3,opt,name=dataHash,proto3" json:"dataHash,omitempty"`
	// MessageData is a generic message
	MessageData *MessageData `protobuf:"bytes,4,opt,name=messageData,proto3" json:"messageData,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadDataStatResponse) Descriptor deprecated added in v0.2.6

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

Deprecated: Use ReadDataStatResponse.ProtoReflect.Descriptor instead.

func (*ReadDataStatResponse) GetCode added in v0.2.6

func (x *ReadDataStatResponse) GetCode() uint32

func (*ReadDataStatResponse) GetDataHash added in v0.2.6

func (x *ReadDataStatResponse) GetDataHash() string

func (*ReadDataStatResponse) GetDataSize added in v0.2.6

func (x *ReadDataStatResponse) GetDataSize() int64

func (*ReadDataStatResponse) GetMessageData added in v0.2.6

func (x *ReadDataStatResponse) GetMessageData() *MessageData

func (*ReadDataStatResponse) ProtoMessage added in v0.2.6

func (*ReadDataStatResponse) ProtoMessage()

func (*ReadDataStatResponse) ProtoReflect added in v0.2.6

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

func (*ReadDataStatResponse) Reset added in v0.2.6

func (x *ReadDataStatResponse) Reset()

func (*ReadDataStatResponse) String added in v0.2.6

func (x *ReadDataStatResponse) String() string

type ReadfileRequest

type ReadfileRequest struct {

	// Roothash uniquely identifies a user data
	Roothash string `protobuf:"bytes,1,opt,name=Roothash,proto3" json:"Roothash,omitempty"`
	// Datahash is the currently written data hash value
	Datahash string `protobuf:"bytes,2,opt,name=Datahash,proto3" json:"Datahash,omitempty"`
	// MessageData is a generic message
	MessageData *MessageData `protobuf:"bytes,3,opt,name=messageData,proto3" json:"messageData,omitempty"`
	// Offset is the offset that the reader wants to read
	Offset int64 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
	// Extended data is used to expand business use
	ExtendData []byte `protobuf:"bytes,5,opt,name=extendData,proto3" json:"extendData,omitempty"`
	// contains filtered or unexported fields
}

a protocol define a set of reuqest and responses

func (*ReadfileRequest) Descriptor deprecated

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

Deprecated: Use ReadfileRequest.ProtoReflect.Descriptor instead.

func (*ReadfileRequest) GetDatahash

func (x *ReadfileRequest) GetDatahash() string

func (*ReadfileRequest) GetExtendData added in v0.3.14

func (x *ReadfileRequest) GetExtendData() []byte

func (*ReadfileRequest) GetMessageData

func (x *ReadfileRequest) GetMessageData() *MessageData

func (*ReadfileRequest) GetOffset

func (x *ReadfileRequest) GetOffset() int64

func (*ReadfileRequest) GetRoothash

func (x *ReadfileRequest) GetRoothash() string

func (*ReadfileRequest) ProtoMessage

func (*ReadfileRequest) ProtoMessage()

func (*ReadfileRequest) ProtoReflect added in v0.2.6

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

func (*ReadfileRequest) Reset

func (x *ReadfileRequest) Reset()

func (*ReadfileRequest) String

func (x *ReadfileRequest) String() string

type ReadfileResponse

type ReadfileResponse struct {

	// Data is the returned data
	Data []byte `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"`
	// MessageData is a generic message
	MessageData *MessageData `protobuf:"bytes,2,opt,name=messageData,proto3" json:"messageData,omitempty"`
	// Offset is the data offset returned by the peer
	Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	// Code indicates the result of this transfer
	Code uint32 `protobuf:"varint,4,opt,name=code,proto3" json:"code,omitempty"`
	// Length is the returned data length
	Length uint32 `protobuf:"varint,5,opt,name=length,proto3" json:"length,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadfileResponse) Descriptor deprecated

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

Deprecated: Use ReadfileResponse.ProtoReflect.Descriptor instead.

func (*ReadfileResponse) GetCode

func (x *ReadfileResponse) GetCode() uint32

func (*ReadfileResponse) GetData

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

func (*ReadfileResponse) GetLength

func (x *ReadfileResponse) GetLength() uint32

func (*ReadfileResponse) GetMessageData

func (x *ReadfileResponse) GetMessageData() *MessageData

func (*ReadfileResponse) GetOffset

func (x *ReadfileResponse) GetOffset() int64

func (*ReadfileResponse) ProtoMessage

func (*ReadfileResponse) ProtoMessage()

func (*ReadfileResponse) ProtoReflect added in v0.2.6

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

func (*ReadfileResponse) Reset

func (x *ReadfileResponse) Reset()

func (*ReadfileResponse) String

func (x *ReadfileResponse) String() string

type Request added in v0.0.10

type Request struct {

	// The account id that the storage miner registered on the chain
	StorageMinerAccountId []byte `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Request) Descriptor deprecated added in v0.0.10

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

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetStorageMinerAccountId added in v0.3.1

func (x *Request) GetStorageMinerAccountId() []byte

func (*Request) ProtoMessage added in v0.0.10

func (*Request) ProtoMessage()

func (*Request) ProtoReflect added in v0.0.10

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

func (*Request) Reset added in v0.0.10

func (x *Request) Reset()

func (*Request) String added in v0.0.10

func (x *Request) String() string

type RequestBatchVerify added in v0.1.10

type RequestBatchVerify struct {
	AggProof *RequestBatchVerify_BatchVerifyParam `protobuf:"bytes,1,opt,name=agg_proof,json=aggProof,proto3" json:"agg_proof,omitempty"`
	Qslices  *RequestBatchVerify_Qslice           `protobuf:"bytes,2,opt,name=qslices,proto3" json:"qslices,omitempty"`
	USigs    [][]byte                             `protobuf:"bytes,3,rep,name=u_sigs,json=uSigs,proto3" json:"u_sigs,omitempty"`
	MinerId  []byte                               `protobuf:"bytes,4,opt,name=miner_id,json=minerId,proto3" json:"miner_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestBatchVerify) Descriptor deprecated added in v0.1.10

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

Deprecated: Use RequestBatchVerify.ProtoReflect.Descriptor instead.

func (*RequestBatchVerify) GetAggProof added in v0.1.10

func (*RequestBatchVerify) GetMinerId added in v0.2.12

func (x *RequestBatchVerify) GetMinerId() []byte

func (*RequestBatchVerify) GetQslices added in v0.1.10

func (*RequestBatchVerify) GetUSigs added in v0.2.10

func (x *RequestBatchVerify) GetUSigs() [][]byte

func (*RequestBatchVerify) ProtoMessage added in v0.1.10

func (*RequestBatchVerify) ProtoMessage()

func (*RequestBatchVerify) ProtoReflect added in v0.1.10

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

func (*RequestBatchVerify) Reset added in v0.1.10

func (x *RequestBatchVerify) Reset()

func (*RequestBatchVerify) String added in v0.1.10

func (x *RequestBatchVerify) String() string

type RequestBatchVerify_BatchVerifyParam added in v0.1.10

type RequestBatchVerify_BatchVerifyParam struct {
	Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	Us    []string `protobuf:"bytes,2,rep,name=us,proto3" json:"us,omitempty"`
	Mus   []string `protobuf:"bytes,3,rep,name=mus,proto3" json:"mus,omitempty"`
	Sigma string   `protobuf:"bytes,4,opt,name=sigma,proto3" json:"sigma,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestBatchVerify_BatchVerifyParam) Descriptor deprecated added in v0.1.10

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

Deprecated: Use RequestBatchVerify_BatchVerifyParam.ProtoReflect.Descriptor instead.

func (*RequestBatchVerify_BatchVerifyParam) GetMus added in v0.1.10

func (*RequestBatchVerify_BatchVerifyParam) GetNames added in v0.1.10

func (*RequestBatchVerify_BatchVerifyParam) GetSigma added in v0.1.10

func (*RequestBatchVerify_BatchVerifyParam) GetUs added in v0.1.10

func (*RequestBatchVerify_BatchVerifyParam) ProtoMessage added in v0.1.10

func (*RequestBatchVerify_BatchVerifyParam) ProtoMessage()

func (*RequestBatchVerify_BatchVerifyParam) ProtoReflect added in v0.1.10

func (*RequestBatchVerify_BatchVerifyParam) Reset added in v0.1.10

func (*RequestBatchVerify_BatchVerifyParam) String added in v0.1.10

type RequestBatchVerify_Qslice added in v0.1.10

type RequestBatchVerify_Qslice struct {
	RandomIndexList []uint32 `protobuf:"varint,1,rep,packed,name=random_index_list,json=randomIndexList,proto3" json:"random_index_list,omitempty"`
	RandomList      [][]byte `protobuf:"bytes,2,rep,name=random_list,json=randomList,proto3" json:"random_list,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestBatchVerify_Qslice) Descriptor deprecated added in v0.1.10

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

Deprecated: Use RequestBatchVerify_Qslice.ProtoReflect.Descriptor instead.

func (*RequestBatchVerify_Qslice) GetRandomIndexList added in v0.1.10

func (x *RequestBatchVerify_Qslice) GetRandomIndexList() []uint32

func (*RequestBatchVerify_Qslice) GetRandomList added in v0.1.10

func (x *RequestBatchVerify_Qslice) GetRandomList() [][]byte

func (*RequestBatchVerify_Qslice) ProtoMessage added in v0.1.10

func (*RequestBatchVerify_Qslice) ProtoMessage()

func (*RequestBatchVerify_Qslice) ProtoReflect added in v0.1.10

func (*RequestBatchVerify_Qslice) Reset added in v0.1.10

func (x *RequestBatchVerify_Qslice) Reset()

func (*RequestBatchVerify_Qslice) String added in v0.1.10

func (x *RequestBatchVerify_Qslice) String() string

type RequestGenTag added in v0.1.10

type RequestGenTag struct {
	FragmentData     []byte        `protobuf:"bytes,1,opt,name=fragment_data,json=fragmentData,proto3" json:"fragment_data,omitempty"`
	FragmentName     string        `protobuf:"bytes,2,opt,name=fragment_name,json=fragmentName,proto3" json:"fragment_name,omitempty"`
	CustomData       string        `protobuf:"bytes,3,opt,name=custom_data,json=customData,proto3" json:"custom_data,omitempty"`
	FileName         string        `protobuf:"bytes,4,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	MinerId          []byte        `protobuf:"bytes,5,opt,name=miner_id,json=minerId,proto3" json:"miner_id,omitempty"`
	TeeDigestList    []*DigestInfo `protobuf:"bytes,6,rep,name=tee_digest_list,json=teeDigestList,proto3" json:"tee_digest_list,omitempty"`
	LastTeeSignature []byte        `protobuf:"bytes,7,opt,name=last_tee_signature,json=lastTeeSignature,proto3" json:"last_tee_signature,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestGenTag) Descriptor deprecated added in v0.1.10

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

Deprecated: Use RequestGenTag.ProtoReflect.Descriptor instead.

func (*RequestGenTag) GetCustomData added in v0.1.10

func (x *RequestGenTag) GetCustomData() string

func (*RequestGenTag) GetFileName added in v0.2.6

func (x *RequestGenTag) GetFileName() string

func (*RequestGenTag) GetFragmentData added in v0.2.6

func (x *RequestGenTag) GetFragmentData() []byte

func (*RequestGenTag) GetFragmentName added in v0.2.6

func (x *RequestGenTag) GetFragmentName() string

func (*RequestGenTag) GetLastTeeSignature added in v0.2.12

func (x *RequestGenTag) GetLastTeeSignature() []byte

func (*RequestGenTag) GetMinerId added in v0.2.10

func (x *RequestGenTag) GetMinerId() []byte

func (*RequestGenTag) GetTeeDigestList added in v0.2.12

func (x *RequestGenTag) GetTeeDigestList() []*DigestInfo

func (*RequestGenTag) ProtoMessage added in v0.1.10

func (*RequestGenTag) ProtoMessage()

func (*RequestGenTag) ProtoReflect added in v0.1.10

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

func (*RequestGenTag) Reset added in v0.1.10

func (x *RequestGenTag) Reset()

func (*RequestGenTag) String added in v0.1.10

func (x *RequestGenTag) String() string

type RequestMinerCommitGenChall added in v0.1.8

type RequestMinerCommitGenChall struct {
	MinerId   []byte   `protobuf:"bytes,1,opt,name=miner_id,json=minerId,proto3" json:"miner_id,omitempty"`
	Commit    *Commits `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"`
	MinerSign []byte   `protobuf:"bytes,3,opt,name=miner_sign,json=minerSign,proto3" json:"miner_sign,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestMinerCommitGenChall) Descriptor deprecated added in v0.1.8

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

Deprecated: Use RequestMinerCommitGenChall.ProtoReflect.Descriptor instead.

func (*RequestMinerCommitGenChall) GetCommit added in v0.1.8

func (x *RequestMinerCommitGenChall) GetCommit() *Commits

func (*RequestMinerCommitGenChall) GetMinerId added in v0.1.8

func (x *RequestMinerCommitGenChall) GetMinerId() []byte

func (*RequestMinerCommitGenChall) GetMinerSign added in v0.2.0

func (x *RequestMinerCommitGenChall) GetMinerSign() []byte

func (*RequestMinerCommitGenChall) ProtoMessage added in v0.1.8

func (*RequestMinerCommitGenChall) ProtoMessage()

func (*RequestMinerCommitGenChall) ProtoReflect added in v0.1.8

func (*RequestMinerCommitGenChall) Reset added in v0.1.8

func (x *RequestMinerCommitGenChall) Reset()

func (*RequestMinerCommitGenChall) String added in v0.1.8

func (x *RequestMinerCommitGenChall) String() string

type RequestMinerInitParam added in v0.1.8

type RequestMinerInitParam struct {
	MinerId []byte `protobuf:"bytes,1,opt,name=miner_id,json=minerId,proto3" json:"miner_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestMinerInitParam) Descriptor deprecated added in v0.1.8

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

Deprecated: Use RequestMinerInitParam.ProtoReflect.Descriptor instead.

func (*RequestMinerInitParam) GetMinerId added in v0.1.8

func (x *RequestMinerInitParam) GetMinerId() []byte

func (*RequestMinerInitParam) ProtoMessage added in v0.1.8

func (*RequestMinerInitParam) ProtoMessage()

func (*RequestMinerInitParam) ProtoReflect added in v0.1.8

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

func (*RequestMinerInitParam) Reset added in v0.1.8

func (x *RequestMinerInitParam) Reset()

func (*RequestMinerInitParam) String added in v0.1.8

func (x *RequestMinerInitParam) String() string

type RequestSpaceProofVerify added in v0.1.8

type RequestSpaceProofVerify struct {
	SpaceChals                     []int64        `protobuf:"varint,1,rep,packed,name=space_chals,json=spaceChals,proto3" json:"space_chals,omitempty"`
	MinerId                        []byte         `protobuf:"bytes,2,opt,name=miner_id,json=minerId,proto3" json:"miner_id,omitempty"`
	PoisInfo                       *MinerPoisInfo `protobuf:"bytes,3,opt,name=pois_info,json=poisInfo,proto3" json:"pois_info,omitempty"`
	Proof                          *SpaceProof    `protobuf:"bytes,4,opt,name=proof,proto3" json:"proof,omitempty"`
	MinerSpaceProofHashPolkadotSig []byte         `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RequestSpaceProofVerify) Descriptor deprecated added in v0.1.8

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

Deprecated: Use RequestSpaceProofVerify.ProtoReflect.Descriptor instead.

func (*RequestSpaceProofVerify) GetMinerId added in v0.1.8

func (x *RequestSpaceProofVerify) GetMinerId() []byte

func (*RequestSpaceProofVerify) GetMinerSpaceProofHashPolkadotSig added in v0.1.8

func (x *RequestSpaceProofVerify) GetMinerSpaceProofHashPolkadotSig() []byte

func (*RequestSpaceProofVerify) GetPoisInfo added in v0.2.0

func (x *RequestSpaceProofVerify) GetPoisInfo() *MinerPoisInfo

func (*RequestSpaceProofVerify) GetProof added in v0.1.8

func (x *RequestSpaceProofVerify) GetProof() *SpaceProof

func (*RequestSpaceProofVerify) GetSpaceChals added in v0.1.8

func (x *RequestSpaceProofVerify) GetSpaceChals() []int64

func (*RequestSpaceProofVerify) ProtoMessage added in v0.1.8

func (*RequestSpaceProofVerify) ProtoMessage()

func (*RequestSpaceProofVerify) ProtoReflect added in v0.1.8

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

func (*RequestSpaceProofVerify) Reset added in v0.1.8

func (x *RequestSpaceProofVerify) Reset()

func (*RequestSpaceProofVerify) String added in v0.1.8

func (x *RequestSpaceProofVerify) String() string

type RequestSpaceProofVerifyTotal added in v0.1.8

type RequestSpaceProofVerifyTotal struct {
	MinerId    []byte         `protobuf:"bytes,1,opt,name=miner_id,json=minerId,proto3" json:"miner_id,omitempty"`
	ProofList  []*BlocksProof `protobuf:"bytes,2,rep,name=proof_list,json=proofList,proto3" json:"proof_list,omitempty"`
	Front      int64          `protobuf:"varint,3,opt,name=front,proto3" json:"front,omitempty"`
	Rear       int64          `protobuf:"varint,4,opt,name=rear,proto3" json:"rear,omitempty"`
	Acc        []byte         `protobuf:"bytes,5,opt,name=acc,proto3" json:"acc,omitempty"`
	SpaceChals []int64        `protobuf:"varint,6,rep,packed,name=space_chals,json=spaceChals,proto3" json:"space_chals,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestSpaceProofVerifyTotal) Descriptor deprecated added in v0.1.8

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

Deprecated: Use RequestSpaceProofVerifyTotal.ProtoReflect.Descriptor instead.

func (*RequestSpaceProofVerifyTotal) GetAcc added in v0.1.8

func (x *RequestSpaceProofVerifyTotal) GetAcc() []byte

func (*RequestSpaceProofVerifyTotal) GetFront added in v0.1.8

func (x *RequestSpaceProofVerifyTotal) GetFront() int64

func (*RequestSpaceProofVerifyTotal) GetMinerId added in v0.1.8

func (x *RequestSpaceProofVerifyTotal) GetMinerId() []byte

func (*RequestSpaceProofVerifyTotal) GetProofList added in v0.1.8

func (x *RequestSpaceProofVerifyTotal) GetProofList() []*BlocksProof

func (*RequestSpaceProofVerifyTotal) GetRear added in v0.1.8

func (x *RequestSpaceProofVerifyTotal) GetRear() int64

func (*RequestSpaceProofVerifyTotal) GetSpaceChals added in v0.1.8

func (x *RequestSpaceProofVerifyTotal) GetSpaceChals() []int64

func (*RequestSpaceProofVerifyTotal) ProtoMessage added in v0.1.8

func (*RequestSpaceProofVerifyTotal) ProtoMessage()

func (*RequestSpaceProofVerifyTotal) ProtoReflect added in v0.1.8

func (*RequestSpaceProofVerifyTotal) Reset added in v0.1.8

func (x *RequestSpaceProofVerifyTotal) Reset()

func (*RequestSpaceProofVerifyTotal) String added in v0.1.8

type RequestVerifyCommitAndAccProof added in v0.1.8

type RequestVerifyCommitAndAccProof struct {
	CommitProofGroup *CommitProofGroup `protobuf:"bytes,1,opt,name=commit_proof_group,json=commitProofGroup,proto3" json:"commit_proof_group,omitempty"`
	AccProof         *AccProof         `protobuf:"bytes,2,opt,name=acc_proof,json=accProof,proto3" json:"acc_proof,omitempty"`
	MinerId          []byte            `protobuf:"bytes,3,opt,name=miner_id,json=minerId,proto3" json:"miner_id,omitempty"`
	PoisInfo         *MinerPoisInfo    `protobuf:"bytes,4,opt,name=pois_info,json=poisInfo,proto3" json:"pois_info,omitempty"`
	MinerSign        []byte            `protobuf:"bytes,5,opt,name=miner_sign,json=minerSign,proto3" json:"miner_sign,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestVerifyCommitAndAccProof) Descriptor deprecated added in v0.1.8

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

Deprecated: Use RequestVerifyCommitAndAccProof.ProtoReflect.Descriptor instead.

func (*RequestVerifyCommitAndAccProof) GetAccProof added in v0.1.8

func (x *RequestVerifyCommitAndAccProof) GetAccProof() *AccProof

func (*RequestVerifyCommitAndAccProof) GetCommitProofGroup added in v0.1.8

func (x *RequestVerifyCommitAndAccProof) GetCommitProofGroup() *CommitProofGroup

func (*RequestVerifyCommitAndAccProof) GetMinerId added in v0.1.8

func (x *RequestVerifyCommitAndAccProof) GetMinerId() []byte

func (*RequestVerifyCommitAndAccProof) GetMinerSign added in v0.2.0

func (x *RequestVerifyCommitAndAccProof) GetMinerSign() []byte

func (*RequestVerifyCommitAndAccProof) GetPoisInfo added in v0.2.7

func (*RequestVerifyCommitAndAccProof) ProtoMessage added in v0.1.8

func (*RequestVerifyCommitAndAccProof) ProtoMessage()

func (*RequestVerifyCommitAndAccProof) ProtoReflect added in v0.1.8

func (*RequestVerifyCommitAndAccProof) Reset added in v0.1.8

func (x *RequestVerifyCommitAndAccProof) Reset()

func (*RequestVerifyCommitAndAccProof) String added in v0.1.8

type RequestVerifyDeletionProof added in v0.1.10

type RequestVerifyDeletionProof struct {
	Roots     [][]byte        `protobuf:"bytes,1,rep,name=roots,proto3" json:"roots,omitempty"`
	WitChain  *AccWitnessNode `protobuf:"bytes,2,opt,name=wit_chain,json=witChain,proto3" json:"wit_chain,omitempty"`
	AccPath   [][]byte        `protobuf:"bytes,3,rep,name=acc_path,json=accPath,proto3" json:"acc_path,omitempty"`
	MinerId   []byte          `protobuf:"bytes,4,opt,name=miner_id,json=minerId,proto3" json:"miner_id,omitempty"`
	PoisInfo  *MinerPoisInfo  `protobuf:"bytes,5,opt,name=pois_info,json=poisInfo,proto3" json:"pois_info,omitempty"`
	MinerSign []byte          `protobuf:"bytes,6,opt,name=miner_sign,json=minerSign,proto3" json:"miner_sign,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestVerifyDeletionProof) Descriptor deprecated added in v0.1.10

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

Deprecated: Use RequestVerifyDeletionProof.ProtoReflect.Descriptor instead.

func (*RequestVerifyDeletionProof) GetAccPath added in v0.1.10

func (x *RequestVerifyDeletionProof) GetAccPath() [][]byte

func (*RequestVerifyDeletionProof) GetMinerId added in v0.1.10

func (x *RequestVerifyDeletionProof) GetMinerId() []byte

func (*RequestVerifyDeletionProof) GetMinerSign added in v0.2.0

func (x *RequestVerifyDeletionProof) GetMinerSign() []byte

func (*RequestVerifyDeletionProof) GetPoisInfo added in v0.2.0

func (x *RequestVerifyDeletionProof) GetPoisInfo() *MinerPoisInfo

func (*RequestVerifyDeletionProof) GetRoots added in v0.1.10

func (x *RequestVerifyDeletionProof) GetRoots() [][]byte

func (*RequestVerifyDeletionProof) GetWitChain added in v0.1.10

func (x *RequestVerifyDeletionProof) GetWitChain() *AccWitnessNode

func (*RequestVerifyDeletionProof) ProtoMessage added in v0.1.10

func (*RequestVerifyDeletionProof) ProtoMessage()

func (*RequestVerifyDeletionProof) ProtoReflect added in v0.1.10

func (*RequestVerifyDeletionProof) Reset added in v0.1.10

func (x *RequestVerifyDeletionProof) Reset()

func (*RequestVerifyDeletionProof) String added in v0.1.10

func (x *RequestVerifyDeletionProof) String() string

type ResponseBatchVerify added in v0.1.10

type ResponseBatchVerify struct {
	BatchVerifyResult  bool     `protobuf:"varint,1,opt,name=batch_verify_result,json=batchVerifyResult,proto3" json:"batch_verify_result,omitempty"`
	TeeAccountId       []byte   `protobuf:"bytes,2,opt,name=tee_account_id,json=teeAccountId,proto3" json:"tee_account_id,omitempty"`
	ServiceBloomFilter []uint64 `protobuf:"varint,3,rep,packed,name=service_bloom_filter,json=serviceBloomFilter,proto3" json:"service_bloom_filter,omitempty"`
	Signature          []byte   `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseBatchVerify) Descriptor deprecated added in v0.1.10

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

Deprecated: Use ResponseBatchVerify.ProtoReflect.Descriptor instead.

func (*ResponseBatchVerify) GetBatchVerifyResult added in v0.1.10

func (x *ResponseBatchVerify) GetBatchVerifyResult() bool

func (*ResponseBatchVerify) GetServiceBloomFilter added in v0.1.10

func (x *ResponseBatchVerify) GetServiceBloomFilter() []uint64

func (*ResponseBatchVerify) GetSignature added in v0.1.10

func (x *ResponseBatchVerify) GetSignature() []byte

func (*ResponseBatchVerify) GetTeeAccountId added in v0.1.12

func (x *ResponseBatchVerify) GetTeeAccountId() []byte

func (*ResponseBatchVerify) ProtoMessage added in v0.1.10

func (*ResponseBatchVerify) ProtoMessage()

func (*ResponseBatchVerify) ProtoReflect added in v0.1.10

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

func (*ResponseBatchVerify) Reset added in v0.1.10

func (x *ResponseBatchVerify) Reset()

func (*ResponseBatchVerify) String added in v0.1.10

func (x *ResponseBatchVerify) String() string

type ResponseGenTag added in v0.1.10

type ResponseGenTag struct {
	Processing bool       `protobuf:"varint,1,opt,name=processing,proto3" json:"processing,omitempty"`
	Msg        *GenTagMsg `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseGenTag) Descriptor deprecated added in v0.1.10

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

Deprecated: Use ResponseGenTag.ProtoReflect.Descriptor instead.

func (*ResponseGenTag) GetMsg added in v0.3.2

func (x *ResponseGenTag) GetMsg() *GenTagMsg

func (*ResponseGenTag) GetProcessing added in v0.3.2

func (x *ResponseGenTag) GetProcessing() bool

func (*ResponseGenTag) ProtoMessage added in v0.1.10

func (*ResponseGenTag) ProtoMessage()

func (*ResponseGenTag) ProtoReflect added in v0.1.10

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

func (*ResponseGenTag) Reset added in v0.1.10

func (x *ResponseGenTag) Reset()

func (*ResponseGenTag) String added in v0.1.10

func (x *ResponseGenTag) String() string

type ResponseMinerInitParam added in v0.1.8

type ResponseMinerInitParam struct {
	Acc                        []byte `protobuf:"bytes,1,opt,name=acc,proto3" json:"acc,omitempty"`                        //init value is from g in RsaKey
	KeyN                       []byte `protobuf:"bytes,2,opt,name=key_n,json=keyN,proto3" json:"key_n,omitempty"`          //RsaKey n
	KeyG                       []byte `protobuf:"bytes,3,opt,name=key_g,json=keyG,proto3" json:"key_g,omitempty"`          //RsaKey g
	Front                      int64  `protobuf:"varint,4,opt,name=front,proto3" json:"front,omitempty"`                   //begin with 0
	Rear                       int64  `protobuf:"varint,5,opt,name=rear,proto3" json:"rear,omitempty"`                     //begin with 0
	MinerId                    []byte `protobuf:"bytes,6,opt,name=miner_id,json=minerId,proto3" json:"miner_id,omitempty"` //miner id
	StatusTeeSign              []byte `protobuf:"bytes,7,opt,name=status_tee_sign,json=statusTeeSign,proto3" json:"status_tee_sign,omitempty"`
	SignatureWithTeeController []byte `` //sig all
	/* 143-byte string literal not displayed */
	Podr2Pbk []byte `protobuf:"bytes,9,opt,name=podr2_pbk,json=podr2Pbk,proto3" json:"podr2_pbk,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseMinerInitParam) Descriptor deprecated added in v0.1.8

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

Deprecated: Use ResponseMinerInitParam.ProtoReflect.Descriptor instead.

func (*ResponseMinerInitParam) GetAcc added in v0.1.8

func (x *ResponseMinerInitParam) GetAcc() []byte

func (*ResponseMinerInitParam) GetFront added in v0.1.8

func (x *ResponseMinerInitParam) GetFront() int64

func (*ResponseMinerInitParam) GetKeyG added in v0.1.8

func (x *ResponseMinerInitParam) GetKeyG() []byte

func (*ResponseMinerInitParam) GetKeyN added in v0.1.8

func (x *ResponseMinerInitParam) GetKeyN() []byte

func (*ResponseMinerInitParam) GetMinerId added in v0.1.8

func (x *ResponseMinerInitParam) GetMinerId() []byte

func (*ResponseMinerInitParam) GetPodr2Pbk added in v0.2.13

func (x *ResponseMinerInitParam) GetPodr2Pbk() []byte

func (*ResponseMinerInitParam) GetRear added in v0.1.8

func (x *ResponseMinerInitParam) GetRear() int64

func (*ResponseMinerInitParam) GetSignatureWithTeeController added in v0.2.9

func (x *ResponseMinerInitParam) GetSignatureWithTeeController() []byte

func (*ResponseMinerInitParam) GetStatusTeeSign added in v0.2.9

func (x *ResponseMinerInitParam) GetStatusTeeSign() []byte

func (*ResponseMinerInitParam) ProtoMessage added in v0.1.8

func (*ResponseMinerInitParam) ProtoMessage()

func (*ResponseMinerInitParam) ProtoReflect added in v0.1.8

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

func (*ResponseMinerInitParam) Reset added in v0.1.8

func (x *ResponseMinerInitParam) Reset()

func (*ResponseMinerInitParam) String added in v0.1.8

func (x *ResponseMinerInitParam) String() string

type ResponseSpaceProofVerify added in v0.1.8

type ResponseSpaceProofVerify struct {
	Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseSpaceProofVerify) Descriptor deprecated added in v0.1.8

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

Deprecated: Use ResponseSpaceProofVerify.ProtoReflect.Descriptor instead.

func (*ResponseSpaceProofVerify) GetSignature added in v0.1.8

func (x *ResponseSpaceProofVerify) GetSignature() []byte

func (*ResponseSpaceProofVerify) ProtoMessage added in v0.1.8

func (*ResponseSpaceProofVerify) ProtoMessage()

func (*ResponseSpaceProofVerify) ProtoReflect added in v0.1.8

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

func (*ResponseSpaceProofVerify) Reset added in v0.1.8

func (x *ResponseSpaceProofVerify) Reset()

func (*ResponseSpaceProofVerify) String added in v0.1.8

func (x *ResponseSpaceProofVerify) String() string

type ResponseSpaceProofVerifyTotal added in v0.1.8

type ResponseSpaceProofVerifyTotal struct {
	MinerId    []byte `protobuf:"bytes,1,opt,name=miner_id,json=minerId,proto3" json:"miner_id,omitempty"`
	IdleResult bool   `protobuf:"varint,2,opt,name=idle_result,json=idleResult,proto3" json:"idle_result,omitempty"`
	Signature  []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseSpaceProofVerifyTotal) Descriptor deprecated added in v0.1.8

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

Deprecated: Use ResponseSpaceProofVerifyTotal.ProtoReflect.Descriptor instead.

func (*ResponseSpaceProofVerifyTotal) GetIdleResult added in v0.1.8

func (x *ResponseSpaceProofVerifyTotal) GetIdleResult() bool

func (*ResponseSpaceProofVerifyTotal) GetMinerId added in v0.1.8

func (x *ResponseSpaceProofVerifyTotal) GetMinerId() []byte

func (*ResponseSpaceProofVerifyTotal) GetSignature added in v0.1.8

func (x *ResponseSpaceProofVerifyTotal) GetSignature() []byte

func (*ResponseSpaceProofVerifyTotal) ProtoMessage added in v0.1.8

func (*ResponseSpaceProofVerifyTotal) ProtoMessage()

func (*ResponseSpaceProofVerifyTotal) ProtoReflect added in v0.1.8

func (*ResponseSpaceProofVerifyTotal) Reset added in v0.1.8

func (x *ResponseSpaceProofVerifyTotal) Reset()

func (*ResponseSpaceProofVerifyTotal) String added in v0.1.8

type ResponseSpaceProofVerifyTotalSignatureMember added in v0.1.10

type ResponseSpaceProofVerifyTotalSignatureMember struct {
	MinerId        []byte  `protobuf:"bytes,1,opt,name=miner_id,json=minerId,proto3" json:"miner_id,omitempty"`
	TotalProofHash []byte  `protobuf:"bytes,2,opt,name=total_proof_hash,json=totalProofHash,proto3" json:"total_proof_hash,omitempty"`
	Front          int64   `protobuf:"varint,3,opt,name=front,proto3" json:"front,omitempty"`
	Rear           int64   `protobuf:"varint,4,opt,name=rear,proto3" json:"rear,omitempty"`
	Acc            []byte  `protobuf:"bytes,5,opt,name=acc,proto3" json:"acc,omitempty"`
	SpaceChals     []int64 `protobuf:"varint,6,rep,packed,name=space_chals,json=spaceChals,proto3" json:"space_chals,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseSpaceProofVerifyTotalSignatureMember) Descriptor deprecated added in v0.1.10

Deprecated: Use ResponseSpaceProofVerifyTotalSignatureMember.ProtoReflect.Descriptor instead.

func (*ResponseSpaceProofVerifyTotalSignatureMember) GetAcc added in v0.1.10

func (*ResponseSpaceProofVerifyTotalSignatureMember) GetFront added in v0.1.10

func (*ResponseSpaceProofVerifyTotalSignatureMember) GetMinerId added in v0.1.10

func (*ResponseSpaceProofVerifyTotalSignatureMember) GetRear added in v0.1.10

func (*ResponseSpaceProofVerifyTotalSignatureMember) GetSpaceChals added in v0.1.10

func (*ResponseSpaceProofVerifyTotalSignatureMember) GetTotalProofHash added in v0.1.10

func (x *ResponseSpaceProofVerifyTotalSignatureMember) GetTotalProofHash() []byte

func (*ResponseSpaceProofVerifyTotalSignatureMember) ProtoMessage added in v0.1.10

func (*ResponseSpaceProofVerifyTotalSignatureMember) ProtoReflect added in v0.1.10

func (*ResponseSpaceProofVerifyTotalSignatureMember) Reset added in v0.1.10

func (*ResponseSpaceProofVerifyTotalSignatureMember) String added in v0.1.10

type ResponseVerifyCommitOrDeletionProof added in v0.1.10

type ResponseVerifyCommitOrDeletionProof struct {
	PoisStatus                 *PoisStatus `protobuf:"bytes,1,opt,name=pois_status,json=poisStatus,proto3" json:"pois_status,omitempty"`
	StatusTeeSign              []byte      `protobuf:"bytes,2,opt,name=status_tee_sign,json=statusTeeSign,proto3" json:"status_tee_sign,omitempty"`
	SignatureWithTeeController []byte      `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ResponseVerifyCommitOrDeletionProof) Descriptor deprecated added in v0.1.10

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

Deprecated: Use ResponseVerifyCommitOrDeletionProof.ProtoReflect.Descriptor instead.

func (*ResponseVerifyCommitOrDeletionProof) GetPoisStatus added in v0.1.10

func (x *ResponseVerifyCommitOrDeletionProof) GetPoisStatus() *PoisStatus

func (*ResponseVerifyCommitOrDeletionProof) GetSignatureWithTeeController added in v0.2.9

func (x *ResponseVerifyCommitOrDeletionProof) GetSignatureWithTeeController() []byte

func (*ResponseVerifyCommitOrDeletionProof) GetStatusTeeSign added in v0.2.9

func (x *ResponseVerifyCommitOrDeletionProof) GetStatusTeeSign() []byte

func (*ResponseVerifyCommitOrDeletionProof) ProtoMessage added in v0.1.10

func (*ResponseVerifyCommitOrDeletionProof) ProtoMessage()

func (*ResponseVerifyCommitOrDeletionProof) ProtoReflect added in v0.1.10

func (*ResponseVerifyCommitOrDeletionProof) Reset added in v0.1.10

func (*ResponseVerifyCommitOrDeletionProof) String added in v0.1.10

type SpaceProof added in v0.1.8

type SpaceProof struct {
	Left      int64             `protobuf:"varint,1,opt,name=left,proto3" json:"left,omitempty"`
	Right     int64             `protobuf:"varint,2,opt,name=right,proto3" json:"right,omitempty"`
	Proofs    []*MhtProofGroup  `protobuf:"bytes,3,rep,name=proofs,proto3" json:"proofs,omitempty"`
	Roots     [][]byte          `protobuf:"bytes,4,rep,name=roots,proto3" json:"roots,omitempty"`
	WitChains []*AccWitnessNode `protobuf:"bytes,5,rep,name=wit_chains,json=witChains,proto3" json:"wit_chains,omitempty"`
	// contains filtered or unexported fields
}

func (*SpaceProof) Descriptor deprecated added in v0.1.8

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

Deprecated: Use SpaceProof.ProtoReflect.Descriptor instead.

func (*SpaceProof) GetLeft added in v0.1.8

func (x *SpaceProof) GetLeft() int64

func (*SpaceProof) GetProofs added in v0.1.8

func (x *SpaceProof) GetProofs() []*MhtProofGroup

func (*SpaceProof) GetRight added in v0.1.8

func (x *SpaceProof) GetRight() int64

func (*SpaceProof) GetRoots added in v0.1.8

func (x *SpaceProof) GetRoots() [][]byte

func (*SpaceProof) GetWitChains added in v0.1.8

func (x *SpaceProof) GetWitChains() []*AccWitnessNode

func (*SpaceProof) ProtoMessage added in v0.1.8

func (*SpaceProof) ProtoMessage()

func (*SpaceProof) ProtoReflect added in v0.1.8

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

func (*SpaceProof) Reset added in v0.1.8

func (x *SpaceProof) Reset()

func (*SpaceProof) String added in v0.1.8

func (x *SpaceProof) String() string

type StatusCode added in v0.1.10

type StatusCode int32
const (
	StatusCode_Success           StatusCode = 0
	StatusCode_Processing        StatusCode = 1
	StatusCode_InvalidParameters StatusCode = 10001
	StatusCode_InvalidPath       StatusCode = 10002
	StatusCode_InternalError     StatusCode = 10003
	StatusCode_OutOfMemory       StatusCode = 10004
	StatusCode_AlgorithmError    StatusCode = 10005
	StatusCode_UnknownError      StatusCode = 10006
)

func (StatusCode) Descriptor added in v0.1.10

func (StatusCode) Descriptor() protoreflect.EnumDescriptor

func (StatusCode) Enum added in v0.1.10

func (x StatusCode) Enum() *StatusCode

func (StatusCode) EnumDescriptor deprecated added in v0.1.10

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

Deprecated: Use StatusCode.Descriptor instead.

func (StatusCode) Number added in v0.1.10

func (x StatusCode) Number() protoreflect.EnumNumber

func (StatusCode) String added in v0.1.10

func (x StatusCode) String() string

func (StatusCode) Type added in v0.1.10

type Tag added in v0.0.15

type Tag struct {
	T       *Tag_T `protobuf:"bytes,1,opt,name=t,proto3" json:"t,omitempty"`
	PhiHash string `protobuf:"bytes,2,opt,name=phi_hash,json=phiHash,proto3" json:"phi_hash,omitempty"`
	Attest  string `protobuf:"bytes,3,opt,name=attest,proto3" json:"attest,omitempty"`
	// contains filtered or unexported fields
}

func (*Tag) Descriptor deprecated added in v0.0.15

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

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetAttest added in v0.0.15

func (x *Tag) GetAttest() string

func (*Tag) GetPhiHash added in v0.0.15

func (x *Tag) GetPhiHash() string

func (*Tag) GetT added in v0.0.15

func (x *Tag) GetT() *Tag_T

func (*Tag) ProtoMessage added in v0.0.15

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect added in v0.0.15

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

func (*Tag) Reset added in v0.0.15

func (x *Tag) Reset()

func (*Tag) String added in v0.0.15

func (x *Tag) String() string

type Tag_T added in v0.1.10

type Tag_T struct {
	Name string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	U    string   `protobuf:"bytes,2,opt,name=u,proto3" json:"u,omitempty"`
	Phi  []string `protobuf:"bytes,3,rep,name=phi,proto3" json:"phi,omitempty"`
	// contains filtered or unexported fields
}

func (*Tag_T) Descriptor deprecated added in v0.1.10

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

Deprecated: Use Tag_T.ProtoReflect.Descriptor instead.

func (*Tag_T) GetName added in v0.1.10

func (x *Tag_T) GetName() string

func (*Tag_T) GetPhi added in v0.1.10

func (x *Tag_T) GetPhi() []string

func (*Tag_T) GetU added in v0.1.10

func (x *Tag_T) GetU() string

func (*Tag_T) ProtoMessage added in v0.1.10

func (*Tag_T) ProtoMessage()

func (*Tag_T) ProtoReflect added in v0.1.10

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

func (*Tag_T) Reset added in v0.1.10

func (x *Tag_T) Reset()

func (*Tag_T) String added in v0.1.10

func (x *Tag_T) String() string

type UnimplementedCesealPubkeysProviderServer added in v0.3.1

type UnimplementedCesealPubkeysProviderServer struct {
}

UnimplementedCesealPubkeysProviderServer must be embedded to have forward compatible implementations.

func (UnimplementedCesealPubkeysProviderServer) GetIdentityPubkey added in v0.3.1

func (UnimplementedCesealPubkeysProviderServer) GetMasterPubkey added in v0.3.1

func (UnimplementedCesealPubkeysProviderServer) GetPodr2Pubkey added in v0.3.1

type UnimplementedPodr2ApiServer added in v0.1.10

type UnimplementedPodr2ApiServer struct {
}

UnimplementedPodr2ApiServer must be embedded to have forward compatible implementations.

func (UnimplementedPodr2ApiServer) Echo added in v0.2.12

func (UnimplementedPodr2ApiServer) RequestGenTag added in v0.1.10

type UnimplementedPodr2VerifierApiServer added in v0.2.7

type UnimplementedPodr2VerifierApiServer struct {
}

UnimplementedPodr2VerifierApiServer must be embedded to have forward compatible implementations.

func (UnimplementedPodr2VerifierApiServer) RequestBatchVerify added in v0.2.7

type UnimplementedPoisCertifierApiServer added in v0.2.7

type UnimplementedPoisCertifierApiServer struct {
}

UnimplementedPoisCertifierApiServer must be embedded to have forward compatible implementations.

func (UnimplementedPoisCertifierApiServer) RequestMinerCommitGenChall added in v0.2.7

func (UnimplementedPoisCertifierApiServer) RequestMinerGetNewKey added in v0.2.7

func (UnimplementedPoisCertifierApiServer) RequestVerifyCommitProof added in v0.2.7

func (UnimplementedPoisCertifierApiServer) RequestVerifyDeletionProof added in v0.2.7

type UnimplementedPoisVerifierApiServer added in v0.2.7

type UnimplementedPoisVerifierApiServer struct {
}

UnimplementedPoisVerifierApiServer must be embedded to have forward compatible implementations.

func (UnimplementedPoisVerifierApiServer) RequestSpaceProofVerifySingleBlock added in v0.2.7

func (UnimplementedPoisVerifierApiServer) RequestVerifySpaceTotal added in v0.2.7

type UnsafeCesealPubkeysProviderServer added in v0.3.1

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

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

type UnsafePodr2ApiServer added in v0.1.10

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

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

type UnsafePodr2VerifierApiServer added in v0.2.7

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

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

type UnsafePoisCertifierApiServer added in v0.2.7

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

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

type UnsafePoisVerifierApiServer added in v0.2.7

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

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

type WritefileRequest

type WritefileRequest struct {

	// Roothash uniquely identifies a user data
	Roothash string `protobuf:"bytes,1,opt,name=Roothash,proto3" json:"Roothash,omitempty"`
	// Datahash is the currently written data hash value
	Datahash string `protobuf:"bytes,2,opt,name=Datahash,proto3" json:"Datahash,omitempty"`
	// Data is the data written this time
	Data []byte `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"`
	// MessageData is a generic message
	MessageData *MessageData `protobuf:"bytes,4,opt,name=messageData,proto3" json:"messageData,omitempty"`
	// Offset is the offset of this write
	Offset int64 `protobuf:"varint,5,opt,name=Offset,proto3" json:"Offset,omitempty"`
	// Length is the length of the data written this time
	Length uint32 `protobuf:"varint,6,opt,name=Length,proto3" json:"Length,omitempty"`
	// contains filtered or unexported fields
}

a protocol define a set of reuqest and responses

func (*WritefileRequest) Descriptor deprecated

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

Deprecated: Use WritefileRequest.ProtoReflect.Descriptor instead.

func (*WritefileRequest) GetData

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

func (*WritefileRequest) GetDatahash

func (x *WritefileRequest) GetDatahash() string

func (*WritefileRequest) GetLength

func (x *WritefileRequest) GetLength() uint32

func (*WritefileRequest) GetMessageData

func (x *WritefileRequest) GetMessageData() *MessageData

func (*WritefileRequest) GetOffset

func (x *WritefileRequest) GetOffset() int64

func (*WritefileRequest) GetRoothash

func (x *WritefileRequest) GetRoothash() string

func (*WritefileRequest) ProtoMessage

func (*WritefileRequest) ProtoMessage()

func (*WritefileRequest) ProtoReflect added in v0.2.6

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

func (*WritefileRequest) Reset

func (x *WritefileRequest) Reset()

func (*WritefileRequest) String

func (x *WritefileRequest) String() string

type WritefileResponse

type WritefileResponse struct {

	// MessageData is a generic message
	MessageData *MessageData `protobuf:"bytes,1,opt,name=messageData,proto3" json:"messageData,omitempty"`
	// Offset is the write offset the receiver wants
	Offset int64 `protobuf:"varint,2,opt,name=Offset,proto3" json:"Offset,omitempty"`
	// Code indicates the result of this transfer
	Code uint32 `protobuf:"varint,3,opt,name=Code,proto3" json:"Code,omitempty"`
	// contains filtered or unexported fields
}

func (*WritefileResponse) Descriptor deprecated

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

Deprecated: Use WritefileResponse.ProtoReflect.Descriptor instead.

func (*WritefileResponse) GetCode

func (x *WritefileResponse) GetCode() uint32

func (*WritefileResponse) GetMessageData

func (x *WritefileResponse) GetMessageData() *MessageData

func (*WritefileResponse) GetOffset

func (x *WritefileResponse) GetOffset() int64

func (*WritefileResponse) ProtoMessage

func (*WritefileResponse) ProtoMessage()

func (*WritefileResponse) ProtoReflect added in v0.2.6

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

func (*WritefileResponse) Reset

func (x *WritefileResponse) Reset()

func (*WritefileResponse) String

func (x *WritefileResponse) String() string

Jump to

Keyboard shortcuts

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