public ChannelMonitoringService(IChannelService channelService, IChannelEstablishmentService channelEstablishmentService, IBlockchainMonitorService blockchainMonitorService, IChannelLoggingService channelLoggingService, IPenaltyService penaltyService, IUnilateralCloseService unilateralCloseService) { _channelService = channelService; _channelEstablishmentService = channelEstablishmentService; _blockchainMonitorService = blockchainMonitorService; _channelLoggingService = channelLoggingService; _penaltyService = penaltyService; _unilateralCloseService = unilateralCloseService; }
public ChannelStateService(ILoggerFactory loggerFactory, IChannelService channelService, IPeerService peerService, IChannelLoggingService channelLoggingService, IChannelEstablishmentService channelEstablishmentService, IChannelReestablishmentService channelReestablishmentService, IChannelCloseService channelCloseService) { _logger = loggerFactory.CreateLogger(GetType()); _channelService = channelService; _peerService = peerService; _channelLoggingService = channelLoggingService; _channelEstablishmentService = channelEstablishmentService; _channelReestablishmentService = channelReestablishmentService; _channelCloseService = channelCloseService; }