public BlockHeightTracker(IConfiguration configuration, ILoggerFactory loggerFactory, IServiceScopeFactory scopeFactory, IShareCalculator shareCalculator, IMessenger messenger) { _configuration = configuration; _logger = loggerFactory.CreateLogger <BlockHeightTracker>(); _scopeFactory = scopeFactory; _shareCalculator = shareCalculator; _messenger = messenger; }
public BurstController(IConfiguration configuration, IShareCalculator shareCalculator, ILoggerFactory loggerFactory, IBlockHeightTracker blockHeightTracker, IShareTracker shareTracker, IBurstUriFactory uriFactory) { _configuration = configuration; _shareCalculator = shareCalculator; _logger = loggerFactory.CreateLogger <BurstController>(); _blockHeightTracker = blockHeightTracker; _shareTracker = shareTracker; _uriFactory = uriFactory; }