ordererpbtypes

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

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Type Event_Type
}

func EventFromPb

func EventFromPb(pb *ordererpb.Event) *Event

func (*Event) MirReflect

func (*Event) MirReflect() mirreflect.Type

func (*Event) Pb

func (m *Event) Pb() *ordererpb.Event

type Event_Pbft

type Event_Pbft struct {
	Pbft *types.Event
}

func (*Event_Pbft) MirReflect

func (*Event_Pbft) MirReflect() mirreflect.Type

func (*Event_Pbft) Pb

func (*Event_Pbft) Unwrap

func (w *Event_Pbft) Unwrap() *types.Event

type Event_Type

type Event_Type interface {
	mirreflect.GeneratedType

	Pb() ordererpb.Event_Type
	// contains filtered or unexported methods
}

func Event_TypeFromPb

func Event_TypeFromPb(pb ordererpb.Event_Type) Event_Type

type Event_TypeWrapper

type Event_TypeWrapper[T any] interface {
	Event_Type
	Unwrap() *T
}

type Message

type Message struct {
	Type Message_Type
}

func MessageFromPb

func MessageFromPb(pb *ordererpb.Message) *Message

func (*Message) MirReflect

func (*Message) MirReflect() mirreflect.Type

func (*Message) Pb

func (m *Message) Pb() *ordererpb.Message

type Message_Pbft

type Message_Pbft struct {
	Pbft *types.Message
}

func (*Message_Pbft) MirReflect

func (*Message_Pbft) MirReflect() mirreflect.Type

func (*Message_Pbft) Pb

func (*Message_Pbft) Unwrap

func (w *Message_Pbft) Unwrap() *types.Message

type Message_Type

type Message_Type interface {
	mirreflect.GeneratedType

	Pb() ordererpb.Message_Type
	// contains filtered or unexported methods
}

func Message_TypeFromPb

func Message_TypeFromPb(pb ordererpb.Message_Type) Message_Type

type Message_TypeWrapper

type Message_TypeWrapper[T any] interface {
	Message_Type
	Unwrap() *T
}

type PBFTModule

type PBFTModule struct {
	Segment        *PBFTSegment
	AvailabilityId string
	Epoch          uint64
	PpvModuleId    string
}

func PBFTModuleFromPb

func PBFTModuleFromPb(pb *ordererpb.PBFTModule) *PBFTModule

func (*PBFTModule) MirReflect

func (*PBFTModule) MirReflect() mirreflect.Type

func (*PBFTModule) Pb

func (m *PBFTModule) Pb() *ordererpb.PBFTModule

type PBFTSegment

type PBFTSegment struct {
	Leader     types1.NodeID
	Membership *types2.Membership
	Proposals  map[types3.SeqNr][]uint8
}

func PBFTSegmentFromPb

func PBFTSegmentFromPb(pb *ordererpb.PBFTSegment) *PBFTSegment

func (*PBFTSegment) MirReflect

func (*PBFTSegment) MirReflect() mirreflect.Type

func (*PBFTSegment) Pb

Jump to

Keyboard shortcuts

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