public BlockParallelExecutingService(ITransactionExecutingService transactionExecutingService,
                                      IBlockchainStateService blockchainStateService, ITransactionResultService transactionResultService,
                                      ISystemTransactionExtraDataProvider systemTransactionExtraDataProvider) : base(
         transactionExecutingService, blockchainStateService, transactionResultService,
         systemTransactionExtraDataProvider)
 {
 }
Ejemplo n.º 2
0
 public BlockExecutingService(ITransactionExecutingService transactionExecutingService,
                              IBlockchainStateService blockchainStateService)
 {
     _transactionExecutingService = transactionExecutingService;
     _blockchainStateService      = blockchainStateService;
     EventBus = NullLocalEventBus.Instance;
 }
Ejemplo n.º 3
0
 public BlockExecutingService(ITransactionExecutingService executingService, IBlockManager blockManager,
                              IBlockGenerationService blockGenerationService)
 {
     _executingService       = executingService;
     _blockManager           = blockManager;
     _blockGenerationService = blockGenerationService;
     EventBus = NullLocalEventBus.Instance;
 }
Ejemplo n.º 4
0
        public MineService(ITransactionPool transactionPool, IBlockChainService blockChainService,
                           ITransactionExecutingService transactionExecutingService)
        {
            _transactionPool             = transactionPool;
            _blockChainService           = blockChainService;
            _transactionExecutingService = transactionExecutingService;

            Logger = NullLogger.Instance;
        }
 public BlockExecutingService(ITransactionExecutingService transactionExecutingService,
                              IBlockchainStateService blockchainStateService,
                              ITransactionResultService transactionResultService,
                              ISystemTransactionExtraDataProvider systemTransactionExtraDataProvider)
 {
     _transactionExecutingService        = transactionExecutingService;
     _blockchainStateService             = blockchainStateService;
     _transactionResultService           = transactionResultService;
     _systemTransactionExtraDataProvider = systemTransactionExtraDataProvider;
     EventBus = NullLocalEventBus.Instance;
 }
Ejemplo n.º 6
0
 public SmartContractHelper(ITransactionExecutingService transactionExecutingService,
                            IDefaultContractZeroCodeProvider defaultContractZeroCodeProvider, IBlockStateSetManger blockStateSetManger,
                            IBlockchainService blockchainService, ITransactionResultManager transactionResultManager,
                            KernelTestHelper kernelTestHelper)
 {
     _transactionExecutingService     = transactionExecutingService;
     _defaultContractZeroCodeProvider = defaultContractZeroCodeProvider;
     _blockStateSetManger             = blockStateSetManger;
     _blockchainService        = blockchainService;
     _transactionResultManager = transactionResultManager;
     _kernelTestHelper         = kernelTestHelper;
     Codes = ContractsDeployer.GetContractCodes <SmartContractTestAElfModule>();
 }
 public LocalParallelTransactionExecutingService(ITransactionGrouper grouper,
                                                 ITransactionResultService transactionResultService,
                                                 ISmartContractExecutiveService smartContractExecutiveService, IEnumerable <IPreExecutionPlugin> prePlugins,
                                                 IEnumerable <IPostExecutionPlugin> postPlugins)
 {
     _grouper = grouper;
     _plainExecutingService =
         new TransactionExecutingService(transactionResultService, smartContractExecutiveService, postPlugins, prePlugins
                                         );
     _transactionResultService = transactionResultService;
     EventBus = NullLocalEventBus.Instance;
     Logger   = NullLogger <LocalParallelTransactionExecutingService> .Instance;
 }
 public LocalParallelTransactionExecutingServiceTests()
 {
     _transactionExecutingService        = GetRequiredService <ITransactionExecutingService>();
     _systemTransactionExtraDataProvider = GetRequiredService <ISystemTransactionExtraDataProvider>();
 }
Ejemplo n.º 9
0
 public BlockParallelExecutingService(ITransactionExecutingService transactionExecutingService,
                                      IBlockchainStateService blockchainStateService) : base(transactionExecutingService, blockchainStateService)
 {
 }