Documentation ¶
Index ¶
- Variables
- type Axis
- type BadEncoding
- func (*BadEncoding) Descriptor() ([]byte, []int)
- func (m *BadEncoding) GetAxis() Axis
- func (m *BadEncoding) GetHeaderHash() []byte
- func (m *BadEncoding) GetHeight() uint64
- func (m *BadEncoding) GetIndex() uint32
- func (m *BadEncoding) GetShares() []*pb.Share
- func (m *BadEncoding) Marshal() (dAtA []byte, err error)
- func (m *BadEncoding) MarshalTo(dAtA []byte) (int, error)
- func (m *BadEncoding) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BadEncoding) ProtoMessage()
- func (m *BadEncoding) Reset()
- func (m *BadEncoding) Size() (n int)
- func (m *BadEncoding) String() string
- func (m *BadEncoding) Unmarshal(dAtA []byte) error
- func (m *BadEncoding) XXX_DiscardUnknown()
- func (m *BadEncoding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BadEncoding) XXX_Merge(src proto.Message)
- func (m *BadEncoding) XXX_Size() int
- func (m *BadEncoding) XXX_Unmarshal(b []byte) error
- type FraudMessageRequest
- func (*FraudMessageRequest) Descriptor() ([]byte, []int)
- func (m *FraudMessageRequest) GetRequestedProofType() []string
- func (m *FraudMessageRequest) Marshal() (dAtA []byte, err error)
- func (m *FraudMessageRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *FraudMessageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FraudMessageRequest) ProtoMessage()
- func (m *FraudMessageRequest) Reset()
- func (m *FraudMessageRequest) Size() (n int)
- func (m *FraudMessageRequest) String() string
- func (m *FraudMessageRequest) Unmarshal(dAtA []byte) error
- func (m *FraudMessageRequest) XXX_DiscardUnknown()
- func (m *FraudMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FraudMessageRequest) XXX_Merge(src proto.Message)
- func (m *FraudMessageRequest) XXX_Size() int
- func (m *FraudMessageRequest) XXX_Unmarshal(b []byte) error
- type FraudMessageResponse
- func (*FraudMessageResponse) Descriptor() ([]byte, []int)
- func (m *FraudMessageResponse) GetProofs() []*ProofResponse
- func (m *FraudMessageResponse) Marshal() (dAtA []byte, err error)
- func (m *FraudMessageResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *FraudMessageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FraudMessageResponse) ProtoMessage()
- func (m *FraudMessageResponse) Reset()
- func (m *FraudMessageResponse) Size() (n int)
- func (m *FraudMessageResponse) String() string
- func (m *FraudMessageResponse) Unmarshal(dAtA []byte) error
- func (m *FraudMessageResponse) XXX_DiscardUnknown()
- func (m *FraudMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FraudMessageResponse) XXX_Merge(src proto.Message)
- func (m *FraudMessageResponse) XXX_Size() int
- func (m *FraudMessageResponse) XXX_Unmarshal(b []byte) error
- type ProofResponse
- func (*ProofResponse) Descriptor() ([]byte, []int)
- func (m *ProofResponse) GetType() string
- func (m *ProofResponse) GetValue() [][]byte
- func (m *ProofResponse) Marshal() (dAtA []byte, err error)
- func (m *ProofResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ProofResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProofResponse) ProtoMessage()
- func (m *ProofResponse) Reset()
- func (m *ProofResponse) Size() (n int)
- func (m *ProofResponse) String() string
- func (m *ProofResponse) Unmarshal(dAtA []byte) error
- func (m *ProofResponse) XXX_DiscardUnknown()
- func (m *ProofResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProofResponse) XXX_Merge(src proto.Message)
- func (m *ProofResponse) XXX_Size() int
- func (m *ProofResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthProof = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProof = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProof = fmt.Errorf("proto: unexpected end of group") )
View Source
var Axis_name = map[int32]string{
0: "ROW",
1: "COL",
}
View Source
var Axis_value = map[string]int32{
"ROW": 0,
"COL": 1,
}
Functions ¶
This section is empty.
Types ¶
type BadEncoding ¶
type BadEncoding struct { HeaderHash []byte `protobuf:"bytes,1,opt,name=HeaderHash,proto3" json:"HeaderHash,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=Height,proto3" json:"Height,omitempty"` Index uint32 `protobuf:"varint,4,opt,name=Index,proto3" json:"Index,omitempty"` Axis Axis `protobuf:"varint,5,opt,name=Axis,proto3,enum=fraud.pb.Axis" json:"Axis,omitempty"` }
func (*BadEncoding) Descriptor ¶
func (*BadEncoding) Descriptor() ([]byte, []int)
func (*BadEncoding) GetAxis ¶
func (m *BadEncoding) GetAxis() Axis
func (*BadEncoding) GetHeaderHash ¶
func (m *BadEncoding) GetHeaderHash() []byte
func (*BadEncoding) GetHeight ¶
func (m *BadEncoding) GetHeight() uint64
func (*BadEncoding) GetIndex ¶
func (m *BadEncoding) GetIndex() uint32
func (*BadEncoding) GetShares ¶
func (m *BadEncoding) GetShares() []*pb.Share
func (*BadEncoding) Marshal ¶
func (m *BadEncoding) Marshal() (dAtA []byte, err error)
func (*BadEncoding) MarshalToSizedBuffer ¶
func (m *BadEncoding) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BadEncoding) ProtoMessage ¶
func (*BadEncoding) ProtoMessage()
func (*BadEncoding) Reset ¶
func (m *BadEncoding) Reset()
func (*BadEncoding) Size ¶
func (m *BadEncoding) Size() (n int)
func (*BadEncoding) String ¶
func (m *BadEncoding) String() string
func (*BadEncoding) Unmarshal ¶
func (m *BadEncoding) Unmarshal(dAtA []byte) error
func (*BadEncoding) XXX_DiscardUnknown ¶
func (m *BadEncoding) XXX_DiscardUnknown()
func (*BadEncoding) XXX_Marshal ¶
func (m *BadEncoding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BadEncoding) XXX_Merge ¶
func (m *BadEncoding) XXX_Merge(src proto.Message)
func (*BadEncoding) XXX_Size ¶
func (m *BadEncoding) XXX_Size() int
func (*BadEncoding) XXX_Unmarshal ¶
func (m *BadEncoding) XXX_Unmarshal(b []byte) error
type FraudMessageRequest ¶
type FraudMessageRequest struct {
RequestedProofType []string `protobuf:"bytes,1,rep,name=RequestedProofType,proto3" json:"RequestedProofType,omitempty"`
}
func (*FraudMessageRequest) Descriptor ¶
func (*FraudMessageRequest) Descriptor() ([]byte, []int)
func (*FraudMessageRequest) GetRequestedProofType ¶
func (m *FraudMessageRequest) GetRequestedProofType() []string
func (*FraudMessageRequest) Marshal ¶
func (m *FraudMessageRequest) Marshal() (dAtA []byte, err error)
func (*FraudMessageRequest) MarshalTo ¶
func (m *FraudMessageRequest) MarshalTo(dAtA []byte) (int, error)
func (*FraudMessageRequest) MarshalToSizedBuffer ¶
func (m *FraudMessageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FraudMessageRequest) ProtoMessage ¶
func (*FraudMessageRequest) ProtoMessage()
func (*FraudMessageRequest) Reset ¶
func (m *FraudMessageRequest) Reset()
func (*FraudMessageRequest) Size ¶
func (m *FraudMessageRequest) Size() (n int)
func (*FraudMessageRequest) String ¶
func (m *FraudMessageRequest) String() string
func (*FraudMessageRequest) Unmarshal ¶
func (m *FraudMessageRequest) Unmarshal(dAtA []byte) error
func (*FraudMessageRequest) XXX_DiscardUnknown ¶
func (m *FraudMessageRequest) XXX_DiscardUnknown()
func (*FraudMessageRequest) XXX_Marshal ¶
func (m *FraudMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FraudMessageRequest) XXX_Merge ¶
func (m *FraudMessageRequest) XXX_Merge(src proto.Message)
func (*FraudMessageRequest) XXX_Size ¶
func (m *FraudMessageRequest) XXX_Size() int
func (*FraudMessageRequest) XXX_Unmarshal ¶
func (m *FraudMessageRequest) XXX_Unmarshal(b []byte) error
type FraudMessageResponse ¶
type FraudMessageResponse struct {
Proofs []*ProofResponse `protobuf:"bytes,1,rep,name=Proofs,proto3" json:"Proofs,omitempty"`
}
func (*FraudMessageResponse) Descriptor ¶
func (*FraudMessageResponse) Descriptor() ([]byte, []int)
func (*FraudMessageResponse) GetProofs ¶
func (m *FraudMessageResponse) GetProofs() []*ProofResponse
func (*FraudMessageResponse) Marshal ¶
func (m *FraudMessageResponse) Marshal() (dAtA []byte, err error)
func (*FraudMessageResponse) MarshalTo ¶
func (m *FraudMessageResponse) MarshalTo(dAtA []byte) (int, error)
func (*FraudMessageResponse) MarshalToSizedBuffer ¶
func (m *FraudMessageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FraudMessageResponse) ProtoMessage ¶
func (*FraudMessageResponse) ProtoMessage()
func (*FraudMessageResponse) Reset ¶
func (m *FraudMessageResponse) Reset()
func (*FraudMessageResponse) Size ¶
func (m *FraudMessageResponse) Size() (n int)
func (*FraudMessageResponse) String ¶
func (m *FraudMessageResponse) String() string
func (*FraudMessageResponse) Unmarshal ¶
func (m *FraudMessageResponse) Unmarshal(dAtA []byte) error
func (*FraudMessageResponse) XXX_DiscardUnknown ¶
func (m *FraudMessageResponse) XXX_DiscardUnknown()
func (*FraudMessageResponse) XXX_Marshal ¶
func (m *FraudMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FraudMessageResponse) XXX_Merge ¶
func (m *FraudMessageResponse) XXX_Merge(src proto.Message)
func (*FraudMessageResponse) XXX_Size ¶
func (m *FraudMessageResponse) XXX_Size() int
func (*FraudMessageResponse) XXX_Unmarshal ¶
func (m *FraudMessageResponse) XXX_Unmarshal(b []byte) error
type ProofResponse ¶
type ProofResponse struct { Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"` Value [][]byte `protobuf:"bytes,2,rep,name=Value,proto3" json:"Value,omitempty"` }
func (*ProofResponse) Descriptor ¶
func (*ProofResponse) Descriptor() ([]byte, []int)
func (*ProofResponse) GetType ¶
func (m *ProofResponse) GetType() string
func (*ProofResponse) GetValue ¶
func (m *ProofResponse) GetValue() [][]byte
func (*ProofResponse) Marshal ¶
func (m *ProofResponse) Marshal() (dAtA []byte, err error)
func (*ProofResponse) MarshalToSizedBuffer ¶
func (m *ProofResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProofResponse) ProtoMessage ¶
func (*ProofResponse) ProtoMessage()
func (*ProofResponse) Reset ¶
func (m *ProofResponse) Reset()
func (*ProofResponse) Size ¶
func (m *ProofResponse) Size() (n int)
func (*ProofResponse) String ¶
func (m *ProofResponse) String() string
func (*ProofResponse) Unmarshal ¶
func (m *ProofResponse) Unmarshal(dAtA []byte) error
func (*ProofResponse) XXX_DiscardUnknown ¶
func (m *ProofResponse) XXX_DiscardUnknown()
func (*ProofResponse) XXX_Marshal ¶
func (m *ProofResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProofResponse) XXX_Merge ¶
func (m *ProofResponse) XXX_Merge(src proto.Message)
func (*ProofResponse) XXX_Size ¶
func (m *ProofResponse) XXX_Size() int
func (*ProofResponse) XXX_Unmarshal ¶
func (m *ProofResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.