shwap_pb

package
v0.14.0-beta.7 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthShwapPb        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowShwapPb          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupShwapPb = fmt.Errorf("proto: unexpected end of group")
)
View Source
var SampleProofType_name = map[int32]string{
	0: "RowSampleProofType",
	1: "ColSampleProofType",
}
View Source
var SampleProofType_value = map[string]int32{
	"RowSampleProofType": 0,
	"ColSampleProofType": 1,
}

Functions

This section is empty.

Types

type Data

type Data struct {
	DataId     []byte    `protobuf:"bytes,1,opt,name=data_id,json=dataId,proto3" json:"data_id,omitempty"`
	DataShares [][]byte  `protobuf:"bytes,2,rep,name=data_shares,json=dataShares,proto3" json:"data_shares,omitempty"`
	DataProof  *pb.Proof `protobuf:"bytes,3,opt,name=data_proof,json=dataProof,proto3" json:"data_proof,omitempty"`
}

func (*Data) Descriptor

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

func (*Data) GetDataId

func (m *Data) GetDataId() []byte

func (*Data) GetDataProof

func (m *Data) GetDataProof() *pb.Proof

func (*Data) GetDataShares

func (m *Data) GetDataShares() [][]byte

func (*Data) Marshal

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

func (*Data) MarshalTo

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

func (*Data) MarshalToSizedBuffer

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

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) Reset

func (m *Data) Reset()

func (*Data) Size

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

func (*Data) String

func (m *Data) String() string

func (*Data) Unmarshal

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

func (*Data) XXX_DiscardUnknown

func (m *Data) XXX_DiscardUnknown()

func (*Data) XXX_Marshal

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

func (*Data) XXX_Merge

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

func (*Data) XXX_Size

func (m *Data) XXX_Size() int

func (*Data) XXX_Unmarshal

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

type Row

type Row struct {
	RowId   []byte   `protobuf:"bytes,1,opt,name=row_id,json=rowId,proto3" json:"row_id,omitempty"`
	RowHalf [][]byte `protobuf:"bytes,2,rep,name=row_half,json=rowHalf,proto3" json:"row_half,omitempty"`
}

func (*Row) Descriptor

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

func (*Row) GetRowHalf

func (m *Row) GetRowHalf() [][]byte

func (*Row) GetRowId

func (m *Row) GetRowId() []byte

func (*Row) Marshal

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

func (*Row) MarshalTo

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

func (*Row) MarshalToSizedBuffer

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

func (*Row) ProtoMessage

func (*Row) ProtoMessage()

func (*Row) Reset

func (m *Row) Reset()

func (*Row) Size

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

func (*Row) String

func (m *Row) String() string

func (*Row) Unmarshal

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

func (*Row) XXX_DiscardUnknown

func (m *Row) XXX_DiscardUnknown()

func (*Row) XXX_Marshal

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

func (*Row) XXX_Merge

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

func (*Row) XXX_Size

func (m *Row) XXX_Size() int

func (*Row) XXX_Unmarshal

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

type Sample

type Sample struct {
	SampleId    []byte          `protobuf:"bytes,1,opt,name=sample_id,json=sampleId,proto3" json:"sample_id,omitempty"`
	SampleType  SampleProofType `protobuf:"varint,2,opt,name=sample_type,json=sampleType,proto3,enum=SampleProofType" json:"sample_type,omitempty"`
	SampleShare []byte          `protobuf:"bytes,3,opt,name=sample_share,json=sampleShare,proto3" json:"sample_share,omitempty"`
	SampleProof *pb.Proof       `protobuf:"bytes,4,opt,name=sample_proof,json=sampleProof,proto3" json:"sample_proof,omitempty"`
}

func (*Sample) Descriptor

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

func (*Sample) GetSampleId

func (m *Sample) GetSampleId() []byte

func (*Sample) GetSampleProof

func (m *Sample) GetSampleProof() *pb.Proof

func (*Sample) GetSampleShare

func (m *Sample) GetSampleShare() []byte

func (*Sample) GetSampleType

func (m *Sample) GetSampleType() SampleProofType

func (*Sample) Marshal

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

func (*Sample) MarshalTo

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

func (*Sample) MarshalToSizedBuffer

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

func (*Sample) ProtoMessage

func (*Sample) ProtoMessage()

func (*Sample) Reset

func (m *Sample) Reset()

func (*Sample) Size

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

func (*Sample) String

func (m *Sample) String() string

func (*Sample) Unmarshal

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

func (*Sample) XXX_DiscardUnknown

func (m *Sample) XXX_DiscardUnknown()

func (*Sample) XXX_Marshal

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

func (*Sample) XXX_Merge

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

func (*Sample) XXX_Size

func (m *Sample) XXX_Size() int

func (*Sample) XXX_Unmarshal

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

type SampleProofType

type SampleProofType int32
const (
	SampleProofType_RowSampleProofType SampleProofType = 0
	SampleProofType_ColSampleProofType SampleProofType = 1
)

func (SampleProofType) EnumDescriptor

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

func (SampleProofType) String

func (x SampleProofType) String() string

Jump to

Keyboard shortcuts

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