factory

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCoreComponents

func CreateCoreComponents(
	ratingsConfig *data.RatingsConfig,
	networkConfig *data.NetworkConfig,
	enableEpochsConfig *data.EnableEpochsConfig,
) (*coreComponents, error)

CreateCoreComponents creates core components needed for header verification

func CreateCryptoComponents

func CreateCryptoComponents() (*cryptoComponents, error)

CreateCryptoComponents creates crypto components needed for header verification

func CreateNodesCoordinator

func CreateNodesCoordinator(
	coreComp *coreComponents,
	networkConfig *data.NetworkConfig,
	enableEpochsConfig *data.EnableEpochsConfig,
	publicKey crypto.PublicKey,
	genesisNodesConfig *data.GenesisNodes,
) (nodesCoordinator.EpochsConfigUpdateHandler, error)

CreateNodesCoordinator creates nodes coordinator which will be used for header verification

Types

This section is empty.

Jump to

Keyboard shortcuts

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