Documentation ¶
Index ¶
- func MsgCountInit()
- type MessageCounter
- type SendingType
- type SequencerProposal
- func (s SequencerProposal) Copy() bft.Proposal
- func (z *SequencerProposal) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *SequencerProposal) EncodeMsg(en *msgp.Writer) (err error)
- func (s SequencerProposal) Equal(o bft.Proposal) bool
- func (s SequencerProposal) GetId() *types2.Hash
- func (z *SequencerProposal) MarshalMsg(b []byte) (o []byte, err error)
- func (z *SequencerProposal) Msgsize() (s int)
- func (s *SequencerProposal) String() string
- func (z *SequencerProposal) UnmarshalMsg(bts []byte) (o []byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MsgCountInit ¶
func MsgCountInit()
Types ¶
type MessageCounter ¶
type MessageCounter struct {
// contains filtered or unexported fields
}
var MsgCounter *MessageCounter
global msg counter , generate global msg request id
type SendingType ¶
type SendingType uint8
const ( SendingTypeBroadcast SendingType = iota SendingTypeMulticast SendingTypeMulticastToSource SendingTypeBroacastWithFilter SendingTypeBroacastWithLink )
func (*SendingType) DecodeMsg ¶
func (z *SendingType) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (SendingType) EncodeMsg ¶
func (z SendingType) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (SendingType) MarshalMsg ¶
func (z SendingType) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (SendingType) Msgsize ¶
func (z SendingType) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*SendingType) UnmarshalMsg ¶
func (z *SendingType) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type SequencerProposal ¶
func (SequencerProposal) Copy ¶
func (s SequencerProposal) Copy() bft.Proposal
func (*SequencerProposal) DecodeMsg ¶
func (z *SequencerProposal) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*SequencerProposal) EncodeMsg ¶
func (z *SequencerProposal) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (SequencerProposal) GetId ¶
func (s SequencerProposal) GetId() *types2.Hash
func (*SequencerProposal) MarshalMsg ¶
func (z *SequencerProposal) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*SequencerProposal) Msgsize ¶
func (z *SequencerProposal) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*SequencerProposal) String ¶
func (s *SequencerProposal) String() string
func (*SequencerProposal) UnmarshalMsg ¶
func (z *SequencerProposal) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
Click to show internal directories.
Click to hide internal directories.