Пример #1
0
 public BlockGenerationService(IBlockExtraDataService blockExtraDataService,
                               IStaticChainInformationProvider staticChainInformationProvider, IBlockchainStateManager blockchainStateManager)
 {
     _blockExtraDataService          = blockExtraDataService;
     _staticChainInformationProvider = staticChainInformationProvider;
     _blockchainStateManager         = blockchainStateManager;
 }
Пример #2
0
 public CrossChainResponseService(IBlockExtraDataService blockExtraDataService,
                                  ICrossChainService crossChainService, ICrossChainIndexingDataService crossChainIndexingDataService)
 {
     _blockExtraDataService         = blockExtraDataService;
     _crossChainService             = crossChainService;
     _crossChainIndexingDataService = crossChainIndexingDataService;
 }
Пример #3
0
 public CrossChainValidationProvider(ICrossChainIndexingDataService crossChainIndexingDataService,
                                     IBlockExtraDataService blockExtraDataService, IIndexedCrossChainBlockDataDiscoveryService indexedCrossChainBlockDataDiscoveryService)
 {
     _crossChainIndexingDataService = crossChainIndexingDataService;
     _blockExtraDataService         = blockExtraDataService;
     _indexedCrossChainBlockDataDiscoveryService = indexedCrossChainBlockDataDiscoveryService;
     LocalEventBus = NullLocalEventBus.Instance;
 }
Пример #4
0
        public AEDPoSBroadcastPrivilegedPubkeyListProvider(IBlockExtraDataService blockExtraDataService,
                                                           IAccountService accountService)
        {
            _blockExtraDataService = blockExtraDataService;
            _accountService        = accountService;

            Logger = NullLogger <AEDPoSBroadcastPrivilegedPubkeyListProvider> .Instance;
        }
 public CrossChainResponseService(IBlockExtraDataService blockExtraDataService,
                                  ICrossChainIndexingDataService crossChainIndexingDataService,
                                  IConsensusExtraDataKeyProvider consensusExtraDataKeyProvider)
 {
     _blockExtraDataService         = blockExtraDataService;
     _crossChainIndexingDataService = crossChainIndexingDataService;
     _consensusExtraDataKeyProvider = consensusExtraDataKeyProvider;
 }
 public CrossChainValidationProvider(ICrossChainIndexingDataService crossChainIndexingDataService,
                                     IBlockExtraDataService blockExtraDataService, ISmartContractAddressService smartContractAddressService)
 {
     _crossChainIndexingDataService = crossChainIndexingDataService;
     _blockExtraDataService         = blockExtraDataService;
     _smartContractAddressService   = smartContractAddressService;
     LocalEventBus = NullLocalEventBus.Instance;
 }
Пример #7
0
        public AEDPoSBroadcastPrivilegedPubkeyListProvider(IBlockExtraDataService blockExtraDataService,
                                                           IAccountService accountService, IConsensusExtraDataNameProvider consensusExtraDataNameProvider)
        {
            _blockExtraDataService          = blockExtraDataService;
            _accountService                 = accountService;
            _consensusExtraDataNameProvider = consensusExtraDataNameProvider;

            Logger = NullLogger <AEDPoSBroadcastPrivilegedPubkeyListProvider> .Instance;
        }
Пример #8
0
        public BlockChainAppService(IBlockchainService blockchainService,
                                    IBlockExtraDataService blockExtraDataService,
                                    ITxHub txHub,
                                    IBlockchainStateManager blockchainStateManager)
        {
            _blockchainService     = blockchainService;
            _blockExtraDataService = blockExtraDataService;
            _txHub = txHub;
            _blockchainStateManager = blockchainStateManager;

            Logger        = NullLogger <BlockChainAppService> .Instance;
            LocalEventBus = NullLocalEventBus.Instance;
        }
Пример #9
0
 public AEDPoSExtraDataExtractor(IBlockExtraDataService blockExtraDataService)
 {
     _blockExtraDataService = blockExtraDataService;
 }
 public AEDPoSExtraDataExtractor(IBlockExtraDataService blockExtraDataService,
                                 IConsensusExtraDataKeyProvider consensusExtraDataKeyProvider)
 {
     _blockExtraDataService         = blockExtraDataService;
     _consensusExtraDataKeyProvider = consensusExtraDataKeyProvider;
 }
 public SystemTransactionExtraDataProvider(IBlockExtraDataService blockExtraDataService)
 {
     _blockExtraDataService = blockExtraDataService;
 }
Пример #12
0
 public BlockExtraDataServiceTests()
 {
     _blockExtraDataService = GetRequiredService <IBlockExtraDataService>();
 }
 public CrossChainExtraDataExtractor(IBlockExtraDataService blockExtraDataService)
 {
     _blockExtraDataService = blockExtraDataService;
 }
Пример #14
0
 public ConsensusValidationProvider(IConsensusService consensusService, IBlockExtraDataService blockExtraDataService)
 {
     _consensusService      = consensusService;
     _blockExtraDataService = blockExtraDataService;
     Logger = NullLogger <ConsensusValidationProvider> .Instance;
 }
 public ConsensusValidationProvider(IConsensusService consensusService, IBlockExtraDataService blockExtraDataService)
 {
     _consensusService      = consensusService;
     _blockExtraDataService = blockExtraDataService;
 }
Пример #16
0
 public AEDPoSBroadcastPrivilegedPubkeyListProvider(IBlockExtraDataService blockExtraDataService,
                                                    IAccountService accountService)
 {
     _blockExtraDataService = blockExtraDataService;
     _accountService        = accountService;
 }
Пример #17
0
 public BlockExtraDataServiceTests()
 {
     _blockExtraDataProvider = GetRequiredService <IBlockExtraDataProvider>();
     _blockExtraDataService  = new BlockExtraDataService(new[] { _blockExtraDataProvider });
 }