Esempio n. 1
0
 public CrossChainGrpcServerBase(ICrossChainExtraDataExtractor crossChainExtraDataExtractor,
                                 ICrossChainDataProvider crossChainDataProvider, IBlockchainService blockchainService)
 {
     _crossChainExtraDataExtractor = crossChainExtraDataExtractor;
     _crossChainDataProvider       = crossChainDataProvider;
     _blockchainService            = blockchainService;
     LocalEventBus = NullLocalEventBus.Instance;
 }
 public CrossChainValidationProvider(ICrossChainDataProvider crossChainDataProvider, ICrossChainExtraDataExtractor crossChainExtraDataExtractor)
 {
     _crossChainDataProvider       = crossChainDataProvider;
     _crossChainExtraDataExtractor = crossChainExtraDataExtractor;
     LocalEventBus = NullLocalEventBus.Instance;
 }