Documentation
¶
Index ¶
- Variables
- type BroadcastSigTrx
- func (this *BroadcastSigTrx) CmdType() string
- func (*BroadcastSigTrx) Descriptor() ([]byte, []int)
- func (this *BroadcastSigTrx) Deserialization(source *comm.ZeroCopySource) error
- func (m *BroadcastSigTrx) GetSigTrx() *prototype.SignedTransaction
- func (*BroadcastSigTrx) ProtoMessage()
- func (m *BroadcastSigTrx) Reset()
- func (this *BroadcastSigTrx) Serialization(sink *comm.ZeroCopySink) error
- func (m *BroadcastSigTrx) String() string
- func (m *BroadcastSigTrx) XXX_DiscardUnknown()
- func (m *BroadcastSigTrx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BroadcastSigTrx) XXX_Merge(src proto.Message)
- func (m *BroadcastSigTrx) XXX_Size() int
- func (m *BroadcastSigTrx) XXX_Unmarshal(b []byte) error
- type IdMsg
- func (this *IdMsg) CmdType() string
- func (*IdMsg) Descriptor() ([]byte, []int)
- func (this *IdMsg) Deserialization(source *comm.ZeroCopySource) error
- func (m *IdMsg) GetMsgtype() IdMsgType
- func (m *IdMsg) GetValue() [][]byte
- func (*IdMsg) ProtoMessage()
- func (m *IdMsg) Reset()
- func (this *IdMsg) Serialization(sink *comm.ZeroCopySink) error
- func (m *IdMsg) String() string
- func (m *IdMsg) XXX_DiscardUnknown()
- func (m *IdMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IdMsg) XXX_Merge(src proto.Message)
- func (m *IdMsg) XXX_Size() int
- func (m *IdMsg) XXX_Unmarshal(b []byte) error
- type IdMsgType
- type ReqIdMsg
- func (this *ReqIdMsg) CmdType() string
- func (*ReqIdMsg) Descriptor() ([]byte, []int)
- func (this *ReqIdMsg) Deserialization(source *comm.ZeroCopySource) error
- func (m *ReqIdMsg) GetHeadBlockId() []byte
- func (*ReqIdMsg) ProtoMessage()
- func (m *ReqIdMsg) Reset()
- func (this *ReqIdMsg) Serialization(sink *comm.ZeroCopySink) error
- func (m *ReqIdMsg) String() string
- func (m *ReqIdMsg) XXX_DiscardUnknown()
- func (m *ReqIdMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ReqIdMsg) XXX_Merge(src proto.Message)
- func (m *ReqIdMsg) XXX_Size() int
- func (m *ReqIdMsg) XXX_Unmarshal(b []byte) error
- type SigBlkMsg
- func (this *SigBlkMsg) CmdType() string
- func (*SigBlkMsg) Descriptor() ([]byte, []int)
- func (this *SigBlkMsg) Deserialization(source *comm.ZeroCopySource) error
- func (m *SigBlkMsg) GetSigBlk() *prototype.SignedBlock
- func (*SigBlkMsg) ProtoMessage()
- func (m *SigBlkMsg) Reset()
- func (this *SigBlkMsg) Serialization(sink *comm.ZeroCopySink) error
- func (m *SigBlkMsg) String() string
- func (m *SigBlkMsg) XXX_DiscardUnknown()
- func (m *SigBlkMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SigBlkMsg) XXX_Merge(src proto.Message)
- func (m *SigBlkMsg) XXX_Size() int
- func (m *SigBlkMsg) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var IdMsgType_name = map[int32]string{
0: "broadcast_sigblk_id",
1: "request_sigblk_by_id",
2: "request_id_ack",
}
View Source
var IdMsgType_value = map[string]int32{
"broadcast_sigblk_id": 0,
"request_sigblk_by_id": 1,
"request_id_ack": 2,
}
Functions ¶
This section is empty.
Types ¶
type BroadcastSigTrx ¶
type BroadcastSigTrx struct {
SigTrx *prototype.SignedTransaction `protobuf:"bytes,1,opt,name=SigTrx,proto3" json:"SigTrx,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BroadcastSigTrx) CmdType ¶
func (this *BroadcastSigTrx) CmdType() string
func (*BroadcastSigTrx) Descriptor ¶
func (*BroadcastSigTrx) Descriptor() ([]byte, []int)
func (*BroadcastSigTrx) Deserialization ¶
func (this *BroadcastSigTrx) Deserialization(source *comm.ZeroCopySource) error
Deserialize message payload
func (*BroadcastSigTrx) GetSigTrx ¶
func (m *BroadcastSigTrx) GetSigTrx() *prototype.SignedTransaction
func (*BroadcastSigTrx) ProtoMessage ¶
func (*BroadcastSigTrx) ProtoMessage()
func (*BroadcastSigTrx) Reset ¶
func (m *BroadcastSigTrx) Reset()
func (*BroadcastSigTrx) Serialization ¶
func (this *BroadcastSigTrx) Serialization(sink *comm.ZeroCopySink) error
Serialize message payload
func (*BroadcastSigTrx) String ¶
func (m *BroadcastSigTrx) String() string
func (*BroadcastSigTrx) XXX_DiscardUnknown ¶
func (m *BroadcastSigTrx) XXX_DiscardUnknown()
func (*BroadcastSigTrx) XXX_Marshal ¶
func (m *BroadcastSigTrx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BroadcastSigTrx) XXX_Merge ¶
func (dst *BroadcastSigTrx) XXX_Merge(src proto.Message)
func (*BroadcastSigTrx) XXX_Size ¶
func (m *BroadcastSigTrx) XXX_Size() int
func (*BroadcastSigTrx) XXX_Unmarshal ¶
func (m *BroadcastSigTrx) XXX_Unmarshal(b []byte) error
type IdMsg ¶
type IdMsg struct {
Msgtype IdMsgType `protobuf:"varint,1,opt,name=msgtype,proto3,enum=msg.IdMsgType" json:"msgtype,omitempty"`
Value [][]byte `protobuf:"bytes,2,rep,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*IdMsg) Descriptor ¶
func (*IdMsg) Deserialization ¶
func (this *IdMsg) Deserialization(source *comm.ZeroCopySource) error
Deserialize message payload
func (*IdMsg) GetMsgtype ¶
func (*IdMsg) ProtoMessage ¶
func (*IdMsg) ProtoMessage()
func (*IdMsg) Serialization ¶
func (this *IdMsg) Serialization(sink *comm.ZeroCopySink) error
Serialize message payload
func (*IdMsg) XXX_DiscardUnknown ¶
func (m *IdMsg) XXX_DiscardUnknown()
func (*IdMsg) XXX_Marshal ¶
func (*IdMsg) XXX_Unmarshal ¶
type ReqIdMsg ¶
type ReqIdMsg struct {
HeadBlockId []byte `protobuf:"bytes,1,opt,name=head_block_id,json=headBlockId,proto3" json:"head_block_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ReqIdMsg) Descriptor ¶
func (*ReqIdMsg) Deserialization ¶
func (this *ReqIdMsg) Deserialization(source *comm.ZeroCopySource) error
Deserialize message payload
func (*ReqIdMsg) GetHeadBlockId ¶
func (*ReqIdMsg) ProtoMessage ¶
func (*ReqIdMsg) ProtoMessage()
func (*ReqIdMsg) Serialization ¶
func (this *ReqIdMsg) Serialization(sink *comm.ZeroCopySink) error
Serialize message payload
func (*ReqIdMsg) XXX_DiscardUnknown ¶
func (m *ReqIdMsg) XXX_DiscardUnknown()
func (*ReqIdMsg) XXX_Marshal ¶
func (*ReqIdMsg) XXX_Unmarshal ¶
type SigBlkMsg ¶
type SigBlkMsg struct {
SigBlk *prototype.SignedBlock `protobuf:"bytes,1,opt,name=SigBlk,proto3" json:"SigBlk,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SigBlkMsg) Descriptor ¶
func (*SigBlkMsg) Deserialization ¶
func (this *SigBlkMsg) Deserialization(source *comm.ZeroCopySource) error
Deserialize message payload
func (*SigBlkMsg) GetSigBlk ¶
func (m *SigBlkMsg) GetSigBlk() *prototype.SignedBlock
func (*SigBlkMsg) ProtoMessage ¶
func (*SigBlkMsg) ProtoMessage()
func (*SigBlkMsg) Serialization ¶
func (this *SigBlkMsg) Serialization(sink *comm.ZeroCopySink) error
Serialize message payload
func (*SigBlkMsg) XXX_DiscardUnknown ¶
func (m *SigBlkMsg) XXX_DiscardUnknown()
func (*SigBlkMsg) XXX_Marshal ¶
func (*SigBlkMsg) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.