public BlockFetchService(IBlockSyncAttachService blockSyncAttachService, IBlockchainService blockchainService, INetworkService networkService, IBlockSyncQueueService blockSyncQueueService) { Logger = NullLogger <BlockFetchService> .Instance; _blockchainService = blockchainService; _networkService = networkService; _blockSyncAttachService = blockSyncAttachService; _blockSyncQueueService = blockSyncQueueService; }
public BlockSyncAttachService(IBlockchainService blockchainService, IBlockAttachService blockAttachService, IBlockValidationService validationService, IBlockSyncQueueService blockSyncQueueService) { Logger = NullLogger <BlockSyncAttachService> .Instance; _blockchainService = blockchainService; _blockAttachService = blockAttachService; _validationService = validationService; _blockSyncQueueService = blockSyncQueueService; }
public BlockDownloadService(INetworkService networkService, IBlockSyncAttachService blockSyncAttachService, IBlockSyncQueueService blockSyncQueueService, IBlockSyncStateProvider blockSyncStateProvider) { Logger = NullLogger <BlockDownloadService> .Instance; _networkService = networkService; _blockSyncAttachService = blockSyncAttachService; _blockSyncQueueService = blockSyncQueueService; _blockSyncStateProvider = blockSyncStateProvider; }
public BlockSyncAttachService(IBlockchainService blockchainService, IBlockAttachService blockAttachService, IBlockSyncValidationService blockSyncValidationService, IBlockSyncQueueService blockSyncQueueService) { Logger = NullLogger <BlockSyncAttachService> .Instance; LocalEventBus = NullLocalEventBus.Instance; _blockchainService = blockchainService; _blockAttachService = blockAttachService; _blockSyncValidationService = blockSyncValidationService; _blockSyncQueueService = blockSyncQueueService; }
public BlockSyncService(IBlockFetchService blockFetchService, IBlockSyncAttachService blockSyncAttachService, IBlockSyncQueueService blockSyncQueueService, IBlockDownloadJobManager blockDownloadJobManager, IAnnouncementCacheProvider announcementCacheProvider) { Logger = NullLogger <BlockSyncService> .Instance; _blockFetchService = blockFetchService; _blockSyncAttachService = blockSyncAttachService; _blockSyncQueueService = blockSyncQueueService; _blockDownloadJobManager = blockDownloadJobManager; _announcementCacheProvider = announcementCacheProvider; }
public BlockSyncQueueServiceTests() { _blockSyncQueueService = GetRequiredService <IBlockSyncQueueService>(); _blockSyncStateProvider = GetRequiredService <IBlockSyncStateProvider>(); }