interceptorscontainer

package
v1.11.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMetaInterceptorsContainerFactory

func NewMetaInterceptorsContainerFactory(
	args CommonInterceptorsContainerFactoryArgs,
) (*metaInterceptorsContainerFactory, error)

NewMetaInterceptorsContainerFactory is responsible for creating a new interceptors factory object

func NewShardInterceptorsContainerFactory

func NewShardInterceptorsContainerFactory(
	args CommonInterceptorsContainerFactoryArgs,
) (*shardInterceptorsContainerFactory, error)

NewShardInterceptorsContainerFactory is responsible for creating a new interceptors factory object

Types

type CommonInterceptorsContainerFactoryArgs

type CommonInterceptorsContainerFactoryArgs struct {
	CoreComponents                          process.CoreComponentsHolder
	CryptoComponents                        process.CryptoComponentsHolder
	Accounts                                state.AccountsAdapter
	ShardCoordinator                        sharding.Coordinator
	NodesCoordinator                        nodesCoordinator.NodesCoordinator
	MainMessenger                           process.TopicHandler
	FullArchiveMessenger                    process.TopicHandler
	Store                                   dataRetriever.StorageService
	DataPool                                dataRetriever.PoolsHolder
	MaxTxNonceDeltaAllowed                  int
	TxFeeHandler                            process.FeeHandler
	BlockBlackList                          process.TimeCacher
	HeaderSigVerifier                       process.InterceptedHeaderSigVerifier
	HeaderIntegrityVerifier                 process.HeaderIntegrityVerifier
	ValidityAttester                        process.ValidityAttester
	EpochStartTrigger                       process.EpochStartTriggerHandler
	WhiteListHandler                        process.WhiteListHandler
	WhiteListerVerifiedTxs                  process.WhiteListHandler
	AntifloodHandler                        process.P2PAntifloodHandler
	ArgumentsParser                         process.ArgumentsParser
	PreferredPeersHolder                    process.PreferredPeersHolderHandler
	SizeCheckDelta                          uint32
	RequestHandler                          process.RequestHandler
	PeerSignatureHandler                    crypto.PeerSignatureHandler
	SignaturesHandler                       process.SignaturesHandler
	HeartbeatExpiryTimespanInSec            int64
	PeerAuthenticationTimeBetweenSendsInSec int64
	MaxAllowedTrieNodeChunks                uint32
	TrieNodeChunksInactivityTimeout         time.Duration
	MainPeerShardMapper                     process.PeerShardMapper
	FullArchivePeerShardMapper              process.PeerShardMapper
	HardforkTrigger                         heartbeat.HardforkTrigger
	NodeOperationMode                       common.NodeOperation
	InterceptedDataVerifierFactory          process.InterceptedDataVerifierFactory
}

CommonInterceptorsContainerFactoryArgs holds the arguments needed for the metachain/shard interceptors factories

Jump to

Keyboard shortcuts

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