Documentation
¶
Index ¶
- Variables
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetPbft() *pbftpb.Event
- func (m *Event) GetType() isEvent_Type
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (*Event) ReflectTypeOptions() []reflect.Type
- func (x *Event) Reset()
- func (x *Event) String() string
- type Event_Pbft
- type Event_Type
- type Event_TypeWrapper
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetPbft() *pbftpb.Message
- func (m *Message) GetType() isMessage_Type
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (*Message) ReflectTypeOptions() []reflect.Type
- func (x *Message) Reset()
- func (x *Message) String() string
- type Message_Pbft
- type Message_Type
- type Message_TypeWrapper
- type PBFTModule
- func (*PBFTModule) Descriptor() ([]byte, []int)deprecated
- func (x *PBFTModule) GetAvailabilityId() string
- func (x *PBFTModule) GetEpoch() uint64
- func (x *PBFTModule) GetPpvModuleId() string
- func (x *PBFTModule) GetSegment() *PBFTSegment
- func (*PBFTModule) ProtoMessage()
- func (x *PBFTModule) ProtoReflect() protoreflect.Message
- func (x *PBFTModule) Reset()
- func (x *PBFTModule) String() string
- type PBFTSegment
- func (*PBFTSegment) Descriptor() ([]byte, []int)deprecated
- func (x *PBFTSegment) GetLeader() string
- func (x *PBFTSegment) GetMembership() *trantorpb.Membership
- func (x *PBFTSegment) GetProposals() map[uint64][]byte
- func (*PBFTSegment) ProtoMessage()
- func (x *PBFTSegment) ProtoReflect() protoreflect.Message
- func (x *PBFTSegment) Reset()
- func (x *PBFTSegment) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_ordererpb_ordererpb_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { // Types that are assignable to Type: // *Event_Pbft Type isEvent_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
func (*Event) ReflectTypeOptions ¶
type Event_Pbft ¶
func (*Event_Pbft) Unwrap ¶
func (w *Event_Pbft) Unwrap() *pbftpb.Event
type Event_Type ¶
type Event_Type = isEvent_Type
type Event_TypeWrapper ¶
type Event_TypeWrapper[T any] interface { Event_Type Unwrap() *T }
type Message ¶
type Message struct { // Types that are assignable to Type: // *Message_Pbft Type isMessage_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
func (*Message) ReflectTypeOptions ¶
type Message_Pbft ¶
func (*Message_Pbft) Unwrap ¶
func (w *Message_Pbft) Unwrap() *pbftpb.Message
type Message_Type ¶
type Message_Type = isMessage_Type
type Message_TypeWrapper ¶
type Message_TypeWrapper[T any] interface { Message_Type Unwrap() *T }
type PBFTModule ¶
type PBFTModule struct { Segment *PBFTSegment `protobuf:"bytes,1,opt,name=segment,proto3" json:"segment,omitempty"` AvailabilityId string `protobuf:"bytes,2,opt,name=availability_id,json=availabilityId,proto3" json:"availability_id,omitempty"` Epoch uint64 `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty"` PpvModuleId string `protobuf:"bytes,4,opt,name=ppv_module_id,json=ppvModuleId,proto3" json:"ppv_module_id,omitempty"` // contains filtered or unexported fields }
func (*PBFTModule) Descriptor
deprecated
func (*PBFTModule) Descriptor() ([]byte, []int)
Deprecated: Use PBFTModule.ProtoReflect.Descriptor instead.
func (*PBFTModule) GetAvailabilityId ¶
func (x *PBFTModule) GetAvailabilityId() string
func (*PBFTModule) GetEpoch ¶
func (x *PBFTModule) GetEpoch() uint64
func (*PBFTModule) GetPpvModuleId ¶ added in v0.4.2
func (x *PBFTModule) GetPpvModuleId() string
func (*PBFTModule) GetSegment ¶
func (x *PBFTModule) GetSegment() *PBFTSegment
func (*PBFTModule) ProtoMessage ¶
func (*PBFTModule) ProtoMessage()
func (*PBFTModule) ProtoReflect ¶
func (x *PBFTModule) ProtoReflect() protoreflect.Message
func (*PBFTModule) Reset ¶
func (x *PBFTModule) Reset()
func (*PBFTModule) String ¶
func (x *PBFTModule) String() string
type PBFTSegment ¶
type PBFTSegment struct { // The leader node of the orderer. Leader string `protobuf:"bytes,1,opt,name=leader,proto3" json:"leader,omitempty"` // All nodes executing the orderer implementation. Membership *trantorpb.Membership `protobuf:"bytes,2,opt,name=membership,proto3" json:"membership,omitempty"` // Sequence numbers for which the orderer is responsible, along with corresponding (optional) pre-defined proposals. // The keys of this map are the actual "segment" of the commit log. // A nil value means that no proposal is specified (and the protocol implementation will decide what to propose). // A non-nil value will be proposed (by this node) for that sequence number whenever possible. // Currently, such a "free" proposal is a new availability certificate in view 0, // and a special empty one in other views. Proposals map[uint64][]byte `` /* 160-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PBFTSegment) Descriptor
deprecated
func (*PBFTSegment) Descriptor() ([]byte, []int)
Deprecated: Use PBFTSegment.ProtoReflect.Descriptor instead.
func (*PBFTSegment) GetLeader ¶
func (x *PBFTSegment) GetLeader() string
func (*PBFTSegment) GetMembership ¶
func (x *PBFTSegment) GetMembership() *trantorpb.Membership
func (*PBFTSegment) GetProposals ¶
func (x *PBFTSegment) GetProposals() map[uint64][]byte
func (*PBFTSegment) ProtoMessage ¶
func (*PBFTSegment) ProtoMessage()
func (*PBFTSegment) ProtoReflect ¶
func (x *PBFTSegment) ProtoReflect() protoreflect.Message
func (*PBFTSegment) Reset ¶
func (x *PBFTSegment) Reset()
func (*PBFTSegment) String ¶
func (x *PBFTSegment) String() string
Click to show internal directories.
Click to hide internal directories.