public TransactionHistoryService(IHorizonService horizonService, IObservationRepository <TransactionHistoryObservation> observationRepository, ITxHistoryRepository txHistoryRepository, ITxBroadcastRepository txBroadcastRepository, ILog log, int batchSize) { _horizonService = horizonService; _observationRepository = observationRepository; _txHistoryRepository = txHistoryRepository; _txBroadcastRepository = txBroadcastRepository; _log = log; _batchSize = batchSize; }
public TransactionHistoryService(IBalanceService balanceService, IHorizonService horizonService, IKeyValueStoreRepository keyValueStoreRepository, IObservationRepository <TransactionHistoryObservation> observationRepository, ITxHistoryRepository txHistoryRepository, ILogFactory log, IBlockchainAssetsService blockchainAssetsService) { _balanceService = balanceService; _horizonService = horizonService; _keyValueStoreRepository = keyValueStoreRepository; _observationRepository = observationRepository; _txHistoryRepository = txHistoryRepository; _log = log.CreateLog(this); _blockchainAssetsService = blockchainAssetsService; }