public IrreversibleBlockHeightUnacceptableLogEventHandler( ITransactionPackingService transactionPackingService, ISmartContractAddressService smartContractAddressService) { _transactionPackingService = transactionPackingService; _smartContractAddressService = smartContractAddressService; Logger = NullLogger <IrreversibleBlockHeightUnacceptableLogEventHandler> .Instance; }
public ProposalApprovalTransactionGenerator(IProposalService proposalService, ISmartContractAddressService smartContractAddressService, ITransactionPackingService transactionPackingService) { _proposalService = proposalService; _smartContractAddressService = smartContractAddressService; _transactionPackingService = transactionPackingService; Logger = NullLogger <ProposalApprovalTransactionGenerator> .Instance; }
public ConsensusValidationProvider(IServiceProvider serviceProvider) { _consensusService = serviceProvider.GetService <IConsensusService>(); _transactionPackingService = serviceProvider.GetService <ITransactionPackingService>(); _blockchainService = serviceProvider.GetService <IBlockchainService>(); _consensusExtraDataExtractor = serviceProvider.GetService <IConsensusExtraDataExtractor>(); _systemTransactionCount = serviceProvider.GetServices <ISystemTransactionGenerator>().Count(); Logger = NullLogger <ConsensusValidationProvider> .Instance; }
public IrreversibleBlockFoundLogEventHandler(ISmartContractAddressService smartContractAddressService, IBlockchainService blockchainService, ITaskQueueManager taskQueueManager, ITransactionPackingService transactionPackingService) { _smartContractAddressService = smartContractAddressService; _blockchainService = blockchainService; _taskQueueManager = taskQueueManager; _transactionPackingService = transactionPackingService; Logger = NullLogger <IrreversibleBlockFoundLogEventHandler> .Instance; }
public MinerService(IMiningService miningService, ITxHub txHub, IBlockTransactionLimitProvider blockTransactionLimitProvider, ITransactionPackingService transactionPackingService) { _miningService = miningService; _txHub = txHub; _blockTransactionLimitProvider = blockTransactionLimitProvider; _transactionPackingService = transactionPackingService; Logger = NullLogger <MinerService> .Instance; }
public CrossChainIndexingDataService(IReaderFactory readerFactory, IBlockCacheEntityConsumer blockCacheEntityConsumer, ITransactionInputForBlockMiningDataProvider transactionInputForBlockMiningDataProvider, IIrreversibleBlockStateProvider irreversibleBlockStateProvider, ITransactionPackingService transactionPackingService) { _readerFactory = readerFactory; _blockCacheEntityConsumer = blockCacheEntityConsumer; _transactionInputForBlockMiningDataProvider = transactionInputForBlockMiningDataProvider; _irreversibleBlockStateProvider = irreversibleBlockStateProvider; _transactionPackingService = transactionPackingService; }
public ConsensusValidationProvider(IConsensusService consensusService, ITransactionPackingService transactionPackingService, IBlockchainService blockchainService, IConsensusExtraDataExtractor consensusExtraDataExtractor, IEnumerable <ISystemTransactionGenerator> systemTransactionGenerators) { _consensusService = consensusService; _transactionPackingService = transactionPackingService; _blockchainService = blockchainService; _consensusExtraDataExtractor = consensusExtraDataExtractor; _systemTransactionCount = systemTransactionGenerators.Count(); Logger = NullLogger <ConsensusValidationProvider> .Instance; }
public DonateResourceTransactionGenerator(ISmartContractAddressService smartContractAddressService, ITransactionPackingService transactionPackingService) { _smartContractAddressService = smartContractAddressService; _transactionPackingService = transactionPackingService; }
public ClaimFeeTransactionGenerator(ISmartContractAddressService smartContractAddressService, ITransactionPackingService transactionPackingService) { _smartContractAddressService = smartContractAddressService; _transactionPackingService = transactionPackingService; }