public BlockSyncValidationServiceTests() { _blockSyncValidationService = GetRequiredService <IBlockSyncValidationService>(); _blockchainService = GetRequiredService <IBlockchainService>(); _announcementCacheProvider = GetRequiredService <IAnnouncementCacheProvider>(); _osTestHelper = GetRequiredService <OSTestHelper>(); }
public BlockSyncValidationServiceTests() { _blockSyncValidationService = GetRequiredService <IBlockSyncValidationService>(); _blockchainService = GetRequiredService <IBlockchainService>(); _accountService = GetRequiredService <IAccountService>(); _osTestHelper = GetRequiredService <OSTestHelper>(); }
public BlockReceivedEventHandler(IBlockSyncService blockSyncService, IBlockSyncValidationService blockSyncValidationService, IBlockchainService blockchainService, IOptionsSnapshot <BlockSyncOptions> blockSyncOptions) { _blockSyncService = blockSyncService; _blockSyncValidationService = blockSyncValidationService; _blockchainService = blockchainService; _blockSyncOptions = blockSyncOptions.Value; Logger = NullLogger <BlockReceivedEventHandler> .Instance; }
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 BlockSyncValidationServiceInvalidBlockTests() { _blockSyncValidationService = GetRequiredService <IBlockSyncValidationService>(); _osTestHelper = GetRequiredService <OSTestHelper>(); }