Documentation ¶
Index ¶
- type BulkPullReq
- func (*BulkPullReq) Descriptor() ([]byte, []int)
- func (m *BulkPullReq) GetCount() uint32
- func (m *BulkPullReq) GetEndHash() []byte
- func (m *BulkPullReq) GetHashes() []byte
- func (m *BulkPullReq) GetPullType() uint32
- func (m *BulkPullReq) GetStartHash() []byte
- func (*BulkPullReq) ProtoMessage()
- func (m *BulkPullReq) Reset()
- func (m *BulkPullReq) String() string
- func (m *BulkPullReq) XXX_DiscardUnknown()
- func (m *BulkPullReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BulkPullReq) XXX_Merge(src proto.Message)
- func (m *BulkPullReq) XXX_Size() int
- func (m *BulkPullReq) XXX_Unmarshal(b []byte) error
- type BulkPullRsp
- func (*BulkPullRsp) Descriptor() ([]byte, []int)
- func (m *BulkPullRsp) GetBlocks() []byte
- func (m *BulkPullRsp) GetPullType() uint32
- func (*BulkPullRsp) ProtoMessage()
- func (m *BulkPullRsp) Reset()
- func (m *BulkPullRsp) String() string
- func (m *BulkPullRsp) XXX_DiscardUnknown()
- func (m *BulkPullRsp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BulkPullRsp) XXX_Merge(src proto.Message)
- func (m *BulkPullRsp) XXX_Size() int
- func (m *BulkPullRsp) XXX_Unmarshal(b []byte) error
- type BulkPushBlock
- func (*BulkPushBlock) Descriptor() ([]byte, []int)
- func (m *BulkPushBlock) GetBlocks() []byte
- func (*BulkPushBlock) ProtoMessage()
- func (m *BulkPushBlock) Reset()
- func (m *BulkPushBlock) String() string
- func (m *BulkPushBlock) XXX_DiscardUnknown()
- func (m *BulkPushBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BulkPushBlock) XXX_Merge(src proto.Message)
- func (m *BulkPushBlock) XXX_Size() int
- func (m *BulkPushBlock) XXX_Unmarshal(b []byte) error
- type ConfirmAck
- func (*ConfirmAck) Descriptor() ([]byte, []int)
- func (m *ConfirmAck) GetAccount() []byte
- func (m *ConfirmAck) GetHash() [][]byte
- func (m *ConfirmAck) GetSequence() uint32
- func (m *ConfirmAck) GetSignature() []byte
- func (*ConfirmAck) ProtoMessage()
- func (m *ConfirmAck) Reset()
- func (m *ConfirmAck) String() string
- func (m *ConfirmAck) XXX_DiscardUnknown()
- func (m *ConfirmAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ConfirmAck) XXX_Merge(src proto.Message)
- func (m *ConfirmAck) XXX_Size() int
- func (m *ConfirmAck) XXX_Unmarshal(b []byte) error
- type ConfirmReq
- func (*ConfirmReq) Descriptor() ([]byte, []int)
- func (m *ConfirmReq) GetBlock() [][]byte
- func (*ConfirmReq) ProtoMessage()
- func (m *ConfirmReq) Reset()
- func (m *ConfirmReq) String() string
- func (m *ConfirmReq) XXX_DiscardUnknown()
- func (m *ConfirmReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ConfirmReq) XXX_Merge(src proto.Message)
- func (m *ConfirmReq) XXX_Size() int
- func (m *ConfirmReq) XXX_Unmarshal(b []byte) error
- type FrontierReq
- func (*FrontierReq) Descriptor() ([]byte, []int)
- func (m *FrontierReq) GetAddress() []byte
- func (m *FrontierReq) GetAge() uint32
- func (m *FrontierReq) GetCount() uint32
- func (*FrontierReq) ProtoMessage()
- func (m *FrontierReq) Reset()
- func (m *FrontierReq) String() string
- func (m *FrontierReq) XXX_DiscardUnknown()
- func (m *FrontierReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FrontierReq) XXX_Merge(src proto.Message)
- func (m *FrontierReq) XXX_Size() int
- func (m *FrontierReq) XXX_Unmarshal(b []byte) error
- type FrontierRsp
- func (*FrontierRsp) Descriptor() ([]byte, []int)
- func (m *FrontierRsp) GetFrontiers() [][]byte
- func (*FrontierRsp) ProtoMessage()
- func (m *FrontierRsp) Reset()
- func (m *FrontierRsp) String() string
- func (m *FrontierRsp) XXX_DiscardUnknown()
- func (m *FrontierRsp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FrontierRsp) XXX_Merge(src proto.Message)
- func (m *FrontierRsp) XXX_Size() int
- func (m *FrontierRsp) XXX_Unmarshal(b []byte) error
- type MessageAck
- func (*MessageAck) Descriptor() ([]byte, []int)
- func (m *MessageAck) GetMessageHash() []byte
- func (*MessageAck) ProtoMessage()
- func (m *MessageAck) Reset()
- func (m *MessageAck) String() string
- func (m *MessageAck) XXX_DiscardUnknown()
- func (m *MessageAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MessageAck) XXX_Merge(src proto.Message)
- func (m *MessageAck) XXX_Size() int
- func (m *MessageAck) XXX_Unmarshal(b []byte) error
- type PovPublishBlock
- func (*PovPublishBlock) Descriptor() ([]byte, []int)
- func (m *PovPublishBlock) GetBlock() []byte
- func (*PovPublishBlock) ProtoMessage()
- func (m *PovPublishBlock) Reset()
- func (m *PovPublishBlock) String() string
- func (m *PovPublishBlock) XXX_DiscardUnknown()
- func (m *PovPublishBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PovPublishBlock) XXX_Merge(src proto.Message)
- func (m *PovPublishBlock) XXX_Size() int
- func (m *PovPublishBlock) XXX_Unmarshal(b []byte) error
- type PovPullBlockReq
- func (*PovPullBlockReq) Descriptor() ([]byte, []int)
- func (m *PovPullBlockReq) GetCount() uint32
- func (m *PovPullBlockReq) GetLocators() []byte
- func (m *PovPullBlockReq) GetPullType() uint32
- func (m *PovPullBlockReq) GetReason() uint32
- func (m *PovPullBlockReq) GetStartHash() []byte
- func (m *PovPullBlockReq) GetStartHeight() uint64
- func (*PovPullBlockReq) ProtoMessage()
- func (m *PovPullBlockReq) Reset()
- func (m *PovPullBlockReq) String() string
- func (m *PovPullBlockReq) XXX_DiscardUnknown()
- func (m *PovPullBlockReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PovPullBlockReq) XXX_Merge(src proto.Message)
- func (m *PovPullBlockReq) XXX_Size() int
- func (m *PovPullBlockReq) XXX_Unmarshal(b []byte) error
- type PovPullBlockRsp
- func (*PovPullBlockRsp) Descriptor() ([]byte, []int)
- func (m *PovPullBlockRsp) GetBlock() []byte
- func (m *PovPullBlockRsp) GetCount() uint32
- func (m *PovPullBlockRsp) GetReason() uint32
- func (*PovPullBlockRsp) ProtoMessage()
- func (m *PovPullBlockRsp) Reset()
- func (m *PovPullBlockRsp) String() string
- func (m *PovPullBlockRsp) XXX_DiscardUnknown()
- func (m *PovPullBlockRsp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PovPullBlockRsp) XXX_Merge(src proto.Message)
- func (m *PovPullBlockRsp) XXX_Size() int
- func (m *PovPullBlockRsp) XXX_Unmarshal(b []byte) error
- type PovStatus
- func (*PovStatus) Descriptor() ([]byte, []int)
- func (m *PovStatus) GetCurrentHash() []byte
- func (m *PovStatus) GetCurrentHeight() uint64
- func (m *PovStatus) GetCurrentTD() []byte
- func (m *PovStatus) GetGenesisHash() []byte
- func (m *PovStatus) GetTimestamp() int64
- func (*PovStatus) ProtoMessage()
- func (m *PovStatus) Reset()
- func (m *PovStatus) String() string
- func (m *PovStatus) XXX_DiscardUnknown()
- func (m *PovStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PovStatus) XXX_Merge(src proto.Message)
- func (m *PovStatus) XXX_Size() int
- func (m *PovStatus) XXX_Unmarshal(b []byte) error
- type PublishBlock
- func (*PublishBlock) Descriptor() ([]byte, []int)
- func (m *PublishBlock) GetBlock() []byte
- func (*PublishBlock) ProtoMessage()
- func (m *PublishBlock) Reset()
- func (m *PublishBlock) String() string
- func (m *PublishBlock) XXX_DiscardUnknown()
- func (m *PublishBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PublishBlock) XXX_Merge(src proto.Message)
- func (m *PublishBlock) XXX_Size() int
- func (m *PublishBlock) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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 (*BulkPullReq) Descriptor ¶
func (*BulkPullReq) Descriptor() ([]byte, []int)
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) ProtoMessage ¶
func (*BulkPullReq) ProtoMessage()
func (*BulkPullReq) Reset ¶
func (m *BulkPullReq) Reset()
func (*BulkPullReq) String ¶
func (m *BulkPullReq) String() string
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 (dst *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 (*BulkPullRsp) Descriptor ¶
func (*BulkPullRsp) Descriptor() ([]byte, []int)
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) ProtoMessage ¶
func (*BulkPullRsp) ProtoMessage()
func (*BulkPullRsp) Reset ¶
func (m *BulkPullRsp) Reset()
func (*BulkPullRsp) String ¶
func (m *BulkPullRsp) String() string
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 (dst *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 (*BulkPushBlock) Descriptor ¶
func (*BulkPushBlock) Descriptor() ([]byte, []int)
func (*BulkPushBlock) GetBlocks ¶ added in v1.3.0
func (m *BulkPushBlock) GetBlocks() []byte
func (*BulkPushBlock) ProtoMessage ¶
func (*BulkPushBlock) ProtoMessage()
func (*BulkPushBlock) Reset ¶
func (m *BulkPushBlock) Reset()
func (*BulkPushBlock) String ¶
func (m *BulkPushBlock) String() string
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 (dst *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 (*ConfirmAck) Descriptor ¶
func (*ConfirmAck) Descriptor() ([]byte, []int)
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) ProtoMessage ¶
func (*ConfirmAck) ProtoMessage()
func (*ConfirmAck) Reset ¶
func (m *ConfirmAck) Reset()
func (*ConfirmAck) String ¶
func (m *ConfirmAck) String() string
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 (dst *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 (*ConfirmReq) Descriptor ¶
func (*ConfirmReq) Descriptor() ([]byte, []int)
func (*ConfirmReq) GetBlock ¶
func (m *ConfirmReq) GetBlock() [][]byte
func (*ConfirmReq) ProtoMessage ¶
func (*ConfirmReq) ProtoMessage()
func (*ConfirmReq) Reset ¶
func (m *ConfirmReq) Reset()
func (*ConfirmReq) String ¶
func (m *ConfirmReq) String() string
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 (dst *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 (*FrontierReq) Descriptor ¶
func (*FrontierReq) Descriptor() ([]byte, []int)
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) ProtoMessage ¶
func (*FrontierReq) ProtoMessage()
func (*FrontierReq) Reset ¶
func (m *FrontierReq) Reset()
func (*FrontierReq) String ¶
func (m *FrontierReq) String() string
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 (dst *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 (*FrontierRsp) Descriptor ¶
func (*FrontierRsp) Descriptor() ([]byte, []int)
func (*FrontierRsp) GetFrontiers ¶ added in v1.3.0
func (m *FrontierRsp) GetFrontiers() [][]byte
func (*FrontierRsp) ProtoMessage ¶
func (*FrontierRsp) ProtoMessage()
func (*FrontierRsp) Reset ¶
func (m *FrontierRsp) Reset()
func (*FrontierRsp) String ¶
func (m *FrontierRsp) String() string
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 (dst *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 (*MessageAck) Descriptor ¶ added in v1.3.0
func (*MessageAck) Descriptor() ([]byte, []int)
func (*MessageAck) GetMessageHash ¶ added in v1.3.0
func (m *MessageAck) GetMessageHash() []byte
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) String ¶ added in v1.3.0
func (m *MessageAck) String() string
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 (dst *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 (*PovPublishBlock) Descriptor ¶ added in v1.2.3
func (*PovPublishBlock) Descriptor() ([]byte, []int)
func (*PovPublishBlock) GetBlock ¶ added in v1.2.3
func (m *PovPublishBlock) GetBlock() []byte
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) String ¶ added in v1.2.3
func (m *PovPublishBlock) String() string
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 (dst *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 (*PovPullBlockReq) Descriptor ¶ added in v1.2.3
func (*PovPullBlockReq) Descriptor() ([]byte, []int)
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) ProtoMessage ¶ added in v1.2.3
func (*PovPullBlockReq) ProtoMessage()
func (*PovPullBlockReq) Reset ¶ added in v1.2.3
func (m *PovPullBlockReq) Reset()
func (*PovPullBlockReq) String ¶ added in v1.2.3
func (m *PovPullBlockReq) String() string
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 (dst *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 (*PovPullBlockRsp) Descriptor ¶ added in v1.2.3
func (*PovPullBlockRsp) Descriptor() ([]byte, []int)
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) ProtoMessage ¶ added in v1.2.3
func (*PovPullBlockRsp) ProtoMessage()
func (*PovPullBlockRsp) Reset ¶ added in v1.2.3
func (m *PovPullBlockRsp) Reset()
func (*PovPullBlockRsp) String ¶ added in v1.2.3
func (m *PovPullBlockRsp) String() string
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 (dst *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 (*PovStatus) Descriptor ¶ added in v1.2.3
func (*PovStatus) GetCurrentHash ¶ added in v1.2.3
func (*PovStatus) GetCurrentHeight ¶ added in v1.2.3
func (*PovStatus) GetCurrentTD ¶ added in v1.2.3
func (*PovStatus) GetGenesisHash ¶ added in v1.2.3
func (*PovStatus) GetTimestamp ¶ added in v1.2.3
func (*PovStatus) ProtoMessage ¶ added in v1.2.3
func (*PovStatus) ProtoMessage()
func (*PovStatus) XXX_DiscardUnknown ¶ added in v1.2.3
func (m *PovStatus) XXX_DiscardUnknown()
func (*PovStatus) XXX_Marshal ¶ added in v1.2.3
func (*PovStatus) XXX_Unmarshal ¶ added in v1.2.3
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 (*PublishBlock) Descriptor ¶
func (*PublishBlock) Descriptor() ([]byte, []int)
func (*PublishBlock) GetBlock ¶
func (m *PublishBlock) GetBlock() []byte
func (*PublishBlock) ProtoMessage ¶
func (*PublishBlock) ProtoMessage()
func (*PublishBlock) Reset ¶
func (m *PublishBlock) Reset()
func (*PublishBlock) String ¶
func (m *PublishBlock) String() string
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 (dst *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
Click to show internal directories.
Click to hide internal directories.