public ChainHeadInfoProvider(IChainHeadSpecProvider specProvider, IBlockTree blockTree, IAccountStateProvider stateProvider) { SpecProvider = specProvider; AccountStateProvider = stateProvider; blockTree.BlockAddedToMain += OnHeadChanged; }
public FeeTooLowFilter(IChainHeadInfoProvider headInfo, IAccountStateProvider accountStateProvider, TxDistinctSortedPool txs, ILogger logger) { _specProvider = headInfo.SpecProvider; _headInfo = headInfo; _accounts = accountStateProvider; _txs = txs; _logger = logger; }
public ReorgTxPool( ITxStorage txStorage, IEthereumEcdsa ecdsa, IChainHeadSpecProvider specProvider, ITxPoolConfig txPoolConfig, IReadOnlyStateProvider stateProvider, ITxValidator validator, ILogManager?logManager, IComparer <Transaction>?comparer = null) : base(txStorage, ecdsa, specProvider, txPoolConfig, stateProvider, validator, logManager, comparer) { }
public FilteredTxPool( ITxStorage txStorage, IEthereumEcdsa ecdsa, IChainHeadSpecProvider specProvider, ITxPoolConfig txPoolConfig, IReadOnlyStateProvider stateProvider, ITxValidator txValidator, ILogManager logManager, IComparer <Transaction> comparer = null, ITxPoolFilter txPoolFilter = null) : base(txStorage, ecdsa, specProvider, txPoolConfig, stateProvider, txValidator, logManager, comparer) { _txPoolFilter = txPoolFilter; }
public MalformedTxFilter(IChainHeadSpecProvider specProvider, ITxValidator txValidator, ILogger logger) { _txValidator = txValidator; _specProvider = specProvider; _logger = logger; }
public DeployedCodeFilter(IChainHeadSpecProvider specProvider, IAccountStateProvider stateProvider) { _specProvider = specProvider; _stateProvider = stateProvider; }
public ChainHeadInfoProvider(IChainHeadSpecProvider specProvider, IBlockFinder blockFinder, IReadOnlyStateProvider stateProvider) { SpecProvider = specProvider; ReadOnlyStateProvider = stateProvider; _blockFinder = blockFinder; }