public BlockValidationProviderTests() { _blockValidationService = GetRequiredService <IBlockValidationService>(); _blockValidationProvider = GetRequiredService <BlockValidationProvider>(); _transactionBlockIndexService = GetRequiredService <ITransactionBlockIndexService>(); _kernelTestHelper = GetRequiredService <KernelTestHelper>(); }
public TransactionResultService(ITransactionResultManager transactionResultManager, IBlockchainService blockchainService, ITransactionBlockIndexService transactionBlockIndexService) { _transactionResultManager = transactionResultManager; _blockchainService = blockchainService; _transactionBlockIndexService = transactionBlockIndexService; }
public TransactionBlockIndexServiceTests() { _transactionBlockIndexService = GetRequiredService <ITransactionBlockIndexService>(); _kernelTestHelper = GetRequiredService <KernelTestHelper>(); _blockchainService = GetRequiredService <IBlockchainService>(); _transactionBlockIndexManager = GetRequiredService <ITransactionBlockIndexManager>(); _transactionBlockIndexProvider = GetRequiredService <ITransactionBlockIndexProvider>(); }
public TransactionResultServiceTests() { _transactionBlockIndexService = GetRequiredService <ITransactionBlockIndexService>(); _kernelTestHelper = GetRequiredService <KernelTestHelper>(); _blockchainService = GetRequiredService <IBlockchainService>(); _transactionResultService = GetRequiredService <ITransactionResultService>(); _transactionResultManager = GetRequiredService <ITransactionResultManager>(); _transacionBlockIndexManager = GetRequiredService <ITransactionBlockIndexManager>(); _localEventBus = GetRequiredService <ILocalEventBus>(); }
public NewIrreversibleBlockFoundEventHandler(ITaskQueueManager taskQueueManager, IBlockchainStateService blockchainStateService, IBlockchainService blockchainService, ITransactionBlockIndexService transactionBlockIndexService) { _taskQueueManager = taskQueueManager; _blockchainStateService = blockchainStateService; _blockchainService = blockchainService; _transactionBlockIndexService = transactionBlockIndexService; Logger = NullLogger <NewIrreversibleBlockFoundEventHandler> .Instance; }
public NewIrreversibleBlockFoundEventHandler(ITaskQueueManager taskQueueManager, IBlockchainStateService blockchainStateService, IBlockchainService blockchainService, ITransactionBlockIndexService transactionBlockIndexService, IChainBlockLinkService chainBlockLinkService, ISmartContractExecutiveService smartContractExecutiveService) { _taskQueueManager = taskQueueManager; _blockchainStateService = blockchainStateService; _blockchainService = blockchainService; _transactionBlockIndexService = transactionBlockIndexService; _chainBlockLinkService = chainBlockLinkService; _smartContractExecutiveService = smartContractExecutiveService; Logger = NullLogger <NewIrreversibleBlockFoundEventHandler> .Instance; LocalEventBus = NullLocalEventBus.Instance; }
public BlockValidationProvider(IBlockchainService blockchainService, ITransactionBlockIndexService transactionBlockIndexService) { _blockchainService = blockchainService; _transactionBlockIndexService = transactionBlockIndexService; }