fraud_pb

package
v0.3.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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")
)

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"`
	Shares     []*pb.Share `protobuf:"bytes,3,rep,name=Shares,proto3" json:"Shares,omitempty"`
	Index      uint32      `protobuf:"varint,4,opt,name=Index,proto3" json:"Index,omitempty"`
	IsRow      bool        `protobuf:"varint,5,opt,name=IsRow,proto3" json:"IsRow,omitempty"`
}

func (*BadEncoding) Descriptor

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

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) GetIsRow

func (m *BadEncoding) GetIsRow() bool

func (*BadEncoding) GetShares

func (m *BadEncoding) GetShares() []*pb.Share

func (*BadEncoding) Marshal

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

func (*BadEncoding) MarshalTo

func (m *BadEncoding) MarshalTo(dAtA []byte) (int, 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

Jump to

Keyboard shortcuts

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