ordererpb

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetPbft

func (x *Event) GetPbft() *pbftpb.Event

func (*Event) GetType

func (m *Event) GetType() isEvent_Type

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

func (x *Event) ProtoReflect() protoreflect.Message

func (*Event) ReflectTypeOptions

func (*Event) ReflectTypeOptions() []reflect.Type

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type Event_Pbft

type Event_Pbft struct {
	Pbft *pbftpb.Event `protobuf:"bytes,1,opt,name=pbft,proto3,oneof"`
}

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) Descriptor() ([]byte, []int)

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetPbft

func (x *Message) GetPbft() *pbftpb.Message

func (*Message) GetType

func (m *Message) GetType() isMessage_Type

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

func (x *Message) ProtoReflect() protoreflect.Message

func (*Message) ReflectTypeOptions

func (*Message) ReflectTypeOptions() []reflect.Type

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type Message_Pbft

type Message_Pbft struct {
	Pbft *pbftpb.Message `protobuf:"bytes,1,opt,name=pbft,proto3,oneof"`
}

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

Directories

Path Synopsis
dsl

Jump to

Keyboard shortcuts

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