public BlockTransactionLimitProvider(
     ICachedBlockchainExecutedDataService <Int32Value> cachedBlockchainExecutedDataService,
     IEnumerable <ISystemTransactionGenerator> systemTransactionGenerators) : base(
         cachedBlockchainExecutedDataService)
 {
     _systemTransactionCount = systemTransactionGenerators.Count();
 }
 public static async Task AddBlockExecutedDataAsync <T>(
     this ICachedBlockchainExecutedDataService <T> cachedBlockchainExecutedDataGettingService,
     IBlockIndex blockIndex, string key, T blockExecutedData)
 {
     var dic = new Dictionary <string, T>
     {
         { key, blockExecutedData }
     };
     await cachedBlockchainExecutedDataGettingService.AddBlockExecutedDataAsync(blockIndex, dic);
 }
 public CachedBlockchainExecutedDataServiceTests()
 {
     _blockStateSetManger                      = GetRequiredService <IBlockStateSetManger>();
     _blockchainStateService                   = GetRequiredService <IBlockchainStateService>();
     _blockchainService                        = GetRequiredService <IBlockchainService>();
     _chainBlockchainExecutedDataService       = GetRequiredService <ICachedBlockchainExecutedDataService <Chain> >();
     _transactionBlockchainExecutedDataService =
         GetRequiredService <ICachedBlockchainExecutedDataService <Transaction> >();
     _transactionResultBlockchainExecutedDataService =
         GetRequiredService <ICachedBlockchainExecutedDataService <TransactionResult> >();
     _kernelTestHelper = GetRequiredService <KernelTestHelper>();
 }
 public CleanBlockExecutedDataChangeHeightEventHandler(
     ICachedBlockchainExecutedDataService <BoolValue> cachedBlockchainExecutedDataService) : base(
         cachedBlockchainExecutedDataService)
 {
 }
예제 #5
0
 public BlockTransactionLimitProvider(
     ICachedBlockchainExecutedDataService <BlockTransactionLimit> cachedBlockchainExecutedDataService) : base(
         cachedBlockchainExecutedDataService)
 {
 }
 public CleanBlockExecutedDataChangeHeightEventHandler(
     ICachedBlockchainExecutedDataService <SmartContractRegistration> cachedBlockchainExecutedDataService) : base(
         cachedBlockchainExecutedDataService)
 {
 }
예제 #7
0
 public CleanTotalTransactionFeesMapChangeHeightEventHandler(
     ICachedBlockchainExecutedDataService <TotalTransactionFeesMap> cachedBlockchainExecutedDataService) : base(
         cachedBlockchainExecutedDataService)
 {
 }
 public CleanBlockExecutedDataChangeHeightBaseEventHandler(ICachedBlockchainExecutedDataService <T> cachedBlockchainExecutedDataService)
 {
     _cachedBlockchainExecutedDataService = cachedBlockchainExecutedDataService;
 }
 public TotalResourceTokensMapsProvider(
     ICachedBlockchainExecutedDataService <TotalResourceTokensMaps> cachedBlockchainExecutedDataService) : base(
         cachedBlockchainExecutedDataService)
 {
     Logger = NullLogger <TotalResourceTokensMapsProvider> .Instance;
 }
 public TotalResourceTokensMapsProvider(
     ICachedBlockchainExecutedDataService <TotalResourceTokensMaps> cachedBlockchainExecutedDataService) : base(
         cachedBlockchainExecutedDataService)
 {
 }
예제 #11
0
 public CleanBlockExecutedDataChangeHeightEventHandler(
     ICachedBlockchainExecutedDataService <BlockTransactionLimit> cachedBlockchainExecutedDataService) : base(
         cachedBlockchainExecutedDataService)
 {
 }
예제 #12
0
 public SmartContractRegistrationProvider(
     ICachedBlockchainExecutedDataService <SmartContractRegistration> cachedBlockchainExecutedDataService) : base(
         cachedBlockchainExecutedDataService)
 {
 }
예제 #13
0
 public TransactionSizeFeeSymbolsProvider(
     ICachedBlockchainExecutedDataService <TransactionSizeFeeSymbols> cachedBlockchainExecutedDataService) : base(
         cachedBlockchainExecutedDataService)
 {
 }
예제 #14
0
 public CleanIntegerDataChangeHeightEventHandler(
     ICachedBlockchainExecutedDataService <Int32Value> cachedBlockchainExecutedDataService) : base(
         cachedBlockchainExecutedDataService)
 {
 }
예제 #15
0
 public CleanSmartContractAddressChangeHeightEventHandler(
     ICachedBlockchainExecutedDataService <SmartContractAddress> cachedBlockchainExecutedDataService) : base(
         cachedBlockchainExecutedDataService)
 {
 }
예제 #16
0
 public NonparallelContractCodeProvider(
     ICachedBlockchainExecutedDataService <NonparallelContractCode> cachedBlockchainExecutedDataService) : base(
         cachedBlockchainExecutedDataService)
 {
 }
 public CleanBlockExecutedDataChangeHeightEventHandler(
     ICachedBlockchainExecutedDataService <TransactionSizeFeeSymbols> cachedBlockchainExecutedDataService) : base(
         cachedBlockchainExecutedDataService)
 {
 }
예제 #18
0
 public CalculateFunctionProvider(ICachedBlockchainExecutedDataService <Dictionary <string, CalculateFunction> >
                                  calculateFunctionExecutedDataService) : base(calculateFunctionExecutedDataService)
 {
 }
예제 #19
0
 public CalculateFunctionExecutedDataServiceTests()
 {
     _calculateFunctionExecutedDataService =
         GetRequiredService <ICachedBlockchainExecutedDataService <Dictionary <string, CalculateFunction> > >();
 }
 public SmartContractAddressProvider(
     ICachedBlockchainExecutedDataService <SmartContractAddress> cachedBlockchainExecutedDataService) : base(
         cachedBlockchainExecutedDataService)
 {
 }
예제 #21
0
 public TransactionPackingOptionProvider(
     ICachedBlockchainExecutedDataService <BoolValue> cachedBlockchainExecutedDataService) : base(
         cachedBlockchainExecutedDataService)
 {
 }
 public StateSizeLimitProvider(
     ICachedBlockchainExecutedDataService <Int32Value> cachedBlockchainExecutedDataService) : base(
         cachedBlockchainExecutedDataService)
 {
 }
 public TotalTransactionFeesMapProvider(
     ICachedBlockchainExecutedDataService <TotalTransactionFeesMap> cachedBlockchainExecutedDataService) : base(
         cachedBlockchainExecutedDataService)
 {
 }
예제 #24
0
 public CleanBlockExecutedDataChangeHeightEventHandler(
     ICachedBlockchainExecutedDataService <TotalResourceTokensMaps> cachedBlockchainExecutedDataService) : base(
         cachedBlockchainExecutedDataService)
 {
 }
예제 #25
0
 public CleanBlockExecutedDataChangeHeightEventHandler(
     ICachedBlockchainExecutedDataService <NonparallelContractCode> cachedBlockchainExecutedDataService) : base(
         cachedBlockchainExecutedDataService)
 {
 }
 public CleanBlockExecutedDataChangeHeightEventHandler(
     ICachedBlockchainExecutedDataService <Dictionary <string, CalculateFunction> >
     cachedBlockchainExecutedDataService) : base(cachedBlockchainExecutedDataService)
 {
 }
예제 #27
0
 protected BlockExecutedDataBaseProvider(ICachedBlockchainExecutedDataService <T> cachedBlockchainExecutedDataService)
 {
     _cachedBlockchainExecutedDataService = cachedBlockchainExecutedDataService;
 }
예제 #28
0
 public ExecutionObserverThresholdProvider(
     ICachedBlockchainExecutedDataService <Int32Value> cachedBlockchainExecutedDataService) :
     base(cachedBlockchainExecutedDataService)
 {
 }