Example #1
0
 public FundingService(ILoggerFactory loggerFactory, IWalletService walletService, IBlockchainClientService blockchainClientService,
                       IChannelLoggingService channelLoggingService)
 {
     _logger                  = loggerFactory.CreateLogger(GetType());
     _walletService           = walletService;
     _blockchainClientService = blockchainClientService;
     _channelLoggingService   = channelLoggingService;
 }
Example #2
0
 public FundingMessageSignedHandler(IChannelLoggingService channelLoggingService, IFundingService fundingService,
                                    ICommitmentTransactionService commitmentService, IChannelService channelService, IBlockchainMonitorService blockchainMonitorService)
 {
     _channelLoggingService    = channelLoggingService;
     _fundingService           = fundingService;
     _commitmentService        = commitmentService;
     _channelService           = channelService;
     _blockchainMonitorService = blockchainMonitorService;
 }
Example #3
0
 public ChannelCloseService(ILoggerFactory loggerFactory, IChannelService channelService, IPeerService peerService,
                            IWalletService walletService, IConfiguration configuration, IBlockchainClientService blockchainClientService,
                            IChannelLoggingService channelLoggingService)
 {
     _channelService          = channelService;
     _peerService             = peerService;
     _walletService           = walletService;
     _blockchainClientService = blockchainClientService;
     _channelLoggingService   = channelLoggingService;
     _configuration           = configuration.GetConfiguration <ChannelConfiguration>();
     _logger = loggerFactory.CreateLogger(GetType());
 }
 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;
 }
Example #5
0
 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;
 }
Example #6
0
 public CommitmentTransactionService(ILoggerFactory loggerFactory, IKeyDerivationService derivationService, IChannelLoggingService channelLoggingService)
 {
     _logger                = loggerFactory.CreateLogger(GetType());
     _derivationService     = derivationService;
     _channelLoggingService = channelLoggingService;
 }
Example #7
0
 public FundingMessageLockedHandler(IChannelLoggingService channelLoggingService, ICommitmentTransactionService commitmentService, IChannelService channelService)
 {
     _channelLoggingService = channelLoggingService;
     _commitmentService     = commitmentService;
     _channelService        = channelService;
 }
Example #8
0
 public AcceptChannelMessageHandler(IChannelLoggingService channelLoggingService, IFundingService fundingService, ICommitmentTransactionService commitmentService)
 {
     _channelLoggingService = channelLoggingService;
     _fundingService        = fundingService;
     _commitmentService     = commitmentService;
 }