diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-05-29 16:42:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-29 16:42:48 +0800 |
commit | dd06c8584368316c8fb388384b0723d8c7e543f0 (patch) | |
tree | 6b0daa3ff79df3bf6405237dbee4cbceacb0c4d0 /eth/backend.go | |
parent | ae40d51410f6fa958d08cd34f9e8586edb88fdf1 (diff) | |
parent | 08959bbc70ade02109c819fdee72be1ed9310726 (diff) | |
download | dexon-dd06c8584368316c8fb388384b0723d8c7e543f0.tar.gz dexon-dd06c8584368316c8fb388384b0723d8c7e543f0.tar.zst dexon-dd06c8584368316c8fb388384b0723d8c7e543f0.zip |
Merge pull request #14523 from karalabe/txpool-cli-flags
cmd, core, eth: configurable txpool parameters
Diffstat (limited to 'eth/backend.go')
-rw-r--r-- | eth/backend.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/backend.go b/eth/backend.go index dc813ed0d..639792333 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -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 |