Documentation
¶
Index ¶
- func CreateCoreComponents(ratingsConfig *data.RatingsConfig, networkConfig *data.NetworkConfig, ...) (*coreComponents, error)
- func CreateCryptoComponents() (*cryptoComponents, error)
- func CreateNodesCoordinator(coreComp *coreComponents, networkConfig *data.NetworkConfig, ...) (nodesCoordinator.EpochsConfigUpdateHandler, error)
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.
Click to show internal directories.
Click to hide internal directories.