Esempio n. 1
0
 public CrossChainIndexingDataService(IBlockCacheEntityConsumer blockCacheEntityConsumer,
                                      ITransactionInputForBlockMiningDataProvider transactionInputForBlockMiningDataProvider,
                                      IIrreversibleBlockStateProvider irreversibleBlockStateProvider,
                                      IContractReaderFactory <CrossChainContractImplContainer.CrossChainContractImplStub> contractReaderFactory,
                                      ISmartContractAddressService smartContractAddressService)
 {
     _blockCacheEntityConsumer = blockCacheEntityConsumer;
     _transactionInputForBlockMiningDataProvider = transactionInputForBlockMiningDataProvider;
     _irreversibleBlockStateProvider             = irreversibleBlockStateProvider;
     _contractReaderFactory       = contractReaderFactory;
     _smartContractAddressService = smartContractAddressService;
 }
 public CrossChainIndexingDataService(IReaderFactory readerFactory,
                                      IBlockCacheEntityConsumer blockCacheEntityConsumer,
                                      ITransactionInputForBlockMiningDataProvider transactionInputForBlockMiningDataProvider,
                                      IIrreversibleBlockStateProvider irreversibleBlockStateProvider,
                                      IOptionsMonitor <TransactionPackingOptions> transactionPackingOptions)
 {
     _readerFactory            = readerFactory;
     _blockCacheEntityConsumer = blockCacheEntityConsumer;
     _transactionInputForBlockMiningDataProvider = transactionInputForBlockMiningDataProvider;
     _irreversibleBlockStateProvider             = irreversibleBlockStateProvider;
     _transactionPackingOptions = transactionPackingOptions.CurrentValue;
 }
 public CrossChainIndexingDataService(IReaderFactory readerFactory,
                                      IBlockCacheEntityConsumer blockCacheEntityConsumer,
                                      ITransactionInputForBlockMiningDataProvider transactionInputForBlockMiningDataProvider,
                                      IIrreversibleBlockStateProvider irreversibleBlockStateProvider,
                                      ITransactionPackingService transactionPackingService)
 {
     _readerFactory            = readerFactory;
     _blockCacheEntityConsumer = blockCacheEntityConsumer;
     _transactionInputForBlockMiningDataProvider = transactionInputForBlockMiningDataProvider;
     _irreversibleBlockStateProvider             = irreversibleBlockStateProvider;
     _transactionPackingService = transactionPackingService;
 }
Esempio n. 4
0
 public TransactionInputForBlockMiningDataProviderTests()
 {
     _transactionInputForBlockMiningDataProvider =
         GetRequiredService <ITransactionInputForBlockMiningDataProvider>();
 }