Documentation
¶
Index ¶
- func NewMetaInterceptorsContainerFactory(args MetaInterceptorsContainerFactoryArgs) (*metaInterceptorsContainerFactory, error)
- func NewShardInterceptorsContainerFactory(args ShardInterceptorsContainerFactoryArgs) (*shardInterceptorsContainerFactory, error)
- type MetaInterceptorsContainerFactoryArgs
- type ShardInterceptorsContainerFactoryArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMetaInterceptorsContainerFactory ¶
func NewMetaInterceptorsContainerFactory( args MetaInterceptorsContainerFactoryArgs, ) (*metaInterceptorsContainerFactory, error)
NewMetaInterceptorsContainerFactory is responsible for creating a new interceptors factory object
func NewShardInterceptorsContainerFactory ¶
func NewShardInterceptorsContainerFactory( args ShardInterceptorsContainerFactoryArgs, ) (*shardInterceptorsContainerFactory, error)
NewShardInterceptorsContainerFactory is responsible for creating a new interceptors factory object
Types ¶
type MetaInterceptorsContainerFactoryArgs ¶
type MetaInterceptorsContainerFactoryArgs struct {
ShardCoordinator sharding.Coordinator
NodesCoordinator sharding.NodesCoordinator
Messenger process.TopicHandler
Store dataRetriever.StorageService
ProtoMarshalizer marshal.Marshalizer
TxSignMarshalizer marshal.Marshalizer
Hasher hashing.Hasher
MultiSigner crypto.MultiSigner
DataPool dataRetriever.PoolsHolder
Accounts state.AccountsAdapter
AddressPubkeyConverter core.PubkeyConverter
SingleSigner crypto.SingleSigner
BlockSingleSigner crypto.SingleSigner
KeyGen crypto.KeyGenerator
BlockKeyGen crypto.KeyGenerator
MaxTxNonceDeltaAllowed int
TxFeeHandler process.FeeHandler
BlackList process.TimeCacher
HeaderSigVerifier process.InterceptedHeaderSigVerifier
HeaderIntegrityVerifier process.InterceptedHeaderIntegrityVerifier
ValidityAttester process.ValidityAttester
EpochStartTrigger process.EpochStartTriggerHandler
WhiteListHandler process.WhiteListHandler
WhiteListerVerifiedTxs process.WhiteListHandler
AntifloodHandler process.P2PAntifloodHandler
ArgumentsParser process.ArgumentsParser
ChainID []byte
MinTransactionVersion uint32
SizeCheckDelta uint32
}
MetaInterceptorsContainerFactoryArgs holds the arguments needed for MetaInterceptorsContainerFactory
type ShardInterceptorsContainerFactoryArgs ¶
type ShardInterceptorsContainerFactoryArgs struct {
Accounts state.AccountsAdapter
ShardCoordinator sharding.Coordinator
NodesCoordinator sharding.NodesCoordinator
Messenger process.TopicHandler
Store dataRetriever.StorageService
ProtoMarshalizer marshal.Marshalizer
TxSignMarshalizer marshal.Marshalizer
Hasher hashing.Hasher
KeyGen crypto.KeyGenerator
BlockSignKeyGen crypto.KeyGenerator
SingleSigner crypto.SingleSigner
BlockSingleSigner crypto.SingleSigner
MultiSigner crypto.MultiSigner
DataPool dataRetriever.PoolsHolder
AddressPubkeyConverter core.PubkeyConverter
MaxTxNonceDeltaAllowed int
TxFeeHandler process.FeeHandler
BlockBlackList process.TimeCacher
HeaderSigVerifier process.InterceptedHeaderSigVerifier
HeaderIntegrityVerifier process.InterceptedHeaderIntegrityVerifier
ValidityAttester process.ValidityAttester
EpochStartTrigger process.EpochStartTriggerHandler
WhiteListHandler process.WhiteListHandler
WhiteListerVerifiedTxs process.WhiteListHandler
AntifloodHandler process.P2PAntifloodHandler
ArgumentsParser process.ArgumentsParser
ChainID []byte
SizeCheckDelta uint32
MinTransactionVersion uint32
}
ShardInterceptorsContainerFactoryArgs holds the arguments needed for ShardInterceptorsContainerFactory
Click to show internal directories.
Click to hide internal directories.