Documentation ¶
Index ¶
- type BulkPullReq
- func (*BulkPullReq) Descriptor() ([]byte, []int)
- func (m *BulkPullReq) GetEndHash() []byte
- 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) GetBlock() []byte
- func (m *BulkPullRsp) GetBlocktype() 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) GetBlock() []byte
- func (m *BulkPushBlock) GetBlocktype() uint32
- 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) GetBlock() []byte
- func (m *ConfirmAck) GetBlocktype() uint32
- 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 (m *ConfirmReq) GetBlocktype() uint32
- 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) GetHeaderBlock() []byte
- func (m *FrontierRsp) GetOpenBlock() []byte
- func (m *FrontierRsp) GetTotalFrontierNum() uint32
- 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 PublishBlock
- func (*PublishBlock) Descriptor() ([]byte, []int)
- func (m *PublishBlock) GetBlock() []byte
- func (m *PublishBlock) GetBlocktype() uint32
- 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BulkPullReq) Descriptor ¶
func (*BulkPullReq) Descriptor() ([]byte, []int)
func (*BulkPullReq) GetEndHash ¶
func (m *BulkPullReq) GetEndHash() []byte
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 { Blocktype uint32 `protobuf:"varint,1,opt,name=blocktype,proto3" json:"blocktype,omitempty"` Block []byte `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BulkPullRsp) Descriptor ¶
func (*BulkPullRsp) Descriptor() ([]byte, []int)
func (*BulkPullRsp) GetBlock ¶
func (m *BulkPullRsp) GetBlock() []byte
func (*BulkPullRsp) GetBlocktype ¶
func (m *BulkPullRsp) GetBlocktype() 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 { Blocktype uint32 `protobuf:"varint,1,opt,name=blocktype,proto3" json:"blocktype,omitempty"` Block []byte `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BulkPushBlock) Descriptor ¶
func (*BulkPushBlock) Descriptor() ([]byte, []int)
func (*BulkPushBlock) GetBlock ¶
func (m *BulkPushBlock) GetBlock() []byte
func (*BulkPushBlock) GetBlocktype ¶
func (m *BulkPushBlock) GetBlocktype() uint32
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"` Blocktype uint32 `protobuf:"varint,4,opt,name=blocktype,proto3" json:"blocktype,omitempty"` Block []byte `protobuf:"bytes,5,opt,name=block,proto3" json:"block,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) GetBlock ¶
func (m *ConfirmAck) GetBlock() []byte
func (*ConfirmAck) GetBlocktype ¶
func (m *ConfirmAck) GetBlocktype() uint32
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 { Blocktype uint32 `protobuf:"varint,1,opt,name=blocktype,proto3" json:"blocktype,omitempty"` Block []byte `protobuf:"bytes,2,opt,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) GetBlocktype ¶
func (m *ConfirmReq) GetBlocktype() uint32
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 { TotalFrontierNum uint32 `protobuf:"varint,1,opt,name=TotalFrontierNum,proto3" json:"TotalFrontierNum,omitempty"` HeaderBlock []byte `protobuf:"bytes,2,opt,name=HeaderBlock,proto3" json:"HeaderBlock,omitempty"` OpenBlock []byte `protobuf:"bytes,3,opt,name=OpenBlock,proto3" json:"OpenBlock,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FrontierRsp) Descriptor ¶
func (*FrontierRsp) Descriptor() ([]byte, []int)
func (*FrontierRsp) GetHeaderBlock ¶
func (m *FrontierRsp) GetHeaderBlock() []byte
func (*FrontierRsp) GetOpenBlock ¶
func (m *FrontierRsp) GetOpenBlock() []byte
func (*FrontierRsp) GetTotalFrontierNum ¶ added in v0.0.9
func (m *FrontierRsp) GetTotalFrontierNum() uint32
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 PublishBlock ¶
type PublishBlock struct { Blocktype uint32 `protobuf:"varint,1,opt,name=blocktype,proto3" json:"blocktype,omitempty"` Block []byte `protobuf:"bytes,2,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) GetBlocktype ¶
func (m *PublishBlock) GetBlocktype() uint32
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.