Documentation ¶
Index ¶
Constants ¶
View Source
const EmptyExcludePeersOnTopic = ""
EmptyExcludePeersOnTopic is an empty topic
Variables ¶
This section is empty.
Functions ¶
func NewMetaResolversContainerFactory ¶
func NewMetaResolversContainerFactory( args FactoryArgs, ) (*metaResolversContainerFactory, error)
NewMetaResolversContainerFactory creates a new container filled with topic resolvers for metachain
func NewShardResolversContainerFactory ¶
func NewShardResolversContainerFactory( args FactoryArgs, ) (*shardResolversContainerFactory, error)
NewShardResolversContainerFactory creates a new container filled with topic resolvers for shards
Types ¶
type FactoryArgs ¶
type FactoryArgs struct { NumConcurrentResolvingJobs int32 NumConcurrentResolvingTrieNodesJobs int32 ShardCoordinator sharding.Coordinator MainMessenger p2p.Messenger FullArchiveMessenger p2p.Messenger Store dataRetriever.StorageService Marshalizer marshal.Marshalizer DataPools dataRetriever.PoolsHolder Uint64ByteSliceConverter typeConverters.Uint64ByteSliceConverter DataPacker dataRetriever.DataPacker TriesContainer common.TriesHolder InputAntifloodHandler dataRetriever.P2PAntifloodHandler OutputAntifloodHandler dataRetriever.P2PAntifloodHandler MainPreferredPeersHolder p2p.PreferredPeersHolderHandler FullArchivePreferredPeersHolder p2p.PreferredPeersHolderHandler SizeCheckDelta uint32 IsFullHistoryNode bool PayloadValidator dataRetriever.PeerAuthenticationPayloadValidator }
FactoryArgs will hold the arguments for ResolversContainerFactory for both shard and meta
Source Files ¶
Click to show internal directories.
Click to hide internal directories.