public BlockAcceptedEventHandler(INetworkService networkService, ISyncStateService syncStateService, ITaskQueueManager taskQueueManager) { _taskQueueManager = taskQueueManager; _networkService = networkService; _syncStateService = syncStateService; }
public NewIrreversibleBlockFoundEventHandler(ITaskQueueManager taskQueueManager, IBlockchainStateMergingService blockchainStateMergingService) { _taskQueueManager = taskQueueManager; _blockchainStateMergingService = blockchainStateMergingService; Logger = NullLogger <NewIrreversibleBlockFoundEventHandler> .Instance; }
public BlockSyncQueueService(IBlockSyncStateProvider blockSyncStateProvider, ITaskQueueManager taskQueueManager) { Logger = NullLogger <BlockSyncQueueService> .Instance; _blockSyncStateProvider = blockSyncStateProvider; _taskQueueManager = taskQueueManager; }
public BestChainFoundEventHandler(IIrreversibleBlockDiscoveryService irreversibleBlockDiscoveryService, ITaskQueueManager taskQueueManager, IBlockchainService blockchainService) { _irreversibleBlockDiscoveryService = irreversibleBlockDiscoveryService; _taskQueueManager = taskQueueManager; _blockchainService = blockchainService; }
public BlockMiningEventHandler(IMinerService minerService, IBlockAttachService blockAttachService, ITaskQueueManager taskQueueManager) { _minerService = minerService; _blockAttachService = blockAttachService; _taskQueueManager = taskQueueManager; Logger = NullLogger <BlockMiningEventHandler> .Instance; }
public DPoSAnnouncementReceivedEventDataHandler(ITaskQueueManager taskQueueManager, IAEDPoSLastLastIrreversibleBlockDiscoveryService idpoSLastLastIrreversibleBlockDiscoveryService, IBlockchainService blockchainService) { _taskQueueManager = taskQueueManager; _idpoSLastLastIrreversibleBlockDiscoveryService = idpoSLastLastIrreversibleBlockDiscoveryService; _blockchainService = blockchainService; }
public PeerConnectedEventHandler(IServiceProvider serviceProvider, ITaskQueueManager taskQueueManager, IBlockchainService blockchainService) { _taskQueueManager = taskQueueManager; _blockSyncJob = serviceProvider.GetRequiredService <BlockSyncJob>(); _blockchainService = blockchainService; Logger = NullLogger <PeerConnectedEventHandler> .Instance; }
public IrreversibleBlockFoundLogEventProcessor(ISmartContractAddressService smartContractAddressService, IBlockchainService blockchainService, ITaskQueueManager taskQueueManager) { _smartContractAddressService = smartContractAddressService; _blockchainService = blockchainService; _taskQueueManager = taskQueueManager; Logger = NullLogger <IrreversibleBlockFoundLogEventProcessor> .Instance; }
public NetworkService(IPeerPool peerPool, ITaskQueueManager taskQueueManager, IAElfNetworkServer networkServer, IKnownBlockCacheProvider knownBlockCacheProvider) { _peerPool = peerPool; _taskQueueManager = taskQueueManager; _networkServer = networkServer; _knownBlockCacheProvider = knownBlockCacheProvider; Logger = NullLogger <NetworkService> .Instance; }
public IrreversibleBlockFoundLogEventHandler(ISmartContractAddressService smartContractAddressService, IBlockchainService blockchainService, ITaskQueueManager taskQueueManager, ITransactionPackingService transactionPackingService) { _smartContractAddressService = smartContractAddressService; _blockchainService = blockchainService; _taskQueueManager = taskQueueManager; _transactionPackingService = transactionPackingService; Logger = NullLogger <IrreversibleBlockFoundLogEventHandler> .Instance; }
public ConsensusRequestMiningEventHandler(IMinerService minerService, IBlockAttachService blockAttachService, ITaskQueueManager taskQueueManager, IBlockchainService blockchainService) { _minerService = minerService; _blockAttachService = blockAttachService; _taskQueueManager = taskQueueManager; _blockchainService = blockchainService; Logger = NullLogger <ConsensusRequestMiningEventHandler> .Instance; LocalEventBus = NullLocalEventBus.Instance; }
public NewIrreversibleBlockFoundEventHandler(ITaskQueueManager taskQueueManager, IBlockchainStateService blockchainStateService, IBlockchainService blockchainService, ITransactionBlockIndexService transactionBlockIndexService) { _taskQueueManager = taskQueueManager; _blockchainStateService = blockchainStateService; _blockchainService = blockchainService; _transactionBlockIndexService = transactionBlockIndexService; Logger = NullLogger <NewIrreversibleBlockFoundEventHandler> .Instance; }
public IrreversibleBlockFoundLogEventProcessor(ISmartContractAddressService smartContractAddressService, IBlockchainService blockchainService, ITaskQueueManager taskQueueManager, IOptionsMonitor <TransactionPackingOptions> transactionPackingOptions) { _smartContractAddressService = smartContractAddressService; _blockchainService = blockchainService; _taskQueueManager = taskQueueManager; _transactionPackingOptions = transactionPackingOptions.CurrentValue; Logger = NullLogger <IrreversibleBlockFoundLogEventProcessor> .Instance; }
public ConsensusRequestMiningEventHandler(IServiceProvider serviceProvider) { _minerService = serviceProvider.GetService <IMinerService>(); _blockAttachService = serviceProvider.GetService <IBlockAttachService>(); _taskQueueManager = serviceProvider.GetService <ITaskQueueManager>(); _blockchainService = serviceProvider.GetService <IBlockchainService>(); _consensusService = serviceProvider.GetService <IConsensusService>(); Logger = NullLogger <ConsensusRequestMiningEventHandler> .Instance; LocalEventBus = NullLocalEventBus.Instance; }
public BestChainFoundEventHandler( IIrreversibleBlockRelatedEventsDiscoveryService irreversibleBlockRelatedEventsDiscoveryService, ITaskQueueManager taskQueueManager, IBlockchainService blockchainService, ITransactionInclusivenessProvider transactionInclusivenessProvider) { _irreversibleBlockRelatedEventsDiscoveryService = irreversibleBlockRelatedEventsDiscoveryService; _taskQueueManager = taskQueueManager; _blockchainService = blockchainService; _transactionInclusivenessProvider = transactionInclusivenessProvider; Logger = NullLogger <BestChainFoundEventHandler> .Instance; }
public NetworkService(IPeerPool peerPool, ITaskQueueManager taskQueueManager, IAElfNetworkServer networkServer, IBlackListedPeerProvider blackListedPeerProvider, IBroadcastPrivilegedPubkeyListProvider broadcastPrivilegedPubkeyListProvider) { _peerPool = peerPool; _taskQueueManager = taskQueueManager; _networkServer = networkServer; _broadcastPrivilegedPubkeyListProvider = broadcastPrivilegedPubkeyListProvider; _blackListedPeerProvider = blackListedPeerProvider; Logger = NullLogger <NetworkService> .Instance; }
public BlockSyncJob(IBlockAttachService blockAttachService, IOptionsSnapshot <NetworkOptions> networkOptions, IBlockchainService blockchainService, INetworkService networkService, ITaskQueueManager taskQueueManager) { Logger = NullLogger <BlockSyncJob> .Instance; _networkOptions = networkOptions.Value; _blockchainService = blockchainService; _networkService = networkService; _blockAttachService = blockAttachService; _taskQueueManager = taskQueueManager; }
public NewIrreversibleBlockFoundEventHandler(ITaskQueueManager taskQueueManager, IBlockchainStateService blockchainStateService, IBlockchainService blockchainService, ITransactionBlockIndexService transactionBlockIndexService, IChainBlockLinkService chainBlockLinkService, ISmartContractExecutiveService smartContractExecutiveService) { _taskQueueManager = taskQueueManager; _blockchainStateService = blockchainStateService; _blockchainService = blockchainService; _transactionBlockIndexService = transactionBlockIndexService; _chainBlockLinkService = chainBlockLinkService; _smartContractExecutiveService = smartContractExecutiveService; Logger = NullLogger <NewIrreversibleBlockFoundEventHandler> .Instance; LocalEventBus = NullLocalEventBus.Instance; }
public TaskQueueStatusAppService(ITaskQueueManager taskQueueManager, IObjectMapper <ChainApplicationWebAppAElfModule> objectMapper) { _taskQueueManager = taskQueueManager; _objectMapper = objectMapper; }
public TaskQueueStatusAppService(ITaskQueueManager taskQueueManager) { _taskQueueManager = taskQueueManager; }
public TaskQueueManagerTests() { _taskQueueManager = GetRequiredService <ITaskQueueManager>(); }
public static void Enqueue(this ITaskQueueManager taskQueueManager, Func <Task> task, string name = null) { taskQueueManager.GetQueue(name).Enqueue(task); }
public ParallelExecutionInterestedEventsHandler(IResourceExtractionService resourceExtractionService, ITaskQueueManager taskQueueManager) { _resourceExtractionService = resourceExtractionService; _taskQueueManager = taskQueueManager; }
public BlockSyncJobTest() { _blockChainService = GetRequiredService <IBlockchainService>(); _job = GetRequiredService <BlockSyncJob>(); _taskQueueManager = GetRequiredService <ITaskQueueManager>(); }