Merge pull request #14523 from karalabe/txpool-cli-flags
cmd, core, eth: configurable txpool parameters
This commit is contained in:
		| @@ -150,7 +150,7 @@ func New(ctx *node.ServiceContext, config *Config) (*Ethereum, error) { | ||||
| 		core.WriteChainConfig(chainDb, genesisHash, chainConfig) | ||||
| 	} | ||||
|  | ||||
| 	newPool := core.NewTxPool(eth.chainConfig, eth.EventMux(), eth.blockchain.State, eth.blockchain.GasLimit) | ||||
| 	newPool := core.NewTxPool(config.TxPool, eth.chainConfig, eth.EventMux(), eth.blockchain.State, eth.blockchain.GasLimit) | ||||
| 	eth.txPool = newPool | ||||
|  | ||||
| 	maxPeers := config.MaxPeers | ||||
|   | ||||
		Reference in New Issue
	
	Block a user