msg

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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 (*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) CmdType

func (this *IdMsg) CmdType() string

func (*IdMsg) Descriptor

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

func (*IdMsg) Deserialization

func (this *IdMsg) Deserialization(source *comm.ZeroCopySource) error

Deserialize message payload

func (*IdMsg) GetMsgtype

func (m *IdMsg) GetMsgtype() IdMsgType

func (*IdMsg) GetValue

func (m *IdMsg) GetValue() [][]byte

func (*IdMsg) ProtoMessage

func (*IdMsg) ProtoMessage()

func (*IdMsg) Reset

func (m *IdMsg) Reset()

func (*IdMsg) Serialization

func (this *IdMsg) Serialization(sink *comm.ZeroCopySink) error

Serialize message payload

func (*IdMsg) String

func (m *IdMsg) String() string

func (*IdMsg) XXX_DiscardUnknown

func (m *IdMsg) XXX_DiscardUnknown()

func (*IdMsg) XXX_Marshal

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

func (*IdMsg) XXX_Merge

func (dst *IdMsg) XXX_Merge(src proto.Message)

func (*IdMsg) XXX_Size

func (m *IdMsg) XXX_Size() int

func (*IdMsg) XXX_Unmarshal

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

type IdMsgType

type IdMsgType int32
const (
	IdMsg_broadcast_sigblk_id  IdMsgType = 0
	IdMsg_request_sigblk_by_id IdMsgType = 1
	IdMsg_request_id_ack       IdMsgType = 2
)

func (IdMsgType) EnumDescriptor

func (IdMsgType) EnumDescriptor() ([]byte, []int)

func (IdMsgType) String

func (x IdMsgType) String() string

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

func (this *ReqIdMsg) CmdType() string

func (*ReqIdMsg) Descriptor

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

func (*ReqIdMsg) Deserialization

func (this *ReqIdMsg) Deserialization(source *comm.ZeroCopySource) error

Deserialize message payload

func (*ReqIdMsg) GetHeadBlockId

func (m *ReqIdMsg) GetHeadBlockId() []byte

func (*ReqIdMsg) ProtoMessage

func (*ReqIdMsg) ProtoMessage()

func (*ReqIdMsg) Reset

func (m *ReqIdMsg) Reset()

func (*ReqIdMsg) Serialization

func (this *ReqIdMsg) Serialization(sink *comm.ZeroCopySink) error

Serialize message payload

func (*ReqIdMsg) String

func (m *ReqIdMsg) String() string

func (*ReqIdMsg) XXX_DiscardUnknown

func (m *ReqIdMsg) XXX_DiscardUnknown()

func (*ReqIdMsg) XXX_Marshal

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

func (*ReqIdMsg) XXX_Merge

func (dst *ReqIdMsg) XXX_Merge(src proto.Message)

func (*ReqIdMsg) XXX_Size

func (m *ReqIdMsg) XXX_Size() int

func (*ReqIdMsg) XXX_Unmarshal

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

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

func (this *SigBlkMsg) CmdType() string

func (*SigBlkMsg) Descriptor

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

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

func (m *SigBlkMsg) Reset()

func (*SigBlkMsg) Serialization

func (this *SigBlkMsg) Serialization(sink *comm.ZeroCopySink) error

Serialize message payload

func (*SigBlkMsg) String

func (m *SigBlkMsg) String() string

func (*SigBlkMsg) XXX_DiscardUnknown

func (m *SigBlkMsg) XXX_DiscardUnknown()

func (*SigBlkMsg) XXX_Marshal

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

func (*SigBlkMsg) XXX_Merge

func (dst *SigBlkMsg) XXX_Merge(src proto.Message)

func (*SigBlkMsg) XXX_Size

func (m *SigBlkMsg) XXX_Size() int

func (*SigBlkMsg) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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