Documentation ¶
Index ¶
- Variables
- type GossipedBlock
- func (*GossipedBlock) Descriptor() ([]byte, []int)
- func (m *GossipedBlock) GetBlock() *dymint.Block
- func (m *GossipedBlock) GetCommit() *dymint.Commit
- func (m *GossipedBlock) Marshal() (dAtA []byte, err error)
- func (m *GossipedBlock) MarshalTo(dAtA []byte) (int, error)
- func (m *GossipedBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GossipedBlock) ProtoMessage()
- func (m *GossipedBlock) Reset()
- func (m *GossipedBlock) Size() (n int)
- func (m *GossipedBlock) String() string
- func (m *GossipedBlock) Unmarshal(dAtA []byte) error
- func (m *GossipedBlock) XXX_DiscardUnknown()
- func (m *GossipedBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GossipedBlock) XXX_Merge(src proto.Message)
- func (m *GossipedBlock) XXX_Size() int
- func (m *GossipedBlock) XXX_Unmarshal(b []byte) error
- type TraceEvent
- func (*TraceEvent) Descriptor() ([]byte, []int)deprecated
- func (x *TraceEvent) GetPbMessage() *TraceEvent_PublishedBlock
- func (x *TraceEvent) GetPeerID() []byte
- func (x *TraceEvent) GetRbMessage() *TraceEvent_RececeivedBlock
- func (x *TraceEvent) GetTimestamp() int64
- func (x *TraceEvent) GetType() TraceEvent_Type
- func (*TraceEvent) ProtoMessage()
- func (x *TraceEvent) ProtoReflect() protoreflect.Message
- func (x *TraceEvent) Reset()
- func (x *TraceEvent) String() string
- type TraceEvent_PublishedBlock
- func (*TraceEvent_PublishedBlock) Descriptor() ([]byte, []int)deprecated
- func (x *TraceEvent_PublishedBlock) GetHeight() uint64
- func (*TraceEvent_PublishedBlock) ProtoMessage()
- func (x *TraceEvent_PublishedBlock) ProtoReflect() protoreflect.Message
- func (x *TraceEvent_PublishedBlock) Reset()
- func (x *TraceEvent_PublishedBlock) String() string
- type TraceEvent_RececeivedBlock
- func (*TraceEvent_RececeivedBlock) Descriptor() ([]byte, []int)deprecated
- func (x *TraceEvent_RececeivedBlock) GetHeight() uint64
- func (*TraceEvent_RececeivedBlock) ProtoMessage()
- func (x *TraceEvent_RececeivedBlock) ProtoReflect() protoreflect.Message
- func (x *TraceEvent_RececeivedBlock) Reset()
- func (x *TraceEvent_RececeivedBlock) String() string
- type TraceEvent_Type
- func (TraceEvent_Type) Descriptor() protoreflect.EnumDescriptor
- func (x TraceEvent_Type) Enum() *TraceEvent_Type
- func (TraceEvent_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x TraceEvent_Type) Number() protoreflect.EnumNumber
- func (x TraceEvent_Type) String() string
- func (TraceEvent_Type) Type() protoreflect.EnumType
- func (x *TraceEvent_Type) UnmarshalJSON(b []byte) errordeprecated
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group") )
View Source
var ( TraceEvent_Type_name = map[int32]string{ 0: "PUBLISHED_BLOCk", 1: "RECEIVED_BLOCK", } TraceEvent_Type_value = map[string]int32{ "PUBLISHED_BLOCk": 0, "RECEIVED_BLOCK": 1, } )
Enum value maps for TraceEvent_Type.
View Source
var File_trace_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type GossipedBlock ¶
type GossipedBlock struct { Block *dymint.Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` Commit *dymint.Commit `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` }
func (*GossipedBlock) Descriptor ¶
func (*GossipedBlock) Descriptor() ([]byte, []int)
func (*GossipedBlock) GetBlock ¶
func (m *GossipedBlock) GetBlock() *dymint.Block
func (*GossipedBlock) GetCommit ¶
func (m *GossipedBlock) GetCommit() *dymint.Commit
func (*GossipedBlock) Marshal ¶
func (m *GossipedBlock) Marshal() (dAtA []byte, err error)
func (*GossipedBlock) MarshalToSizedBuffer ¶
func (m *GossipedBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GossipedBlock) ProtoMessage ¶
func (*GossipedBlock) ProtoMessage()
func (*GossipedBlock) Reset ¶
func (m *GossipedBlock) Reset()
func (*GossipedBlock) Size ¶
func (m *GossipedBlock) Size() (n int)
func (*GossipedBlock) String ¶
func (m *GossipedBlock) String() string
func (*GossipedBlock) Unmarshal ¶
func (m *GossipedBlock) Unmarshal(dAtA []byte) error
func (*GossipedBlock) XXX_DiscardUnknown ¶
func (m *GossipedBlock) XXX_DiscardUnknown()
func (*GossipedBlock) XXX_Marshal ¶
func (m *GossipedBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GossipedBlock) XXX_Merge ¶
func (m *GossipedBlock) XXX_Merge(src proto.Message)
func (*GossipedBlock) XXX_Size ¶
func (m *GossipedBlock) XXX_Size() int
func (*GossipedBlock) XXX_Unmarshal ¶
func (m *GossipedBlock) XXX_Unmarshal(b []byte) error
type TraceEvent ¶
type TraceEvent struct { Type *TraceEvent_Type `protobuf:"varint,1,opt,name=type,enum=p2p.pb.TraceEvent_Type" json:"type,omitempty"` PeerID []byte `protobuf:"bytes,2,opt,name=peerID" json:"peerID,omitempty"` Timestamp *int64 `protobuf:"varint,3,opt,name=timestamp" json:"timestamp,omitempty"` PbMessage *TraceEvent_PublishedBlock `protobuf:"bytes,4,opt,name=pbMessage" json:"pbMessage,omitempty"` RbMessage *TraceEvent_RececeivedBlock `protobuf:"bytes,5,opt,name=rbMessage" json:"rbMessage,omitempty"` // contains filtered or unexported fields }
func (*TraceEvent) Descriptor
deprecated
func (*TraceEvent) Descriptor() ([]byte, []int)
Deprecated: Use TraceEvent.ProtoReflect.Descriptor instead.
func (*TraceEvent) GetPbMessage ¶
func (x *TraceEvent) GetPbMessage() *TraceEvent_PublishedBlock
func (*TraceEvent) GetPeerID ¶
func (x *TraceEvent) GetPeerID() []byte
func (*TraceEvent) GetRbMessage ¶
func (x *TraceEvent) GetRbMessage() *TraceEvent_RececeivedBlock
func (*TraceEvent) GetTimestamp ¶
func (x *TraceEvent) GetTimestamp() int64
func (*TraceEvent) GetType ¶
func (x *TraceEvent) GetType() TraceEvent_Type
func (*TraceEvent) ProtoMessage ¶
func (*TraceEvent) ProtoMessage()
func (*TraceEvent) ProtoReflect ¶
func (x *TraceEvent) ProtoReflect() protoreflect.Message
func (*TraceEvent) Reset ¶
func (x *TraceEvent) Reset()
func (*TraceEvent) String ¶
func (x *TraceEvent) String() string
type TraceEvent_PublishedBlock ¶
type TraceEvent_PublishedBlock struct { Height *uint64 `protobuf:"varint,1,opt,name=height" json:"height,omitempty"` // contains filtered or unexported fields }
func (*TraceEvent_PublishedBlock) Descriptor
deprecated
func (*TraceEvent_PublishedBlock) Descriptor() ([]byte, []int)
Deprecated: Use TraceEvent_PublishedBlock.ProtoReflect.Descriptor instead.
func (*TraceEvent_PublishedBlock) GetHeight ¶
func (x *TraceEvent_PublishedBlock) GetHeight() uint64
func (*TraceEvent_PublishedBlock) ProtoMessage ¶
func (*TraceEvent_PublishedBlock) ProtoMessage()
func (*TraceEvent_PublishedBlock) ProtoReflect ¶
func (x *TraceEvent_PublishedBlock) ProtoReflect() protoreflect.Message
func (*TraceEvent_PublishedBlock) Reset ¶
func (x *TraceEvent_PublishedBlock) Reset()
func (*TraceEvent_PublishedBlock) String ¶
func (x *TraceEvent_PublishedBlock) String() string
type TraceEvent_RececeivedBlock ¶
type TraceEvent_RececeivedBlock struct { Height *uint64 `protobuf:"varint,1,opt,name=height" json:"height,omitempty"` // contains filtered or unexported fields }
func (*TraceEvent_RececeivedBlock) Descriptor
deprecated
func (*TraceEvent_RececeivedBlock) Descriptor() ([]byte, []int)
Deprecated: Use TraceEvent_RececeivedBlock.ProtoReflect.Descriptor instead.
func (*TraceEvent_RececeivedBlock) GetHeight ¶
func (x *TraceEvent_RececeivedBlock) GetHeight() uint64
func (*TraceEvent_RececeivedBlock) ProtoMessage ¶
func (*TraceEvent_RececeivedBlock) ProtoMessage()
func (*TraceEvent_RececeivedBlock) ProtoReflect ¶
func (x *TraceEvent_RececeivedBlock) ProtoReflect() protoreflect.Message
func (*TraceEvent_RececeivedBlock) Reset ¶
func (x *TraceEvent_RececeivedBlock) Reset()
func (*TraceEvent_RececeivedBlock) String ¶
func (x *TraceEvent_RececeivedBlock) String() string
type TraceEvent_Type ¶
type TraceEvent_Type int32
const ( TraceEvent_PUBLISHED_BLOCk TraceEvent_Type = 0 TraceEvent_RECEIVED_BLOCK TraceEvent_Type = 1 )
func (TraceEvent_Type) Descriptor ¶
func (TraceEvent_Type) Descriptor() protoreflect.EnumDescriptor
func (TraceEvent_Type) Enum ¶
func (x TraceEvent_Type) Enum() *TraceEvent_Type
func (TraceEvent_Type) EnumDescriptor
deprecated
func (TraceEvent_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use TraceEvent_Type.Descriptor instead.
func (TraceEvent_Type) Number ¶
func (x TraceEvent_Type) Number() protoreflect.EnumNumber
func (TraceEvent_Type) String ¶
func (x TraceEvent_Type) String() string
func (TraceEvent_Type) Type ¶
func (TraceEvent_Type) Type() protoreflect.EnumType
func (*TraceEvent_Type) UnmarshalJSON
deprecated
func (x *TraceEvent_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
Click to show internal directories.
Click to hide internal directories.