コード例 #1
0
 public BlockValidationProviderTests()
 {
     _blockValidationService       = GetRequiredService <IBlockValidationService>();
     _blockValidationProvider      = GetRequiredService <BlockValidationProvider>();
     _transactionBlockIndexService = GetRequiredService <ITransactionBlockIndexService>();
     _kernelTestHelper             = GetRequiredService <KernelTestHelper>();
 }
コード例 #2
0
 public TransactionResultService(ITransactionResultManager transactionResultManager,
                                 IBlockchainService blockchainService, ITransactionBlockIndexService transactionBlockIndexService)
 {
     _transactionResultManager     = transactionResultManager;
     _blockchainService            = blockchainService;
     _transactionBlockIndexService = transactionBlockIndexService;
 }
コード例 #3
0
 public TransactionBlockIndexServiceTests()
 {
     _transactionBlockIndexService  = GetRequiredService <ITransactionBlockIndexService>();
     _kernelTestHelper              = GetRequiredService <KernelTestHelper>();
     _blockchainService             = GetRequiredService <IBlockchainService>();
     _transactionBlockIndexManager  = GetRequiredService <ITransactionBlockIndexManager>();
     _transactionBlockIndexProvider = GetRequiredService <ITransactionBlockIndexProvider>();
 }
コード例 #4
0
 public TransactionResultServiceTests()
 {
     _transactionBlockIndexService = GetRequiredService <ITransactionBlockIndexService>();
     _kernelTestHelper             = GetRequiredService <KernelTestHelper>();
     _blockchainService            = GetRequiredService <IBlockchainService>();
     _transactionResultService     = GetRequiredService <ITransactionResultService>();
     _transactionResultManager     = GetRequiredService <ITransactionResultManager>();
     _transacionBlockIndexManager  = GetRequiredService <ITransactionBlockIndexManager>();
     _localEventBus = GetRequiredService <ILocalEventBus>();
 }
コード例 #5
0
 public NewIrreversibleBlockFoundEventHandler(ITaskQueueManager taskQueueManager,
                                              IBlockchainStateService blockchainStateService,
                                              IBlockchainService blockchainService,
                                              ITransactionBlockIndexService transactionBlockIndexService)
 {
     _taskQueueManager             = taskQueueManager;
     _blockchainStateService       = blockchainStateService;
     _blockchainService            = blockchainService;
     _transactionBlockIndexService = transactionBlockIndexService;
     Logger = NullLogger <NewIrreversibleBlockFoundEventHandler> .Instance;
 }
コード例 #6
0
 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;
 }
コード例 #7
0
 public BlockValidationProvider(IBlockchainService blockchainService,
     ITransactionBlockIndexService transactionBlockIndexService)
 {
     _blockchainService = blockchainService;
     _transactionBlockIndexService = transactionBlockIndexService;
 }