public BestChainFoundEventHandler( IIrreversibleBlockRelatedEventsDiscoveryService irreversibleBlockRelatedEventsDiscoveryService, ITaskQueueManager taskQueueManager, IBlockchainService blockchainService, ITransactionInclusivenessProvider transactionInclusivenessProvider) { _irreversibleBlockRelatedEventsDiscoveryService = irreversibleBlockRelatedEventsDiscoveryService; _taskQueueManager = taskQueueManager; _blockchainService = blockchainService; _transactionInclusivenessProvider = transactionInclusivenessProvider; Logger = NullLogger <BestChainFoundEventHandler> .Instance; }
public IrreversibleBlockDiscoveryServiceTests() { _irreversibleBlockRelatedEventsDiscoveryService = GetRequiredService <IIrreversibleBlockRelatedEventsDiscoveryService>(); _chainService = GetRequiredService <IBlockchainService>(); }