factory

package
v1.3.21 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2022 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEpochStartInterceptorsContainer

func NewEpochStartInterceptorsContainer(args ArgsEpochStartInterceptorContainer) (process.InterceptorsContainer, error)

NewEpochStartInterceptorsContainer will return a real interceptors container factory, but with many disabled components

Types

type ArgsEpochStartInterceptorContainer

type ArgsEpochStartInterceptorContainer struct {
	CoreComponents            process.CoreComponentsHolder
	CryptoComponents          process.CryptoComponentsHolder
	Config                    config.Config
	ShardCoordinator          sharding.Coordinator
	Messenger                 process.TopicHandler
	DataPool                  dataRetriever.PoolsHolder
	WhiteListHandler          update.WhiteListHandler
	WhiteListerVerifiedTxs    update.WhiteListHandler
	AddressPubkeyConv         core.PubkeyConverter
	NonceConverter            typeConverters.Uint64ByteSliceConverter
	ChainID                   []byte
	ArgumentsParser           process.ArgumentsParser
	HeaderIntegrityVerifier   process.HeaderIntegrityVerifier
	EnableSignTxWithHashEpoch uint32
	EpochNotifier             process.EpochNotifier
	RequestHandler            process.RequestHandler
}

ArgsEpochStartInterceptorContainer holds the arguments needed for creating a new epoch start interceptors container factory

Jump to

Keyboard shortcuts

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