pb

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Podr2Api_RequestGenTag_FullMethodName = "/podr2.Podr2Api/request_gen_tag"
	Podr2Api_Echo_FullMethodName          = "/podr2.Podr2Api/Echo"
)
View Source
const (
	Podr2VerifierApi_RequestBatchVerify_FullMethodName        = "/podr2.Podr2VerifierApi/request_batch_verify"
	Podr2VerifierApi_RequestAggregateSignature_FullMethodName = "/podr2.Podr2VerifierApi/request_aggregate_signature"
)
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"
)

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,
		},
		{
			MethodName: "request_aggregate_signature",
			Handler:    _Podr2VerifierApi_RequestAggregateSignature_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

func RegisterCesealPubkeysProviderServer(s grpc.ServiceRegistrar, srv CesealPubkeysProviderServer)

func RegisterPodr2ApiServer

func RegisterPodr2ApiServer(s grpc.ServiceRegistrar, srv Podr2ApiServer)

func RegisterPodr2VerifierApiServer

func RegisterPodr2VerifierApiServer(s grpc.ServiceRegistrar, srv Podr2VerifierApiServer)

func RegisterPoisCertifierApiServer

func RegisterPoisCertifierApiServer(s grpc.ServiceRegistrar, srv PoisCertifierApiServer)

func RegisterPoisVerifierApiServer

func RegisterPoisVerifierApiServer(s grpc.ServiceRegistrar, srv PoisVerifierApiServer)

Types

type AccProof

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

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

Deprecated: Use AccProof.ProtoReflect.Descriptor instead.

func (*AccProof) GetAccPath

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

func (*AccProof) GetIndexs

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

func (*AccProof) GetLabels

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

func (*AccProof) GetWitChains

func (x *AccProof) GetWitChains() *AccWitnessNode

func (*AccProof) ProtoMessage

func (*AccProof) ProtoMessage()

func (*AccProof) ProtoReflect

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

func (*AccProof) Reset

func (x *AccProof) Reset()

func (*AccProof) String

func (x *AccProof) String() string

type AccWitnessNode

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

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

Deprecated: Use AccWitnessNode.ProtoReflect.Descriptor instead.

func (*AccWitnessNode) GetAcc

func (x *AccWitnessNode) GetAcc() *AccWitnessNode

func (*AccWitnessNode) GetElem

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

func (*AccWitnessNode) GetWit

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

func (*AccWitnessNode) ProtoMessage

func (*AccWitnessNode) ProtoMessage()

func (*AccWitnessNode) ProtoReflect

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

func (*AccWitnessNode) Reset

func (x *AccWitnessNode) Reset()

func (*AccWitnessNode) String

func (x *AccWitnessNode) String() string

type BlocksProof

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

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

Deprecated: Use BlocksProof.ProtoReflect.Descriptor instead.

func (*BlocksProof) GetProofHashAndLeftRight

func (x *BlocksProof) GetProofHashAndLeftRight() *ProofHashAndLeftRight

func (*BlocksProof) GetSignature

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

func (*BlocksProof) ProtoMessage

func (*BlocksProof) ProtoMessage()

func (*BlocksProof) ProtoReflect

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

func (*BlocksProof) Reset

func (x *BlocksProof) Reset()

func (*BlocksProof) String

func (x *BlocksProof) String() string

type CesealPubkeysProviderClient

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.

type CesealPubkeysProviderServer

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

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

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

Deprecated: Use Challenge.ProtoReflect.Descriptor instead.

func (*Challenge) GetChallTeeSign

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

func (*Challenge) GetRows

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

func (*Challenge) ProtoMessage

func (*Challenge) ProtoMessage()

func (*Challenge) ProtoReflect

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

func (*Challenge) Reset

func (x *Challenge) Reset()

func (*Challenge) String

func (x *Challenge) String() string

type CommitProof

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

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

Deprecated: Use CommitProof.ProtoReflect.Descriptor instead.

func (*CommitProof) GetElders

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

func (*CommitProof) GetNode

func (x *CommitProof) GetNode() *MhtProof

func (*CommitProof) GetParents

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

func (*CommitProof) ProtoMessage

func (*CommitProof) ProtoMessage()

func (*CommitProof) ProtoReflect

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

func (*CommitProof) Reset

func (x *CommitProof) Reset()

func (*CommitProof) String

func (x *CommitProof) String() string

type CommitProofGroup

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

func (*CommitProofGroup) Descriptor deprecated

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

Deprecated: Use CommitProofGroup.ProtoReflect.Descriptor instead.

func (*CommitProofGroup) GetCommitProofGroupInner

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

func (*CommitProofGroup) ProtoMessage

func (*CommitProofGroup) ProtoMessage()

func (*CommitProofGroup) ProtoReflect

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

func (*CommitProofGroup) Reset

func (x *CommitProofGroup) Reset()

func (*CommitProofGroup) String

func (x *CommitProofGroup) String() string

type CommitProofGroupInner

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

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

Deprecated: Use CommitProofGroupInner.ProtoReflect.Descriptor instead.

func (*CommitProofGroupInner) GetCommitProof

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

func (*CommitProofGroupInner) ProtoMessage

func (*CommitProofGroupInner) ProtoMessage()

func (*CommitProofGroupInner) ProtoReflect

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

func (*CommitProofGroupInner) Reset

func (x *CommitProofGroupInner) Reset()

func (*CommitProofGroupInner) String

func (x *CommitProofGroupInner) String() string

type Commits

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

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

Deprecated: Use Commits.ProtoReflect.Descriptor instead.

func (*Commits) GetFileIndexs

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

func (*Commits) GetRoots

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

func (*Commits) ProtoMessage

func (*Commits) ProtoMessage()

func (*Commits) ProtoReflect

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

func (*Commits) Reset

func (x *Commits) Reset()

func (*Commits) String

func (x *Commits) String() string

type DigestInfo

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

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

Deprecated: Use DigestInfo.ProtoReflect.Descriptor instead.

func (*DigestInfo) GetFragmentName

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

func (*DigestInfo) GetTeeAccountId

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

func (*DigestInfo) ProtoMessage

func (*DigestInfo) ProtoMessage()

func (*DigestInfo) ProtoReflect

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

func (*DigestInfo) Reset

func (x *DigestInfo) Reset()

func (*DigestInfo) String

func (x *DigestInfo) String() string

type EchoMessage

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

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

Deprecated: Use EchoMessage.ProtoReflect.Descriptor instead.

func (*EchoMessage) GetEchoMsg

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

func (*EchoMessage) ProtoMessage

func (*EchoMessage) ProtoMessage()

func (*EchoMessage) ProtoReflect

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

func (*EchoMessage) Reset

func (x *EchoMessage) Reset()

func (*EchoMessage) String

func (x *EchoMessage) String() string

type GenTagMsg

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

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

Deprecated: Use GenTagMsg.ProtoReflect.Descriptor instead.

func (*GenTagMsg) GetSignature

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

func (*GenTagMsg) GetTag

func (x *GenTagMsg) GetTag() *Tag

func (*GenTagMsg) GetUSig

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

func (*GenTagMsg) ProtoMessage

func (*GenTagMsg) ProtoMessage()

func (*GenTagMsg) ProtoReflect

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

func (*GenTagMsg) Reset

func (x *GenTagMsg) Reset()

func (*GenTagMsg) String

func (x *GenTagMsg) String() string

type IdentityPubkeyResponse

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

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

Deprecated: Use IdentityPubkeyResponse.ProtoReflect.Descriptor instead.

func (*IdentityPubkeyResponse) GetPubkey

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

func (*IdentityPubkeyResponse) GetSignature

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

func (*IdentityPubkeyResponse) GetTimestamp

func (x *IdentityPubkeyResponse) GetTimestamp() int64

func (*IdentityPubkeyResponse) ProtoMessage

func (*IdentityPubkeyResponse) ProtoMessage()

func (*IdentityPubkeyResponse) ProtoReflect

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

func (*IdentityPubkeyResponse) Reset

func (x *IdentityPubkeyResponse) Reset()

func (*IdentityPubkeyResponse) String

func (x *IdentityPubkeyResponse) String() string

type Int64Slice

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

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

Deprecated: Use Int64Slice.ProtoReflect.Descriptor instead.

func (*Int64Slice) GetValues

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

func (*Int64Slice) ProtoMessage

func (*Int64Slice) ProtoMessage()

func (*Int64Slice) ProtoReflect

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

func (*Int64Slice) Reset

func (x *Int64Slice) Reset()

func (*Int64Slice) String

func (x *Int64Slice) String() string

type MasterPubkeyResponse

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

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

Deprecated: Use MasterPubkeyResponse.ProtoReflect.Descriptor instead.

func (*MasterPubkeyResponse) GetPubkey

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

func (*MasterPubkeyResponse) GetSignature

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

func (*MasterPubkeyResponse) GetTimestamp

func (x *MasterPubkeyResponse) GetTimestamp() int64

func (*MasterPubkeyResponse) ProtoMessage

func (*MasterPubkeyResponse) ProtoMessage()

func (*MasterPubkeyResponse) ProtoReflect

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

func (*MasterPubkeyResponse) Reset

func (x *MasterPubkeyResponse) Reset()

func (*MasterPubkeyResponse) String

func (x *MasterPubkeyResponse) String() string

type MhtProof

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

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

Deprecated: Use MhtProof.ProtoReflect.Descriptor instead.

func (*MhtProof) GetIndex

func (x *MhtProof) GetIndex() int32

func (*MhtProof) GetLabel

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

func (*MhtProof) GetLocs

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

func (*MhtProof) GetPaths

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

func (*MhtProof) ProtoMessage

func (*MhtProof) ProtoMessage()

func (*MhtProof) ProtoReflect

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

func (*MhtProof) Reset

func (x *MhtProof) Reset()

func (*MhtProof) String

func (x *MhtProof) String() string

type MhtProofGroup

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

func (*MhtProofGroup) Descriptor deprecated

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

Deprecated: Use MhtProofGroup.ProtoReflect.Descriptor instead.

func (*MhtProofGroup) GetProofs

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

func (*MhtProofGroup) ProtoMessage

func (*MhtProofGroup) ProtoMessage()

func (*MhtProofGroup) ProtoReflect

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

func (*MhtProofGroup) Reset

func (x *MhtProofGroup) Reset()

func (*MhtProofGroup) String

func (x *MhtProofGroup) String() string

type MinerPoisInfo

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

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

Deprecated: Use MinerPoisInfo.ProtoReflect.Descriptor instead.

func (*MinerPoisInfo) GetAcc

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

func (*MinerPoisInfo) GetFront

func (x *MinerPoisInfo) GetFront() int64

func (*MinerPoisInfo) GetKeyG

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

func (*MinerPoisInfo) GetKeyN

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

func (*MinerPoisInfo) GetRear

func (x *MinerPoisInfo) GetRear() int64

func (*MinerPoisInfo) GetStatusTeeSign

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

func (*MinerPoisInfo) ProtoMessage

func (*MinerPoisInfo) ProtoMessage()

func (*MinerPoisInfo) ProtoReflect

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

func (*MinerPoisInfo) Reset

func (x *MinerPoisInfo) Reset()

func (*MinerPoisInfo) String

func (x *MinerPoisInfo) String() string

type Podr2ApiClient

type Podr2ApiClient interface {
	RequestGenTag(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[RequestGenTag, ResponseGenTag], 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

func NewPodr2ApiClient(cc grpc.ClientConnInterface) Podr2ApiClient

type Podr2ApiServer

type Podr2ApiServer interface {
	RequestGenTag(grpc.BidiStreamingServer[RequestGenTag, ResponseGenTag]) 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

type Podr2Api_RequestGenTagClient = grpc.BidiStreamingClient[RequestGenTag, ResponseGenTag]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Podr2Api_RequestGenTagServer

type Podr2Api_RequestGenTagServer = grpc.BidiStreamingServer[RequestGenTag, ResponseGenTag]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Podr2PubkeyResponse

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

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

Deprecated: Use Podr2PubkeyResponse.ProtoReflect.Descriptor instead.

func (*Podr2PubkeyResponse) GetPubkey

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

func (*Podr2PubkeyResponse) GetSignature

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

func (*Podr2PubkeyResponse) GetTimestamp

func (x *Podr2PubkeyResponse) GetTimestamp() int64

func (*Podr2PubkeyResponse) ProtoMessage

func (*Podr2PubkeyResponse) ProtoMessage()

func (*Podr2PubkeyResponse) ProtoReflect

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

func (*Podr2PubkeyResponse) Reset

func (x *Podr2PubkeyResponse) Reset()

func (*Podr2PubkeyResponse) String

func (x *Podr2PubkeyResponse) String() string

type Podr2VerifierApiClient

type Podr2VerifierApiClient interface {
	RequestBatchVerify(ctx context.Context, in *RequestBatchVerify, opts ...grpc.CallOption) (*ResponseBatchVerify, error)
	RequestAggregateSignature(ctx context.Context, in *RequestAggregateSignature, opts ...grpc.CallOption) (*ResponseAggregateSignature, 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.

type Podr2VerifierApiServer

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

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

type PoisCertifierApiClient

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.

type PoisCertifierApiServer

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

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

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

Deprecated: Use PoisStatus.ProtoReflect.Descriptor instead.

func (*PoisStatus) GetAcc

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

func (*PoisStatus) GetFront

func (x *PoisStatus) GetFront() int64

func (*PoisStatus) GetRear

func (x *PoisStatus) GetRear() int64

func (*PoisStatus) ProtoMessage

func (*PoisStatus) ProtoMessage()

func (*PoisStatus) ProtoReflect

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

func (*PoisStatus) Reset

func (x *PoisStatus) Reset()

func (*PoisStatus) String

func (x *PoisStatus) String() string

type PoisVerifierApiClient

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.

type PoisVerifierApiServer

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

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

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

Deprecated: Use ProofHashAndLeftRight.ProtoReflect.Descriptor instead.

func (*ProofHashAndLeftRight) GetLeft

func (x *ProofHashAndLeftRight) GetLeft() int64

func (*ProofHashAndLeftRight) GetRight

func (x *ProofHashAndLeftRight) GetRight() int64

func (*ProofHashAndLeftRight) GetSpaceProofHash

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

func (*ProofHashAndLeftRight) GetTeeId

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

func (*ProofHashAndLeftRight) ProtoMessage

func (*ProofHashAndLeftRight) ProtoMessage()

func (*ProofHashAndLeftRight) ProtoReflect

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

func (*ProofHashAndLeftRight) Reset

func (x *ProofHashAndLeftRight) Reset()

func (*ProofHashAndLeftRight) String

func (x *ProofHashAndLeftRight) String() string

type Qslice

type 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 (*Qslice) Descriptor deprecated

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

Deprecated: Use Qslice.ProtoReflect.Descriptor instead.

func (*Qslice) GetRandomIndexList

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

func (*Qslice) GetRandomList

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

func (*Qslice) ProtoMessage

func (*Qslice) ProtoMessage()

func (*Qslice) ProtoReflect

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

func (*Qslice) Reset

func (x *Qslice) Reset()

func (*Qslice) String

func (x *Qslice) String() string

type Request

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

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

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetStorageMinerAccountId

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

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

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

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

type RequestAggregateSignature

type RequestAggregateSignature struct {
	VerifyInserviceFileHistory []*RequestAggregateSignature_VerifyInServiceFileStructure `` /* 143-byte string literal not displayed */
	Qslices                    *Qslice                                                   `protobuf:"bytes,2,opt,name=qslices,proto3" json:"qslices,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestAggregateSignature) Descriptor deprecated

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

Deprecated: Use RequestAggregateSignature.ProtoReflect.Descriptor instead.

func (*RequestAggregateSignature) GetQslices

func (x *RequestAggregateSignature) GetQslices() *Qslice

func (*RequestAggregateSignature) GetVerifyInserviceFileHistory

func (*RequestAggregateSignature) ProtoMessage

func (*RequestAggregateSignature) ProtoMessage()

func (*RequestAggregateSignature) ProtoReflect

func (*RequestAggregateSignature) Reset

func (x *RequestAggregateSignature) Reset()

func (*RequestAggregateSignature) String

func (x *RequestAggregateSignature) String() string

type RequestAggregateSignature_VerifyInServiceFileStructure

type RequestAggregateSignature_VerifyInServiceFileStructure struct {
	MinerId            []byte   `protobuf:"bytes,1,opt,name=miner_id,json=minerId,proto3" json:"miner_id,omitempty"`
	Result             bool     `protobuf:"varint,2,opt,name=result,proto3" json:"result,omitempty"`
	Sigma              string   `protobuf:"bytes,3,opt,name=sigma,proto3" json:"sigma,omitempty"`
	ServiceBloomFilter []uint64 `protobuf:"varint,4,rep,packed,name=service_bloom_filter,json=serviceBloomFilter,proto3" json:"service_bloom_filter,omitempty"`
	Signature          []byte   `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestAggregateSignature_VerifyInServiceFileStructure) Descriptor deprecated

Deprecated: Use RequestAggregateSignature_VerifyInServiceFileStructure.ProtoReflect.Descriptor instead.

func (*RequestAggregateSignature_VerifyInServiceFileStructure) GetMinerId

func (*RequestAggregateSignature_VerifyInServiceFileStructure) GetResult

func (*RequestAggregateSignature_VerifyInServiceFileStructure) GetServiceBloomFilter

func (*RequestAggregateSignature_VerifyInServiceFileStructure) GetSigma

func (*RequestAggregateSignature_VerifyInServiceFileStructure) GetSignature

func (*RequestAggregateSignature_VerifyInServiceFileStructure) ProtoMessage

func (*RequestAggregateSignature_VerifyInServiceFileStructure) ProtoReflect

func (*RequestAggregateSignature_VerifyInServiceFileStructure) Reset

func (*RequestAggregateSignature_VerifyInServiceFileStructure) String

type RequestBatchVerify

type RequestBatchVerify struct {
	AggProof           *RequestBatchVerify_BatchVerifyParam `protobuf:"bytes,1,opt,name=agg_proof,json=aggProof,proto3" json:"agg_proof,omitempty"`
	Qslices            *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"`
	ServiceBloomFilter []uint64                             `protobuf:"varint,5,rep,packed,name=service_bloom_filter,json=serviceBloomFilter,proto3" json:"service_bloom_filter,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestBatchVerify) Descriptor deprecated

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

Deprecated: Use RequestBatchVerify.ProtoReflect.Descriptor instead.

func (*RequestBatchVerify) GetAggProof

func (*RequestBatchVerify) GetMinerId

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

func (*RequestBatchVerify) GetQslices

func (x *RequestBatchVerify) GetQslices() *Qslice

func (*RequestBatchVerify) GetServiceBloomFilter

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

func (*RequestBatchVerify) GetUSigs

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

func (*RequestBatchVerify) ProtoMessage

func (*RequestBatchVerify) ProtoMessage()

func (*RequestBatchVerify) ProtoReflect

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

func (*RequestBatchVerify) Reset

func (x *RequestBatchVerify) Reset()

func (*RequestBatchVerify) String

func (x *RequestBatchVerify) String() string

type RequestBatchVerify_BatchVerifyParam

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

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

Deprecated: Use RequestBatchVerify_BatchVerifyParam.ProtoReflect.Descriptor instead.

func (*RequestBatchVerify_BatchVerifyParam) GetMus

func (*RequestBatchVerify_BatchVerifyParam) GetNames

func (*RequestBatchVerify_BatchVerifyParam) GetSigma

func (*RequestBatchVerify_BatchVerifyParam) GetUs

func (*RequestBatchVerify_BatchVerifyParam) ProtoMessage

func (*RequestBatchVerify_BatchVerifyParam) ProtoMessage()

func (*RequestBatchVerify_BatchVerifyParam) ProtoReflect

func (*RequestBatchVerify_BatchVerifyParam) Reset

func (*RequestBatchVerify_BatchVerifyParam) String

type RequestGenTag

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

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

Deprecated: Use RequestGenTag.ProtoReflect.Descriptor instead.

func (*RequestGenTag) GetCustomData

func (x *RequestGenTag) GetCustomData() string

func (*RequestGenTag) GetFileName

func (x *RequestGenTag) GetFileName() string

func (*RequestGenTag) GetFragmentData

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

func (*RequestGenTag) GetFragmentName

func (x *RequestGenTag) GetFragmentName() string

func (*RequestGenTag) GetLastTeeSignature

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

func (*RequestGenTag) GetMinerId

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

func (*RequestGenTag) GetTeeDigestList

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

func (*RequestGenTag) ProtoMessage

func (*RequestGenTag) ProtoMessage()

func (*RequestGenTag) ProtoReflect

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

func (*RequestGenTag) Reset

func (x *RequestGenTag) Reset()

func (*RequestGenTag) String

func (x *RequestGenTag) String() string

type RequestMinerCommitGenChall

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

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

Deprecated: Use RequestMinerCommitGenChall.ProtoReflect.Descriptor instead.

func (*RequestMinerCommitGenChall) GetCommit

func (x *RequestMinerCommitGenChall) GetCommit() *Commits

func (*RequestMinerCommitGenChall) GetMinerId

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

func (*RequestMinerCommitGenChall) GetMinerSign

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

func (*RequestMinerCommitGenChall) ProtoMessage

func (*RequestMinerCommitGenChall) ProtoMessage()

func (*RequestMinerCommitGenChall) ProtoReflect

func (*RequestMinerCommitGenChall) Reset

func (x *RequestMinerCommitGenChall) Reset()

func (*RequestMinerCommitGenChall) String

func (x *RequestMinerCommitGenChall) String() string

type RequestMinerInitParam

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

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

Deprecated: Use RequestMinerInitParam.ProtoReflect.Descriptor instead.

func (*RequestMinerInitParam) GetMinerId

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

func (*RequestMinerInitParam) ProtoMessage

func (*RequestMinerInitParam) ProtoMessage()

func (*RequestMinerInitParam) ProtoReflect

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

func (*RequestMinerInitParam) Reset

func (x *RequestMinerInitParam) Reset()

func (*RequestMinerInitParam) String

func (x *RequestMinerInitParam) String() string

type RequestSpaceProofVerify

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

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

Deprecated: Use RequestSpaceProofVerify.ProtoReflect.Descriptor instead.

func (*RequestSpaceProofVerify) GetMinerId

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

func (*RequestSpaceProofVerify) GetMinerSpaceProofHashPolkadotSig

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

func (*RequestSpaceProofVerify) GetPoisInfo

func (x *RequestSpaceProofVerify) GetPoisInfo() *MinerPoisInfo

func (*RequestSpaceProofVerify) GetProof

func (x *RequestSpaceProofVerify) GetProof() *SpaceProof

func (*RequestSpaceProofVerify) GetSpaceChals

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

func (*RequestSpaceProofVerify) ProtoMessage

func (*RequestSpaceProofVerify) ProtoMessage()

func (*RequestSpaceProofVerify) ProtoReflect

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

func (*RequestSpaceProofVerify) Reset

func (x *RequestSpaceProofVerify) Reset()

func (*RequestSpaceProofVerify) String

func (x *RequestSpaceProofVerify) String() string

type RequestSpaceProofVerifyTotal

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

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

Deprecated: Use RequestSpaceProofVerifyTotal.ProtoReflect.Descriptor instead.

func (*RequestSpaceProofVerifyTotal) GetAcc

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

func (*RequestSpaceProofVerifyTotal) GetFront

func (x *RequestSpaceProofVerifyTotal) GetFront() int64

func (*RequestSpaceProofVerifyTotal) GetMinerId

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

func (*RequestSpaceProofVerifyTotal) GetProofList

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

func (*RequestSpaceProofVerifyTotal) GetRear

func (x *RequestSpaceProofVerifyTotal) GetRear() int64

func (*RequestSpaceProofVerifyTotal) GetSpaceChals

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

func (*RequestSpaceProofVerifyTotal) ProtoMessage

func (*RequestSpaceProofVerifyTotal) ProtoMessage()

func (*RequestSpaceProofVerifyTotal) ProtoReflect

func (*RequestSpaceProofVerifyTotal) Reset

func (x *RequestSpaceProofVerifyTotal) Reset()

func (*RequestSpaceProofVerifyTotal) String

type RequestVerifyCommitAndAccProof

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

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

Deprecated: Use RequestVerifyCommitAndAccProof.ProtoReflect.Descriptor instead.

func (*RequestVerifyCommitAndAccProof) GetAccProof

func (x *RequestVerifyCommitAndAccProof) GetAccProof() *AccProof

func (*RequestVerifyCommitAndAccProof) GetCommitProofGroup

func (x *RequestVerifyCommitAndAccProof) GetCommitProofGroup() *CommitProofGroup

func (*RequestVerifyCommitAndAccProof) GetMinerId

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

func (*RequestVerifyCommitAndAccProof) GetMinerSign

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

func (*RequestVerifyCommitAndAccProof) GetPoisInfo

func (*RequestVerifyCommitAndAccProof) ProtoMessage

func (*RequestVerifyCommitAndAccProof) ProtoMessage()

func (*RequestVerifyCommitAndAccProof) ProtoReflect

func (*RequestVerifyCommitAndAccProof) Reset

func (x *RequestVerifyCommitAndAccProof) Reset()

func (*RequestVerifyCommitAndAccProof) String

type RequestVerifyDeletionProof

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

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

Deprecated: Use RequestVerifyDeletionProof.ProtoReflect.Descriptor instead.

func (*RequestVerifyDeletionProof) GetAccPath

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

func (*RequestVerifyDeletionProof) GetMinerId

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

func (*RequestVerifyDeletionProof) GetMinerSign

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

func (*RequestVerifyDeletionProof) GetPoisInfo

func (x *RequestVerifyDeletionProof) GetPoisInfo() *MinerPoisInfo

func (*RequestVerifyDeletionProof) GetRoots

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

func (*RequestVerifyDeletionProof) GetWitChain

func (x *RequestVerifyDeletionProof) GetWitChain() *AccWitnessNode

func (*RequestVerifyDeletionProof) ProtoMessage

func (*RequestVerifyDeletionProof) ProtoMessage()

func (*RequestVerifyDeletionProof) ProtoReflect

func (*RequestVerifyDeletionProof) Reset

func (x *RequestVerifyDeletionProof) Reset()

func (*RequestVerifyDeletionProof) String

func (x *RequestVerifyDeletionProof) String() string

type ResponseAggregateSignature

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

func (*ResponseAggregateSignature) Descriptor deprecated

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

Deprecated: Use ResponseAggregateSignature.ProtoReflect.Descriptor instead.

func (*ResponseAggregateSignature) GetSignature

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

func (*ResponseAggregateSignature) GetTeeAccountId

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

func (*ResponseAggregateSignature) ProtoMessage

func (*ResponseAggregateSignature) ProtoMessage()

func (*ResponseAggregateSignature) ProtoReflect

func (*ResponseAggregateSignature) Reset

func (x *ResponseAggregateSignature) Reset()

func (*ResponseAggregateSignature) String

func (x *ResponseAggregateSignature) String() string

type ResponseBatchVerify

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

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

Deprecated: Use ResponseBatchVerify.ProtoReflect.Descriptor instead.

func (*ResponseBatchVerify) GetBatchVerifyResult

func (x *ResponseBatchVerify) GetBatchVerifyResult() bool

func (*ResponseBatchVerify) GetServiceBloomFilter

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

func (*ResponseBatchVerify) GetSignature

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

func (*ResponseBatchVerify) GetTeeAccountId

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

func (*ResponseBatchVerify) ProtoMessage

func (*ResponseBatchVerify) ProtoMessage()

func (*ResponseBatchVerify) ProtoReflect

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

func (*ResponseBatchVerify) Reset

func (x *ResponseBatchVerify) Reset()

func (*ResponseBatchVerify) String

func (x *ResponseBatchVerify) String() string

type ResponseGenTag

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

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

Deprecated: Use ResponseGenTag.ProtoReflect.Descriptor instead.

func (*ResponseGenTag) GetMsg

func (x *ResponseGenTag) GetMsg() *GenTagMsg

func (*ResponseGenTag) GetProcessing

func (x *ResponseGenTag) GetProcessing() bool

func (*ResponseGenTag) ProtoMessage

func (*ResponseGenTag) ProtoMessage()

func (*ResponseGenTag) ProtoReflect

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

func (*ResponseGenTag) Reset

func (x *ResponseGenTag) Reset()

func (*ResponseGenTag) String

func (x *ResponseGenTag) String() string

type ResponseMinerInitParam

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

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

Deprecated: Use ResponseMinerInitParam.ProtoReflect.Descriptor instead.

func (*ResponseMinerInitParam) GetAcc

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

func (*ResponseMinerInitParam) GetFront

func (x *ResponseMinerInitParam) GetFront() int64

func (*ResponseMinerInitParam) GetKeyG

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

func (*ResponseMinerInitParam) GetKeyN

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

func (*ResponseMinerInitParam) GetMinerId

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

func (*ResponseMinerInitParam) GetPodr2Pbk

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

func (*ResponseMinerInitParam) GetRear

func (x *ResponseMinerInitParam) GetRear() int64

func (*ResponseMinerInitParam) GetSignatureWithTeeController

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

func (*ResponseMinerInitParam) GetStatusTeeSign

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

func (*ResponseMinerInitParam) ProtoMessage

func (*ResponseMinerInitParam) ProtoMessage()

func (*ResponseMinerInitParam) ProtoReflect

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

func (*ResponseMinerInitParam) Reset

func (x *ResponseMinerInitParam) Reset()

func (*ResponseMinerInitParam) String

func (x *ResponseMinerInitParam) String() string

type ResponseSpaceProofVerify

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

func (*ResponseSpaceProofVerify) Descriptor deprecated

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

Deprecated: Use ResponseSpaceProofVerify.ProtoReflect.Descriptor instead.

func (*ResponseSpaceProofVerify) GetSignature

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

func (*ResponseSpaceProofVerify) ProtoMessage

func (*ResponseSpaceProofVerify) ProtoMessage()

func (*ResponseSpaceProofVerify) ProtoReflect

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

func (*ResponseSpaceProofVerify) Reset

func (x *ResponseSpaceProofVerify) Reset()

func (*ResponseSpaceProofVerify) String

func (x *ResponseSpaceProofVerify) String() string

type ResponseSpaceProofVerifyTotal

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

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

Deprecated: Use ResponseSpaceProofVerifyTotal.ProtoReflect.Descriptor instead.

func (*ResponseSpaceProofVerifyTotal) GetIdleResult

func (x *ResponseSpaceProofVerifyTotal) GetIdleResult() bool

func (*ResponseSpaceProofVerifyTotal) GetMinerId

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

func (*ResponseSpaceProofVerifyTotal) GetSignature

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

func (*ResponseSpaceProofVerifyTotal) ProtoMessage

func (*ResponseSpaceProofVerifyTotal) ProtoMessage()

func (*ResponseSpaceProofVerifyTotal) ProtoReflect

func (*ResponseSpaceProofVerifyTotal) Reset

func (x *ResponseSpaceProofVerifyTotal) Reset()

func (*ResponseSpaceProofVerifyTotal) String

type ResponseSpaceProofVerifyTotalSignatureMember

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

Deprecated: Use ResponseSpaceProofVerifyTotalSignatureMember.ProtoReflect.Descriptor instead.

func (*ResponseSpaceProofVerifyTotalSignatureMember) GetAcc

func (*ResponseSpaceProofVerifyTotalSignatureMember) GetFront

func (*ResponseSpaceProofVerifyTotalSignatureMember) GetMinerId

func (*ResponseSpaceProofVerifyTotalSignatureMember) GetRear

func (*ResponseSpaceProofVerifyTotalSignatureMember) GetSpaceChals

func (*ResponseSpaceProofVerifyTotalSignatureMember) GetTotalProofHash

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

func (*ResponseSpaceProofVerifyTotalSignatureMember) ProtoMessage

func (*ResponseSpaceProofVerifyTotalSignatureMember) ProtoReflect

func (*ResponseSpaceProofVerifyTotalSignatureMember) Reset

func (*ResponseSpaceProofVerifyTotalSignatureMember) String

type ResponseVerifyCommitOrDeletionProof

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

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

Deprecated: Use ResponseVerifyCommitOrDeletionProof.ProtoReflect.Descriptor instead.

func (*ResponseVerifyCommitOrDeletionProof) GetPoisStatus

func (x *ResponseVerifyCommitOrDeletionProof) GetPoisStatus() *PoisStatus

func (*ResponseVerifyCommitOrDeletionProof) GetSignatureWithTeeController

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

func (*ResponseVerifyCommitOrDeletionProof) GetStatusTeeSign

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

func (*ResponseVerifyCommitOrDeletionProof) ProtoMessage

func (*ResponseVerifyCommitOrDeletionProof) ProtoMessage()

func (*ResponseVerifyCommitOrDeletionProof) ProtoReflect

func (*ResponseVerifyCommitOrDeletionProof) Reset

func (*ResponseVerifyCommitOrDeletionProof) String

type SpaceProof

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

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

Deprecated: Use SpaceProof.ProtoReflect.Descriptor instead.

func (*SpaceProof) GetLeft

func (x *SpaceProof) GetLeft() int64

func (*SpaceProof) GetProofs

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

func (*SpaceProof) GetRight

func (x *SpaceProof) GetRight() int64

func (*SpaceProof) GetRoots

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

func (*SpaceProof) GetWitChains

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

func (*SpaceProof) ProtoMessage

func (*SpaceProof) ProtoMessage()

func (*SpaceProof) ProtoReflect

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

func (*SpaceProof) Reset

func (x *SpaceProof) Reset()

func (*SpaceProof) String

func (x *SpaceProof) String() string

type StatusCode

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

func (StatusCode) Descriptor() protoreflect.EnumDescriptor

func (StatusCode) Enum

func (x StatusCode) Enum() *StatusCode

func (StatusCode) EnumDescriptor deprecated

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

Deprecated: Use StatusCode.Descriptor instead.

func (StatusCode) Number

func (x StatusCode) Number() protoreflect.EnumNumber

func (StatusCode) String

func (x StatusCode) String() string

func (StatusCode) Type

type Tag

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

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

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetAttest

func (x *Tag) GetAttest() string

func (*Tag) GetPhiHash

func (x *Tag) GetPhiHash() string

func (*Tag) GetT

func (x *Tag) GetT() *Tag_T

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect

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

func (*Tag) Reset

func (x *Tag) Reset()

func (*Tag) String

func (x *Tag) String() string

type Tag_T

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

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

Deprecated: Use Tag_T.ProtoReflect.Descriptor instead.

func (*Tag_T) GetName

func (x *Tag_T) GetName() string

func (*Tag_T) GetPhi

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

func (*Tag_T) GetU

func (x *Tag_T) GetU() string

func (*Tag_T) ProtoMessage

func (*Tag_T) ProtoMessage()

func (*Tag_T) ProtoReflect

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

func (*Tag_T) Reset

func (x *Tag_T) Reset()

func (*Tag_T) String

func (x *Tag_T) String() string

type UnimplementedCesealPubkeysProviderServer

type UnimplementedCesealPubkeysProviderServer struct {
}

UnimplementedCesealPubkeysProviderServer must be embedded to have forward compatible implementations.

func (UnimplementedCesealPubkeysProviderServer) GetIdentityPubkey

func (UnimplementedCesealPubkeysProviderServer) GetMasterPubkey

func (UnimplementedCesealPubkeysProviderServer) GetPodr2Pubkey

type UnimplementedPodr2ApiServer

type UnimplementedPodr2ApiServer struct{}

UnimplementedPodr2ApiServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPodr2ApiServer) Echo

func (UnimplementedPodr2ApiServer) RequestGenTag

type UnimplementedPodr2VerifierApiServer

type UnimplementedPodr2VerifierApiServer struct{}

UnimplementedPodr2VerifierApiServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPodr2VerifierApiServer) RequestAggregateSignature

func (UnimplementedPodr2VerifierApiServer) RequestBatchVerify

type UnimplementedPoisCertifierApiServer

type UnimplementedPoisCertifierApiServer struct {
}

UnimplementedPoisCertifierApiServer must be embedded to have forward compatible implementations.

func (UnimplementedPoisCertifierApiServer) RequestMinerCommitGenChall

func (UnimplementedPoisCertifierApiServer) RequestMinerGetNewKey

type UnimplementedPoisVerifierApiServer

type UnimplementedPoisVerifierApiServer struct {
}

UnimplementedPoisVerifierApiServer must be embedded to have forward compatible implementations.

func (UnimplementedPoisVerifierApiServer) RequestSpaceProofVerifySingleBlock

type UnsafeCesealPubkeysProviderServer

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

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

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

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

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.

Jump to

Keyboard shortcuts

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