chkpvalidatorpbdsl

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

func CheckpointValidated

func CheckpointValidated(m dsl.Module, destModule types.ModuleID, error error, origin *types4.ValidateChkpOrigin)

func UponCheckpointValidated

func UponCheckpointValidated[C any](m dsl.Module, handler func(error error, context *C) error)

func UponEvent

func UponEvent[W types.Event_TypeWrapper[Ev], Ev any](m dsl.Module, handler func(ev *Ev) error)

func UponValidateCheckpoint

func UponValidateCheckpoint(m dsl.Module, handler func(checkpoint *types2.StableCheckpoint, epochNr types3.EpochNr, memberships []*types4.Membership, origin *types.ValidateChkpOrigin) error)

func ValidateCheckpoint

func ValidateCheckpoint[C any](m dsl.Module, destModule types.ModuleID, checkpoint *types1.StableCheckpoint, epochNr types2.EpochNr, memberships []*types3.Membership, context *C)

Types

This section is empty.

Jump to

Keyboard shortcuts

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