public CarbonaraController( ICalculationService calculationService, IMiningHardwareService miningHardwareService, IChartService chartService, IBitcoinWalletInformationService bitcoinWalletInformationService) { _calculationService = calculationService; _miningHardwareService = miningHardwareService; _chartService = chartService; _bitcoinWalletInformationService = bitcoinWalletInformationService; }
public CalculationService( IBlockParametersService blockParametersService, INetworkHashRateService networkHashRateService, IPoolHashRateService poolHashRateService, ICountryCo2EmissionService countryCo2EmissionService, IMiningHardwareService miningHardwareService, IHashRatePerPoolService hashRatePerPoolService) { _blockParametersService = blockParametersService; _networkHashRateService = networkHashRateService; _poolHashRateService = poolHashRateService; _countryCo2EmissionService = countryCo2EmissionService; _miningHardwareService = miningHardwareService; _hashRatePerPoolService = hashRatePerPoolService; }