public BlockService(BcnReportsSettings bcnReportsSettings, INinjaClientFactory bitNinjaClient, ILog log, IConsole console) { _bitNinjaClient = bitNinjaClient; _log = log; _console = console; _globalSemaphore = new SemaphoreSlim(bcnReportsSettings.NinjaBlocksMaxConcurrentRequestCount); }
public TransactionService(BcnReportsSettings bcnReportsSettings, INinjaClientFactory qBitNinjaClient, ILog log, IConsole console) { _qBitNinjaClient = qBitNinjaClient; _log = log; _console = console; _globalSemaphore = new SemaphoreSlim(bcnReportsSettings.NinjaTransactionsMaxConcurrentRequestCount); }
public BlockTransactionsReportsController(IBlockReportCommandProducer commandProducer, IBlockTransactionsReportMetadataRepository reportMetadataRepository, INinjaClientFactory bitNinjaClient, BcnReportsSettings bcnReportsSettings) { _commandProducer = commandProducer; _reportMetadataRepository = reportMetadataRepository; _bitNinjaClient = bitNinjaClient; _bcnReportsSettings = bcnReportsSettings; }