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) { }
public BlockTransactionLimitProvider( ICachedBlockchainExecutedDataService <BlockTransactionLimit> cachedBlockchainExecutedDataService) : base( cachedBlockchainExecutedDataService) { }
public CleanBlockExecutedDataChangeHeightEventHandler( ICachedBlockchainExecutedDataService <SmartContractRegistration> cachedBlockchainExecutedDataService) : base( cachedBlockchainExecutedDataService) { }
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) { }
public CleanBlockExecutedDataChangeHeightEventHandler( ICachedBlockchainExecutedDataService <BlockTransactionLimit> cachedBlockchainExecutedDataService) : base( cachedBlockchainExecutedDataService) { }
public SmartContractRegistrationProvider( ICachedBlockchainExecutedDataService <SmartContractRegistration> cachedBlockchainExecutedDataService) : base( cachedBlockchainExecutedDataService) { }
public TransactionSizeFeeSymbolsProvider( ICachedBlockchainExecutedDataService <TransactionSizeFeeSymbols> cachedBlockchainExecutedDataService) : base( cachedBlockchainExecutedDataService) { }
public CleanIntegerDataChangeHeightEventHandler( ICachedBlockchainExecutedDataService <Int32Value> cachedBlockchainExecutedDataService) : base( cachedBlockchainExecutedDataService) { }
public CleanSmartContractAddressChangeHeightEventHandler( ICachedBlockchainExecutedDataService <SmartContractAddress> cachedBlockchainExecutedDataService) : base( cachedBlockchainExecutedDataService) { }
public NonparallelContractCodeProvider( ICachedBlockchainExecutedDataService <NonparallelContractCode> cachedBlockchainExecutedDataService) : base( cachedBlockchainExecutedDataService) { }
public CleanBlockExecutedDataChangeHeightEventHandler( ICachedBlockchainExecutedDataService <TransactionSizeFeeSymbols> cachedBlockchainExecutedDataService) : base( cachedBlockchainExecutedDataService) { }
public CalculateFunctionProvider(ICachedBlockchainExecutedDataService <Dictionary <string, CalculateFunction> > calculateFunctionExecutedDataService) : base(calculateFunctionExecutedDataService) { }
public CalculateFunctionExecutedDataServiceTests() { _calculateFunctionExecutedDataService = GetRequiredService <ICachedBlockchainExecutedDataService <Dictionary <string, CalculateFunction> > >(); }
public SmartContractAddressProvider( ICachedBlockchainExecutedDataService <SmartContractAddress> cachedBlockchainExecutedDataService) : base( cachedBlockchainExecutedDataService) { }
public TransactionPackingOptionProvider( ICachedBlockchainExecutedDataService <BoolValue> cachedBlockchainExecutedDataService) : base( cachedBlockchainExecutedDataService) { }
public StateSizeLimitProvider( ICachedBlockchainExecutedDataService <Int32Value> cachedBlockchainExecutedDataService) : base( cachedBlockchainExecutedDataService) { }
public TotalTransactionFeesMapProvider( ICachedBlockchainExecutedDataService <TotalTransactionFeesMap> cachedBlockchainExecutedDataService) : base( cachedBlockchainExecutedDataService) { }
public CleanBlockExecutedDataChangeHeightEventHandler( ICachedBlockchainExecutedDataService <TotalResourceTokensMaps> cachedBlockchainExecutedDataService) : base( cachedBlockchainExecutedDataService) { }
public CleanBlockExecutedDataChangeHeightEventHandler( ICachedBlockchainExecutedDataService <NonparallelContractCode> cachedBlockchainExecutedDataService) : base( cachedBlockchainExecutedDataService) { }
public CleanBlockExecutedDataChangeHeightEventHandler( ICachedBlockchainExecutedDataService <Dictionary <string, CalculateFunction> > cachedBlockchainExecutedDataService) : base(cachedBlockchainExecutedDataService) { }
protected BlockExecutedDataBaseProvider(ICachedBlockchainExecutedDataService <T> cachedBlockchainExecutedDataService) { _cachedBlockchainExecutedDataService = cachedBlockchainExecutedDataService; }
public ExecutionObserverThresholdProvider( ICachedBlockchainExecutedDataService <Int32Value> cachedBlockchainExecutedDataService) : base(cachedBlockchainExecutedDataService) { }