Documentation
¶
Index ¶
- Variables
- type AxisType
- type NamespaceData
- func (*NamespaceData) Descriptor() ([]byte, []int)
- func (m *NamespaceData) GetNamespaceData() []*RowNamespaceData
- func (m *NamespaceData) Marshal() (dAtA []byte, err error)
- func (m *NamespaceData) MarshalTo(dAtA []byte) (int, error)
- func (m *NamespaceData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NamespaceData) ProtoMessage()
- func (m *NamespaceData) Reset()
- func (m *NamespaceData) Size() (n int)
- func (m *NamespaceData) String() string
- func (m *NamespaceData) Unmarshal(dAtA []byte) error
- func (m *NamespaceData) XXX_DiscardUnknown()
- func (m *NamespaceData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NamespaceData) XXX_Merge(src proto.Message)
- func (m *NamespaceData) XXX_Size() int
- func (m *NamespaceData) XXX_Unmarshal(b []byte) error
- type RangeNamespaceData
- func (*RangeNamespaceData) Descriptor() ([]byte, []int)
- func (m *RangeNamespaceData) GetFirstIncompleteRowProof() *pb.Proof
- func (m *RangeNamespaceData) GetLastIncompleteRowProof() *pb.Proof
- func (m *RangeNamespaceData) GetShares() []*RowShares
- func (m *RangeNamespaceData) Marshal() (dAtA []byte, err error)
- func (m *RangeNamespaceData) MarshalTo(dAtA []byte) (int, error)
- func (m *RangeNamespaceData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RangeNamespaceData) ProtoMessage()
- func (m *RangeNamespaceData) Reset()
- func (m *RangeNamespaceData) Size() (n int)
- func (m *RangeNamespaceData) String() string
- func (m *RangeNamespaceData) Unmarshal(dAtA []byte) error
- func (m *RangeNamespaceData) XXX_DiscardUnknown()
- func (m *RangeNamespaceData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RangeNamespaceData) XXX_Merge(src proto.Message)
- func (m *RangeNamespaceData) XXX_Size() int
- func (m *RangeNamespaceData) XXX_Unmarshal(b []byte) error
- type Row
- func (*Row) Descriptor() ([]byte, []int)
- func (m *Row) GetHalfSide() Row_HalfSide
- func (m *Row) GetSharesHalf() []*Share
- func (m *Row) Marshal() (dAtA []byte, err error)
- func (m *Row) MarshalTo(dAtA []byte) (int, error)
- func (m *Row) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Row) ProtoMessage()
- func (m *Row) Reset()
- func (m *Row) Size() (n int)
- func (m *Row) String() string
- func (m *Row) Unmarshal(dAtA []byte) error
- func (m *Row) XXX_DiscardUnknown()
- func (m *Row) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Row) XXX_Merge(src proto.Message)
- func (m *Row) XXX_Size() int
- func (m *Row) XXX_Unmarshal(b []byte) error
- type RowNamespaceData
- func (*RowNamespaceData) Descriptor() ([]byte, []int)
- func (m *RowNamespaceData) GetProof() *pb.Proof
- func (m *RowNamespaceData) GetShares() []*Share
- func (m *RowNamespaceData) Marshal() (dAtA []byte, err error)
- func (m *RowNamespaceData) MarshalTo(dAtA []byte) (int, error)
- func (m *RowNamespaceData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RowNamespaceData) ProtoMessage()
- func (m *RowNamespaceData) Reset()
- func (m *RowNamespaceData) Size() (n int)
- func (m *RowNamespaceData) String() string
- func (m *RowNamespaceData) Unmarshal(dAtA []byte) error
- func (m *RowNamespaceData) XXX_DiscardUnknown()
- func (m *RowNamespaceData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RowNamespaceData) XXX_Merge(src proto.Message)
- func (m *RowNamespaceData) XXX_Size() int
- func (m *RowNamespaceData) XXX_Unmarshal(b []byte) error
- type RowShares
- func (*RowShares) Descriptor() ([]byte, []int)
- func (m *RowShares) GetShares() []*Share
- func (m *RowShares) Marshal() (dAtA []byte, err error)
- func (m *RowShares) MarshalTo(dAtA []byte) (int, error)
- func (m *RowShares) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RowShares) ProtoMessage()
- func (m *RowShares) Reset()
- func (m *RowShares) Size() (n int)
- func (m *RowShares) String() string
- func (m *RowShares) Unmarshal(dAtA []byte) error
- func (m *RowShares) XXX_DiscardUnknown()
- func (m *RowShares) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RowShares) XXX_Merge(src proto.Message)
- func (m *RowShares) XXX_Size() int
- func (m *RowShares) XXX_Unmarshal(b []byte) error
- type Row_HalfSide
- type Sample
- func (*Sample) Descriptor() ([]byte, []int)
- func (m *Sample) GetProof() *pb.Proof
- func (m *Sample) GetProofType() AxisType
- func (m *Sample) GetShare() *Share
- func (m *Sample) Marshal() (dAtA []byte, err error)
- func (m *Sample) MarshalTo(dAtA []byte) (int, error)
- func (m *Sample) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Sample) ProtoMessage()
- func (m *Sample) Reset()
- func (m *Sample) Size() (n int)
- func (m *Sample) String() string
- func (m *Sample) Unmarshal(dAtA []byte) error
- func (m *Sample) XXX_DiscardUnknown()
- func (m *Sample) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Sample) XXX_Merge(src proto.Message)
- func (m *Sample) XXX_Size() int
- func (m *Sample) XXX_Unmarshal(b []byte) error
- type Share
- func (*Share) Descriptor() ([]byte, []int)
- func (m *Share) GetData() []byte
- func (m *Share) Marshal() (dAtA []byte, err error)
- func (m *Share) MarshalTo(dAtA []byte) (int, error)
- func (m *Share) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Share) ProtoMessage()
- func (m *Share) Reset()
- func (m *Share) Size() (n int)
- func (m *Share) String() string
- func (m *Share) Unmarshal(dAtA []byte) error
- func (m *Share) XXX_DiscardUnknown()
- func (m *Share) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Share) XXX_Merge(src proto.Message)
- func (m *Share) XXX_Size() int
- func (m *Share) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthShwap = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowShwap = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupShwap = fmt.Errorf("proto: unexpected end of group") )
View Source
var AxisType_name = map[int32]string{
0: "ROW",
1: "COL",
}
View Source
var AxisType_value = map[string]int32{
"ROW": 0,
"COL": 1,
}
View Source
var Row_HalfSide_name = map[int32]string{
0: "LEFT",
1: "RIGHT",
}
View Source
var Row_HalfSide_value = map[string]int32{
"LEFT": 0,
"RIGHT": 1,
}
Functions ¶
This section is empty.
Types ¶
type NamespaceData ¶ added in v0.25.3
type NamespaceData struct {
NamespaceData []*RowNamespaceData `protobuf:"bytes,1,rep,name=namespaceData,proto3" json:"namespaceData,omitempty"`
}
func (*NamespaceData) Descriptor ¶ added in v0.25.3
func (*NamespaceData) Descriptor() ([]byte, []int)
func (*NamespaceData) GetNamespaceData ¶ added in v0.25.3
func (m *NamespaceData) GetNamespaceData() []*RowNamespaceData
func (*NamespaceData) Marshal ¶ added in v0.25.3
func (m *NamespaceData) Marshal() (dAtA []byte, err error)
func (*NamespaceData) MarshalTo ¶ added in v0.25.3
func (m *NamespaceData) MarshalTo(dAtA []byte) (int, error)
func (*NamespaceData) MarshalToSizedBuffer ¶ added in v0.25.3
func (m *NamespaceData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NamespaceData) ProtoMessage ¶ added in v0.25.3
func (*NamespaceData) ProtoMessage()
func (*NamespaceData) Reset ¶ added in v0.25.3
func (m *NamespaceData) Reset()
func (*NamespaceData) Size ¶ added in v0.25.3
func (m *NamespaceData) Size() (n int)
func (*NamespaceData) String ¶ added in v0.25.3
func (m *NamespaceData) String() string
func (*NamespaceData) Unmarshal ¶ added in v0.25.3
func (m *NamespaceData) Unmarshal(dAtA []byte) error
func (*NamespaceData) XXX_DiscardUnknown ¶ added in v0.25.3
func (m *NamespaceData) XXX_DiscardUnknown()
func (*NamespaceData) XXX_Marshal ¶ added in v0.25.3
func (m *NamespaceData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NamespaceData) XXX_Merge ¶ added in v0.25.3
func (m *NamespaceData) XXX_Merge(src proto.Message)
func (*NamespaceData) XXX_Size ¶ added in v0.25.3
func (m *NamespaceData) XXX_Size() int
func (*NamespaceData) XXX_Unmarshal ¶ added in v0.25.3
func (m *NamespaceData) XXX_Unmarshal(b []byte) error
type RangeNamespaceData ¶ added in v0.25.3
type RangeNamespaceData struct {
FirstIncompleteRowProof *pb.Proof `protobuf:"bytes,2,opt,name=firstIncompleteRowProof,proto3" json:"firstIncompleteRowProof,omitempty"`
LastIncompleteRowProof *pb.Proof `protobuf:"bytes,3,opt,name=lastIncompleteRowProof,proto3" json:"lastIncompleteRowProof,omitempty"`
}
func (*RangeNamespaceData) Descriptor ¶ added in v0.25.3
func (*RangeNamespaceData) Descriptor() ([]byte, []int)
func (*RangeNamespaceData) GetFirstIncompleteRowProof ¶ added in v0.25.3
func (m *RangeNamespaceData) GetFirstIncompleteRowProof() *pb.Proof
func (*RangeNamespaceData) GetLastIncompleteRowProof ¶ added in v0.25.3
func (m *RangeNamespaceData) GetLastIncompleteRowProof() *pb.Proof
func (*RangeNamespaceData) GetShares ¶ added in v0.25.3
func (m *RangeNamespaceData) GetShares() []*RowShares
func (*RangeNamespaceData) Marshal ¶ added in v0.25.3
func (m *RangeNamespaceData) Marshal() (dAtA []byte, err error)
func (*RangeNamespaceData) MarshalTo ¶ added in v0.25.3
func (m *RangeNamespaceData) MarshalTo(dAtA []byte) (int, error)
func (*RangeNamespaceData) MarshalToSizedBuffer ¶ added in v0.25.3
func (m *RangeNamespaceData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RangeNamespaceData) ProtoMessage ¶ added in v0.25.3
func (*RangeNamespaceData) ProtoMessage()
func (*RangeNamespaceData) Reset ¶ added in v0.25.3
func (m *RangeNamespaceData) Reset()
func (*RangeNamespaceData) Size ¶ added in v0.25.3
func (m *RangeNamespaceData) Size() (n int)
func (*RangeNamespaceData) String ¶ added in v0.25.3
func (m *RangeNamespaceData) String() string
func (*RangeNamespaceData) Unmarshal ¶ added in v0.25.3
func (m *RangeNamespaceData) Unmarshal(dAtA []byte) error
func (*RangeNamespaceData) XXX_DiscardUnknown ¶ added in v0.25.3
func (m *RangeNamespaceData) XXX_DiscardUnknown()
func (*RangeNamespaceData) XXX_Marshal ¶ added in v0.25.3
func (m *RangeNamespaceData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RangeNamespaceData) XXX_Merge ¶ added in v0.25.3
func (m *RangeNamespaceData) XXX_Merge(src proto.Message)
func (*RangeNamespaceData) XXX_Size ¶ added in v0.25.3
func (m *RangeNamespaceData) XXX_Size() int
func (*RangeNamespaceData) XXX_Unmarshal ¶ added in v0.25.3
func (m *RangeNamespaceData) XXX_Unmarshal(b []byte) error
type Row ¶
type Row struct {
HalfSide Row_HalfSide `protobuf:"varint,2,opt,name=half_side,json=halfSide,proto3,enum=shwap.Row_HalfSide" json:"half_side,omitempty"`
}
func (*Row) Descriptor ¶
func (*Row) GetHalfSide ¶
func (m *Row) GetHalfSide() Row_HalfSide
func (*Row) GetSharesHalf ¶
func (*Row) ProtoMessage ¶
func (*Row) ProtoMessage()
func (*Row) XXX_DiscardUnknown ¶
func (m *Row) XXX_DiscardUnknown()
func (*Row) XXX_Unmarshal ¶
type RowNamespaceData ¶
type RowNamespaceData struct {
Proof *pb.Proof `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"`
}
func (*RowNamespaceData) Descriptor ¶
func (*RowNamespaceData) Descriptor() ([]byte, []int)
func (*RowNamespaceData) GetProof ¶
func (m *RowNamespaceData) GetProof() *pb.Proof
func (*RowNamespaceData) GetShares ¶
func (m *RowNamespaceData) GetShares() []*Share
func (*RowNamespaceData) Marshal ¶
func (m *RowNamespaceData) Marshal() (dAtA []byte, err error)
func (*RowNamespaceData) MarshalToSizedBuffer ¶
func (m *RowNamespaceData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RowNamespaceData) ProtoMessage ¶
func (*RowNamespaceData) ProtoMessage()
func (*RowNamespaceData) Reset ¶
func (m *RowNamespaceData) Reset()
func (*RowNamespaceData) Size ¶
func (m *RowNamespaceData) Size() (n int)
func (*RowNamespaceData) String ¶
func (m *RowNamespaceData) String() string
func (*RowNamespaceData) Unmarshal ¶
func (m *RowNamespaceData) Unmarshal(dAtA []byte) error
func (*RowNamespaceData) XXX_DiscardUnknown ¶
func (m *RowNamespaceData) XXX_DiscardUnknown()
func (*RowNamespaceData) XXX_Marshal ¶
func (m *RowNamespaceData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RowNamespaceData) XXX_Merge ¶
func (m *RowNamespaceData) XXX_Merge(src proto.Message)
func (*RowNamespaceData) XXX_Size ¶
func (m *RowNamespaceData) XXX_Size() int
func (*RowNamespaceData) XXX_Unmarshal ¶
func (m *RowNamespaceData) XXX_Unmarshal(b []byte) error
type RowShares ¶ added in v0.25.3
type RowShares struct {
}
func (*RowShares) Descriptor ¶ added in v0.25.3
func (*RowShares) MarshalToSizedBuffer ¶ added in v0.25.3
func (*RowShares) ProtoMessage ¶ added in v0.25.3
func (*RowShares) ProtoMessage()
func (*RowShares) XXX_DiscardUnknown ¶ added in v0.25.3
func (m *RowShares) XXX_DiscardUnknown()
func (*RowShares) XXX_Marshal ¶ added in v0.25.3
func (*RowShares) XXX_Unmarshal ¶ added in v0.25.3
type Row_HalfSide ¶
type Row_HalfSide int32
const ( Row_LEFT Row_HalfSide = 0 Row_RIGHT Row_HalfSide = 1 )
func (Row_HalfSide) EnumDescriptor ¶
func (Row_HalfSide) EnumDescriptor() ([]byte, []int)
func (Row_HalfSide) String ¶
func (x Row_HalfSide) String() string
type Sample ¶
type Sample struct {
Proof *pb.Proof `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"`
ProofType AxisType `protobuf:"varint,3,opt,name=proof_type,json=proofType,proto3,enum=shwap.AxisType" json:"proof_type,omitempty"`
}
func (*Sample) Descriptor ¶
func (*Sample) GetProofType ¶
func (*Sample) MarshalToSizedBuffer ¶
func (*Sample) ProtoMessage ¶
func (*Sample) ProtoMessage()
func (*Sample) XXX_DiscardUnknown ¶
func (m *Sample) XXX_DiscardUnknown()
func (*Sample) XXX_Marshal ¶
func (*Sample) XXX_Unmarshal ¶
type Share ¶
type Share struct {
}
func (*Share) Descriptor ¶
func (*Share) ProtoMessage ¶
func (*Share) ProtoMessage()
func (*Share) XXX_DiscardUnknown ¶
func (m *Share) XXX_DiscardUnknown()
func (*Share) XXX_Marshal ¶
func (*Share) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.