public ConsensusService(IConsensusInformationGenerationService consensusInformationGenerationService, IConsensusScheduler consensusScheduler, ConsensusControlInformation consensusControlInformation) { _consensusInformationGenerationService = consensusInformationGenerationService; _consensusControlInformation = consensusControlInformation; _consensusScheduler = consensusScheduler; Logger = NullLogger <ConsensusService> .Instance; }
public ConsensusService(IConsensusScheduler consensusScheduler, IConsensusReaderFactory readerFactory, ITriggerInformationProvider triggerInformationProvider, IBlockTimeProvider blockTimeProvider) { _readerFactory = readerFactory; _triggerInformationProvider = triggerInformationProvider; _blockTimeProvider = blockTimeProvider; _consensusScheduler = consensusScheduler; Logger = NullLogger <ConsensusService> .Instance; LocalEventBus = NullLocalEventBus.Instance; }
public ConsensusService(IConsensusScheduler consensusScheduler, IContractReaderFactory <ConsensusContractContainer.ConsensusContractStub> contractReaderFactory, ITriggerInformationProvider triggerInformationProvider, IBlockTimeProvider blockTimeProvider, IConsensusReaderContextService consensusReaderContextService) { _contractReaderFactory = contractReaderFactory; _triggerInformationProvider = triggerInformationProvider; _blockTimeProvider = blockTimeProvider; _consensusReaderContextService = consensusReaderContextService; _consensusScheduler = consensusScheduler; Logger = NullLogger <ConsensusService> .Instance; LocalEventBus = NullLocalEventBus.Instance; }