factory

package
v1.0.113 Latest Latest
Warning

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

Go to latest
Published: May 2, 2020 License: GPL-3.0 Imports: 18 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 will many disabled components

Types

type ArgsEpochStartInterceptorContainer

type ArgsEpochStartInterceptorContainer struct {
	Config                 config.Config
	ShardCoordinator       sharding.Coordinator
	TxSignMarshalizer      marshal.Marshalizer
	ProtoMarshalizer       marshal.Marshalizer
	Hasher                 hashing.Hasher
	Messenger              process.TopicHandler
	DataPool               dataRetriever.PoolsHolder
	SingleSigner           crypto.SingleSigner
	BlockSingleSigner      crypto.SingleSigner
	KeyGen                 crypto.KeyGenerator
	BlockKeyGen            crypto.KeyGenerator
	WhiteListHandler       update.WhiteListHandler
	WhiteListerVerifiedTxs update.WhiteListHandler
	AddressPubkeyConv      state.PubkeyConverter
	ChainID                []byte
	NonceConverter         typeConverters.Uint64ByteSliceConverter
}

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