protobufs

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckpointMessage

func CheckpointMessage(
	destModule t.ModuleID,
	epoch t.EpochNr,
	sn t.SeqNr,
	snapshotHash,
	signature []byte,
) *messagepb.Message

func EpochConfigEvent

func EpochConfigEvent(destModule t.ModuleID, epochConfig *commonpb.EpochConfig) *eventpb.Event

func EpochProgressEvent

func EpochProgressEvent(
	destModule t.ModuleID,
	nodeID t.NodeID,
	epochNr t.EpochNr,
) *eventpb.Event

func Event

func Event(destModule t.ModuleID, event *checkpointpb.Event) *eventpb.Event

func HashOrigin

func HashOrigin(module t.ModuleID) *eventpb.HashOrigin

func InstanceParams

func InstanceParams(
	nodeIDs []t.NodeID,
	epoch t.EpochNr,
	seqNr t.SeqNr,
	resendPeriod t.TimeDuration,
) *factorymodulepb.GeneratorParams

func Message

func Message(destModule t.ModuleID, message *checkpointpb.Message) *messagepb.Message

func SigVerOrigin

func SigVerOrigin(module t.ModuleID) *eventpb.SigVerOrigin

func SignOrigin

func SignOrigin(module t.ModuleID) *eventpb.SignOrigin

func StableCheckpointEvent

func StableCheckpointEvent(ownModuleID t.ModuleID, stableCheckpoint *checkpointpb.StableCheckpoint) *eventpb.Event

Types

This section is empty.

Jump to

Keyboard shortcuts

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