processing

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: GPL-3.0 Imports: 104 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewManagedProcessComponents

func NewManagedProcessComponents(pcf *processComponentsFactory) (*managedProcessComponents, error)

NewManagedProcessComponents returns a news instance of managedProcessComponents

func NewProcessComponentsFactory

func NewProcessComponentsFactory(args ProcessComponentsFactoryArgs) (*processComponentsFactory, error)

NewProcessComponentsFactory will return a new instance of processComponentsFactory

Types

type ProcessComponentsFactoryArgs

type ProcessComponentsFactoryArgs struct {
	Config                 config.Config
	RoundConfig            config.RoundConfig
	EpochConfig            config.EpochConfig
	PrefConfigs            config.Preferences
	ImportDBConfig         config.ImportDbConfig
	AccountsParser         genesis.AccountsParser
	SmartContractParser    genesis.InitialSmartContractParser
	GasSchedule            core.GasScheduleNotifier
	NodesCoordinator       nodesCoordinator.NodesCoordinator
	RequestedItemsHandler  dataRetriever.RequestedItemsHandler
	WhiteListHandler       process.WhiteListHandler
	WhiteListerVerifiedTxs process.WhiteListHandler
	MaxRating              uint32
	SystemSCConfig         *config.SystemSmartContractsConfig
	ImportStartHandler     update.ImportStartHandler
	HistoryRepo            dblookupext.HistoryRepository
	FlagsConfig            config.ContextFlagsConfig

	Data                    factory.DataComponentsHolder
	CoreData                factory.CoreComponentsHolder
	Crypto                  factory.CryptoComponentsHolder
	State                   factory.StateComponentsHolder
	Network                 factory.NetworkComponentsHolder
	BootstrapComponents     factory.BootstrapComponentsHolder
	StatusComponents        factory.StatusComponentsHolder
	StatusCoreComponents    factory.StatusCoreComponentsHolder
	TxExecutionOrderHandler common.TxExecutionOrderHandler
}

ProcessComponentsFactoryArgs holds the arguments needed to create a process components factory

Jump to

Keyboard shortcuts

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