pb

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMessage        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMessage          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMessage = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type BulkPullReq

type BulkPullReq struct {
	StartHash            []byte   `protobuf:"bytes,1,opt,name=StartHash,proto3" json:"StartHash,omitempty"`
	EndHash              []byte   `protobuf:"bytes,2,opt,name=EndHash,proto3" json:"EndHash,omitempty"`
	PullType             uint32   `protobuf:"varint,3,opt,name=PullType,proto3" json:"PullType,omitempty"`
	Count                uint32   `protobuf:"varint,4,opt,name=Count,proto3" json:"Count,omitempty"`
	Hashes               []byte   `protobuf:"bytes,5,opt,name=Hashes,proto3" json:"Hashes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedBulkPullReq added in v1.4.0

func NewPopulatedBulkPullReq(r randyMessage, easy bool) *BulkPullReq

func (*BulkPullReq) Descriptor

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

func (*BulkPullReq) Equal added in v1.4.0

func (this *BulkPullReq) Equal(that interface{}) bool

func (*BulkPullReq) GetCount added in v1.2.3

func (m *BulkPullReq) GetCount() uint32

func (*BulkPullReq) GetEndHash

func (m *BulkPullReq) GetEndHash() []byte

func (*BulkPullReq) GetHashes added in v1.2.3

func (m *BulkPullReq) GetHashes() []byte

func (*BulkPullReq) GetPullType added in v1.2.3

func (m *BulkPullReq) GetPullType() uint32

func (*BulkPullReq) GetStartHash

func (m *BulkPullReq) GetStartHash() []byte

func (*BulkPullReq) GoString added in v1.4.0

func (this *BulkPullReq) GoString() string

func (*BulkPullReq) Marshal added in v1.4.0

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

func (*BulkPullReq) MarshalTo added in v1.4.0

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

func (*BulkPullReq) MarshalToSizedBuffer added in v1.4.0

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

func (*BulkPullReq) ProtoMessage

func (*BulkPullReq) ProtoMessage()

func (*BulkPullReq) Reset

func (m *BulkPullReq) Reset()

func (*BulkPullReq) Size added in v1.4.0

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

func (*BulkPullReq) String

func (this *BulkPullReq) String() string

func (*BulkPullReq) Unmarshal added in v1.4.0

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

func (*BulkPullReq) VerboseEqual added in v1.4.0

func (this *BulkPullReq) VerboseEqual(that interface{}) error

func (*BulkPullReq) XXX_DiscardUnknown

func (m *BulkPullReq) XXX_DiscardUnknown()

func (*BulkPullReq) XXX_Marshal

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

func (*BulkPullReq) XXX_Merge

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

func (*BulkPullReq) XXX_Size

func (m *BulkPullReq) XXX_Size() int

func (*BulkPullReq) XXX_Unmarshal

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

type BulkPullRsp

type BulkPullRsp struct {
	PullType             uint32   `protobuf:"varint,1,opt,name=PullType,proto3" json:"PullType,omitempty"`
	Blocks               []byte   `protobuf:"bytes,2,opt,name=blocks,proto3" json:"blocks,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedBulkPullRsp added in v1.4.0

func NewPopulatedBulkPullRsp(r randyMessage, easy bool) *BulkPullRsp

func (*BulkPullRsp) Descriptor

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

func (*BulkPullRsp) Equal added in v1.4.0

func (this *BulkPullRsp) Equal(that interface{}) bool

func (*BulkPullRsp) GetBlocks added in v1.2.3

func (m *BulkPullRsp) GetBlocks() []byte

func (*BulkPullRsp) GetPullType added in v1.3.0

func (m *BulkPullRsp) GetPullType() uint32

func (*BulkPullRsp) GoString added in v1.4.0

func (this *BulkPullRsp) GoString() string

func (*BulkPullRsp) Marshal added in v1.4.0

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

func (*BulkPullRsp) MarshalTo added in v1.4.0

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

func (*BulkPullRsp) MarshalToSizedBuffer added in v1.4.0

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

func (*BulkPullRsp) ProtoMessage

func (*BulkPullRsp) ProtoMessage()

func (*BulkPullRsp) Reset

func (m *BulkPullRsp) Reset()

func (*BulkPullRsp) Size added in v1.4.0

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

func (*BulkPullRsp) String

func (this *BulkPullRsp) String() string

func (*BulkPullRsp) Unmarshal added in v1.4.0

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

func (*BulkPullRsp) VerboseEqual added in v1.4.0

func (this *BulkPullRsp) VerboseEqual(that interface{}) error

func (*BulkPullRsp) XXX_DiscardUnknown

func (m *BulkPullRsp) XXX_DiscardUnknown()

func (*BulkPullRsp) XXX_Marshal

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

func (*BulkPullRsp) XXX_Merge

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

func (*BulkPullRsp) XXX_Size

func (m *BulkPullRsp) XXX_Size() int

func (*BulkPullRsp) XXX_Unmarshal

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

type BulkPushBlock

type BulkPushBlock struct {
	Blocks               []byte   `protobuf:"bytes,1,opt,name=blocks,proto3" json:"blocks,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedBulkPushBlock added in v1.4.0

func NewPopulatedBulkPushBlock(r randyMessage, easy bool) *BulkPushBlock

func (*BulkPushBlock) Descriptor

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

func (*BulkPushBlock) Equal added in v1.4.0

func (this *BulkPushBlock) Equal(that interface{}) bool

func (*BulkPushBlock) GetBlocks added in v1.3.0

func (m *BulkPushBlock) GetBlocks() []byte

func (*BulkPushBlock) GoString added in v1.4.0

func (this *BulkPushBlock) GoString() string

func (*BulkPushBlock) Marshal added in v1.4.0

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

func (*BulkPushBlock) MarshalTo added in v1.4.0

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

func (*BulkPushBlock) MarshalToSizedBuffer added in v1.4.0

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

func (*BulkPushBlock) ProtoMessage

func (*BulkPushBlock) ProtoMessage()

func (*BulkPushBlock) Reset

func (m *BulkPushBlock) Reset()

func (*BulkPushBlock) Size added in v1.4.0

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

func (*BulkPushBlock) String

func (this *BulkPushBlock) String() string

func (*BulkPushBlock) Unmarshal added in v1.4.0

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

func (*BulkPushBlock) VerboseEqual added in v1.4.0

func (this *BulkPushBlock) VerboseEqual(that interface{}) error

func (*BulkPushBlock) XXX_DiscardUnknown

func (m *BulkPushBlock) XXX_DiscardUnknown()

func (*BulkPushBlock) XXX_Marshal

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

func (*BulkPushBlock) XXX_Merge

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

func (*BulkPushBlock) XXX_Size

func (m *BulkPushBlock) XXX_Size() int

func (*BulkPushBlock) XXX_Unmarshal

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

type ConfirmAck

type ConfirmAck struct {
	Account              []byte   `protobuf:"bytes,1,opt,name=Account,proto3" json:"Account,omitempty"`
	Signature            []byte   `protobuf:"bytes,2,opt,name=Signature,proto3" json:"Signature,omitempty"`
	Sequence             uint32   `protobuf:"varint,3,opt,name=Sequence,proto3" json:"Sequence,omitempty"`
	Hash                 [][]byte `protobuf:"bytes,4,rep,name=Hash,proto3" json:"Hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedConfirmAck added in v1.4.0

func NewPopulatedConfirmAck(r randyMessage, easy bool) *ConfirmAck

func (*ConfirmAck) Descriptor

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

func (*ConfirmAck) Equal added in v1.4.0

func (this *ConfirmAck) Equal(that interface{}) bool

func (*ConfirmAck) GetAccount

func (m *ConfirmAck) GetAccount() []byte

func (*ConfirmAck) GetHash added in v1.3.0

func (m *ConfirmAck) GetHash() [][]byte

func (*ConfirmAck) GetSequence

func (m *ConfirmAck) GetSequence() uint32

func (*ConfirmAck) GetSignature

func (m *ConfirmAck) GetSignature() []byte

func (*ConfirmAck) GoString added in v1.4.0

func (this *ConfirmAck) GoString() string

func (*ConfirmAck) Marshal added in v1.4.0

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

func (*ConfirmAck) MarshalTo added in v1.4.0

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

func (*ConfirmAck) MarshalToSizedBuffer added in v1.4.0

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

func (*ConfirmAck) ProtoMessage

func (*ConfirmAck) ProtoMessage()

func (*ConfirmAck) Reset

func (m *ConfirmAck) Reset()

func (*ConfirmAck) Size added in v1.4.0

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

func (*ConfirmAck) String

func (this *ConfirmAck) String() string

func (*ConfirmAck) Unmarshal added in v1.4.0

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

func (*ConfirmAck) VerboseEqual added in v1.4.0

func (this *ConfirmAck) VerboseEqual(that interface{}) error

func (*ConfirmAck) XXX_DiscardUnknown

func (m *ConfirmAck) XXX_DiscardUnknown()

func (*ConfirmAck) XXX_Marshal

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

func (*ConfirmAck) XXX_Merge

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

func (*ConfirmAck) XXX_Size

func (m *ConfirmAck) XXX_Size() int

func (*ConfirmAck) XXX_Unmarshal

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

type ConfirmReq

type ConfirmReq struct {
	Block                [][]byte `protobuf:"bytes,1,rep,name=block,proto3" json:"block,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedConfirmReq added in v1.4.0

func NewPopulatedConfirmReq(r randyMessage, easy bool) *ConfirmReq

func (*ConfirmReq) Descriptor

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

func (*ConfirmReq) Equal added in v1.4.0

func (this *ConfirmReq) Equal(that interface{}) bool

func (*ConfirmReq) GetBlock

func (m *ConfirmReq) GetBlock() [][]byte

func (*ConfirmReq) GoString added in v1.4.0

func (this *ConfirmReq) GoString() string

func (*ConfirmReq) Marshal added in v1.4.0

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

func (*ConfirmReq) MarshalTo added in v1.4.0

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

func (*ConfirmReq) MarshalToSizedBuffer added in v1.4.0

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

func (*ConfirmReq) ProtoMessage

func (*ConfirmReq) ProtoMessage()

func (*ConfirmReq) Reset

func (m *ConfirmReq) Reset()

func (*ConfirmReq) Size added in v1.4.0

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

func (*ConfirmReq) String

func (this *ConfirmReq) String() string

func (*ConfirmReq) Unmarshal added in v1.4.0

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

func (*ConfirmReq) VerboseEqual added in v1.4.0

func (this *ConfirmReq) VerboseEqual(that interface{}) error

func (*ConfirmReq) XXX_DiscardUnknown

func (m *ConfirmReq) XXX_DiscardUnknown()

func (*ConfirmReq) XXX_Marshal

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

func (*ConfirmReq) XXX_Merge

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

func (*ConfirmReq) XXX_Size

func (m *ConfirmReq) XXX_Size() int

func (*ConfirmReq) XXX_Unmarshal

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

type FrontierReq

type FrontierReq struct {
	Address              []byte   `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"`
	Age                  uint32   `protobuf:"varint,2,opt,name=Age,proto3" json:"Age,omitempty"`
	Count                uint32   `protobuf:"varint,3,opt,name=Count,proto3" json:"Count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedFrontierReq added in v1.4.0

func NewPopulatedFrontierReq(r randyMessage, easy bool) *FrontierReq

func (*FrontierReq) Descriptor

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

func (*FrontierReq) Equal added in v1.4.0

func (this *FrontierReq) Equal(that interface{}) bool

func (*FrontierReq) GetAddress

func (m *FrontierReq) GetAddress() []byte

func (*FrontierReq) GetAge

func (m *FrontierReq) GetAge() uint32

func (*FrontierReq) GetCount

func (m *FrontierReq) GetCount() uint32

func (*FrontierReq) GoString added in v1.4.0

func (this *FrontierReq) GoString() string

func (*FrontierReq) Marshal added in v1.4.0

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

func (*FrontierReq) MarshalTo added in v1.4.0

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

func (*FrontierReq) MarshalToSizedBuffer added in v1.4.0

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

func (*FrontierReq) ProtoMessage

func (*FrontierReq) ProtoMessage()

func (*FrontierReq) Reset

func (m *FrontierReq) Reset()

func (*FrontierReq) Size added in v1.4.0

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

func (*FrontierReq) String

func (this *FrontierReq) String() string

func (*FrontierReq) Unmarshal added in v1.4.0

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

func (*FrontierReq) VerboseEqual added in v1.4.0

func (this *FrontierReq) VerboseEqual(that interface{}) error

func (*FrontierReq) XXX_DiscardUnknown

func (m *FrontierReq) XXX_DiscardUnknown()

func (*FrontierReq) XXX_Marshal

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

func (*FrontierReq) XXX_Merge

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

func (*FrontierReq) XXX_Size

func (m *FrontierReq) XXX_Size() int

func (*FrontierReq) XXX_Unmarshal

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

type FrontierRsp

type FrontierRsp struct {
	Frontiers            [][]byte `protobuf:"bytes,1,rep,name=Frontiers,proto3" json:"Frontiers,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedFrontierRsp added in v1.4.0

func NewPopulatedFrontierRsp(r randyMessage, easy bool) *FrontierRsp

func (*FrontierRsp) Descriptor

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

func (*FrontierRsp) Equal added in v1.4.0

func (this *FrontierRsp) Equal(that interface{}) bool

func (*FrontierRsp) GetFrontiers added in v1.3.0

func (m *FrontierRsp) GetFrontiers() [][]byte

func (*FrontierRsp) GoString added in v1.4.0

func (this *FrontierRsp) GoString() string

func (*FrontierRsp) Marshal added in v1.4.0

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

func (*FrontierRsp) MarshalTo added in v1.4.0

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

func (*FrontierRsp) MarshalToSizedBuffer added in v1.4.0

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

func (*FrontierRsp) ProtoMessage

func (*FrontierRsp) ProtoMessage()

func (*FrontierRsp) Reset

func (m *FrontierRsp) Reset()

func (*FrontierRsp) Size added in v1.4.0

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

func (*FrontierRsp) String

func (this *FrontierRsp) String() string

func (*FrontierRsp) Unmarshal added in v1.4.0

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

func (*FrontierRsp) VerboseEqual added in v1.4.0

func (this *FrontierRsp) VerboseEqual(that interface{}) error

func (*FrontierRsp) XXX_DiscardUnknown

func (m *FrontierRsp) XXX_DiscardUnknown()

func (*FrontierRsp) XXX_Marshal

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

func (*FrontierRsp) XXX_Merge

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

func (*FrontierRsp) XXX_Size

func (m *FrontierRsp) XXX_Size() int

func (*FrontierRsp) XXX_Unmarshal

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

type MessageAck added in v1.3.0

type MessageAck struct {
	MessageHash          []byte   `protobuf:"bytes,1,opt,name=messageHash,proto3" json:"messageHash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedMessageAck added in v1.4.0

func NewPopulatedMessageAck(r randyMessage, easy bool) *MessageAck

func (*MessageAck) Descriptor added in v1.3.0

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

func (*MessageAck) Equal added in v1.4.0

func (this *MessageAck) Equal(that interface{}) bool

func (*MessageAck) GetMessageHash added in v1.3.0

func (m *MessageAck) GetMessageHash() []byte

func (*MessageAck) GoString added in v1.4.0

func (this *MessageAck) GoString() string

func (*MessageAck) Marshal added in v1.4.0

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

func (*MessageAck) MarshalTo added in v1.4.0

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

func (*MessageAck) MarshalToSizedBuffer added in v1.4.0

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

func (*MessageAck) ProtoMessage added in v1.3.0

func (*MessageAck) ProtoMessage()

func (*MessageAck) Reset added in v1.3.0

func (m *MessageAck) Reset()

func (*MessageAck) Size added in v1.4.0

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

func (*MessageAck) String added in v1.3.0

func (this *MessageAck) String() string

func (*MessageAck) Unmarshal added in v1.4.0

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

func (*MessageAck) VerboseEqual added in v1.4.0

func (this *MessageAck) VerboseEqual(that interface{}) error

func (*MessageAck) XXX_DiscardUnknown added in v1.3.0

func (m *MessageAck) XXX_DiscardUnknown()

func (*MessageAck) XXX_Marshal added in v1.3.0

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

func (*MessageAck) XXX_Merge added in v1.3.0

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

func (*MessageAck) XXX_Size added in v1.3.0

func (m *MessageAck) XXX_Size() int

func (*MessageAck) XXX_Unmarshal added in v1.3.0

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

type PovPublishBlock added in v1.2.3

type PovPublishBlock struct {
	Block                []byte   `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedPovPublishBlock added in v1.4.0

func NewPopulatedPovPublishBlock(r randyMessage, easy bool) *PovPublishBlock

func (*PovPublishBlock) Descriptor added in v1.2.3

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

func (*PovPublishBlock) Equal added in v1.4.0

func (this *PovPublishBlock) Equal(that interface{}) bool

func (*PovPublishBlock) GetBlock added in v1.2.3

func (m *PovPublishBlock) GetBlock() []byte

func (*PovPublishBlock) GoString added in v1.4.0

func (this *PovPublishBlock) GoString() string

func (*PovPublishBlock) Marshal added in v1.4.0

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

func (*PovPublishBlock) MarshalTo added in v1.4.0

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

func (*PovPublishBlock) MarshalToSizedBuffer added in v1.4.0

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

func (*PovPublishBlock) ProtoMessage added in v1.2.3

func (*PovPublishBlock) ProtoMessage()

func (*PovPublishBlock) Reset added in v1.2.3

func (m *PovPublishBlock) Reset()

func (*PovPublishBlock) Size added in v1.4.0

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

func (*PovPublishBlock) String added in v1.2.3

func (this *PovPublishBlock) String() string

func (*PovPublishBlock) Unmarshal added in v1.4.0

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

func (*PovPublishBlock) VerboseEqual added in v1.4.0

func (this *PovPublishBlock) VerboseEqual(that interface{}) error

func (*PovPublishBlock) XXX_DiscardUnknown added in v1.2.3

func (m *PovPublishBlock) XXX_DiscardUnknown()

func (*PovPublishBlock) XXX_Marshal added in v1.2.3

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

func (*PovPublishBlock) XXX_Merge added in v1.2.3

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

func (*PovPublishBlock) XXX_Size added in v1.2.3

func (m *PovPublishBlock) XXX_Size() int

func (*PovPublishBlock) XXX_Unmarshal added in v1.2.3

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

type PovPullBlockReq added in v1.2.3

type PovPullBlockReq struct {
	StartHash            []byte   `protobuf:"bytes,1,opt,name=StartHash,proto3" json:"StartHash,omitempty"`
	StartHeight          uint64   `protobuf:"varint,2,opt,name=StartHeight,proto3" json:"StartHeight,omitempty"`
	Count                uint32   `protobuf:"varint,3,opt,name=Count,proto3" json:"Count,omitempty"`
	PullType             uint32   `protobuf:"varint,4,opt,name=PullType,proto3" json:"PullType,omitempty"`
	Reason               uint32   `protobuf:"varint,5,opt,name=Reason,proto3" json:"Reason,omitempty"`
	Locators             []byte   `protobuf:"bytes,6,opt,name=Locators,proto3" json:"Locators,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedPovPullBlockReq added in v1.4.0

func NewPopulatedPovPullBlockReq(r randyMessage, easy bool) *PovPullBlockReq

func (*PovPullBlockReq) Descriptor added in v1.2.3

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

func (*PovPullBlockReq) Equal added in v1.4.0

func (this *PovPullBlockReq) Equal(that interface{}) bool

func (*PovPullBlockReq) GetCount added in v1.2.3

func (m *PovPullBlockReq) GetCount() uint32

func (*PovPullBlockReq) GetLocators added in v1.2.3

func (m *PovPullBlockReq) GetLocators() []byte

func (*PovPullBlockReq) GetPullType added in v1.2.3

func (m *PovPullBlockReq) GetPullType() uint32

func (*PovPullBlockReq) GetReason added in v1.2.3

func (m *PovPullBlockReq) GetReason() uint32

func (*PovPullBlockReq) GetStartHash added in v1.2.3

func (m *PovPullBlockReq) GetStartHash() []byte

func (*PovPullBlockReq) GetStartHeight added in v1.2.3

func (m *PovPullBlockReq) GetStartHeight() uint64

func (*PovPullBlockReq) GoString added in v1.4.0

func (this *PovPullBlockReq) GoString() string

func (*PovPullBlockReq) Marshal added in v1.4.0

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

func (*PovPullBlockReq) MarshalTo added in v1.4.0

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

func (*PovPullBlockReq) MarshalToSizedBuffer added in v1.4.0

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

func (*PovPullBlockReq) ProtoMessage added in v1.2.3

func (*PovPullBlockReq) ProtoMessage()

func (*PovPullBlockReq) Reset added in v1.2.3

func (m *PovPullBlockReq) Reset()

func (*PovPullBlockReq) Size added in v1.4.0

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

func (*PovPullBlockReq) String added in v1.2.3

func (this *PovPullBlockReq) String() string

func (*PovPullBlockReq) Unmarshal added in v1.4.0

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

func (*PovPullBlockReq) VerboseEqual added in v1.4.0

func (this *PovPullBlockReq) VerboseEqual(that interface{}) error

func (*PovPullBlockReq) XXX_DiscardUnknown added in v1.2.3

func (m *PovPullBlockReq) XXX_DiscardUnknown()

func (*PovPullBlockReq) XXX_Marshal added in v1.2.3

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

func (*PovPullBlockReq) XXX_Merge added in v1.2.3

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

func (*PovPullBlockReq) XXX_Size added in v1.2.3

func (m *PovPullBlockReq) XXX_Size() int

func (*PovPullBlockReq) XXX_Unmarshal added in v1.2.3

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

type PovPullBlockRsp added in v1.2.3

type PovPullBlockRsp struct {
	Count                uint32   `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	Block                []byte   `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"`
	Reason               uint32   `protobuf:"varint,3,opt,name=Reason,proto3" json:"Reason,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedPovPullBlockRsp added in v1.4.0

func NewPopulatedPovPullBlockRsp(r randyMessage, easy bool) *PovPullBlockRsp

func (*PovPullBlockRsp) Descriptor added in v1.2.3

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

func (*PovPullBlockRsp) Equal added in v1.4.0

func (this *PovPullBlockRsp) Equal(that interface{}) bool

func (*PovPullBlockRsp) GetBlock added in v1.2.3

func (m *PovPullBlockRsp) GetBlock() []byte

func (*PovPullBlockRsp) GetCount added in v1.2.3

func (m *PovPullBlockRsp) GetCount() uint32

func (*PovPullBlockRsp) GetReason added in v1.2.3

func (m *PovPullBlockRsp) GetReason() uint32

func (*PovPullBlockRsp) GoString added in v1.4.0

func (this *PovPullBlockRsp) GoString() string

func (*PovPullBlockRsp) Marshal added in v1.4.0

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

func (*PovPullBlockRsp) MarshalTo added in v1.4.0

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

func (*PovPullBlockRsp) MarshalToSizedBuffer added in v1.4.0

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

func (*PovPullBlockRsp) ProtoMessage added in v1.2.3

func (*PovPullBlockRsp) ProtoMessage()

func (*PovPullBlockRsp) Reset added in v1.2.3

func (m *PovPullBlockRsp) Reset()

func (*PovPullBlockRsp) Size added in v1.4.0

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

func (*PovPullBlockRsp) String added in v1.2.3

func (this *PovPullBlockRsp) String() string

func (*PovPullBlockRsp) Unmarshal added in v1.4.0

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

func (*PovPullBlockRsp) VerboseEqual added in v1.4.0

func (this *PovPullBlockRsp) VerboseEqual(that interface{}) error

func (*PovPullBlockRsp) XXX_DiscardUnknown added in v1.2.3

func (m *PovPullBlockRsp) XXX_DiscardUnknown()

func (*PovPullBlockRsp) XXX_Marshal added in v1.2.3

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

func (*PovPullBlockRsp) XXX_Merge added in v1.2.3

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

func (*PovPullBlockRsp) XXX_Size added in v1.2.3

func (m *PovPullBlockRsp) XXX_Size() int

func (*PovPullBlockRsp) XXX_Unmarshal added in v1.2.3

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

type PovStatus added in v1.2.3

type PovStatus struct {
	CurrentHeight        uint64   `protobuf:"varint,1,opt,name=CurrentHeight,proto3" json:"CurrentHeight,omitempty"`
	CurrentHash          []byte   `protobuf:"bytes,2,opt,name=CurrentHash,proto3" json:"CurrentHash,omitempty"`
	GenesisHash          []byte   `protobuf:"bytes,3,opt,name=GenesisHash,proto3" json:"GenesisHash,omitempty"`
	CurrentTD            []byte   `protobuf:"bytes,4,opt,name=CurrentTD,proto3" json:"CurrentTD,omitempty"`
	Timestamp            int64    `protobuf:"varint,5,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedPovStatus added in v1.4.0

func NewPopulatedPovStatus(r randyMessage, easy bool) *PovStatus

func (*PovStatus) Descriptor added in v1.2.3

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

func (*PovStatus) Equal added in v1.4.0

func (this *PovStatus) Equal(that interface{}) bool

func (*PovStatus) GetCurrentHash added in v1.2.3

func (m *PovStatus) GetCurrentHash() []byte

func (*PovStatus) GetCurrentHeight added in v1.2.3

func (m *PovStatus) GetCurrentHeight() uint64

func (*PovStatus) GetCurrentTD added in v1.2.3

func (m *PovStatus) GetCurrentTD() []byte

func (*PovStatus) GetGenesisHash added in v1.2.3

func (m *PovStatus) GetGenesisHash() []byte

func (*PovStatus) GetTimestamp added in v1.2.3

func (m *PovStatus) GetTimestamp() int64

func (*PovStatus) GoString added in v1.4.0

func (this *PovStatus) GoString() string

func (*PovStatus) Marshal added in v1.4.0

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

func (*PovStatus) MarshalTo added in v1.4.0

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

func (*PovStatus) MarshalToSizedBuffer added in v1.4.0

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

func (*PovStatus) ProtoMessage added in v1.2.3

func (*PovStatus) ProtoMessage()

func (*PovStatus) Reset added in v1.2.3

func (m *PovStatus) Reset()

func (*PovStatus) Size added in v1.4.0

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

func (*PovStatus) String added in v1.2.3

func (this *PovStatus) String() string

func (*PovStatus) Unmarshal added in v1.4.0

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

func (*PovStatus) VerboseEqual added in v1.4.0

func (this *PovStatus) VerboseEqual(that interface{}) error

func (*PovStatus) XXX_DiscardUnknown added in v1.2.3

func (m *PovStatus) XXX_DiscardUnknown()

func (*PovStatus) XXX_Marshal added in v1.2.3

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

func (*PovStatus) XXX_Merge added in v1.2.3

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

func (*PovStatus) XXX_Size added in v1.2.3

func (m *PovStatus) XXX_Size() int

func (*PovStatus) XXX_Unmarshal added in v1.2.3

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

type PublishBlock

type PublishBlock struct {
	Block                []byte   `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedPublishBlock added in v1.4.0

func NewPopulatedPublishBlock(r randyMessage, easy bool) *PublishBlock

func (*PublishBlock) Descriptor

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

func (*PublishBlock) Equal added in v1.4.0

func (this *PublishBlock) Equal(that interface{}) bool

func (*PublishBlock) GetBlock

func (m *PublishBlock) GetBlock() []byte

func (*PublishBlock) GoString added in v1.4.0

func (this *PublishBlock) GoString() string

func (*PublishBlock) Marshal added in v1.4.0

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

func (*PublishBlock) MarshalTo added in v1.4.0

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

func (*PublishBlock) MarshalToSizedBuffer added in v1.4.0

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

func (*PublishBlock) ProtoMessage

func (*PublishBlock) ProtoMessage()

func (*PublishBlock) Reset

func (m *PublishBlock) Reset()

func (*PublishBlock) Size added in v1.4.0

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

func (*PublishBlock) String

func (this *PublishBlock) String() string

func (*PublishBlock) Unmarshal added in v1.4.0

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

func (*PublishBlock) VerboseEqual added in v1.4.0

func (this *PublishBlock) VerboseEqual(that interface{}) error

func (*PublishBlock) XXX_DiscardUnknown

func (m *PublishBlock) XXX_DiscardUnknown()

func (*PublishBlock) XXX_Marshal

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

func (*PublishBlock) XXX_Merge

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

func (*PublishBlock) XXX_Size

func (m *PublishBlock) XXX_Size() int

func (*PublishBlock) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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